/* Load after the storefront theme. No selector applies until an override is chosen. */
@font-face{font-family:Fredoka;src:url('/assets/fonts/fredoka-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}

/* Only page surfaces change; campaign art, product photos, swatches and controls keep their own backgrounds. */
:root[data-store-page-background] :is(body,.sizes-section,.worlds,.catalog,.new-section,.brand-story,.how,.social-section,.faq-section){background-color:var(--store-page-background)!important}
:root[data-store-page-background] .new-section:before{background:radial-gradient(ellipse at 25px 16px,var(--store-page-background) 25px,transparent 26px) 0 0/50px 16px}

:root[data-store-heading-font] :is(h1,h2,h3,.search-result strong){font-family:var(--store-heading-font)!important;overflow-wrap:anywhere}
:root[data-store-body-font] :is(p,li,dt,dd,label,input,select,textarea,button,summary,a,.handwritten,.eyebrow,.product-meta,.price,.product-ages,.stock-note,.result-line,.info-copy,.footer-bottom,.header-service,.announcement-copy,.cart-summary):not(.brand,.brand *,.info-brand,.info-brand *,[data-social],[data-social] *,.icon-btn,.favorite-toggle,.product-cart){font-family:var(--store-body-font)!important}

/* Text colors never alter palette tokens, imagery, logo lettering, or garment swatches. */
:root[data-store-heading-color] :is(h1,h2,h3,h1 em,h2 em,h3 em,.search-result strong){color:var(--store-heading-color)!important}
:root[data-store-body-color] :is(p,li,label,input,select,textarea,summary,.handwritten,.eyebrow,.product-meta,.product-ages,.product-ages strong,.selected-size,.stock-note,.result-line,.info-copy,.info-status,.footer-bottom,.header-service,.published-shipping,.store-address):not(.brand,.brand *,.info-brand,.info-brand *,.product-swatches,.product-swatches *){color:var(--store-body-color)!important}
:root[data-store-body-color] :is(.footer-inner>div>a,.footer-legal a,.footer-credit,.footer-bottom a,.info-header>a,.info-nav a:not([aria-current=page])):not(.brand,.info-brand){color:var(--store-body-color)!important}
:root[data-store-price-color] :is(.price,.price del,.price strong,.price span,.vehicle-price,.receipt-totals dd,.receipt-items b,.search-result small,.cart-summary strong>span:last-child){color:var(--store-price-color)!important}

/* Explicit responsive bases avoid measuring pixels once or scaling nested text twice. */
:root[data-store-heading-scale] :is(h1,h2,h3,.search-result strong){font-size:calc(var(--store-title-base,19px) * var(--store-heading-scale))!important;overflow-wrap:anywhere}
:root[data-store-heading-scale] h1{--store-title-base:clamp(44px,5.5vw,80px)}
:root[data-store-heading-scale] h2{--store-title-base:clamp(30px,3.4vw,46px)}
:root[data-store-heading-scale] h3{--store-title-base:19px}
:root[data-store-heading-scale] .campaign-slide h1{--store-title-base:clamp(42px,4.8vw,69px)}
:root[data-store-heading-scale] #catalog-title{--store-title-base:clamp(30px,3vw,42px)}
:root[data-store-heading-scale] .vehicle-section h2{--store-title-base:clamp(34px,4vw,60px)}
:root[data-store-heading-scale] :is(.product-card h3,.catalog-product h3){--store-title-base:16px}
:root[data-store-heading-scale] #wholesale-title{--store-title-base:21px}
:root[data-store-heading-scale] dialog h2{--store-title-base:32px}
:root[data-store-heading-scale] :is(.cart-info h3,.search-result strong,.logan-benefits h3){--store-title-base:14px}
:root[data-store-heading-scale] .account-order h3{--store-title-base:13px}
:root[data-store-heading-scale] .logan-footer .footer-inner h3{--store-title-base:15px}
:root[data-store-heading-scale] .site-information h1{--store-title-base:clamp(30px,6vw,48px)}

:root[data-store-body-scale] :is(p,li,label,summary,.product-meta,.price,.price del,.product-ages,.selected-size,.product-color-note,.stock-note,.result-line,.info-copy,.footer-bottom,.footer-credit,.footer-legal a,.footer-inner>div>a:not(.brand),.vehicle-price){font-size:calc(var(--store-copy-base,16px) * var(--store-body-scale))!important;overflow-wrap:anywhere}
:root[data-store-body-scale] :is(p,li,label,summary,.info-copy){--store-copy-base:16px}
:root[data-store-body-scale] :is(.steps p,.faq-section details p,.detail-copy p,#wholesale-intro){--store-copy-base:14px}
:root[data-store-body-scale] .campaign-slide p{--store-copy-base:clamp(14px,1.3vw,17px)}
:root[data-store-body-scale] :is(.catalog #catalog-filters label,.product-ages,.result-line,.cart-info p,.account-order p,.logan-benefits p){--store-copy-base:12px}
:root[data-store-body-scale] .product-meta{--store-copy-base:10px}
:root[data-store-body-scale] :is(.selected-size,.product-color-note,.stock-note,.footer-bottom){--store-copy-base:11px}
:root[data-store-body-scale] :is(#wholesale-steps li,.logan-footer p,.footer-inner>div>a:not(.brand),.footer-legal a){--store-copy-base:13px}
:root[data-store-body-scale] .footer-credit{--store-copy-base:10px}
:root[data-store-body-scale] .price{--store-copy-base:18px}
:root[data-store-body-scale] .catalog-product .price{--store-copy-base:24px}
:root[data-store-body-scale] .catalog-product .wholesale-price{--store-copy-base:17px}
:root[data-store-body-scale] .price del{--store-copy-base:13px}
:root[data-store-body-scale] .vehicle-price{--store-copy-base:16px}
:root[data-store-body-scale] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:max(16px,calc(16px * var(--store-body-scale)))!important;min-height:44px;height:auto!important;line-height:1.4}

/* Different fonts can wrap earlier even at 100%; let campaign copy determine height. */
:root:is([data-store-heading-font],[data-store-body-font],[data-store-heading-scale],[data-store-body-scale]) .campaign-slide{height:auto;min-height:clamp(330px,31.5vw,440px)}
:root:is([data-store-heading-font],[data-store-body-font],[data-store-heading-scale],[data-store-body-scale]) .campaign-slide>.campaign-copy{min-width:0;padding-bottom:80px;overflow-wrap:anywhere}
:root:is([data-store-heading-font],[data-store-body-font],[data-store-heading-scale],[data-store-body-scale]) .campaign-slide :is(h1,p){overflow-wrap:anywhere}

@media(max-width:900px){
 :root[data-store-body-scale] .catalog-product .price{--store-copy-base:22px}
 :root[data-store-body-scale] .catalog-product .wholesale-price{--store-copy-base:17px}
}
@media(max-width:850px){
 :root[data-store-heading-scale] .campaign-slide h1{--store-title-base:43px}
 :root[data-store-body-scale] .campaign-slide p{--store-copy-base:14px}
 :root:is([data-store-heading-font],[data-store-body-font],[data-store-heading-scale],[data-store-body-scale]) .campaign-slide{min-height:340px}
}
@media(max-width:800px){
 :root[data-store-heading-scale] .hero h1{--store-title-base:53px}
 :root[data-store-heading-scale] .steps h3{--store-title-base:17px}
 :root[data-store-body-scale] .steps p{--store-copy-base:13px}
}
@media(max-width:600px){
 :root[data-store-heading-scale] .campaign-slide h1{--store-title-base:clamp(27px,7.3vw,39px)}
 :root[data-store-body-scale] .campaign-slide p{--store-copy-base:12px}
 :root[data-store-body-scale] .steps p{--store-copy-base:14px}
 :root:is([data-store-heading-font],[data-store-body-font],[data-store-heading-scale],[data-store-body-scale]) .campaign-slide{min-height:300px}
}
@media(max-width:500px){
 :root[data-store-heading-scale] .hero h1{--store-title-base:46px}
 :root[data-store-heading-scale] .section-heading h2{--store-title-base:30px}
 :root[data-store-heading-scale] #catalog-title{--store-title-base:29px}
 :root[data-store-heading-scale] :is(.how h2,.social-section h2){--store-title-base:29px}
 :root[data-store-heading-scale] :is(.product-card h3,.catalog-product h3){--store-title-base:14px}
 :root[data-store-heading-scale] #wholesale-title{--store-title-base:20px}
 :root[data-store-heading-scale] dialog h2{--store-title-base:28px}
 :root[data-store-heading-scale] .detail-copy h2{--store-title-base:27px}
 :root[data-store-heading-scale] .logan-footer .footer-inner h3{--store-title-base:14px}
 :root[data-store-body-scale] :is(.hero-copy p,.brand-story p,.vehicle-section p){--store-copy-base:14px}
 :root[data-store-body-scale] :is(.section-heading p,.social-section p,.faq-section details p,.detail-copy p,#wholesale-intro){--store-copy-base:13px}
 :root[data-store-body-scale] .faq-section summary{--store-copy-base:14px}
 :root[data-store-body-scale] .catalog-product .wholesale-price{--store-copy-base:15px}
 :root[data-store-body-scale] .product-color-note{--store-copy-base:10px}
 :root[data-store-body-scale] .footer-legal a{--store-copy-base:11px}
}
