.brand-full{width:215px;height:65px;overflow:hidden;position:relative;flex-shrink:0}.brand.brand-full img{position:absolute;width:224px;max-width:none;height:auto;left:-5px;top:-8px;object-fit:contain;border-radius:0}.brand-full span{display:none}.editorial-page{background:var(--cf-site-background,#fff9f0)}.editorial-page .header{gap:24px;flex-wrap:wrap}.editorial-page nav{flex-wrap:wrap}.editorial-document{max-width:1200px;margin:70px auto;min-height:55vh}.editorial-document h1{font-size:clamp(36px,5vw,66px);line-height:1.08;max-width:1000px;margin:20px 0 28px}.editorial-prose{max-width:800px;font-size:19px;line-height:1.75;margin:32px 0 45px}.editorial-lead{font-size:22px;line-height:1.5;max-width:820px;color:#666}.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.editorial-card{display:block;background:#fff;border:1px solid #ddd6cc;border-radius:24px;padding:30px;color:#181818;text-decoration:none;transition:transform .2s}.editorial-card:hover{transform:translateY(-3px)}.editorial-card h3{font-size:24px;line-height:1.25;margin:14px 0}.editorial-card p{color:#666;line-height:1.6}.editorial-card>span:last-child{color:var(--cf-site-accent,#f20813);font-weight:700}.trusted-wordmarks{display:grid;grid-template-columns:repeat(6,1fr);gap:24px;align-items:center;margin-top:35px}.trusted-wordmarks span{font-weight:800;font-size:clamp(20px,2.2vw,32px);letter-spacing:-1px;text-align:center;color:#222}.editorial-trust{border-top:1px solid #ddd6cc;border-bottom:1px solid #ddd6cc;padding-top:50px;padding-bottom:50px}.editorial-page footer{gap:24px;flex-wrap:wrap}.editorial-page .primary,.editorial-page .eyebrow{color:var(--cf-site-accent,#f20813)}.editorial-page .primary{background:var(--cf-site-accent,#f20813);color:#fff}.editorial-home .section-heading{align-items:center}.editorial-document>.eyebrow{display:block;margin-top:25px}body{background-color:var(--cf-site-background,#fff9f0)}body .primary{background-color:var(--cf-site-accent,#f20813)}body .eyebrow{color:var(--cf-site-accent,#f20813)}
@media(max-width:850px){.editorial-grid{grid-template-columns:1fr}.trusted-wordmarks{grid-template-columns:repeat(3,1fr)}.editorial-document{margin:30px auto}.editorial-prose{font-size:17px}.brand-full{width:170px;height:52px}.brand.brand-full img{width:179px;top:-6px;left:-4px}.editorial-home .section-heading{display:block}.editorial-home .section-heading>a{display:inline-block;margin-top:20px}}
.editorial-document{padding-top:50px}.header:has(.brand-full){gap:18px;flex-wrap:wrap}.header:has(.brand-full) nav{gap:16px;flex-wrap:wrap;font-size:14px}.header:has(.brand-full) .header-actions{gap:10px}.header:has(.brand-full) .account{padding-left:8px;padding-right:8px}.header:has(.brand-full) .brand-full{width:180px;height:55px}.header:has(.brand-full) .brand-full img{width:190px;top:-7px}
footer{background:#171719;color:#fff}footer a{color:#fff}footer small,footer p{color:#ddd}footer .brand-full{display:inline-block}
@media(max-width:1400px){.header:has(.brand-full) .header-actions{margin-left:auto}.header:has(.brand-full) nav{display:flex;order:3;flex-basis:100%;flex-wrap:nowrap;overflow-x:auto;justify-content:center;gap:22px}.header:has(.brand-full) nav a{display:block;white-space:nowrap}}@media(max-width:650px){.header:has(.brand-full) nav{justify-content:flex-start;gap:18px}}
/* Keep the only city selector visible on compact headers. */
[hidden]{display:none!important}
.category-with-photo:before{display:none}.category-with-photo .tag{display:none}.category-with-photo{background:#fff!important;justify-content:flex-start;padding:16px}.category-photo{display:block;width:100%;height:210px;object-fit:cover;border-radius:18px;margin-bottom:20px}.category-with-photo h3{max-width:90%;color:#171717!important;letter-spacing:-.025em}.category-with-photo .arrow{color:#171717;background:#fff}.product-card:focus-visible{outline:3px solid var(--red);outline-offset:4px}
footer>*{min-width:0}footer .footer-links{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap;gap:18px}footer #footerTagline{justify-self:end;max-width:360px;line-height:1.5}footer .footer-brand{color:#fff}footer .footer-links a:focus-visible{outline:2px solid #fff;outline-offset:5px}
@media(max-width:980px){footer{grid-template-columns:1fr}footer #footerTagline{justify-self:start;margin:0}}
.editorial-trust{padding-top:28px;padding-bottom:28px}.editorial-trust h2{font-size:26px;margin:12px 0 20px}.editorial-trust .trusted-wordmarks{margin-top:16px}
@media(max-width:980px){.header-actions .account.city-button{display:block!important;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:8px}.header{height:auto;min-height:76px;flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}.header .brand-logo{width:150px}.header-actions{margin-left:auto}}
.pickup-home h2{font-size:clamp(30px,4vw,48px);margin:14px 0}.pickup-home>p{color:#5b5752;max-width:650px;line-height:1.6}.pickup-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.7fr);gap:32px;margin-top:32px}.pickup-point{display:flex;gap:18px;padding:24px 0;border-top:1px solid #ddd6cc}.pickup-pin{font-size:42px;color:var(--cf-site-accent,#f20813)}.pickup-point h3{font-size:24px;margin:0 0 12px;color:#181818}.pickup-point p{line-height:1.5;color:#5b5752}.pickup-point .secondary{padding:12px 18px;margin:8px 0 14px}.pickup-point a{display:block;color:#181818;text-underline-offset:4px}.pickup-point button[aria-pressed=true]{border-color:var(--cf-site-accent,#f20813);color:var(--cf-site-accent,#f20813)}.pickup-map{min-height:380px;background:#f1e8dc;border-radius:28px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:#181818}.pickup-map-symbol{font-size:90px;color:var(--cf-site-accent,#f20813)}.pickup-map h3{font-size:28px;margin:12px}.pickup-map small{color:#655f57}.pickup-map:has(iframe){padding:0}.pickup-map iframe{width:100%;height:420px;border:0}.trusted-wordmarks img{display:block;max-width:100%;width:150px;height:62px;object-fit:contain;margin:auto}@media(max-width:700px){.pickup-layout{grid-template-columns:1fr;gap:16px}.pickup-map{min-height:300px}.pickup-map iframe{height:350px}.trusted-wordmarks{gap:20px 12px}.trusted-wordmarks img{height:48px}}
.client-logo{display:flex;align-items:center;justify-content:center;min-height:85px;padding:12px}.client-logo-dark img{filter:invert(1)}
.delivery-method-tile[data-delivery-method="russian_post"] .delivery-method-icon{width:128px;max-width:100%;height:64px}.delivery-method-tile[data-delivery-method="russian_post"] .delivery-method-icon img{width:116px;max-width:95%;height:45px;object-fit:contain}
.editorial-card h2{font-size:clamp(24px,2.4vw,32px);line-height:1.15;margin:0 0 22px;overflow-wrap:anywhere}.editorial-card a{color:#181818;text-underline-offset:4px;overflow-wrap:anywhere}.editorial-card{min-width:0}.legal-page .dark-button{color:#fff}.legal-page .legal-content h1{font-size:clamp(34px,4vw,56px);line-height:1.1;overflow-wrap:anywhere}.legal-page .brand-full{display:block}.legal-page .header{height:auto;min-height:90px}
.pickup-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.pickup-heading h2{margin:12px 0}.pickup-legend{display:flex;gap:20px;color:#38332e;font-size:14px}.pickup-legend span{display:inline-flex;align-items:center;gap:8px}.pickup-dot{display:inline-block;width:11px;height:11px;border-radius:50%}.pickup-dot-own{background:#f20813}.pickup-dot-partner{background:#66b74b}.pickup-home .pickup-map{width:100%;height:560px;min-height:400px;border-radius:28px}.pickup-map.pickup-map-loaded{display:block;padding:0}.pickup-home .pickup-map-note{margin:14px 0 0;font-size:13px;color:#655f57;max-width:none}.pickup-map .secondary{margin:18px 0}.pickup-map-small-error{padding:30px!important;display:flex!important}.pickup-map iframe{height:100%}@media(max-width:700px){.pickup-heading{display:block;margin-bottom:18px}.pickup-legend{gap:18px}.pickup-home .pickup-map{height:420px;min-height:320px;border-radius:20px}.pickup-home .pickup-map-note{font-size:12px}}
.guide-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 50px}.guide-jumps a{border:1px solid #ddd6cc;border-radius:20px;padding:10px 16px;color:#181818;text-decoration:none;font-size:14px}.guide-jumps a:hover{border-color:#f20813}.guide-step{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;padding:36px 0;border-top:1px solid #ddd6cc;scroll-margin-top:130px}.guide-step h2{font-size:clamp(26px,3vw,36px);line-height:1.15;margin:12px 0 16px}.guide-step p{font-size:18px;line-height:1.65;max-width:760px;color:#514b44}.guide-step details{background:#fff;border:1px solid #ddd6cc;border-radius:16px;padding:18px 22px;margin-top:22px}.guide-step summary{cursor:pointer;font-weight:700;line-height:1.5}.guide-step details p{font-size:16px}.guide-illustration{position:relative;height:215px;background:#f6e6df;border-radius:28px;display:grid;place-items:center;overflow:hidden}.guide-step:nth-child(even) .guide-illustration{background:#e7eddf}.guide-number{position:absolute;left:18px;top:14px;font-size:24px;color:#f20813;font-weight:800}.guide-paper{width:105px;height:142px;background:#fff;box-shadow:8px 10px 0 #181818;transform:rotate(-8deg);padding:22px 14px}.guide-paper i{display:block;height:7px;background:#ddd6cc;margin:10px 0}.guide-paper i:first-child{background:#f20813;width:65%}.guide-paper b{display:block;color:#f20813;font-size:26px;text-align:right}.guide-cta{background:#181818;color:#fff;border-radius:28px;padding:38px;margin:45px 0}.guide-cta h2{font-size:32px;margin:0 0 18px;line-height:1.2}.guide-cta p{color:#eee5db;max-width:780px;line-height:1.65;margin-bottom:24px}.guide-jumps a:focus-visible,.guide-step summary:focus-visible{outline:3px solid #f20813;outline-offset:4px}@media(max-width:650px){.guide-step{grid-template-columns:1fr;gap:22px}.guide-illustration{height:170px}.guide-paper{transform:rotate(-8deg) scale(.85)}.guide-cta{padding:24px}.guide-jumps{margin-bottom:30px}.guide-step p{font-size:16px}}
@media(max-width:1400px){.header:has(.brand-full){height:auto;min-height:76px;padding-top:12px;padding-bottom:12px;row-gap:8px}}
/* One readable field-heading scale across every product calculator. */
#productModal .config label,
#productModal .field-title,
#productModal #componentChoices [data-component-group] > h3,
#productModal #formulaVariables legend {
  font-size:16px;line-height:1.4;font-weight:700;
}
#productModal #componentChoices [data-component-group] > h3 {margin:18px 0 10px;}
#productModal .config input,
#productModal .config select,
#productModal .config textarea,
#productModal .material-card b,
#productModal .chips button,
#productModal .segmented button {font-size:16px;line-height:1.4;}
#productModal .config label small,
#productModal .material-card small,
#productModal #stockNotice,
#productModal #unitPrice {font-size:14px;line-height:1.5;}
#productModal .material-card {min-width:0;}
#productModal .material-card b {max-width:100%;white-space:normal;overflow-wrap:anywhere;hyphens:auto;}
#productModal #materialCards {flex-wrap:wrap;}
#productModal #materialCards > .field-title {flex:0 0 100%;width:100%;}
#authModal .auth-modal {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;width:min(100%,460px);padding:24px;box-sizing:border-box;}
#authModal .auth-modal > * {grid-column:1/-1;min-width:0;}
#authModal h2 {font-size:26px;line-height:1.2;overflow-wrap:anywhere;margin:10px 0 16px;}
#authModal .auth-modal > #copyfotoIdLogin {grid-column:1;}
#authModal .auth-modal > #copyfotoIdEmailLogin {grid-column:2;}
#authModal .auth-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;}
#authModal .auth-tabs button {min-width:0;min-height:44px;padding:8px 10px;font-size:14px;}
#authModal form {display:grid;gap:12px;margin:0;}
#authModal #loginForm {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;}
#authModal #loginForm > button {grid-column:1/-1;}
#authModal .field-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#authModal label {min-width:0;margin:0;font-size:14px;line-height:1.4;}
#authModal label:not(.legal-check) {display:grid;gap:7px;}
#authModal input:not([type=checkbox]) {width:100%;min-width:0;min-height:44px;box-sizing:border-box;font-size:16px;margin:0;}
#authModal .legal-check {display:flex;align-items:flex-start;gap:10px;}
#authModal .legal-check input {flex:0 0 auto;margin:3px 0;}
#authModal .legal-check span {min-width:0;}
#authModal .primary,#authModal .secondary {display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;font-size:14px;line-height:1.35;padding:10px 12px;white-space:normal;text-align:center;text-decoration:none;box-sizing:border-box;overflow-wrap:anywhere;}
#authModal > .auth-modal > .secondary {margin:0;align-self:stretch;}
#authModal [hidden] {display:none!important;}
#authModal #copyfotoLegacyLogin {margin-top:12px;border-top:1px solid #e8e0d5;padding-top:12px;}
#authModal #copyfotoLegacyLogin summary {cursor:pointer;font-size:14px;line-height:1.5;min-height:32px;}
#authModal #copyfotoLegacyLogin summary:focus-visible {outline:2px solid #d60020;outline-offset:3px;}
#authModal #copyfotoLegacyLogin p {font-size:13px;line-height:1.5;color:#68645e;margin:4px 0 12px;}
#authModal #authError {font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin-top:10px;}
#authModal #authError:empty {display:none;}
@media(max-width:420px){#authModal .auth-modal{padding:20px;}#authModal h2{font-size:24px;}#authModal #loginForm,#authModal .field-row{grid-template-columns:minmax(0,1fr);}#authModal .auth-modal > #copyfotoIdLogin,#authModal .auth-modal > #copyfotoIdEmailLogin{padding:9px 6px;}}
/* Variant diagrams illustrate choices, not product photographs. */
.variant-diagram-label{display:block!important;font-size:10px!important;color:#635b52!important;text-align:center}.material-thumb:has(.variant-diagram-label){height:auto;min-height:96px}.material-thumb svg{display:block;width:100%;max-height:100px}.shopper-color-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.shopper-color-grid .field-title{grid-column:1/-1}.shopper-color-grid .material-card{width:100%;min-width:0}.shopper-color-grid .material-thumb{width:100%}@media(max-width:420px){.shopper-color-grid{gap:5px}.shopper-color-grid .material-card{padding:6px}}
/* Compact global product search, with navigation on its own readable row. */
.header:has(#headerProductSearch){display:grid;grid-template-columns:minmax(180px,240px) minmax(180px,1fr) auto;grid-template-areas:"brand search actions" "nav nav nav";height:auto;gap:14px 22px;padding-top:18px;padding-bottom:16px}.header:has(#headerProductSearch) .brand{grid-area:brand}.header:has(#headerProductSearch) nav{grid-area:nav;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 24px;font-size:16px}.header:has(#headerProductSearch) .header-actions{grid-area:actions;font-size:14px;gap:8px;flex-wrap:wrap;justify-content:flex-end}#headerProductSearch{grid-area:search;display:flex;align-items:center;gap:6px;max-width:420px;justify-self:center;width:100%;margin:0}#catalogQuery{min-width:0;width:100%;padding:11px 13px;font:16px/1.3 Arial,sans-serif;border:1px solid #cfc7bb;border-radius:12px;background:white}#headerProductSearch button{padding:11px 13px;border:0;border-radius:12px;background:#161616;color:white;font:700 14px Arial,sans-serif}.catalog-search-status{grid-column:1/-1}.catalog-search-status button{border:0;background:none;text-decoration:underline;cursor:pointer;font:inherit;color:#b60012}.header:has(#headerProductSearch) :focus-visible{outline:3px solid #176ca5;outline-offset:3px}@media(max-width:900px){.header:has(#headerProductSearch){grid-template-columns:minmax(150px,1fr) minmax(160px,1fr);grid-template-areas:"brand actions" "search search" "nav nav";gap:12px}#headerProductSearch{max-width:none}.header:has(#headerProductSearch) nav{gap:10px 18px}.header:has(#headerProductSearch) .header-actions{font-size:13px}}@media(max-width:480px){.header:has(#headerProductSearch){grid-template-columns:1fr;grid-template-areas:"brand" "actions" "search" "nav"}.header:has(#headerProductSearch) .header-actions{justify-content:flex-start}.header:has(#headerProductSearch) nav{font-size:15px}}
/* Responsive header: scoped so editorial pages keep their own layout. */
body .header:has(#headerMenuToggle){grid-template-columns:180px minmax(160px,1fr) auto auto;grid-template-areas:"brand search actions actions" "nav nav city phone";gap:12px 24px;padding:18px max(24px,calc((100vw - 1440px)/2));align-items:center;background:#fffdf8;border-bottom:1px solid #e7e2da;min-height:0}
body .header:has(#headerMenuToggle) .brand-full{width:180px;height:54px}
body .header:has(#headerMenuToggle) nav{gap:20px;flex-wrap:nowrap;overflow:visible;min-width:0;font-size:14px;align-items:center;padding-top:12px;border-top:1px solid #eee8df}
body .header:has(#headerMenuToggle) nav a{white-space:nowrap;text-decoration:none;padding:6px 0}
body .header:has(#headerMenuToggle) .header-actions{display:flex;flex-wrap:nowrap;gap:6px;margin:0;justify-content:flex-end}
body .header:has(#headerMenuToggle) .account,body .header:has(#headerMenuToggle) .cart-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;min-height:44px;font-size:14px;white-space:nowrap;border-radius:12px;cursor:pointer}
body .header:has(#headerMenuToggle) .account:hover{background:#f0ece5}
body .header:has(#headerMenuToggle) #cityButton{grid-area:city;font-size:12px;padding:6px 0;min-height:36px;max-width:none}
body .header:has(#headerMenuToggle) .public-phone{grid-area:phone;justify-self:end;white-space:nowrap;font-size:13px;text-decoration:none;margin:0;padding:6px 0}
body #headerProductSearch{max-width:460px;justify-self:start;position:relative;gap:0}
body #catalogQuery{padding:13px 52px 13px 16px;border-radius:14px;border:1px solid #e1dad0;background:#f5f2ec;font-size:16px;height:48px}
body #headerProductSearch button{position:absolute;right:5px;top:5px;width:38px;height:38px;padding:8px;border-radius:10px;font-size:0;background:#181818;display:flex;align-items:center;justify-content:center}
body #headerMenuToggle{display:none}
body .header:has(#headerMenuToggle) button::before{content:"";display:block;flex-shrink:0;width:20px;height:20px;background:currentColor;mask-position:center;mask-size:contain;mask-repeat:no-repeat}
body .header:has(#headerMenuToggle) #accountButton::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2021v-2a7%207%200%200%200-14%200v2%20M12%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208%22%2F%3E%3C%2Fsvg%3E")}
body .header:has(#headerMenuToggle) [data-action="orders"]::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v18l-3-2-2%202-2-2-3%202V3%20M9%208h6%20M9%2012h6%22%2F%3E%3C%2Fsvg%3E")}
body .header:has(#headerMenuToggle) .cart-button::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h2l3%2012h11l2-8H6%20M9%2020h.01%20M18%2020h.01%22%2F%3E%3C%2Fsvg%3E")}
body .header:has(#headerMenuToggle) #cityButton::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200%20M12%2013a3%203%200%201%200%200-6%203%203%200%200%200%200%206%22%2F%3E%3C%2Fsvg%3E")}
body .header:has(#headerMenuToggle) #headerMenuToggle::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16%20M4%2012h16%20M4%2018h16%22%2F%3E%3C%2Fsvg%3E")}
body .header:has(#headerMenuToggle) #headerProductSearch button::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2021l-5-5%20M10%2017a7%207%200%201%200%200-14%207%207%200%200%200%200%2014%22%2F%3E%3C%2Fsvg%3E")}
@media(max-width:1150px){body .header:has(#headerMenuToggle){grid-template-columns:180px minmax(160px,1fr) auto auto;grid-template-areas:"brand search actions actions" "nav nav nav nav" "city city phone phone";gap:8px 16px}body .header:has(#headerMenuToggle) nav{justify-content:space-between}}
@media(max-width:760px){body .header:has(#headerMenuToggle){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "search menu" "city phone" "nav nav";gap:8px 10px;padding:10px 16px}body .header:has(#headerMenuToggle) .brand-full{width:140px;height:44px}body .header:has(#headerMenuToggle) .brand-full img{width:150px;left:-4px;top:-6px}body .header:has(#headerMenuToggle) .header-actions{gap:2px}body .header:has(#headerMenuToggle) .header-actions .account,body .header:has(#headerMenuToggle) .cart-button{font-size:0;padding:10px;gap:0;width:40px;height:44px;position:relative}body .header:has(#headerMenuToggle) .cart-button b{position:absolute;top:0;right:-2px;min-width:18px;height:18px;font-size:11px;line-height:18px;padding:0 3px;border-radius:20px;background:#f20813;color:white}body #headerProductSearch{max-width:none}body #headerMenuToggle{grid-area:menu;display:flex;gap:6px;align-items:center;justify-content:center;border:1px solid #e1dad0;background:#fffdf8;border-radius:12px;min-height:48px;padding:10px 12px;font:600 13px Arial,sans-serif;cursor:pointer}body .header:has(#headerMenuToggle) #cityButton{justify-content:flex-start;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0;gap:4px;min-height:30px}body .header:has(#headerMenuToggle) #cityButton::before{width:14px;height:14px}body .header:has(#headerMenuToggle) .public-phone{font-size:11px;min-height:30px;display:flex;align-items:center}body .header:has(#headerMenuToggle) nav{display:none;font-size:15px}body .header:has(#headerMenuToggle).menu-open nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:10px 0 2px}body .header:has(#headerMenuToggle) nav a{padding:10px 0;white-space:normal}body .announcement{font-size:11px;line-height:1.4;padding:8px 16px}body .legacy-site-banner{font-size:12px;padding:8px 16px}}
@media(prefers-reduced-motion:no-preference){body .header:has(#headerMenuToggle) button,body .header:has(#headerMenuToggle) a{transition:background-color .15s,color .15s}}
@media(max-width:760px){body .announcement{height:auto;min-height:0;overflow:visible;white-space:normal}body .header:has(#headerMenuToggle) nav a{min-height:44px}}
/* Shared editorial/legal navigation: all links remain visible without JS. */
body .header:not(:has(#headerProductSearch)){display:grid;grid-template-columns:180px minmax(0,1fr) auto;grid-template-areas:"brand nav phone";gap:16px 24px;align-items:center;padding:18px max(24px,calc((100vw - 1440px)/2));background:#fffdf8;border-bottom:1px solid #e7e2da;min-height:0;height:auto}
body .header:not(:has(#headerProductSearch)) .brand{grid-area:brand}
body .header:not(:has(#headerProductSearch)) nav{grid-area:nav;display:flex;flex-wrap:wrap;overflow:visible;justify-content:flex-start;gap:8px 20px;font-size:14px;padding:0;border:0}
body .header:not(:has(#headerProductSearch)) .public-phone{grid-area:phone;justify-self:end;font-size:13px;white-space:nowrap;text-decoration:none}
@media(max-width:1050px){body .header:not(:has(#headerProductSearch)){grid-template-columns:180px minmax(0,1fr);grid-template-areas:"brand phone" "nav nav"}}
@media(max-width:760px){body .header:not(:has(#headerProductSearch)){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand phone" "nav nav";padding:10px 16px;gap:8px 10px}body .header:not(:has(#headerProductSearch)) .brand-full{width:140px;height:44px}body .header:not(:has(#headerProductSearch)) .brand-full img{width:150px;top:-6px;left:-4px}body .header:not(:has(#headerProductSearch)) .public-phone{font-size:11px}body .header:not(:has(#headerProductSearch)) nav{display:grid;grid-template-columns:1fr 1fr;font-size:15px;gap:4px 12px}body .header:not(:has(#headerProductSearch)) nav a{white-space:normal;min-height:44px;padding:10px 0}body .header:not(:has(#headerProductSearch)):has(#headerMenuToggle){grid-template-areas:"brand menu" "phone phone" "nav nav"}body .header:not(:has(#headerProductSearch)):has(#headerMenuToggle) .public-phone{justify-self:start}body .header:not(:has(#headerProductSearch)):has(#headerMenuToggle) nav{display:none}body .header:not(:has(#headerProductSearch)):has(#headerMenuToggle).menu-open nav{display:grid}body .header:not(:has(#headerProductSearch)) #headerMenuToggle{justify-self:end}}
/* Shared catalogue dropdown and category-specific intro. */
body .catalog-navigation{position:relative;display:flex;align-items:center;gap:2px;min-width:0}
body .header .catalog-navigation>.catalog-toggle{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:4px 8px;border:1px solid #e1dad0;border-radius:9px;background:#fffdf8;color:#181818;font:700 20px Arial,sans-serif;cursor:pointer}
body .header .catalog-toggle::before{display:none!important}
body .header .catalog-sections{position:absolute;top:calc(100% + 8px);left:0;width:min(360px,calc(100vw - 32px));max-height:min(70vh,520px);overflow-y:auto;padding:10px;border:1px solid #e1dad0;border-radius:16px;background:#fffdf8;box-shadow:0 14px 42px #0002;z-index:110}
body .header .catalog-sections[hidden]{display:none!important}
body .header .catalog-sections a{display:block;white-space:normal;padding:12px 14px;line-height:1.4;font-size:15px;text-decoration:none;border-radius:10px;min-height:44px}
body .header .catalog-sections a:hover,body .header .catalog-sections a:focus-visible{background:#f1ece4}
body .catalog-navigation-status{font-size:14px;line-height:1.5;margin:8px 12px}
body .hero.category-hero{display:block;min-height:0;padding:48px max(24px,calc((100vw - 1440px)/2));background:#fff9f0}
body .category-hero .hero-visual,body .category-hero #heroImage,body .category-hero #heroTrust,body .category-hero #heroAccent:empty{display:none}
body .category-hero h1{font-size:clamp(32px,4vw,56px);line-height:1.12;max-width:960px;margin:20px 0}
body .category-hero .hero-copy{max-width:960px}body .category-hero p{max-width:850px;font-size:18px;line-height:1.6}
body footer:has(.footer-links){display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1fr);gap:20px 32px;padding:40px max(24px,calc((100vw - 1440px)/2));align-items:start}
body footer .footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 24px;grid-column:1/-1;align-items:start}
body footer .footer-links a{white-space:normal;overflow-wrap:anywhere;line-height:1.5;min-height:36px;text-decoration:none}
body footer small{grid-column:1/-1;line-height:1.6;overflow-wrap:anywhere;text-align:left}
@media(max-width:760px){body .header .catalog-sections{position:static;grid-column:1/-1;width:100%;max-height:60vh;margin-top:6px;box-shadow:none}body .catalog-navigation{display:grid;grid-template-columns:minmax(0,1fr) 36px;grid-column:1/-1}body .hero.category-hero{padding:28px 16px}body .category-hero p{font-size:16px}body footer:has(.footer-links){grid-template-columns:1fr;padding:32px 16px 90px;gap:18px}body footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}body footer #footerTagline{justify-self:start;margin:0}}
body .category-hero .hero-art,body .category-hero h1 br{display:none}
body.editorial-page footer:not(:has(.footer-links)){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:40px max(24px,calc((100vw - 1440px)/2));align-items:start}body.editorial-page footer a{overflow-wrap:anywhere;line-height:1.5;white-space:normal}@media(max-width:760px){body.editorial-page footer:not(:has(.footer-links)){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:32px 16px 90px}}
body .category-hero .hero-copy{padding:0;margin:0}
@media(max-width:760px){body .header.menu-open{max-height:calc(100dvh - 64px);overflow-y:auto}body .header .catalog-sections{max-height:34dvh;overscroll-behavior:contain}}

/* Show whole shopper photographs, including handles, in color choices. */
.shopper-color-grid .material-thumb{height:108px;background:#fff}
.shopper-color-grid .material-thumb img{width:100%!important;height:100%!important;object-fit:contain}
#productModal #materialCards.shopper-color-grid .material-card b{font-size:12px;line-height:1.3;min-height:0;white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none}
@media(max-width:420px){.shopper-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#componentChoices .mug-variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#componentChoices .mug-variant-grid .material-card{width:100%;min-width:0;overflow-wrap:anywhere}
#componentChoices .mug-variant-grid .material-thumb{width:100%;height:120px;background:#fff}
#componentChoices .mug-variant-grid .material-thumb img{width:100%!important;height:100%!important;object-fit:contain}
@media(max-width:420px){#componentChoices .mug-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#ordersModal .account-section-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 20px}
#ordersModal .account-section-menu button{min-width:0;min-height:44px;padding:10px 8px;border:1px solid #d6d1c9;border-radius:12px;background:#fff;color:#191919;font:600 14px/1.3 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#ordersModal .account-section-menu button[aria-pressed="true"]{border-color:#d60020;background:#d60020;color:#fff}
#ordersModal .account-section-menu button:focus-visible{outline:3px solid #171717;outline-offset:3px}
#ordersModal .account-dashboard{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
#ordersModal #accountBalancePanel,#ordersModal #accountProfilePanel,#ordersModal #personalProfile,#ordersModal #accountOrdersPanel{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box}
#ordersModal .account-access{margin-top:20px;padding:20px;border:1px solid #e1dad0;border-radius:18px;background:#fff}
#ordersModal .account-access h3{margin-top:0}
#ordersModal .account-access p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#ordersModal #accountAccessBody{display:grid;gap:12px;min-width:0}
#ordersModal #accountAccessBody label{display:grid;gap:7px;margin:0;min-width:0}
#ordersModal #accountAccessBody input{width:100%;min-width:0;min-height:44px;padding:11px 12px;box-sizing:border-box;font:inherit;border:1px solid #d6d1c9;border-radius:10px}
#ordersModal #accountAccessBody input[readonly]{background:#f4f0e8;color:#514c45}
#ordersModal #accountCredentialsForm{display:grid;gap:12px;min-width:0}
#orderConfirmationModal .order-confirmation{width:min(100%,600px);padding:28px;box-sizing:border-box}
#orderConfirmationModal h2{font-size:28px;overflow-wrap:anywhere}
#orderConfirmationModal p,#ordersModal .order-receiving p{font-size:15px;line-height:1.55;overflow-wrap:anywhere}
#orderConfirmationModal #orderConfirmationTotal{display:block;font-size:22px;line-height:1.4}
#orderConfirmationModal .order-confirmation-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:20px}
#orderConfirmationModal .order-confirmation-actions button{min-height:44px;white-space:normal}
#orderConfirmationModal #orderConfirmationNotice:empty{display:none}
#ordersModal .order-receiving{border:1px solid #ded9d0;border-radius:16px;padding:16px;margin:18px 0;background:#fff}
@media(max-width:420px){#orderConfirmationModal .order-confirmation{padding:20px}#orderConfirmationModal h2{font-size:24px}}
#ordersModal [hidden]{display:none!important}
@media(max-width:420px){#ordersModal .account-section-menu{gap:6px}#ordersModal .account-section-menu button{font-size:13px;padding:9px 5px}}
@media(max-width:420px){#productModal .price-box{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}#productModal .price-box > div{min-width:0;max-width:100%}#productModal .price-box strong,#productModal .price-box b,#productModal .price-box span{max-width:100%;white-space:normal;overflow-wrap:anywhere}}

/* Compact main product cards. Product data, variants and native handlers stay unchanged. */
#productModal #productSecondaryTools button{min-height:44px}
#productModal .product-modal.compact-product-modal{width:min(1060px,100%);max-width:1060px;min-width:0;min-height:0;grid-template-columns:minmax(210px,.72fr) minmax(0,1.65fr);align-items:start;overflow:visible}
#productModal .product-modal.compact-product-modal>.config{min-width:0;max-width:100%;padding:26px 28px;box-sizing:border-box}
#productModal .compact-product-modal .close{width:44px;height:44px;min-width:44px;min-height:44px;right:10px;top:10px}
#productModal .compact-product-modal #modalVisual{position:sticky;top:16px;align-self:start;display:grid;min-width:0;min-height:0;height:280px;max-height:280px;margin:16px 0 16px 16px;padding:12px;border-radius:18px;font-size:120px;overflow:visible}
#productModal .compact-product-modal #modalVisual .product-art-large{width:100%;height:100%;min-height:0;max-height:256px;margin:0;border-radius:12px}
#productModal .compact-product-modal #modalVisual .product-art-image{background:#fff}
#productModal .compact-product-modal #modalVisual .product-art-image img{display:block;width:100%;height:100%;min-height:0;max-height:256px;object-fit:contain;object-position:center;border-radius:12px}
#productModal .compact-product-modal #modalTitle{font-size:32px;line-height:1.12;letter-spacing:-.035em;margin:10px 28px 10px 0;overflow-wrap:break-word}
#productModal .compact-product-modal #modalDescription{font-size:14px;line-height:1.45;margin:8px 0 14px}
#productModal .product-modal.compact-product-modal .config label,#productModal .compact-product-modal .field-title,#productModal .compact-product-modal #componentChoices [data-component-group]>h3,#productModal .compact-product-modal #formulaVariables legend{font-size:14px;line-height:1.4}
#productModal .product-modal.compact-product-modal .config label{margin:10px 0}
#productModal .compact-product-modal .config input:not([type=checkbox]):not([type=radio]),#productModal .compact-product-modal .config select{min-width:0;max-width:100%;min-height:44px;padding:9px 11px;margin-top:5px;font-size:16px;box-sizing:border-box}
#productModal .compact-product-modal .config textarea{min-width:0;max-width:100%;min-height:90px;font-size:16px}
#productModal .compact-product-modal .field-row{gap:10px;min-width:0}
#productModal .compact-product-modal .field-row>label{min-width:0}
#productModal .compact-product-modal .config button{min-height:44px;white-space:normal}
#productModal .compact-product-modal .segmented{margin:10px 0}
#productModal .compact-product-modal .segmented button,#productModal .compact-product-modal .chips button{font-size:14px;padding:10px 12px}
#productModal .compact-product-modal .chips{margin:7px 0 12px}
#productModal .compact-product-modal #componentChoices [data-component-group]>h3{margin:12px 0 8px}
#productModal .compact-product-modal #materialCards{margin-top:8px;margin-bottom:12px}
#productModal .compact-product-modal .price-box{margin:12px 0;padding:14px;gap:14px}
#productModal .compact-product-modal .price-box>div{min-width:0}
#productModal .compact-product-modal #price{font-size:28px;line-height:1.2}
#productModal .compact-product-modal #unitPrice{font-size:12px;line-height:1.4}
#productModal .compact-product-modal .product-help{margin:12px 0;padding:12px;gap:8px 12px}
#productModal .compact-product-modal .product-help b{font-size:13px}
#productModal .compact-product-modal .product-help span{font-size:12px;line-height:1.4}
#productModal .compact-product-modal .product-help button{font-size:13px;padding:8px 10px}
#productModal .compact-product-modal #continueUpload{min-height:44px;margin-top:8px;padding:12px 16px}
#productModal .compact-product-modal .config>div,#productModal .compact-product-modal .config>section{min-width:0;max-width:100%;box-sizing:border-box}
@media(min-width:821px) and (max-width:1100px){#productModal .product-modal.compact-product-modal{grid-template-columns:230px minmax(0,1fr)}#productModal .product-modal.compact-product-modal>.config{padding:24px}#productModal .compact-product-modal #modalTitle{font-size:30px}}
@media(max-width:820px){
 #productModal{padding:8px}
 #productModal .product-modal.compact-product-modal{width:100%;max-width:100%;min-width:0;margin:0 auto;grid-template-columns:minmax(0,1fr);border-radius:20px}
 #productModal .product-modal.compact-product-modal>.config{padding:16px 18px 22px;width:100%;max-width:100%;min-width:0}
 #productModal .compact-product-modal #modalVisual{position:static;top:auto;width:auto;height:164px;max-height:164px;min-height:0;margin:12px 54px 0 12px;padding:8px;font-size:88px}
 #productModal .compact-product-modal #modalVisual .product-art-large,#productModal .compact-product-modal #modalVisual .product-art-image img{min-height:0;height:148px;max-height:148px}
 #productModal .compact-product-modal #modalTitle{font-size:28px;margin:4px 0 10px}
 #productModal .compact-product-modal .product-help{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){
 #productModal .product-modal.compact-product-modal>.config{padding:14px 14px 20px}
 #productModal .compact-product-modal #modalVisual{height:144px;max-height:144px}
 #productModal .compact-product-modal #modalVisual .product-art-large,#productModal .compact-product-modal #modalVisual .product-art-image img{height:128px;max-height:128px}
 #productModal .compact-product-modal #modalTitle{font-size:26px}
 #productModal .compact-product-modal .price-box{grid-template-columns:minmax(0,1fr);gap:10px}
 #productModal .compact-product-modal .price-box strong,#productModal .compact-product-modal .price-box b,#productModal .compact-product-modal .price-box span{max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

/* Desktop helper rail uses actual existing controls; mobile restores their native positions. */
#productModal .compact-product-sidebar{position:sticky;top:16px;align-self:start;min-width:0;margin:16px 0 16px 16px}
#productModal .compact-product-sidebar #modalVisual{position:static;top:auto;width:100%;margin:0}
#productModal #productSecondaryTools{display:grid;gap:10px;margin-top:12px;min-width:0}
#productModal #productSecondaryTools[hidden]{display:none!important}
#productModal .compact-product-modal .compact-product-sidebar .product-help{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding:12px;gap:6px}
#productModal .compact-product-sidebar .product-help button{width:100%;text-align:left}
#productModal .compact-product-sidebar #personalizationEntry{min-width:0;margin:0}
#productModal .compact-product-sidebar #personalizationEntry button{font-size:14px;line-height:1.35;padding:10px 12px;min-height:44px}
#productModal .compact-product-sidebar #personalizationEntry .text-button{display:flex;align-items:center;min-height:44px;font-size:12px;line-height:1.35;white-space:normal;padding:8px 4px}
#productModal .compact-product-sidebar #sendArtworkForReview{font-size:13px;line-height:1.35;margin:0;padding:10px 12px;min-height:44px;white-space:normal}
@media(max-width:820px){#productModal .compact-product-sidebar{position:static;top:auto;margin:12px 54px 0 12px}#productModal .compact-product-sidebar #modalVisual{margin:0}}

#productModal .compact-product-sidebar .product-at-a-glance{margin:0;padding:12px;min-width:0}
#productModal .compact-product-sidebar .product-at-a-glance h3{font-size:13px;margin:0 0 8px}
#productModal .compact-product-sidebar .product-at-a-glance ul{padding-left:17px;margin:0;font-size:12px;line-height:1.45}

/* Material choice stays a real button with its full label, without a tall sample tile. */
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid){display:flex;flex-wrap:wrap;gap:8px}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) .material-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:3px 8px;align-content:center;width:min(100%,280px);min-width:0;max-width:100%;padding:8px;overflow:visible}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) .material-thumb{grid-column:1;grid-row:1/3;width:44px;height:44px;min-height:0}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) .material-thumb img{width:100%!important;height:100%!important;object-fit:contain}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) :is(b,small){grid-column:2;min-width:0;min-height:0;margin:0;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.3}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) b{font-size:13px}
#productModal:not(.photo-size-menu-active):not(.sticker-size-menu-active) .compact-product-modal #materialCards:not(.shopper-color-grid) small{font-size:11px}
#productModal .compact-product-modal #componentChoices .mug-variant-grid .material-card{width:100%;min-width:0;max-width:none;overflow:visible}
#productModal .compact-product-modal #componentChoices .mug-variant-grid .material-thumb{height:86px;min-height:0}
#productModal .compact-product-modal #componentChoices .mug-variant-grid :is(b,small){min-height:0;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.3}
#productModal .compact-product-modal #componentChoices .mug-variant-grid b{font-size:13px;margin-top:5px}
@media(min-width:821px){
 #productModal .compact-product-modal #componentChoices [data-component-group]>h3{margin:8px 0 6px}
 #productModal .compact-product-modal #materialCards{margin-top:6px;margin-bottom:8px}
 #productModal .compact-product-modal .config label{margin-top:8px;margin-bottom:8px}
}

#productModal .compact-product-modal #materialCards.shopper-color-grid .material-card{width:100%;min-width:0;max-width:none}

#productModal .compact-product-modal #componentChoices .mug-variant-grid .material-thumb img{width:100%!important;height:86px!important;max-height:86px!important;object-fit:contain}
@media(min-width:821px){
 #productModal{padding:12px}
 #productModal .product-modal.compact-product-modal{margin:0 auto}
 #productModal .product-modal.compact-product-modal>.config{padding:18px 20px}
 #productModal .compact-product-modal .config label{margin-top:6px;margin-bottom:6px}
}
@media(min-width:821px){#productModal .product-modal.compact-product-modal .config label{margin:4px 0}#productModal .compact-product-modal .price-box{margin:8px 0}}

/* Photo paper remains below size tiles, beside quantity only when desktop has room. */
#productModal.photo-size-menu-active .compact-product-modal .photo-size-menu{margin:10px 0 8px}
#productModal.photo-size-menu-active .compact-product-modal #materialCards .material-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:3px 8px;align-content:center;width:100%;min-width:0;max-width:none;padding:8px;overflow:visible}
#productModal.photo-size-menu-active .compact-product-modal #materialCards .material-thumb{grid-column:1;grid-row:1/3;width:44px;height:44px;min-height:0}
#productModal.photo-size-menu-active .compact-product-modal #materialCards .material-thumb img{width:100%!important;height:44px!important;max-height:44px!important;object-fit:contain}
#productModal.photo-size-menu-active .compact-product-modal #materialCards :is(b,small){grid-column:2;min-height:0;min-width:0;margin:0;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.3}
#productModal.photo-size-menu-active .compact-product-modal #materialCards b{font-size:13px}
#productModal.photo-size-menu-active .compact-product-modal #materialCards small{font-size:11px}
@media(min-width:821px){
 #productModal.photo-size-menu-active .compact-product-modal .photo-size-quantity-row{display:inline-grid;width:130px;vertical-align:top;margin:0 12px 0 0}
 #productModal.photo-size-menu-active .compact-product-modal #materialCards{display:inline-grid;width:calc(100% - 146px);vertical-align:top;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 8px}
 #productModal.photo-size-menu-active .compact-product-modal #materialCards>.field-title{grid-column:1/-1}
}

/* Dense finishing controls remain fully visible native targets. */
#productModal .compact-product-modal #formulaVariables .finishing-tile{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;width:100%;min-width:0;max-width:none;padding:8px 10px;text-align:left}
#productModal .compact-product-modal #formulaVariables .finishing-tile svg{width:20px;height:20px;flex:0 0 20px}
#productModal .compact-product-modal .banner-finishing-picker fieldset{padding:10px}
#productModal .compact-product-modal .banner-finishing-picker p{margin:0 0 8px}
@media(min-width:821px){
 #productModal.sticker-size-menu-active .compact-product-modal .sticker-size-menu{margin:10px 0 8px}
 #productModal.sticker-size-menu-active .compact-product-modal .sticker-size-menu-options{grid-template-columns:repeat(4,minmax(0,1fr))}
 #productModal.sticker-size-menu-active .compact-product-modal .sticker-size-quantity-row{display:inline-grid;width:130px;vertical-align:top;margin:0 12px 0 0}
 #productModal.sticker-size-menu-active .compact-product-modal #materialCards{display:inline-grid;width:calc(100% - 146px);vertical-align:top;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 8px}
 #productModal.sticker-size-menu-active .compact-product-modal #materialCards>.field-title{grid-column:1/-1}
 #productModal .compact-product-modal #formulaVariables label{padding:8px;margin:0}
 #productModal .compact-product-modal #formulaVariables label small{font-size:12px;line-height:1.4}
}
@media(min-width:821px){
 #productModal .product-modal.compact-product-modal>.config{padding-top:14px}
 #productModal .compact-product-modal #modalTitle{margin-top:8px;margin-bottom:6px}
 #productModal .compact-product-modal .price-box{padding:8px 12px}
 #productModal .compact-product-modal #continueUpload{margin-top:4px}
 #productModal .product-modal.compact-product-modal>.config{padding-bottom:8px}
 #productModal.sticker-size-menu-active .compact-product-modal #materialCards:not(:has(.material-card ~ .material-card)){grid-template-columns:minmax(0,1fr)}
}
@media(min-width:821px) and (max-height:800px){
 #productModal{padding:8px}
 #productModal .product-modal.compact-product-modal>.config{padding-top:10px}
 #productModal .compact-product-modal #modalTitle{font-size:28px}
 #productModal .compact-product-modal .price-box{padding-top:6px;padding-bottom:6px}
 #productModal .compact-product-modal #componentChoices .mug-variant-grid .material-thumb{height:72px}
 #productModal .compact-product-modal #componentChoices .mug-variant-grid .material-thumb img{height:72px!important;max-height:72px!important}
}
