/* MODI Lighting premium shop experience. Visual layer only; no schema or migration changes. */
:root{
  --ts-navy:#06101f;
  --ts-navy-2:#5f4634;
  --ts-navy:#12243f;
  --ts-cream:#fff7ee;
  --ts-ivory:#fffdf8;
  --ts-gold:#fff76a;
  --ts-gold-soft:rgba(0,224,255,.22);
  --ts-line:rgba(0,119,255,.16);
  --ts-shadow:0 26px 70px rgba(7,17,31,.14);
}
.shop-shell{max-width:920px!important;}
.ts-shop-hero{
  position:relative;
  display:block;
  overflow:hidden;
  min-height:clamp(220px,39vw,372px);
  border-radius:36px;
  border:1px solid rgba(0,224,255,.32);
  background:linear-gradient(135deg,#06101f,#12243f);
  box-shadow:0 34px 90px rgba(7,17,31,.24);
  isolation:isolate;
}
.ts-shop-hero__image{position:absolute;inset:0;z-index:0;}
.ts-shop-hero__image img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.015);animation:tsHeroBreath 9s ease-in-out infinite alternate;}
.ts-shop-hero::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(7,17,31,.72),rgba(7,17,31,.36) 46%,rgba(7,17,31,.04) 100%);pointer-events:none;}
.ts-shop-hero::before{content:'';position:absolute;z-index:2;inset:-40% auto auto -20%;width:360px;height:360px;border-radius:999px;background:radial-gradient(circle,rgba(238,247,255,.16),transparent 65%);filter:blur(1px);pointer-events:none;}
.ts-shop-hero__content{position:relative;z-index:3;width:min(55%,470px);padding:clamp(22px,4vw,46px);color:var(--ts-cream);}
.ts-shop-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:.45rem .85rem;border-radius:999px;background:rgba(238,247,255,.12);border:1px solid rgba(238,247,255,.18);font-size:11px;font-weight:1000;backdrop-filter:blur(12px);}
.ts-shop-hero__title{margin-top:18px;font-size:clamp(28px,5.2vw,56px);line-height:1.22;font-weight:1000;letter-spacing:.02em;}
.ts-shop-hero__subtitle{margin-top:12px;max-width:34ch;font-size:clamp(13px,1.9vw,17px);line-height:2;color:rgba(238,247,255,.78);font-weight:800;}
.ts-shop-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.ts-shop-hero__btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:16px;background:linear-gradient(135deg,var(--ts-gold),#0077ff);color:#241913;font-size:13px;font-weight:1000;box-shadow:0 16px 36px rgba(0,224,255,.25);}
.ts-shop-hero__ghost{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:16px;border:1px solid rgba(238,247,255,.24);background:rgba(238,247,255,.08);color:var(--ts-cream);font-size:13px;font-weight:900;backdrop-filter:blur(12px);}
.ts-shop-hero__badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
.ts-shop-hero__badges span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:rgba(238,247,255,.10);border:1px solid rgba(238,247,255,.14);font-size:11px;font-weight:900;color:rgba(238,247,255,.82);}
.ts-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:6px 2px 12px;}
.ts-section-head__title{font-size:18px;font-weight:1000;color:var(--text-main);}
.ts-section-head__sub{margin-top:4px;font-size:12px;line-height:1.8;color:var(--text-muted);font-weight:800;}
.ts-mini-link{font-size:12px;font-weight:1000;color:var(--ts-navy);background:rgba(0,119,255,.08);border:1px solid rgba(0,119,255,.12);border-radius:999px;padding:9px 12px;white-space:nowrap;}
.ts-smart-strip{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x mandatory;}
.ts-smart-chip{flex:0 0 auto;scroll-snap-align:start;display:flex;align-items:center;gap:9px;min-height:46px;padding:0 14px;border-radius:18px;background:linear-gradient(180deg,rgba(248,252,255,.96),rgba(238,247,255,.84));border:1px solid rgba(0,224,255,.24);box-shadow:0 14px 32px rgba(7,17,31,.08);color:var(--ts-navy);font-size:12px;font-weight:1000;}
.ts-smart-chip em{width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,var(--ts-gold),var(--ts-navy));box-shadow:0 0 0 4px rgba(0,224,255,.14);}
.product-card{transform-style:preserve-3d;perspective:900px;will-change:transform;}
.product-card::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.28) 28%,transparent 44%);transform:translateX(120%);opacity:0;pointer-events:none;transition:opacity .25s ease;}
.product-card:hover::after{opacity:1;animation:tsCardSheen 1.15s ease;}
.product-card__media-shell{position:relative;overflow:hidden;}
.product-card__media-shell::before{content:'';position:absolute;inset:auto 0 0;z-index:2;height:42%;background:linear-gradient(180deg,transparent,rgba(7,17,31,.28));opacity:.58;pointer-events:none;}
.ts-quick-view-btn{position:absolute;left:10px;bottom:10px;z-index:4;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid rgba(238,247,255,.22);border-radius:999px;background:rgba(7,17,31,.62);color:#eefaff;font-size:11px;font-weight:1000;backdrop-filter:blur(14px);box-shadow:0 12px 28px rgba(7,17,31,.18);transform:translateY(6px);opacity:.0;transition:.25s ease;}
.product-card:hover .ts-quick-view-btn,.product-card:focus-within .ts-quick-view-btn{transform:translateY(0);opacity:1;}
.ts-card-micro{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;}
.ts-card-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:rgba(0,119,255,.07);border:1px solid rgba(0,119,255,.10);font-size:10px;font-weight:900;color:var(--ts-navy);}
.product-card__actions{gap:8px!important;}
.ts-message-btn{display:grid;place-items:center;height:52px;min-width:52px;border-radius:18px;border:1px solid rgba(0,224,255,.28);background:rgba(248,252,255,.88);color:var(--ts-navy);}
.ts-message-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ts-shop-skeleton{display:none;grid-template-columns:repeat(2,1fr);gap:12px;}
.ts-skeleton-card{height:260px;border-radius:28px;background:linear-gradient(90deg,rgba(238,247,255,.72),rgba(255,255,255,.9),rgba(238,247,255,.72));background-size:240% 100%;animation:tsSkeleton 1.3s ease-in-out infinite;border:1px solid rgba(0,224,255,.18);}
.ts-bottom-sheet{position:fixed;inset:0;z-index:140;display:none;align-items:flex-end;justify-content:center;background:rgba(7,7,10,.38);backdrop-filter:blur(8px);padding:0 12px calc(env(safe-area-inset-bottom,0px) + 12px);}
.ts-bottom-sheet.is-visible{display:flex;}
.ts-bottom-sheet__panel{width:min(760px,100%);border-radius:32px;background:linear-gradient(180deg,var(--ts-ivory),var(--ts-cream));border:1px solid rgba(0,224,255,.24);box-shadow:0 -20px 70px rgba(0,0,0,.22);overflow:hidden;transform:translateY(26px);opacity:0;animation:tsSheetIn .26s ease forwards;}
.ts-bottom-sheet__handle{width:52px;height:5px;border-radius:999px;background:rgba(0,119,255,.22);margin:10px auto;}
.ts-bottom-sheet__body{display:grid;grid-template-columns:138px 1fr;gap:14px;padding:8px 16px 18px;}
.ts-bottom-sheet__media{width:138px;aspect-ratio:3/4;border-radius:24px;overflow:hidden;background:#e5f3ff;border:1px solid rgba(0,224,255,.22);}
.ts-bottom-sheet__media img{width:100%;height:100%;object-fit:cover;display:block;}
.ts-bottom-sheet__title{font-size:18px;line-height:1.7;font-weight:1000;color:var(--ts-navy);}
.ts-bottom-sheet__meta{margin-top:5px;font-size:12px;line-height:1.9;color:#526577;font-weight:800;}
.ts-bottom-sheet__price{margin-top:10px;font-size:22px;font-weight:1000;color:var(--ts-navy);}
.ts-bottom-sheet__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;}
.ts-bottom-sheet__actions a,.ts-bottom-sheet__actions button{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:16px;font-size:12px;font-weight:1000;}
.ts-bottom-sheet__primary{background:linear-gradient(135deg,var(--ts-navy),var(--ts-navy));color:#eefaff;border:0;}
.ts-bottom-sheet__secondary{background:rgba(0,119,255,.08);color:var(--ts-navy);border:1px solid rgba(0,119,255,.12);}
.ts-bottom-sheet__close{position:absolute;left:22px;top:18px;width:38px;height:38px;border:1px solid rgba(0,119,255,.12);border-radius:14px;background:rgba(255,255,255,.54);color:var(--ts-navy);font-weight:1000;}
.detail-shell{max-width:1040px!important;}
.detail-card{border-radius:36px!important;border-color:rgba(0,224,255,.22)!important;background:linear-gradient(180deg,#fffdf8,#fff7ee)!important;box-shadow:0 30px 80px rgba(7,17,31,.12)!important;}
.detail-topbar{background:rgba(248,252,255,.84)!important;backdrop-filter:blur(18px);border-bottom-color:rgba(0,224,255,.18)!important;}
.detail-layout{grid-template-columns:1.08fr .92fr!important;}
.detail-media-col{background:linear-gradient(180deg,#fff7ee,#e8f4ff)!important;padding:20px!important;overflow:hidden;}
.detail-media-shell{aspect-ratio:4/5!important;border-radius:34px!important;padding:0!important;overflow:hidden;background:linear-gradient(180deg,#eef7ff,#e5f3ff)!important;border-color:rgba(0,224,255,.24)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 22px 54px rgba(7,17,31,.14);}
.detail-media{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;display:block;transition:opacity .18s ease,transform .45s cubic-bezier(.22,.61,.36,1);}
.detail-media-shell:hover .detail-media{transform:scale(1.018);}
.detail-thumb-row{display:grid!important;grid-auto-flow:column;grid-auto-columns:78px;gap:10px;overflow-x:auto;padding:14px 2px 2px!important;scroll-snap-type:x mandatory;}
.detail-thumb{width:78px!important;height:78px!important;border-radius:22px!important;padding:4px!important;background:rgba(248,252,255,.82)!important;border-color:rgba(0,224,255,.22)!important;scroll-snap-align:start;box-shadow:0 12px 26px rgba(7,17,31,.08);}
.detail-thumb img{border-radius:17px!important;object-fit:cover!important;}
.detail-thumb.is-active{border-color:rgba(7,17,31,.72)!important;box-shadow:0 0 0 4px rgba(0,224,255,.18),0 15px 34px rgba(7,17,31,.15)!important;}
.detail-gallery-count{background:rgba(7,17,31,.62)!important;backdrop-filter:blur(12px);}
.detail-info-col{background:linear-gradient(180deg,#fffdf8,#f8fcff)!important;padding:22px!important;}
.detail-title{color:var(--ts-navy)!important;font-size:clamp(24px,3.3vw,38px)!important;}
.detail-price{font-size:clamp(30px,4.5vw,48px)!important;color:var(--ts-navy)!important;letter-spacing:-.03em;}
.detail-stat,.variant-panel{background:rgba(248,252,255,.82)!important;border-color:rgba(0,224,255,.22)!important;box-shadow:0 14px 34px rgba(7,17,31,.06);}
.detail-cta{background:linear-gradient(135deg,var(--ts-navy),var(--ts-navy))!important;border-radius:22px!important;min-height:58px!important;box-shadow:0 18px 42px rgba(7,17,31,.20)!important;}
.detail-share{border-color:rgba(0,224,255,.24)!important;background:rgba(248,252,255,.92)!important;color:var(--ts-navy)!important;border-radius:22px!important;}
.ts-sticky-buy{display:none;position:fixed;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:60;max-width:760px;margin:0 auto;padding:10px;border-radius:24px;background:rgba(248,252,255,.88);border:1px solid rgba(0,224,255,.25);backdrop-filter:blur(18px);box-shadow:0 18px 46px rgba(7,17,31,.18);}
.ts-sticky-buy button{width:100%;min-height:52px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--ts-navy),var(--ts-navy));color:#eefaff;font-size:14px;font-weight:1000;}
html[data-theme="dark"] .ts-shop-hero{border-color:rgba(0,224,255,.2);box-shadow:0 34px 90px rgba(0,0,0,.38);}
html[data-theme="dark"] .ts-smart-chip,html[data-theme="dark"] .ts-bottom-sheet__panel,html[data-theme="dark"] .detail-card,html[data-theme="dark"] .detail-info-col,html[data-theme="dark"] .detail-stat,html[data-theme="dark"] .variant-panel{background:linear-gradient(180deg,#07111f,#221913)!important;border-color:rgba(0,224,255,.16)!important;color:#eefaff!important;}
html[data-theme="dark"] .ts-section-head__title,html[data-theme="dark"] .ts-bottom-sheet__title,html[data-theme="dark"] .ts-bottom-sheet__price,html[data-theme="dark"] .detail-title,html[data-theme="dark"] .detail-price{color:#eefaff!important;}
html[data-theme="dark"] .ts-section-head__sub,html[data-theme="dark"] .ts-bottom-sheet__meta{color:#9fb4c9!important;}
html[data-theme="dark"] .detail-media-col,html[data-theme="dark"] .detail-media-shell{background:linear-gradient(180deg,#221913,#07111f)!important;}
html[data-theme="dark"] .ts-sticky-buy{background:rgba(7,17,31,.86);border-color:rgba(0,224,255,.18);}
@keyframes tsHeroBreath{from{transform:scale(1.01)}to{transform:scale(1.055)}}
@keyframes tsCardSheen{from{transform:translateX(120%)}to{transform:translateX(-120%)}}
@keyframes tsSkeleton{0%{background-position:200% 0}100%{background-position:-200% 0}}
@keyframes tsSheetIn{to{transform:translateY(0);opacity:1}}
@media(max-width:700px){
  .ts-shop-hero{min-height:430px;border-radius:30px;}
  .ts-shop-hero::after{background:linear-gradient(180deg,rgba(7,17,31,.24),rgba(7,17,31,.72) 62%,rgba(7,17,31,.88));}
  .ts-shop-hero__image img{object-position:68% center;}
  .ts-shop-hero__content{width:100%;padding:24px;position:absolute;left:0;right:0;bottom:0;}
  .ts-shop-hero__title{font-size:34px;}
  .ts-shop-hero__subtitle{font-size:13px;max-width:29ch;}
  .ts-smart-strip{margin-inline:-6px;padding-inline:6px;}
  .ts-quick-view-btn{opacity:1;transform:none;min-height:34px;padding:0 10px;font-size:10px;}
  .ts-message-btn{height:44px;min-width:44px;border-radius:16px;}
  .ts-bottom-sheet__body{grid-template-columns:116px 1fr;padding:8px 14px 16px;}
  .ts-bottom-sheet__media{width:116px;border-radius:20px;}
  .ts-bottom-sheet__title{font-size:15px;}
  .ts-bottom-sheet__price{font-size:18px;}
  .ts-bottom-sheet__actions{grid-template-columns:1fr;}
  .detail-card{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;}
  .detail-shell{padding-inline:0!important;padding-top:0!important;}
  .detail-topbar{position:sticky;top:0;z-index:10;}
  .detail-media-col{padding:12px 14px!important;}
  .detail-media-shell{aspect-ratio:4/5!important;border-radius:30px!important;}
  .detail-thumb-row{grid-auto-columns:68px;padding-inline:4px!important;}
  .detail-thumb{width:68px!important;height:68px!important;border-radius:19px!important;}
  .detail-info-col{padding:18px 16px 132px!important;}
  .detail-stats-grid{gap:8px!important;}
  .detail-actions{grid-template-columns:1fr 64px!important;}
  .ts-sticky-buy{display:block;}
}
@media(prefers-reduced-motion:reduce){.ts-shop-hero__image img,.product-card::after,.ts-skeleton-card{animation:none!important}.product-card,.detail-media{transition:none!important}}
.product-card__actions{grid-template-columns:1fr 52px 52px!important;}
@media(max-width:640px){.product-card__actions{grid-template-columns:1fr 44px 44px!important;}}

/* Patch 05: no fake CTA chips. Categories remain the real navigation; reservation opens contact sheet. */
.ts-shop-hero{cursor:default;text-decoration:none;}
.ts-shop-hero__actions{display:flex;justify-content:flex-start;}
.ts-shop-hero__reserve{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--ts-gold),#0077ff);color:#241913;font-size:13px;font-weight:1000;box-shadow:0 18px 42px rgba(0,224,255,.27);transition:transform .18s ease,box-shadow .18s ease;}
.ts-shop-hero__reserve:active{transform:scale(.985);}
.ts-concierge-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:-2px;}
.ts-concierge-card{min-height:96px;text-align:right;border:1px solid rgba(0,224,255,.22);border-radius:26px;background:linear-gradient(180deg,rgba(248,252,255,.96),rgba(238,247,255,.80));box-shadow:0 16px 38px rgba(7,17,31,.08);padding:14px;display:flex;flex-direction:column;justify-content:center;gap:6px;color:var(--ts-navy);}
.ts-concierge-card strong{font-size:13px;font-weight:1000;line-height:1.6;}
.ts-concierge-card span{font-size:11px;font-weight:800;line-height:1.9;color:#526577;}
.ts-concierge-card--action{border:0;background:linear-gradient(135deg,var(--ts-navy),var(--ts-navy));color:#eefaff;box-shadow:0 20px 48px rgba(7,17,31,.18);cursor:pointer;}
.ts-concierge-card--action span{color:rgba(255,248,239,.76);}
.ts-support-sheet{position:fixed;inset:0;z-index:150;display:none;align-items:flex-end;justify-content:center;background:rgba(7,7,10,.42);backdrop-filter:blur(10px);padding:0 12px calc(env(safe-area-inset-bottom,0px) + 12px);}
.ts-support-sheet.is-visible{display:flex;}
.ts-support-panel{position:relative;width:min(620px,100%);border-radius:32px;background:linear-gradient(180deg,var(--ts-ivory),var(--ts-cream));border:1px solid rgba(0,224,255,.24);box-shadow:0 -24px 76px rgba(0,0,0,.24);padding:14px 16px 18px;animation:tsSheetIn .24s ease forwards;}
.ts-support-handle{width:52px;height:5px;border-radius:999px;background:rgba(0,119,255,.22);margin:0 auto 12px;}
.ts-support-close{position:absolute;left:18px;top:14px;width:38px;height:38px;border:1px solid rgba(0,119,255,.12);border-radius:14px;background:rgba(255,255,255,.55);color:var(--ts-navy);font-size:22px;font-weight:900;}
.ts-support-title{font-size:18px;font-weight:1000;color:var(--ts-navy);padding-left:46px;}
.ts-support-sub{margin-top:7px;font-size:12px;font-weight:800;line-height:2;color:#526577;max-width:46ch;}
.ts-support-links{display:grid;gap:10px;margin-top:14px;}
.ts-support-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 14px;border-radius:18px;border:1px solid rgba(0,224,255,.22);background:rgba(248,252,255,.78);color:var(--ts-navy);text-decoration:none;font-size:13px;font-weight:1000;}
.ts-support-link em{font-style:normal;direction:ltr;color:#526577;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58%;}
html[data-theme="dark"] .ts-concierge-card,html[data-theme="dark"] .ts-support-panel,html[data-theme="dark"] .ts-support-link{background:linear-gradient(180deg,#07111f,#221913);border-color:rgba(0,224,255,.16);color:#eefaff;}
html[data-theme="dark"] .ts-concierge-card span,html[data-theme="dark"] .ts-support-sub,html[data-theme="dark"] .ts-support-link em{color:#9fb4c9;}
@media(max-width:700px){.ts-concierge-strip{grid-template-columns:1fr;gap:10px}.ts-concierge-card{min-height:76px;border-radius:22px;padding:12px 14px}.ts-shop-hero__reserve{width:100%;min-height:50px}.ts-support-panel{border-radius:28px;padding-bottom:18px}.ts-support-link{min-height:52px}.ts-support-link em{max-width:50%;}}

/* Patch 07: mobile-first premium product detail gallery. Fixes broken split layout and adds a real image viewer. */
body.ts-gallery-open{overflow:hidden;touch-action:none;}
@media(max-width:1024px){
  .detail-shell{max-width:100%!important;padding:0 0 126px!important;background:linear-gradient(180deg,#fffdf8,#f6efe6)!important;}
  .detail-card{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important;}
  .detail-layout{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%!important;gap:0!important;}
  .detail-media-col{order:1!important;width:100%!important;min-width:0!important;padding:14px 14px 10px!important;background:linear-gradient(180deg,#fff9f2,#f1e2cf)!important;overflow:hidden!important;}
  .detail-info-col{order:2!important;width:100%!important;min-width:0!important;padding:22px 18px 150px!important;background:linear-gradient(180deg,#fffdf8,#eefaff)!important;border-radius:28px 28px 0 0!important;margin-top:0!important;}
  .detail-media-shell{width:100%!important;aspect-ratio:4/5!important;max-height:min(66vh,560px)!important;min-height:300px!important;border-radius:30px!important;padding:10px!important;background:linear-gradient(180deg,#fbf1e4,#ead9c4)!important;}
  .detail-media{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:24px!important;background:rgba(248,252,255,.42)!important;cursor:zoom-in!important;}
  .detail-media-shell:hover .detail-media{transform:none!important;}
  .detail-gallery-count{top:18px!important;left:18px!important;background:rgba(7,17,31,.72)!important;color:#eefaff!important;}
  .detail-stock-chip{top:18px!important;right:18px!important;}
  .detail-thumb-row{display:flex!important;gap:10px!important;overflow-x:auto!important;padding:12px 2px 2px!important;scroll-snap-type:x mandatory!important;}
  .detail-thumb{flex:0 0 72px!important;width:72px!important;height:72px!important;border-radius:21px!important;background:rgba(248,252,255,.92)!important;}
  .detail-thumb img{object-fit:cover!important;border-radius:16px!important;}
  .detail-title{font-size:24px!important;line-height:1.65!important;text-align:right!important;margin-top:0!important;}
  .detail-price-row{justify-content:flex-start!important;align-items:flex-end!important;margin-top:8px!important;}
  .detail-price{font-size:36px!important;line-height:1.1!important;letter-spacing:-.04em!important;}
  .detail-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:18px!important;}
  .detail-stat{min-height:88px!important;border-radius:22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;}
  .detail-description{font-size:14px!important;line-height:2.15!important;text-align:right!important;margin-top:18px!important;color:#493b31!important;}
  .detail-actions{grid-template-columns:1fr 66px!important;gap:10px!important;margin-top:22px!important;}
  .detail-share{width:66px!important;height:58px!important;}
}
@media(max-width:520px){
  .detail-topbar{padding:12px 14px!important;background:rgba(248,252,255,.92)!important;backdrop-filter:blur(18px)!important;}
  .detail-nav-btn{min-height:38px!important;padding:0 12px!important;border-radius:14px!important;}
  .detail-media-col{padding:10px 12px 8px!important;}
  .detail-media-shell{aspect-ratio:3/4!important;min-height:360px!important;max-height:60vh!important;border-radius:28px!important;padding:8px!important;}
  .detail-media{border-radius:22px!important;}
  .detail-thumb{flex-basis:68px!important;width:68px!important;height:68px!important;}
  .detail-info-col{padding:20px 16px 150px!important;}
  .detail-title{font-size:23px!important;}
  .detail-price{font-size:34px!important;}
  .detail-description{font-size:13.5px!important;}
}
.ts-gallery-viewer{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(10,8,7,.72);backdrop-filter:blur(14px);}
.ts-gallery-viewer.is-visible{display:flex;}
.ts-gallery-viewer__backdrop{position:absolute;inset:0;}
.ts-gallery-viewer__panel{position:relative;z-index:2;width:min(980px,100%);height:min(86vh,880px);display:grid;place-items:center;border-radius:30px;background:linear-gradient(180deg,rgba(248,252,255,.96),rgba(246,233,215,.92));border:1px solid rgba(0,224,255,.28);box-shadow:0 34px 110px rgba(0,0,0,.35);overflow:hidden;}
.ts-gallery-viewer__image{width:100%;height:100%;object-fit:contain;padding:28px;background:linear-gradient(180deg,#f8fcff,#e5f3ff);}
.ts-gallery-viewer__close{position:absolute;top:14px;left:14px;z-index:4;width:42px;height:42px;border:1px solid rgba(0,119,255,.16);border-radius:16px;background:rgba(248,252,255,.82);color:#06101f;font-size:26px;font-weight:900;line-height:1;backdrop-filter:blur(12px);}
.ts-gallery-viewer__nav{position:absolute;top:50%;z-index:4;transform:translateY(-50%);width:46px;height:46px;border:1px solid rgba(238,247,255,.28);border-radius:999px;background:rgba(7,17,31,.48);color:#eefaff;font-size:34px;font-weight:400;line-height:1;backdrop-filter:blur(12px);}
.ts-gallery-viewer__nav--prev{right:14px;}
.ts-gallery-viewer__nav--next{left:14px;}
.ts-gallery-viewer__count{position:absolute;right:16px;bottom:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(7,17,31,.64);color:#eefaff;font-size:12px;font-weight:1000;backdrop-filter:blur(12px);}
@media(max-width:640px){
  .ts-gallery-viewer{padding:0;background:rgba(10,8,7,.86);}
  .ts-gallery-viewer__panel{width:100%;height:100%;border:0;border-radius:0;background:#050b16;}
  .ts-gallery-viewer__image{padding:54px 8px 64px;background:#050b16;}
  .ts-gallery-viewer__close{top:calc(12px + env(safe-area-inset-top,0px));left:14px;background:rgba(248,252,255,.18);border-color:rgba(238,247,255,.16);color:#eefaff;}
  .ts-gallery-viewer__nav{width:42px;height:42px;background:rgba(248,252,255,.14);border-color:rgba(238,247,255,.16);}
  .ts-gallery-viewer__count{bottom:calc(18px + env(safe-area-inset-bottom,0px));right:50%;transform:translateX(50%);}
}


/* MODI Lighting final source-level shop alignment v4
   هدف: حذف حس فروشگاه روشنایی/سرمه‌ای و یکپارچه‌سازی فروشگاه با هویت روشنایی MODI. */
:root{
  --modi-bg:#eaf1fb;
  --modi-panel:#07111f;
  --modi-panel-2:#0b1b2f;
  --modi-card:#061426;
  --modi-card-2:#08223a;
  --modi-border:rgba(0,224,255,.22);
  --modi-border-soft:rgba(255,255,255,.08);
  --modi-text:#eef7ff;
  --modi-muted:#9fb4c9;
  --modi-cyan:#00e0ff;
  --modi-gold:#f7c94a;
  --modi-gold-2:#d9a63a;
}
.shop-shell{background:linear-gradient(180deg,#eaf1fb 0%,#f6f9fd 42%,#eef4fb 100%);}
.ts-shop-hero{min-height:clamp(330px,78vw,430px);border-radius:32px;border:1px solid rgba(0,224,255,.16);background:#050b16;box-shadow:0 26px 70px rgba(2,12,27,.22),0 0 0 1px rgba(255,255,255,.04) inset;overflow:hidden;}
.ts-shop-hero__image img{object-fit:cover;object-position:center center;transform:none;animation:none;filter:none;}
.ts-shop-hero::after,.ts-shop-hero::before,.ts-shop-hero__content{display:none!important;}
.modi-shop-summary-card,.shop-hero-card{
  position:relative;overflow:hidden;border-radius:32px;padding:18px 16px 16px!important;
  background:
    radial-gradient(circle at 16% 10%,rgba(0,224,255,.20),transparent 28%),
    radial-gradient(circle at 88% 4%,rgba(247,201,74,.18),transparent 25%),
    linear-gradient(145deg,#061426 0%,#071a2e 48%,#03101f 100%)!important;
  border:1px solid rgba(0,224,255,.20)!important;
  box-shadow:0 24px 58px rgba(2,12,27,.25),inset 0 1px 0 rgba(255,255,255,.08)!important;
  color:var(--modi-text)!important;
}
.modi-shop-summary-card::before,.shop-hero-card::before{content:"";position:absolute;inset:-38% -12% auto auto;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(0,224,255,.16),transparent 68%);pointer-events:none;}
.modi-shop-summary-card::after,.shop-hero-card::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(0,224,255,.72),transparent);pointer-events:none;}
.shop-hero-top{position:relative;z-index:1;align-items:flex-start!important;}
.shop-hero-kicker{display:inline-flex!important;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:rgba(0,224,255,.10)!important;border:1px solid rgba(0,224,255,.25)!important;color:#dffaff!important;font-size:10px!important;font-weight:1000!important;letter-spacing:.01em;}
.shop-hero-title{margin-top:12px!important;font-size:19px!important;line-height:1.9!important;color:#fff!important;font-weight:1000!important;text-shadow:0 12px 30px rgba(0,0,0,.28);}
.shop-hero-title b{display:inline-block;margin-top:2px;color:var(--modi-gold);font-size:22px;letter-spacing:.02em;}
.shop-cart-entry{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;border-radius:18px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;}
.shop-cart-entry__label{color:#fff!important;font-weight:1000!important;}
.shop-cart-entry__badge{background:linear-gradient(135deg,var(--modi-gold),var(--modi-gold-2))!important;color:#07111f!important;}
.shop-search-bar{position:relative;z-index:1;margin-top:18px!important;border-radius:20px!important;background:rgba(3,13,27,.78)!important;border:1px solid rgba(0,224,255,.34)!important;box-shadow:0 0 0 4px rgba(0,224,255,.06),inset 0 1px 0 rgba(255,255,255,.06)!important;}
.shop-search-bar::before{content:"";position:absolute;right:15px;top:50%;width:18px;height:18px;transform:translateY(-50%);background:currentColor;color:#bfefff;opacity:.9;clip-path:path('M7.5 0a7.5 7.5 0 1 0 0 15a7.5 7.5 0 0 0 0-15Zm0 2a5.5 5.5 0 1 1 0 11a5.5 5.5 0 0 1 0-11ZM13 14.4 17.6 19 19 17.6 14.4 13 13 14.4Z');}
.shop-search-input{min-height:52px!important;background:transparent!important;color:#fff!important;border:0!important;padding-right:44px!important;font-size:16px!important;font-weight:850!important;outline:none!important;}
.shop-search-input::placeholder{color:#82a8c2!important;}
.hero-stat-row{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin-top:14px!important;}
.hero-stat{min-height:74px;border-radius:18px!important;padding:11px 8px!important;background:linear-gradient(180deg,rgba(0,224,255,.10),rgba(0,224,255,.035))!important;border:1px solid rgba(0,224,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;text-align:center!important;color:#fff!important;}
.hero-stat span{display:block;color:#c8d9e8!important;font-size:10px!important;line-height:1.8!important;font-weight:900!important;}
.hero-stat strong{display:block;margin-top:5px;color:#fff!important;font-size:20px!important;font-weight:1000!important;letter-spacing:-.02em;}
.category-showcase,.new-products-showcase{border-color:rgba(0,224,255,.12)!important;background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(245,249,255,.92))!important;}
.category-showcase__title,.new-products-title{color:#07111f!important;}
.category-card--active,.new-products-chip{background:linear-gradient(135deg,#061426,#08345a)!important;color:#fff!important;border-color:rgba(0,224,255,.28)!important;}
.product-card__cta,.detail-cta,.ts-sticky-buy button{background:linear-gradient(135deg,#00e0ff,#0077ff 55%,#f7c94a)!important;color:#03101f!important;box-shadow:0 18px 42px rgba(0,119,255,.20)!important;}
@media(max-width:700px){
  .ts-shop-hero{min-height:372px;border-radius:30px;}
  .shop-shell{padding-top:12px!important;}
}
@media(max-width:390px){.ts-shop-hero{min-height:342px}.shop-hero-title{font-size:17px!important}.hero-stat{min-height:68px}.hero-stat strong{font-size:18px!important}}


/* MODI_BASE_V21_FINAL: readable premium buttons + disabled base-version surfaces */
.product-card__actions{display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;gap:9px!important;align-items:center!important;padding:10px!important;}
.product-card__cta,[data-shop-cta="1"]{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:46px!important;width:100%!important;padding:0 12px!important;border-radius:18px!important;
  border:1px solid rgba(0,224,255,.54)!important;
  background:linear-gradient(135deg,#02111f 0%,#004fb8 45%,#00cfff 100%)!important;
  color:#ffffff!important;font-size:12px!important;font-weight:1000!important;line-height:1.35!important;
  text-align:center!important;white-space:normal!important;letter-spacing:-.01em!important;
  text-shadow:0 1px 2px rgba(0,0,0,.72)!important;
  box-shadow:0 16px 36px rgba(0,119,255,.32), inset 0 1px 0 rgba(255,255,255,.22)!important;
  overflow:hidden!important;
}
.product-card__cta::before,[data-shop-cta="1"]::before{content:"";position:absolute;inset:1px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 56%);pointer-events:none;}
.product-card__cta:hover,.product-card__cta:focus-visible,[data-shop-cta="1"]:hover,[data-shop-cta="1"]:focus-visible{transform:translateY(-1px)!important;border-color:rgba(247,201,74,.72)!important;box-shadow:0 20px 44px rgba(0,119,255,.40),0 0 0 4px rgba(0,224,255,.13)!important;outline:none!important;}
.product-card__cta:active,[data-shop-cta="1"]:active{transform:translateY(1px) scale(.99)!important;}
.product-card__share{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;border-radius:17px!important;background:#07111f!important;color:#eaffff!important;border:1px solid rgba(0,224,255,.38)!important;box-shadow:0 12px 26px rgba(5,18,38,.20)!important;}
.product-card__share svg{width:20px!important;height:20px!important;stroke:currentColor!important;}
html[data-theme="light"] .product-card__cta,body[data-theme="light"] .product-card__cta,html[data-theme="light"] [data-shop-cta="1"],body[data-theme="light"] [data-shop-cta="1"]{background:linear-gradient(135deg,#031224 0%,#005ed9 46%,#00b7e8 100%)!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.72)!important;}
html[data-theme="dark"] .product-card__cta,body[data-theme="dark"] .product-card__cta,html[data-theme="dark"] [data-shop-cta="1"],body[data-theme="dark"] [data-shop-cta="1"]{background:linear-gradient(135deg,#07111f 0%,#006dff 50%,#00e0ff 100%)!important;color:#ffffff!important;border-color:rgba(0,224,255,.62)!important;text-shadow:0 1px 2px rgba(0,0,0,.72)!important;}
@media(max-width:430px){.product-card__cta,[data-shop-cta="1"]{font-size:11px!important;min-height:44px!important;padding-inline:8px!important}.product-card__share{width:44px!important;height:44px!important;min-width:44px!important}.product-card__actions{grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important}}
.notify-permission-card,.notification-permission,.webpush-card,[data-notification-prompt],[data-notifications-entry],.home-notif-btn,#notifBadge,.notif-badge,[href*="/notifications/"],.story-view-metric,[data-story-analytics],[data-story-replies-entry]{display:none!important;}
