/* Reference component proportions, applied consistently to home, catalog and search. */
.ref-product{display:flex;flex-direction:column;border-radius:35px;box-shadow:0 0 60px #00000014}
.ref-card-media{position:relative;aspect-ratio:1/.8;flex-shrink:0;overflow:hidden;touch-action:pan-y;cursor:grab}
.ref-card-media>a{position:absolute;inset:0;display:block}.ref-card-media img{width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.ref-card-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:4px;z-index:2}
.ref-card-dots button{position:relative;display:block;width:19px;height:16px;padding:0;background:transparent;transition:width .25s}.ref-card-dots button:after{content:"";position:absolute;left:0;right:0;top:6px;height:4px;border-radius:5px;background:white}.ref-card-dots button[aria-pressed=true]{width:28px}.ref-card-dots button[aria-pressed=true]:after{background:#ac7900}
.ref-card-actions{position:absolute;top:20px;right:20px;z-index:3;display:flex;flex-direction:column;gap:8px}.ref-card-actions button{position:static;display:grid;place-items:center;width:40px;height:40px;margin:0;background:white;color:#374151;border-radius:50%;box-shadow:0 1px 3px #0002}.ref-card-actions .saved{color:#ac7900}.ref-card-actions .saved svg{fill:#ac7900}
.ref-product-info{display:flex;flex-direction:column;flex:1;padding:12px 16px 20px;gap:12px}.ref-product-info>a{min-width:0}.ref-product-info h3,.ref-search-grid .ref-product-info h3{font:400 18px/1.375 GuarujaNeue,sans-serif;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.ref-product-info>a:hover{text-decoration:underline}
.ref-product-info .ref-card-specs,.ref-search-grid .ref-product-info .ref-card-specs{font-size:16px;line-height:1.4;color:#8a8883;margin:-10px 0 0}.ref-card-specs span{color:#ac7900}
.ref-product-tags{margin:0;gap:6px}.ref-product-tags>span{font-size:14px;font-weight:500;padding:4px 10px;line-height:1.4}.ref-card-bottom{margin-top:auto;padding-top:0}.ref-product .ref-price{margin:0;padding:10px 24px;font-size:18px;line-height:1.4;font-weight:600}.ref-price small{font-size:16px;font-weight:400}.ref-product .ref-view-options,.ref-search-grid .ref-view-options{padding:0;font-size:16px;font-weight:400}
.ref-product-carousel .ref-product{box-shadow:0 0 40px #0000000b}.ref-product-carousel .ref-products{padding-bottom:30px}
.ref-product-controls button{color:#0f100f;background:transparent;border:0}.ref-product-controls button:hover:not(:disabled){background:#f9f6ed}
/* Full-width category panels, not a flat list of links. */
.ref-mega-rich{display:block;max-height:min(660px,calc(100dvh - 190px));padding:0;overscroll-behavior:contain;border-radius:0 0 30px 30px}
.ref-mega-layout{padding:30px 40px;display:grid;gap:25px}.ref-mega-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ref-mega-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
.ref-nav-groups{display:flex;flex-direction:column;gap:25px;min-width:0}.ref-nav-group{display:flex;gap:18px;border:1px solid #e7e7e7;border-radius:30px;padding:25px 24px}.ref-nav-group-title{flex:0 0 28%;min-width:0}.ref-nav-group-title img{width:64px;height:64px;object-fit:cover;border-radius:16px;margin-bottom:12px}
.ref-mega-rich strong{font:500 18px/1.15 GuarujaNeue,sans-serif;display:block}.ref-mega-rich p,.ref-mega-rich small{font:400 14px/1.4 GuarujaNeue,sans-serif;color:#8a8883;margin:5px 0 0;display:block}.ref-nav-subcategories{flex:1;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;align-content:start}
.ref-mega-rich .ref-nav-subcategories>a{display:flex;justify-content:space-between;gap:6px;padding:10px 12px;border-radius:10px}.ref-nav-subcategories>a:hover{background:#fbf8ef;text-decoration:none;color:#ac7900}.ref-nav-arrow{color:#ac7900;font-size:22px;line-height:1;flex-shrink:0;transition:transform .15s}.ref-mega-rich a:hover .ref-nav-arrow{transform:rotate(-45deg)}
.ref-nav-featured>h3{font:600 18px/1.4 GuarujaNeue,sans-serif;margin:0 0 12px}.ref-nav-featured>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ref-mega-rich a.ref-nav-feature{padding:24px;border:1px solid #e7e7e7;border-radius:30px;display:flex;flex-direction:column;min-width:0}.ref-nav-feature>div{display:flex;justify-content:space-between;gap:8px}.ref-nav-feature img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px;margin-top:15px;max-height:222px}.ref-nav-feature:hover{text-decoration:none!important;border-color:#0003!important}
.ref-nav-item[open]>summary{color:#ac7900}.ref-nav-item>summary>span{display:inline-block;transition:transform .2s}.ref-nav-item[open]>summary>span{transform:rotate(180deg)}
/* Match the reference's bottom action row on tablet and mobile search. */
@media(min-width:1536px){#ref-search{width:1400px}}
@media(min-width:1024px) and (max-width:1535px){#ref-search{width:90vw;max-width:none}}
@media(max-width:1279px){.ref-mega-layout{padding:24px;gap:18px}.ref-nav-group{padding:18px 14px;gap:10px}.ref-mega-rich strong{font-size:16px}.ref-nav-subcategories{gap:4px}.ref-mega-rich .ref-nav-subcategories>a{padding:8px}.ref-product .ref-price{flex-wrap:wrap;justify-content:center;padding:10px 16px;gap:10px}.ref-price>span{flex-basis:100%;text-align:center}.ref-product .ref-view-options{width:100%;text-align:center}}
@media(max-width:1023px){#ref-search{display:flex;flex-direction:column}#ref-search:not([open]){display:none}.ref-search-bar{flex-wrap:nowrap;padding:20px;padding-right:65px;min-height:65px}.ref-search-close{position:absolute;top:22px;right:20px;font-size:14px}.ref-search-bar>.ref-search-submit{display:none}.ref-search-mobile-submit{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 24px;border-top:1px solid #e5e7eb;background:#fff;color:#0f100f;font-size:20px}.ref-search-mobile-submit span{display:grid;place-items:center;background:#0f100f;color:white;border-radius:50%;width:42px;height:42px}.ref-search-body{min-height:0;overflow:auto;max-height:60dvh}.ref-mobile-menu .ref-mega-rich{max-height:none;overflow:visible;border:0;border-radius:0;padding:0}.ref-mobile-menu .ref-mega-layout{display:block;padding:10px 0}.ref-mobile-menu .ref-nav-group{display:block;padding:18px}.ref-mobile-menu .ref-nav-group-title{display:block;margin:0 0 14px}.ref-mobile-menu .ref-nav-group-title img{display:none}.ref-mobile-menu .ref-nav-subcategories{display:grid}.ref-mobile-menu .ref-nav-featured{margin-top:20px}.ref-mobile-menu .ref-nav-featured>div{display:grid}.ref-mobile-menu .ref-nav-feature{margin:0 0 12px;padding:15px}.ref-mobile-menu .ref-nav-feature img{max-height:130px}.ref-mobile-menu .ref-nav-subcategories a{margin:0}.ref-mobile-menu{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:60px 24px 90px}}
@media(min-width:1024px){.ref-search-mobile-submit{display:none}}
@media(max-width:767px){.ref-product{border-radius:20px}.ref-card-media{aspect-ratio:1/.6}.ref-product-info{padding:12px 16px}.ref-product-info h3{font-weight:500}.ref-card-actions{top:16px;right:16px}.ref-search-grid{grid-template-columns:1fr}.ref-search-bar{gap:13px}.ref-search-bar #ref-query{width:0!important;flex:1!important;padding-right:0!important}.ref-product-carousel .ref-product{flex-basis:90%}}
@media(min-width:640px) and (max-width:767px){.ref-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1279px){.ref-product .ref-price{display:grid;grid-template-columns:1fr;background:transparent;padding:0;gap:12px}.ref-price>span{text-align:left}.ref-product .ref-view-options,.ref-search-grid .ref-view-options{display:block;background:#f9f6ed;border-radius:100px;padding:10px 16px}}

/* Editable neutral branding, retaining the existing header and footer slots. */
.neutral-brand{display:inline-block;font:700 clamp(15px,1.6vw,25px)/1.15 GuarujaNeue,sans-serif;letter-spacing:.035em;color:#252522;max-width:225px}.neutral-brand-light{color:#fff}.neutral-video-cover{object-fit:cover;width:100%;height:100%}
