/* Comfortrek V318 — premium storefront design layer. Progressive enhancement; keeps theme-editor colors. */
:root{--ct-premium-ease:cubic-bezier(.2,.75,.25,1);--ct-premium-shadow:0 22px 60px rgba(15,20,35,.10);--ct-premium-line:color-mix(in srgb,currentColor 12%,transparent)}
body[class*="site-theme-"]{isolation:isolate;--ct-premium-radius:clamp(16px,var(--theme-editor-radius,20px),30px);--ct-premium-space:clamp(28px,var(--theme-editor-section-spacing,56px),84px);background-image:radial-gradient(ellipse at 8% 0%,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 8%,transparent),transparent 34%),radial-gradient(ellipse at 95% 18%,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 5%,transparent),transparent 30%);background-attachment:fixed}
body[class*="site-theme-"] :is(.site-header,.main-header,.store-header){position:relative;z-index:30;background:color-mix(in srgb,var(--theme-surface,#fff) 86%,transparent);backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%);border-bottom:1px solid var(--ct-premium-line);box-shadow:0 8px 30px rgba(0,0,0,.035)}
body[class*="site-theme-"] :is(.announcement-bar,.announcement-track){font-weight:650;letter-spacing:.025em}
body[class*="site-theme-"] :is(.hero,.premium-hero,.luxury-hero,.ck-featured-hero,.sale-hero,.content-hero){position:relative;isolation:isolate;overflow:hidden;border-radius:clamp(0px,var(--theme-editor-radius,20px),30px);background-image:radial-gradient(ellipse at 82% 12%,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 23%,transparent),transparent 42%),linear-gradient(125deg,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 8%,transparent),transparent 60%)}
body[class*="site-theme-"] :is(.hero-title,.hero h1,.premium-hero h1,.luxury-hero h1,.ck-featured-hero h1){font-weight:780;letter-spacing:-.055em;line-height:1.02;text-wrap:balance;max-width:14ch}
body[class*="site-theme-"] :is(.hero-eyebrow,.hero-kicker,.eyebrow,.section-eyebrow){display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
body[class*="site-theme-"] :is(.hero-eyebrow,.hero-kicker,.eyebrow,.section-eyebrow)::before{content:"";width:22px;height:1px;background:currentColor;opacity:.65}
body[class*="site-theme-"] :is(.section-title-row,.section-heading-row){display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:clamp(18px,2.5vw,30px)}
body[class*="site-theme-"] :is(.section-title,.section-heading,h2.section-title,.home-section-title){font-size:clamp(1.55rem,3vw,2.55rem);font-weight:780;letter-spacing:-.052em;line-height:1.08;text-wrap:balance}
body[class*="site-theme-"] :is(.section-subtitle,.section-description,.home-section-description){max-width:58ch;line-height:1.7;opacity:.76}
body[class*="site-theme-"] :is(.product-grid,.sale-product-grid){gap:clamp(12px,var(--theme-editor-card-gap,16px),26px)}
body[class*="site-theme-"] :is(.product-card,.product-grid .tag-card,.category-card,.ck-featured-card,.sale-product-card){position:relative;isolation:isolate;overflow:hidden;border:1px solid color-mix(in srgb,currentColor 8%,transparent);border-radius:var(--ct-premium-radius);background:color-mix(in srgb,var(--theme-surface,#fff) 96%,var(--theme-editor-accent,#b58b4b) 4%);box-shadow:0 4px 18px rgba(20,25,35,.035);transition:transform .32s var(--ct-premium-ease),box-shadow .32s var(--ct-premium-ease),border-color .32s var(--ct-premium-ease)}
body[class*="site-theme-"] :is(.product-card,.product-grid .tag-card,.category-card,.ck-featured-card)::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;background:linear-gradient(135deg,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 10%,transparent),transparent 48%);transition:opacity .3s ease;z-index:0}
@media(hover:hover){body[class*="site-theme-"] :is(.product-card,.product-grid .tag-card,.category-card,.ck-featured-card,.sale-product-card):hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 36%,transparent);box-shadow:var(--ct-premium-shadow)}body[class*="site-theme-"] :is(.product-card,.product-grid .tag-card,.category-card,.ck-featured-card):hover::after{opacity:1}body[class*="site-theme-"] .product-card img{transition:transform .65s var(--ct-premium-ease)}body[class*="site-theme-"] .product-card:hover img{transform:scale(1.035)}}
body[class*="site-theme-"] :is(.product-card img,.product-grid .tag-image,.category-card img){border-radius:calc(var(--ct-premium-radius) - 5px);object-fit:cover}
body[class*="site-theme-"] .product-card-info{padding:clamp(12px,1.3vw,19px)}
body[class*="site-theme-"] :is(.product-card h3,.product-card-title,.product-title,.tag-card h3){font-size:clamp(.9rem,1.15vw,1.03rem);font-weight:680;letter-spacing:-.018em;line-height:1.35}
body[class*="site-theme-"] :is(.price,.product-price,.sale-price){font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-weight:780}
body[class*="site-theme-"] :is(.compare-at-price,.old-price,.mrp){opacity:.58;font-weight:450}
body[class*="site-theme-"] :is(.btn,.button,.btn-primary,.btn-secondary,.add-to-cart-btn,.buy-now-btn,.hero-cta-primary,.ct-hero-btn){min-height:44px;border-radius:999px;font-weight:720;letter-spacing:-.012em;transition:transform .22s var(--ct-premium-ease),box-shadow .22s var(--ct-premium-ease),filter .22s ease;box-shadow:0 4px 12px rgba(15,20,35,.055)}
@media(hover:hover){body[class*="site-theme-"] :is(.btn-primary,.add-to-cart-btn,.buy-now-btn,.hero-cta-primary):hover{transform:translateY(-2px);filter:brightness(1.045);box-shadow:0 10px 26px color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 22%,transparent)}}
body[class*="site-theme-"] :is(.product-badge,.badge,.sale-badge,.product-card-topline){letter-spacing:.025em;font-weight:750}
body[class*="site-theme-"] :is(.offer-card,.pdp-offer-card,.promotion-card,.coupon-card){border-radius:16px;border:1px solid color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 20%,transparent);box-shadow:0 8px 24px rgba(20,25,35,.045)}
body[class*="site-theme-"] :is(input,select,textarea){border-radius:13px;transition:border-color .2s ease,box-shadow .2s ease}body[class*="site-theme-"] :is(input,select,textarea):focus{outline:none;border-color:var(--theme-editor-accent,#b58b4b);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 18%,transparent)}
body[class*="site-theme-"] :is(.breadcrumb,.breadcrumbs){opacity:.7;font-size:.82rem;letter-spacing:.005em}
body[class*="site-theme-"] :is(.category-card,.home-category-card){background:linear-gradient(145deg,color-mix(in srgb,var(--theme-editor-accent,#b58b4b) 9%,var(--theme-surface,#fff)),var(--theme-surface,#fff));}
/* Signature palettes each get a distinct, restrained visual atmosphere; no shared Diwali imagery. */
body.palette-diwali{--ct-palette-glow:rgba(255,151,43,.19);background-image:radial-gradient(ellipse at 50% 0%,rgba(255,151,43,.14),transparent 45%),linear-gradient(180deg,rgba(87,35,8,.035),transparent 42%)}
body.palette-holi{--ct-palette-glow:rgba(220,55,150,.14);background-image:radial-gradient(ellipse at 8% 10%,rgba(255,63,130,.13),transparent 30%),radial-gradient(ellipse at 90% 16%,rgba(49,160,235,.13),transparent 30%),radial-gradient(ellipse at 55% 45%,rgba(255,198,49,.08),transparent 38%)}
body.palette-navratri{background-image:radial-gradient(ellipse at 50% 0%,rgba(188,71,230,.14),transparent 42%),radial-gradient(ellipse at 0% 55%,rgba(255,168,50,.07),transparent 30%)}
body.palette-eid{background-image:radial-gradient(ellipse at 80% 0%,rgba(62,180,151,.14),transparent 38%),linear-gradient(180deg,rgba(14,62,73,.035),transparent 48%)}
body.palette-christmas{background-image:radial-gradient(ellipse at 90% 0%,rgba(105,177,232,.15),transparent 40%),linear-gradient(180deg,rgba(215,235,255,.08),transparent 48%)}
body.palette-newyear{background-image:radial-gradient(ellipse at 12% 0%,rgba(125,93,255,.14),transparent 36%),radial-gradient(ellipse at 90% 16%,rgba(255,193,80,.11),transparent 32%)}
body.palette-wedding{background-image:radial-gradient(ellipse at 50% 0%,rgba(227,155,174,.17),transparent 42%),linear-gradient(145deg,rgba(255,245,239,.1),transparent 60%)}
body.palette-rakhi{background-image:radial-gradient(ellipse at 90% 0%,rgba(198,125,55,.14),transparent 40%),linear-gradient(180deg,rgba(139,48,73,.035),transparent 55%)}
body.palette-janmashtami{background-image:radial-gradient(ellipse at 75% 0%,rgba(48,137,225,.16),transparent 42%),radial-gradient(ellipse at 8% 40%,rgba(54,188,174,.08),transparent 30%)}
body.palette-ganesh_chaturthi,body.palette-onam{background-image:radial-gradient(ellipse at 12% 0%,rgba(231,144,48,.13),transparent 38%),radial-gradient(ellipse at 88% 15%,rgba(67,158,95,.11),transparent 32%)}
body.palette-makar_sankranti,body.palette-summer{background-image:radial-gradient(ellipse at 85% 0%,rgba(255,177,59,.17),transparent 40%),linear-gradient(180deg,rgba(255,231,172,.07),transparent 55%)}
body.palette-patriotic,body.palette-independence,body.palette-republic_day{background-image:linear-gradient(125deg,rgba(255,153,70,.07),transparent 34%,rgba(43,150,104,.07))}
body.palette-monsoon{background-image:radial-gradient(ellipse at 85% 0%,rgba(67,151,215,.16),transparent 42%),linear-gradient(180deg,rgba(27,72,112,.035),transparent 60%)}
body.palette-valentines{background-image:radial-gradient(ellipse at 88% 0%,rgba(238,82,132,.15),transparent 40%),radial-gradient(ellipse at 10% 28%,rgba(174,66,116,.07),transparent 30%)}
body.palette-diwali .hero,body.palette-diwali .premium-hero{box-shadow:inset 0 0 0 1px rgba(255,185,89,.14),0 24px 65px rgba(115,57,12,.10)}
body.palette-holi .hero,body.palette-holi .premium-hero{box-shadow:inset 0 0 0 1px rgba(222,80,164,.13),0 24px 65px rgba(103,43,120,.08)}
body.palette-eid .hero,body.palette-eid .premium-hero{box-shadow:inset 0 0 0 1px rgba(79,190,160,.16),0 24px 65px rgba(19,75,80,.09)}
body.palette-christmas .hero,body.palette-christmas .premium-hero{box-shadow:inset 0 0 0 1px rgba(145,196,240,.22),0 24px 65px rgba(30,75,120,.09)}
/* The decorative atmosphere must never intercept taps or cover product content. */
.ct-festival-atmosphere{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:layout paint}.ct-festival-atmosphere~*{position:relative}
body.ct-festival-atmosphere-active{position:relative}body.ct-festival-atmosphere-active>:not(.ct-festival-atmosphere){z-index:1}body.ct-festival-atmosphere-active>.ct-festival-atmosphere{z-index:0}
@media(max-width:767px){body[class*="site-theme-"]{background-attachment:scroll}body[class*="site-theme-"] :is(.hero,.premium-hero,.luxury-hero,.ck-featured-hero,.sale-hero,.content-hero){border-radius:clamp(0px,var(--theme-editor-radius,16px),22px)}body[class*="site-theme-"] :is(.section-title,.section-heading,h2.section-title,.home-section-title){font-size:clamp(1.45rem,6vw,2rem)}body[class*="site-theme-"] :is(.product-card,.product-grid .tag-card,.category-card,.ck-featured-card,.sale-product-card){box-shadow:0 3px 14px rgba(20,25,35,.045)}body[class*="site-theme-"] .product-card-info{padding:11px}body[class*="site-theme-"] :is(.btn,.button,.btn-primary,.btn-secondary,.add-to-cart-btn,.buy-now-btn,.hero-cta-primary,.ct-hero-btn){min-height:42px}}
@media(prefers-reduced-motion:reduce){body[class*="site-theme-"] *,body[class*="site-theme-"] *::before,body[class*="site-theme-"] *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
