.single-product .store-main>div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:48px;align-items:start}
.single-product.woocommerce div.product div.images{float:none;width:auto;min-width:0;margin:0;grid-column:1;position:sticky;top:calc(var(--ps-sticky-offset,128px) + 24px)}
.single-product.woocommerce div.product div.summary{float:none;width:auto;min-width:0;grid-column:2;margin:0;padding:34px;border:1px solid var(--line);border-radius:20px;background:#fff}
.single-product.woocommerce div.product .product_title{font-size:clamp(34px,3.3vw,48px);margin:0 0 22px;line-height:1.12}
.single-product.woocommerce div.product p.price{font-size:30px;font-weight:750;margin:0 0 24px;color:var(--blue)}
.single-product .woocommerce-product-details__short-description{font-size:14px;line-height:1.8;margin-bottom:26px}
.single-product.woocommerce div.product form.cart{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:0 0 24px}
.single-product.woocommerce div.product form.cart div.quantity{margin:0}
.single-product.woocommerce div.product form.cart .button{flex:1;min-height:54px;margin:0}
.single-product.woocommerce div.product form.cart .qty{height:54px;width:66px}
.single-product .product-help{display:grid;gap:12px;padding:22px 0;border-top:1px solid var(--line)}
.single-product .product_meta{display:grid;gap:8px;font-size:11px;line-height:1.8;color:var(--muted);padding-top:18px;border-top:1px solid var(--line)}
.ps-gallery-help{font-size:11px;color:var(--muted);margin:18px 0 0;text-align:center}
.ps-product-information{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;padding:42px;margin:54px 0;border:1px solid var(--line);border-radius:20px;background:#f7f9fc}
.ps-info-description h2{font-size:36px;letter-spacing:-.04em;margin:20px 0;line-height:1.2}.ps-product-description{font-size:14px;line-height:1.9;color:#67768b}.ps-product-description p{margin:0 0 18px}.ps-product-question{display:inline-flex;align-items:center;gap:24px;min-height:48px;margin-top:12px;font-size:13px;font-weight:650;color:var(--blue)}
.ps-info-specs{min-width:0}.ps-info-specs h3{font-size:22px;margin:0 0 24px;letter-spacing:-.025em}.ps-info-specs .shop_attributes{margin:0!important;background:white}.ps-info-specs .shop_attributes th,.ps-info-specs .shop_attributes td{font-size:12px!important;line-height:1.7}
.single-product .store-main>div.product>.related,.single-product .store-main>div.product>.upsells,.single-product .store-main>div.product>.woocommerce-Reviews{grid-column:1/-1;width:100%;min-width:0}.single-product .related h2{font-size:32px}
#consult-dialog.ps-consult-dialog{width:min(540px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:38px;border:1px solid #e5ebf5;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #14264430;overflow-y:auto;overscroll-behavior:contain}
#consult-dialog:not([open]){display:none}#consult-dialog[open]{animation:ps-popup-enter .26s cubic-bezier(.22,1,.36,1)}#consult-dialog::backdrop{background:rgb(20 35 62 / .28);backdrop-filter:blur(5px)}
.consult-dialog-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:#f5f7fc;color:var(--ink)}
.ps-consult-dialog h2{font-size:32px;line-height:1.15;letter-spacing:-.04em;margin:22px 30px 15px 0}.consult-dialog-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:24px}
.ps-consult-dialog label{display:block;font-size:12px;line-height:1.7;margin:14px 0 7px}.ps-consult-dialog input:not([type=hidden]):not([type=checkbox]),.ps-consult-dialog select{display:block;width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;font-size:16px;background:#fff;color:var(--ink)}
.ps-consult-dialog .catalog-link{width:100%;min-height:52px;display:flex;justify-content:space-between;align-items:center;border:0;border-radius:9px;margin-top:20px;padding:14px 18px;background:var(--blue);color:#fff;font-size:13px;font-weight:700}.ps-consult-dialog .form-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:14px}.ps-consult-dialog .ps-consent{margin-top:18px}.ps-consult-dialog :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.ps-consult-form.is-submitted>:not(.ps-form-message){display:none!important}.ps-form-message[hidden]{display:none}.ps-consult-form[aria-busy=true] button{opacity:.65;cursor:wait}body.ps-popup-open{position:fixed;top:var(--ps-popup-offset);left:0;right:0;width:100%;overflow:hidden}
.ps-cart-express{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.ps-cart-express h3{font-size:24px;margin:0 0 12px}.ps-cart-express>p{font-size:12px;line-height:1.8;color:var(--muted)}.ps-cart-express label{display:block;font-size:12px;line-height:1.7;margin:15px 0 7px}.ps-cart-express input:not([type=hidden]):not([type=checkbox]),.ps-cart-express textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:16px Montserrat,sans-serif}.ps-cart-express textarea{min-height:80px;resize:vertical}.ps-cart-express button[type=submit]{width:100%;margin-top:16px}.ps-cart-express .ps-full-checkout{display:block;text-align:center;font-size:11px;line-height:1.6;padding:16px 0 0;color:var(--muted)}.ps-cart-express .ps-consent{font-size:10px!important}.woocommerce-cart .wc-proceed-to-checkout:empty{display:none}
@keyframes ps-popup-enter{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:1050px){.single-product .store-main>div.product{column-gap:24px}.single-product.woocommerce div.product div.summary{padding:24px}.ps-product-information{gap:28px;padding:28px;grid-template-columns:1fr}}
@media(max-width:760px){.single-product .store-main>div.product{display:block}.single-product.woocommerce div.product div.images{position:relative;top:auto;margin-bottom:24px}.single-product.woocommerce div.product div.summary{padding:24px 20px}.single-product.woocommerce div.product .product_title{font-size:34px}.ps-product-information{margin:30px 0;padding:22px 16px;border-radius:16px}.ps-info-description h2{font-size:30px}.ps-info-specs .shop_attributes th,.ps-info-specs .shop_attributes td{padding:12px!important}.ps-info-specs .shop_attributes th{width:43%!important}.ps-consult-dialog h2{font-size:28px}#consult-dialog.ps-consult-dialog{padding:30px 24px}.ps-consult-dialog .ps-consent{font-size:11px!important}.single-product.woocommerce div.product form.cart .button{max-width:none}}
@media(prefers-reduced-motion:reduce){#consult-dialog[open]{animation:none}}
.ps-compare-add{position:absolute;right:12px;bottom:12px;z-index:3;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffffa0;border-radius:9px;background:#fffffff2;color:#526176;cursor:pointer}.ps-compare-add>span{display:none}.ps-compare-add[aria-pressed=true]{color:var(--blue);background:#eaf0ff;border-color:#b5c8ff}.ps-compare-add.ps-compare-product{position:static;width:auto;height:auto;display:inline-flex;gap:10px;padding:11px 16px;min-height:44px;margin-bottom:16px;border-color:var(--line);background:#f7f9ff;font-size:12px}.ps-compare-product>span{display:inline}.has-compare-selection{padding-bottom:86px}
.ps-compare-bar{position:fixed;z-index:60;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;width:max-content;max-width:calc(100% - 32px);padding:5px;border:1px solid #a8bbf5;border-radius:13px;background:white;box-shadow:0 8px 30px #254cb32e}.ps-compare-bar[hidden]{display:none}.ps-compare-open{display:inline-flex;align-items:center;gap:22px;min-height:48px;padding:12px 20px;border:0;border-radius:9px;background:var(--blue);color:white;font-size:13px;font-weight:700}.ps-compare-open:disabled{background:#edf1ff;color:#6479b3}.ps-compare-count{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid currentColor;border-radius:50%;font-size:11px}.ps-compare-clear{width:44px;height:44px;background:white;border:0;font-size:24px;color:#66768d}.ps-compare-toast{position:fixed;z-index:80;bottom:90px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:13px 18px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);font-size:12px;box-shadow:0 5px 25px #16337720}
#compare-dialog{width:min(1180px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:30px;border:1px solid var(--line);border-radius:20px;background:white;color:var(--ink);overflow-y:auto;overscroll-behavior:contain}#compare-dialog:not([open]){display:none}#compare-dialog::backdrop{background:rgb(20 35 62 / .28);backdrop-filter:blur(5px)}.ps-compare-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.ps-compare-dialog h2{font-size:34px;margin:13px 0 0;line-height:1.2;letter-spacing:-.04em}.ps-compare-close{width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:50%;background:#f5f7fc;color:var(--ink);font-size:25px}.ps-compare-tools{display:flex;align-items:center;gap:20px;margin:0 0 20px}.ps-compare-differences,.ps-compare-retry,.ps-compare-from-favorites{min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:8px;background:#f5f7ff;color:var(--blue);font-size:12px}.ps-compare-differences[aria-pressed=true]{background:var(--blue);color:white}.ps-compare-tools p{font-size:11px;color:var(--muted)}.ps-compare-empty{font-size:13px;color:var(--muted);line-height:1.8;padding:15px 0}.ps-compare-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;max-width:100%}.ps-compare-table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;max-width:none;table-layout:fixed;font-size:12px;line-height:1.7}.ps-compare-table th,.ps-compare-table td{min-width:200px;width:200px;max-width:250px;padding:17px 20px;border-bottom:1px solid #e8edf5;border-right:1px solid #e8edf5;text-align:left;vertical-align:top;background:white;overflow-wrap:anywhere}.ps-compare-table tr>:first-child{position:sticky;left:0;z-index:1;min-width:160px;width:160px;max-width:160px;background:#f7f9fc;font-weight:650}.ps-compare-table thead img{display:block;width:190px;max-width:100%;height:190px;object-fit:contain;border-radius:8px;margin:0 auto 15px}.ps-compare-table thead a{display:block;font-size:16px;font-weight:700}.ps-compare-table .is-different td{background:#f4f7ff}.ps-difference-mark{color:var(--blue)}.ps-compare-side,.ps-compare-remove{display:block;min-height:32px;padding:5px 0;border:0;background:none;color:var(--muted);font-size:11px}.ps-compare-side{color:var(--blue)}.ps-compare-remove{margin-top:5px}.ps-compare-dialog :focus-visible,.ps-compare-add:focus-visible,.ps-compare-bar button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.ps-compare-is-open{position:fixed;top:var(--ps-compare-offset);left:0;right:0;width:100%;overflow:hidden}.ps-compare-from-favorites{margin-top:20px;width:100%}
@media(max-width:760px){#compare-dialog{padding:22px 16px;border-radius:15px}.ps-compare-dialog h2{font-size:26px}.ps-compare-tools{align-items:flex-start;gap:12px}.ps-compare-tools p{max-width:110px;margin:2px 0}.ps-compare-table th,.ps-compare-table td{min-width:180px;width:180px;padding:13px 14px}.ps-compare-table tr>:first-child{min-width:120px;width:120px;max-width:120px}.ps-compare-table thead img{height:140px}.ps-compare-add:not(.ps-compare-product){right:8px;bottom:8px;width:36px;height:36px}.ps-compare-open{font-size:12px;gap:16px}}

@media(min-width:761px) and (max-height:900px){.single-product.woocommerce div.product div.images{position:relative;top:auto}}

.ps-cart-express button[type=submit]{justify-content:space-between;padding-left:20px;padding-right:20px}.ps-cart-express button[type=submit]>span{font-size:20px}

#wishlist-items .wishlist-item{display:flex;align-items:center;gap:16px;padding:15px 0;border-top:1px solid var(--line)}
#wishlist-items .wishlist-item>a{display:flex;align-items:center;gap:20px;flex:1;min-width:0;font-size:15px;overflow-wrap:anywhere}
#wishlist-items .wishlist-item img{flex:none}
.wishlist-remove{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#f5f7ff;color:var(--blue);cursor:pointer;transition:background .18s,border-color .18s}
.wishlist-remove:hover{background:#e9eeff;border-color:#b6c5f5}.wishlist-remove:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.woocommerce-cart .content-page{padding-top:24px}
.woocommerce-cart .page-title{margin-bottom:24px}
.woocommerce-cart .page-title h1{font-size:40px;margin:8px 0 0}
.woocommerce-cart .page-title .page-intro{display:none}
.woocommerce-cart .cart-collaterals .cart_totals{display:flex;flex-direction:column;padding:24px}
.woocommerce-cart .cart_totals>h2{order:0;font-size:22px;margin:0 0 14px}
.ps-cart-amount{order:1;display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:14px}
.ps-cart-amount>strong{font-size:26px;letter-spacing:-.035em}.ps-cart-amount small{font-size:11px;font-weight:400;display:block}
.ps-cart-delivery-note{order:2;font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.woocommerce-cart .ps-cart-express{order:3;margin-top:16px;padding-top:8px}
.woocommerce-cart .ps-cart-express label{margin:10px 0 5px}
.woocommerce-cart .ps-cart-express input:not([type=hidden]):not([type=checkbox]){min-height:44px;padding:9px 12px}
.ps-order-comment{margin-top:12px;font-size:12px}.ps-order-comment summary,.ps-cart-calculation summary{cursor:pointer;color:var(--blue);min-height:32px;padding:7px 0}
.woocommerce-cart .ps-cart-express .ps-consent{margin:10px 0 0;line-height:1.6}
.woocommerce-cart .ps-cart-express button[type=submit]{min-height:48px;margin-top:14px}
.woocommerce-cart .cart_totals>.cart-note{order:4;font-size:11px;line-height:1.6;padding:0;margin:12px 0 0;border:0}
.ps-cart-calculation{order:5;margin-top:16px;border-top:1px solid var(--line);padding-top:8px;font-size:12px}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{order:6;padding:0}
.woocommerce-cart.ps-cart-auto .woocommerce-cart-form table.cart td.actions>button[name=update_cart]{display:none!important}
.ps-cart-update-status{order:2;font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0!important}
.woocommerce-cart .ps-cart-express button:disabled{opacity:.55;cursor:wait}
.woocommerce-cart .page-content>.woocommerce{gap:18px 28px}
.woocommerce-cart .woocommerce-message{padding:10px 14px;margin:0;font-size:12px;line-height:1.6}
.woocommerce-cart .woocommerce-message:before{display:none}.woocommerce-cart .woocommerce-message .button{display:none}
.ps-cart-amount,.ps-cart-amount>strong{line-height:1.3}
.woocommerce-cart .cart_totals>h2{line-height:1.2}
.woocommerce-cart .ps-cart-express button[type=submit]{height:48px;padding-top:10px;padding-bottom:10px}
@media(min-width:1001px){.woocommerce-cart .cart-collaterals{position:sticky;top:calc(var(--ps-sticky-offset,128px) + 16px)}}
@media(max-width:760px){.woocommerce-cart .content-page{padding-top:18px}.woocommerce-cart .page-title{margin-bottom:18px}.woocommerce-cart .page-title h1{font-size:32px}.woocommerce-cart .cart-collaterals{order:-1}.woocommerce-cart .cart-collaterals .cart_totals{padding:20px}.woocommerce-cart .cart_totals>h2{font-size:20px}.ps-cart-amount>strong{font-size:24px}#wishlist-items .wishlist-item>a{gap:12px;font-size:14px}#wishlist-items .wishlist-item{gap:10px}}

#order-success-dialog.ps-order-success{width:min(480px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:40px 34px 30px;border:1px solid #e5ebf5;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #14264430;overflow-y:auto;overscroll-behavior:contain}
#order-success-dialog:not([open]){display:none}#order-success-dialog[open]{animation:ps-popup-enter .3s cubic-bezier(.22,1,.36,1)}#order-success-dialog::backdrop{background:rgb(20 35 62 / .28);backdrop-filter:blur(5px)}
.ps-consult-dialog.is-success>.chapter-index,.ps-consult-dialog.is-success>h2,.ps-consult-dialog.is-success>.consult-dialog-intro{display:none}
.ps-consult-form.is-submitted>.ps-success-card{display:block!important}
.ps-success-card{text-align:center;padding:16px 0 0;animation:ps-popup-enter .35s ease-out}.ps-success-card:focus{outline:0}
.ps-success-mark{width:96px;height:96px;display:grid;place-items:center;margin:0 auto 26px;border-radius:50%;background:#eef3ff}
.ps-success-mark svg{width:80px;height:80px;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ps-success-mark circle{stroke:#c8d6ff}.ps-success-mark path{stroke-dasharray:52;stroke-dashoffset:0;animation:ps-success-draw .65s .1s both ease-out}
.ps-success-card .chapter-index{font-size:10px;letter-spacing:.1em;color:var(--blue)}
.ps-consult-dialog .ps-success-card h2,.ps-consult-dialog .ps-success-card h3{font:800 clamp(26px,4vw,34px)/1.15 Montserrat,sans-serif;letter-spacing:-.045em;margin:18px 0 16px;text-wrap:balance}
.ps-success-card>p{font-size:13px;line-height:1.85;color:var(--muted);margin:0 auto 26px;max-width:340px}
.ps-success-button{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:50px;padding:14px 20px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:700 13px Montserrat,sans-serif;cursor:pointer}.ps-success-button span{font-size:22px;line-height:1}.ps-success-button:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.ps-order-noscript{padding:24px;margin:20px;border:1px solid var(--line);border-radius:12px;background:#f5f7ff}
@keyframes ps-success-draw{from{stroke-dashoffset:52}to{stroke-dashoffset:0}}
@media(max-width:760px){#order-success-dialog.ps-order-success{padding:36px 24px 26px}.ps-success-card>p{font-size:13px}.ps-success-mark{margin-bottom:22px;width:88px;height:88px}}
@media(prefers-reduced-motion:reduce){#order-success-dialog[open],.ps-success-card,.ps-success-mark path{animation:none}}

:is(#compare-dialog,#wishlist-dialog,#consult-dialog,#order-success-dialog)[open]{animation:ps-dialog-open .34s cubic-bezier(.16,1,.3,1);transform-origin:50% 50%}
:is(#compare-dialog,#wishlist-dialog,#consult-dialog,#order-success-dialog)::backdrop{background:rgb(20 35 62 / .28);backdrop-filter:blur(5px);animation:ps-dialog-backdrop .28s ease-out}
.ps-compare-content{min-height:min(580px,calc(100dvh - 240px))}
@keyframes ps-dialog-open{from{opacity:0;transform:translate3d(0,14px,0) scale(.975)}to{opacity:1;transform:none}}
@keyframes ps-dialog-backdrop{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){:is(#compare-dialog,#wishlist-dialog,#consult-dialog,#order-success-dialog)[open],:is(#compare-dialog,#wishlist-dialog,#consult-dialog,#order-success-dialog)::backdrop{animation:none!important}}

/* A single compact comparison control on each product. */
.reference-card-photo .ps-compare-add{display:inline-flex;align-items:center;gap:4px;width:auto;height:32px;padding:0 8px;font-size:11px;font-weight:600;line-height:1;border-radius:7px;white-space:nowrap;box-shadow:0 2px 8px #24385e08}
.reference-card-photo .ps-compare-add>span{display:inline}
.reference-card-photo .ps-compare-add>svg{width:14px;height:14px;flex:none}
.ps-compare-table .ps-compare-remove{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;padding:8px 13px;gap:5px;border:1px solid var(--line);border-radius:8px;background:#f7f9fc;color:var(--ink);font-size:12px;font-weight:600;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.ps-compare-table .ps-compare-remove:hover{background:#edf1ff;color:var(--blue);border-color:#b5c8ff}
@media(max-width:760px){.reference-card-photo .ps-compare-add:not(.ps-compare-product){width:auto;height:32px;padding:0 8px;font-size:11px;gap:4px}}
@media(prefers-reduced-motion:reduce){.ps-compare-table .ps-compare-remove{transition:none}}

@media(pointer:coarse){.reference-card-photo .ps-compare-add::before{content:"";position:absolute;inset:-6px 0}}

/* Match WooCommerce's mobile stacked attributes without retaining desktop column widths. */
@media(max-width:760px){
 .single-product .ps-info-specs table.shop_attributes{display:block;box-sizing:border-box;width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;border-collapse:separate;border-spacing:0;background:white;overflow:hidden}
 .single-product .ps-info-specs table.shop_attributes tbody{display:block;width:100%}
 .single-product .ps-info-specs table.shop_attributes tr{display:block;width:100%;padding:14px;border:0;border-bottom:1px solid #e8edf5;background:white}
 .single-product .ps-info-specs table.shop_attributes tr:last-child{border-bottom:0}
 .single-product .ps-info-specs table.shop_attributes tr>th,.single-product .ps-info-specs table.shop_attributes tr>td{display:block;box-sizing:border-box;float:none;width:100%!important;max-width:100%;margin:0;padding:0!important;border:0!important;background:transparent!important;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.65}
 .single-product .ps-info-specs table.shop_attributes tr>th{margin-bottom:5px;color:var(--muted);font-size:12px!important;font-weight:500}
 .single-product .ps-info-specs table.shop_attributes tr>td{color:var(--ink);font-size:13px!important;font-style:normal;font-weight:500}
 .single-product .ps-info-specs table.shop_attributes td p{margin:0;padding:0;font-size:inherit;line-height:inherit}
}

/* Purchase actions share one row; the native form and its controls are retained. */
.single-product .ps-product-purchase{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:end;gap:10px;margin:0 0 24px;min-width:0}
.single-product.woocommerce div.product .ps-product-purchase form.cart{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0;min-width:0}
.single-product.woocommerce div.product .ps-product-purchase form.cart div.quantity{display:flex;align-items:center;gap:10px;width:100%;margin:0}
.single-product.woocommerce div.product .ps-product-purchase form.cart div.quantity:before{content:'Кол-во';font-size:12px;color:var(--muted)}
.single-product.woocommerce div.product .ps-product-purchase form.cart .qty{width:58px;height:44px;min-height:44px;font-size:16px;padding:5px;border-radius:9px}
.single-product.woocommerce div.product .ps-product-purchase form.cart .button{width:100%;min-width:0;min-height:52px;height:52px;padding:10px 8px;font-size:12px;line-height:1.35;white-space:normal;text-wrap:balance;float:none;flex:none;border-radius:10px}
.single-product .ps-product-purchase .ps-compare-product{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;height:52px;min-height:52px;margin:0;padding:10px 8px;border:1px solid #dce5ff;border-radius:10px;font-size:12px;line-height:1.35;white-space:nowrap;background:#f2f5ff;color:var(--blue)}
.single-product .ps-product-purchase .ps-compare-product svg{width:17px;height:17px;flex:none}
.single-product .ps-product-purchase .ps-compare-product[aria-pressed=true]{background:#e7eeff;border-color:#a8bfff}
.space-title-compact{display:none}
@media(max-width:760px){
 .reference-home .space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .reference-home .space-card,.reference-home .space-card:first-child,.reference-home .space-card:last-child{display:flex;flex-direction:column;grid-column:auto;min-width:0;min-height:0;padding:16px 14px 12px;border:1px solid #e1e7f0;border-radius:15px;background:linear-gradient(145deg,#fff 45%,#f3f6ff)}
 .reference-home .space-card-top{display:block;min-height:34px}
 .reference-home .space-card-top>.space-purpose{display:block;width:auto;max-width:100%;padding:0;border-radius:0;background:none;font-size:12px;font-weight:600;line-height:1.4;color:var(--blue);overflow-wrap:anywhere}
 .reference-home .space-card-top>.space-arrow{display:none}
 .reference-home .space-card-title{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:0;margin:12px 0}
 .reference-home .space-card-title .door-drawing{order:-1;width:42px;height:52px;flex:none}
 .reference-home .space-card h3{font-size:clamp(18px,5.1vw,23px);line-height:1.18;font-weight:650;letter-spacing:-.04em;max-width:100%;min-height:2.36em;margin:0;overflow-wrap:normal}
 .reference-home .space-card h3.has-compact-title>.space-title-full{display:none}
 .reference-home .space-card h3>.space-title-compact{display:inline}
 .reference-home .space-card p{font-size:12px;line-height:1.7;min-height:0;max-width:none;margin:0 0 16px;color:var(--muted);overflow-wrap:normal}
 .reference-home .space-card .space-card-link{min-height:44px;gap:5px;padding-top:12px;font-size:12px;line-height:1.5}
 .reference-home .space-card .space-card-link>span{font-size:17px;flex:none}
 .single-product.woocommerce div.product div.summary{padding:22px 16px}
 .single-product .ps-product-purchase{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px}
 .single-product .product-help{font-size:12px;line-height:1.75;padding:18px 0}
 .single-product .ps-gallery-help{font-size:12px;line-height:1.7}
 .single-product .ps-product-description,.single-product .ps-product-description p{font-size:14px;line-height:1.85}
 .single-product .ps-info-specs table.shop_attributes tr>td{font-size:14px!important}
 .reference-card .product-description{font-size:11px;line-height:1.65;min-height:3.3em}
 .reference-card-description>small{font-size:11px;line-height:1.5}
 .reference-card-bottom strong,.reference-card-bottom .price,.store-main .reference-card-bottom strong{font-size:16px}
 .reference-home .filter-tabs>a,.store-main .filter-tabs>a{font-size:11px;min-height:40px;padding:10px 12px}
 .reference-footer-grid>div>a,.reference-footer-grid>div>p,.reference-footer-grid address{font-size:12px;line-height:1.8}
}
@media(max-width:350px){.reference-home .space-card,.reference-home .space-card:first-child,.reference-home .space-card:last-child{padding:14px 10px 10px}.reference-home .space-grid{gap:10px}.reference-home .space-card .space-card-link{font-size:12px}.single-product .ps-product-purchase .ps-compare-product svg{display:none}}

.single-product.woocommerce div.product .ps-product-purchase form.cart::before,.single-product.woocommerce div.product .ps-product-purchase form.cart::after{display:none}

@media(max-width:760px){.single-product.woocommerce div.product .ps-product-purchase form.cart .button{font-size:13px;padding:8px}.single-product .ps-product-purchase .ps-compare-product{font-size:13px}.single-product .ps-product-purchase .ps-compare-product svg{display:none}}

/* Clear catalogue entry and readable mobile category cards. */
.reference-categories .reference-section-head>div>a{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;margin-top:14px;padding:14px 20px;border:1px solid var(--blue);border-radius:11px;background:var(--blue);color:white;font-size:15px;font-weight:650;line-height:1.4;box-shadow:0 4px 12px #2554e816;transition:background .2s,box-shadow .2s,transform .2s}
.reference-categories .reference-section-head>div>a>span{font-size:23px;line-height:1;flex:none}
.reference-categories .reference-section-head>div>a:focus-visible{outline:3px solid #8ea9ff;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.reference-categories .reference-section-head>div>a:hover{background:#214bd4;box-shadow:0 8px 20px #2554e829;transform:translateY(-2px)}}
@media(max-width:760px){
 .reference-categories .reference-section-head h2{font-size:32px;line-height:1.2;letter-spacing:-.04em}
 .reference-categories .reference-section-head>div p{font-size:14px;line-height:1.75;margin:12px 0 18px}
 .reference-categories .reference-section-head>div>a{display:flex;width:100%;min-height:54px;padding:14px 18px;margin-top:0;font-size:16px}
 .reference-home .space-card-top>.space-purpose{font-size:13px;line-height:1.45}
 .reference-home .space-card h3{font-size:clamp(20px,5.4vw,24px);line-height:1.2;min-height:2.4em}
 .reference-home .space-card p{font-size:13px;line-height:1.7}
 .reference-home .space-card .space-card-link{font-size:13px;line-height:1.5;gap:4px}
 .reference-home .space-card .space-card-link>span{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.reference-categories .reference-section-head>div>a{transition:none;transform:none}}

/* Keep gallery controls below the sticky header, while preserving native lightbox. */
.single-product.woocommerce div.product div.images{z-index:1;isolation:isolate}
.woocommerce-product-gallery .flex-viewport{position:relative}
.woocommerce-product-gallery .ps-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #dbe4fb;border-radius:50%;background:rgb(255 255 255 / .95);color:var(--blue);box-shadow:0 4px 16px #1e36551a;cursor:pointer;transition:background .2s,box-shadow .2s}
.woocommerce-product-gallery .ps-gallery-arrow svg{width:24px;height:24px}
.woocommerce-product-gallery .ps-gallery-prev{left:12px}.woocommerce-product-gallery .ps-gallery-next{right:12px}
.woocommerce-product-gallery .ps-gallery-arrow:hover{background:#edf2ff;box-shadow:0 6px 20px #2146ce24}
.ps-gallery-arrow:focus-visible,.ps-quantity-stepper button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* Real buttons remain available on touch devices, unlike native number spinners. */
.woocommerce .quantity .ps-quantity-stepper{display:inline-grid;grid-template-columns:44px minmax(28px,1fr) 44px;align-items:center;width:124px;max-width:100%;height:46px;border:1px solid var(--line);border-radius:10px;background:white;overflow:visible;vertical-align:middle}
.woocommerce .quantity .ps-quantity-stepper button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;min-width:0;margin:0;padding:0;border:0;border-radius:9px;background:#f0f4ff;color:var(--blue);font:500 23px/1 Montserrat,sans-serif;cursor:pointer;transition:background .18s}
.woocommerce .quantity .ps-quantity-stepper button:hover{background:#e3ebff}
.woocommerce .quantity .ps-quantity-stepper button:disabled{color:#a4aebb;background:#f6f7fa;cursor:default}
.single-product.woocommerce div.product .ps-product-purchase form.cart div.quantity{display:block}
.single-product.woocommerce div.product .ps-product-purchase form.cart div.quantity:before{display:block;margin-bottom:7px}
.woocommerce .quantity .ps-quantity-stepper input.qty,.single-product.woocommerce div.product .ps-product-purchase form.cart .ps-quantity-stepper .qty{appearance:textfield;-moz-appearance:textfield;width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:0 2px;border:0;border-radius:0;background:white;font-size:16px;text-align:center;box-shadow:none}
.ps-quantity-stepper input::-webkit-inner-spin-button,.ps-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.reference-catalog [data-product-category][hidden]{display:none!important}
.reference-catalog .reference-section-head>a{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:52px;padding:14px 20px;border-radius:11px;background:var(--blue);color:white;font-size:15px;font-weight:700;box-shadow:0 6px 18px #2554e81c;white-space:nowrap;transition:background .2s,transform .2s}
.reference-catalog .reference-section-head>a:hover{background:#1945d0;transform:translateY(-2px)}
.reference-catalog .filter-tabs a{min-height:44px;display:inline-flex;align-items:center}
.reference-catalog .filter-tabs a.active{background:var(--blue);border-color:var(--blue);color:white}
@media(max-width:760px){
 .reference-catalog .reference-section-head>a{display:flex;width:100%;margin-top:20px;min-height:52px;font-size:16px}
 .woocommerce-cart table.cart tr.cart_item td.product-quantity{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
 .woocommerce-cart table.cart tr.cart_item td.product-quantity:before{float:none;margin-right:auto}
}
@media(prefers-reduced-motion:reduce){.ps-gallery-arrow,.ps-quantity-stepper button,.reference-catalog .reference-section-head>a{transition:none!important}.reference-catalog .reference-section-head>a:hover{transform:none}}

@media(min-width:761px){.reference-home .space-card h3{max-width:none;min-width:0;flex:1}}
@media(min-width:761px) and (max-width:1100px){.reference-home .space-card-title{flex-direction:column-reverse;align-items:flex-start;gap:14px}.reference-home .space-card h3{flex:none;width:100%}}

/* Keep each catalogue action beside its heading, without a secondary introduction. */
.reference-categories .reference-section-head,.reference-catalog .reference-section-head{justify-content:flex-start;align-items:center;gap:36px;flex-wrap:wrap}
.reference-categories .reference-section-head h2,.reference-catalog .reference-section-head h2{margin:0}
.reference-categories .reference-section-head>div>a{margin-top:0}
.reference-catalog .reference-section-head>a{flex:none}
.single-product.woocommerce div.product .ps-product-purchase form.cart .single_add_to_cart_button{display:flex;align-items:center;justify-content:center;gap:8px;position:relative}
.single-product.woocommerce div.product .ps-product-purchase form.cart .single_add_to_cart_button.ps-add-pending{cursor:progress;transform:none}
.ps-add-spinner{display:inline-block;flex:none;width:16px;height:16px;border:2px solid rgb(255 255 255 / .4);border-top-color:white;border-radius:50%;animation:ps-add-spin .7s linear infinite}
.single-product.woocommerce div.product .ps-product-purchase form.cart .single_add_to_cart_button.ps-add-success{background:#127765;color:white;animation:ps-add-confirm .6s ease-out}
.ps-add-check{width:20px;height:20px;flex:none}.ps-add-check path{stroke-dasharray:22;animation:ps-add-check .4s ease-out both}
@keyframes ps-add-spin{to{transform:rotate(360deg)}}
@keyframes ps-add-confirm{0%{box-shadow:0 0 0 0 #12776540}70%{box-shadow:0 0 0 7px #12776500}100%{box-shadow:0 0 0 0 #12776500}}
@keyframes ps-add-check{from{stroke-dashoffset:22}to{stroke-dashoffset:0}}
@media(max-width:760px){
 .reference-categories .reference-section-head,.reference-catalog .reference-section-head{display:flex;flex-direction:column;align-items:stretch;gap:18px}
 .reference-catalog .reference-section-head>a{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.ps-add-spinner,.ps-add-check path,.single-product.woocommerce div.product .ps-product-purchase form.cart .single_add_to_cart_button.ps-add-success{animation:none!important}}
