html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body.model-shop { background: radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 36rem), var(--bg); }
.model-shop .wrap { width: min(1060px, calc(100% - 28px)); padding-bottom: 100px; }
.model-shop .top { align-items: center; gap: 16px; }
.model-shop .brand { color: inherit; text-decoration: none; }
.shop-nav { display: flex; align-items: center; gap: 12px; }
.shop-nav a { border: 1px solid #ffffff35; border-radius: 999px; padding: 9px 13px; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 750; }
.model-shop .hero { min-height: clamp(190px, 37vw, 380px); display: grid; align-content: end; isolation: isolate; border-radius: 24px; margin: 22px 0 0; }
.shop-hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.model-shop .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #080a10 0%, #080a10aa 30%, #080a1005 90%); }
.model-shop .hero p { margin: 0; color: #eee; }
.shop-ticker { border-block: 1px solid #ffffff20; margin: 14px 0 24px; padding: 10px 4px; color: #d2d7e1; letter-spacing: .09em; font-size: .73rem; }
.shop-ticker b { color: var(--primary); }
.model-shop .catalog { padding: 0; border: 0; background: transparent; }
.shop-catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shop-catalog-heading h2 { font: 500 clamp(2rem, 6vw, 3rem)/1.05 Georgia, serif; }
.shop-catalog-heading .tag { margin: 0 0 5px; }
.shop-catalog-heading output { color: #d2d7e1; text-align: right; font-size: .78rem; }
.shop-filters { display: grid; gap: 8px; margin-bottom: 16px; }
.shop-filters :is(.model-filters, .model-subfilters, .model-variety-filters) { display: flex; align-items: center; overflow-x: auto; gap: 8px; padding: 4px 2px 8px; scrollbar-width: thin; }
.shop-filters button { flex: 0 0 auto; min-height: 42px; padding: 0 17px; border: 1px solid #ffffff35; border-radius: 24px; background: #1b1d20; color: #e7e5df; font: 700 .8rem system-ui, sans-serif; cursor: pointer; }
.shop-filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #101116; }
.shop-filters button:focus-visible, .shop-filters input:focus-visible, .shop-filters select:focus-visible { outline-offset: 2px; outline: 2px solid var(--accent); }
.shop-filters label { color: #d2d7e1; font-size: .78rem; font-weight: 650; display: grid; gap: 5px; }
.shop-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 155px); gap: 8px; }
.shop-filters input, .shop-filters select { min-width: 0; border: 1px solid #ffffff33; border-radius: 999px; min-height: 41px; padding: 0 13px; background: #181b21; color: #f6f7fa; font: .82rem system-ui, sans-serif; }
.model-shop .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.model-shop .product { display: flex; flex-direction: column; border-radius: 20px; background: #12151ceb; }
.shop-card-media { position: relative; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--accent) 10%, #12151c); cursor: pointer; }
.shop-card-media :is(img, .shop-card-video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-card-video:not(.is-ready) { opacity: 0; }
.model-shop .product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.shop-card-footer { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 9px; }
.model-shop .shop-card-footer strong { min-width: 0; margin: 0; color: var(--primary); }
.shop-card-open {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #ffffff2c;
  border-radius: 50%;
  background: color-mix(in srgb, #f4f2ed 92%, var(--primary));
  color: #111216;
  font: 500 1.45rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.shop-card-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.model-shop .product-copy .shop-product-meta { color: #c6d0df; margin-bottom: 7px; }
.model-shop .model-cart-open { bottom: max(16px, env(safe-area-inset-bottom)); }
.shop-dock { position: fixed; z-index: 12; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 4px; width: max-content; max-width: calc(100vw - 16px); padding: 5px; border: 1px solid #ffffff35; border-radius: 36px; background: #17191fee; box-shadow: 0 10px 30px #000a; backdrop-filter: blur(16px); }
.shop-dock :is(a, button) { position: static; color: #eee; text-decoration: none; border-radius: 30px; padding: 11px 12px; font: 750 .74rem system-ui, sans-serif; text-align: center; }
.shop-dock .model-cart-open { color: #151515; }
.shop-intro { position: fixed; z-index: 30; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: radial-gradient(ellipse at 50% 43%, color-mix(in srgb, var(--accent) 24%, var(--bg)), var(--bg) 67%); pointer-events: none; animation: shop-intro-out .38s ease 1.6s forwards; }
.shop-intro-emblem { display: grid; place-items: center; width: clamp(124px, 43vw, 204px); aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); padding: 8px; box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 28%, transparent); }
.shop-intro img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.shop-intro b { color: #fff; text-align: center; letter-spacing: .12em; padding-inline: 12px; }
.shop-intro-bar { width: min(60vw, 218px); height: 4px; border-radius: 20px; overflow: hidden; background: #ffffff33; }
.shop-intro-bar span { position: relative; display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #fff, var(--accent)); transform-origin: left; animation: shop-intro-progress 1.65s cubic-bezier(.2,.75,.4,1) both; }
@keyframes shop-intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes shop-intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 550px) {
  .model-shop .hero { min-height: 215px; }
  .model-shop .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .model-shop .product-copy { padding: 9px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .shop-intro { display: none; } }
html:has(.shop-product-sheet[open]) { overflow: hidden; }
.shop-product-sheet {
  --sheet-surface: color-mix(in srgb, #111216 84%, var(--bg));
  --sheet-raised: color-mix(in srgb, #17191d 80%, var(--bg));
  --sheet-ink: #f4f2ed;
  --sheet-muted: #b2b3bb;
  --sheet-theme: color-mix(in srgb, var(--primary) 67%, #fff);
  --sheet-tile: color-mix(in srgb, #f4f2ed 92%, var(--primary));
  --sheet-overlap: 20px;
  width: min(650px, calc(100% - 32px));
  height: min(890px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #ffffff20;
  border-radius: 30px;
  background: var(--sheet-surface);
  color: var(--sheet-ink);
  overflow: hidden;
}
.shop-product-sheet[open] {
  display: grid;
  grid-template-rows: clamp(112px, 41dvh, 400px) minmax(0, 1fr);
}
.shop-product-sheet::backdrop { background: #05060be6; }
.shop-sheet-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 36%, color-mix(in srgb, var(--primary) 22%, var(--bg)), var(--sheet-surface) 76%);
}
.shop-sheet-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, #080a1099);
  content: "";
  pointer-events: none;
}
.shop-sheet-media:has(video:not([hidden]))::after { display: none; }
.shop-sheet-media :is(img, video) { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.shop-sheet-media video { height: calc(100% - var(--sheet-overlap)); align-self: start; background: #08090b; }
.shop-sheet-media-mark { color: var(--sheet-theme); font: 600 clamp(3rem, 15vw, 6rem)/1 Georgia, serif; }
.shop-sheet-media-ui {
  position: absolute;
  z-index: 1;
  top: max(12px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: grid;
  justify-items: end;
  gap: 6px;
  max-width: calc(100% - 28px);
}
.shop-sheet-media-category {
  min-width: 0;
  padding: 9px 15px;
  border: 1px solid #ffffff45;
  border-radius: 999px;
  background: #15171de8;
  color: var(--sheet-ink);
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-align: right;
  overflow-wrap: anywhere;
}
.shop-sheet-media-toggle { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.shop-sheet-media-toggle button, .shop-sheet-close, .shop-sheet-stepper button {
  border: 1px solid #ffffff30;
  border-radius: 50px;
  background: #24262be8;
  color: var(--sheet-ink);
  cursor: pointer;
}
.shop-sheet-media-toggle button { min-height: 34px; padding: 5px 11px; font: 700 .72rem system-ui, sans-serif; }
.shop-sheet-media-toggle button[aria-pressed=true] { background: var(--sheet-tile); color: #101216; }
.shop-sheet-panel {
  position: relative;
  z-index: 2;
  min-height: 0;
  height: calc(100% + var(--sheet-overlap));
  margin-top: calc(-1 * var(--sheet-overlap));
  padding: 13px clamp(18px, 6.2vw, 40px) calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border: 1px solid #ffffff18;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(165deg, var(--sheet-raised) 0%, var(--sheet-surface) 72%);
  box-shadow: 0 -12px 28px #0006;
}
.shop-sheet-grip { width: 50px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: #a9aab1a0; }
.shop-sheet-close {
  position: absolute;
  right: clamp(12px, 4.4vw, 27px);
  top: 13px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font: 500 1.65rem/1 system-ui, sans-serif;
}
.shop-sheet-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-right: 52px;
}
.shop-sheet-category, .shop-sheet-label, .shop-sheet-quantity-label {
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.shop-sheet-category { margin: 0 0 6px; color: var(--sheet-theme); font-size: .7rem; overflow-wrap: anywhere; }
.shop-sheet-heading h2 { margin: 0; font-size: clamp(1.65rem, 5.9vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.shop-sheet-badge {
  display: grid;
  place-items: center;
  width: clamp(40px, 11vw, 58px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, transparent);
  border-radius: 50%;
  font: 500 clamp(.85rem, 3.5vw, 1.1rem)/1 Georgia, serif;
}
.shop-sheet-description { margin: 11px 0 0; color: var(--sheet-muted); font-size: .9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.shop-sheet-meta { margin: 7px 0 0; color: var(--sheet-muted); font-size: .75rem; overflow-wrap: anywhere; }
.shop-sheet-label { margin: 17px 0 10px; color: var(--sheet-muted); font-size: .7rem; }
.shop-sheet-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shop-sheet-options button {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 63px;
  padding: 8px 5px;
  border: 1px solid #ffffff25;
  border-radius: clamp(16px, 5vw, 24px);
  background: #22242a;
  color: var(--sheet-ink);
  font-family: inherit;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.shop-sheet-options button[aria-pressed=true] { background: var(--sheet-tile); color: #111216; box-shadow: 0 5px 18px #0004; }
.shop-sheet-options b { font-size: .93rem; }
.shop-sheet-options :is(span, del) { font-size: .75rem; }
.shop-sheet-options del { opacity: .75; }
.shop-sheet-quantity { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin: 14px 0 12px; }
.shop-sheet-quantity-label { font-size: .7rem; }
.shop-sheet-quantity small { display: block; margin-top: 4px; color: var(--sheet-muted); font-size: .76rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.shop-sheet-stepper { display: grid; grid-template-columns: 44px minmax(22px, auto) 44px; align-items: center; gap: clamp(5px, 3vw, 16px); text-align: center; font-weight: 850; }
.shop-sheet-stepper button { width: 44px; height: 44px; padding: 0; font: 400 1.35rem/1 system-ui, sans-serif; }
.shop-sheet-add, .shop-sheet-cart { width: 100%; min-height: 48px; border-radius: 999px; font: 850 .78rem system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.shop-sheet-add { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 3vw, 14px); min-height: 62px; padding: 8px clamp(12px, 5vw, 24px); border: 0; text-align: left; background: var(--sheet-tile); color: #111216; }
.shop-sheet-cart-icon { font-size: 1rem; }
.shop-sheet-add strong { font-size: clamp(.9rem, 4.3vw, 1.4rem); letter-spacing: 0; white-space: nowrap; }
.shop-sheet-feedback { margin: 9px 0 0; color: var(--sheet-muted); font-size: .76rem; line-height: 1.4; text-align: center; }
.shop-sheet-cart { margin-top: 9px; border: 1px solid #ffffff28; background: #22242a; color: var(--sheet-ink); }
.shop-product-sheet button:focus-visible { outline: 2px solid var(--sheet-theme); outline-offset: 2px; }
@media (max-width: 650px) {
  .shop-product-sheet { width: 100%; height: 100dvh; margin: auto auto 0; border: 0; border-radius: 0; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .shop-product-sheet[open] { grid-template: minmax(0, 1fr) / minmax(0, 1fr) minmax(0, 1fr); }
  .shop-sheet-panel { height: 100%; margin: 0; padding-inline: 15px; border-radius: 0; }
  .shop-sheet-media video { height: 100%; }
}

.model-shop.theme-metropole {
  --theme-corner: 12px;
  --theme-card: #16221ade;
  background: radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34rem), var(--bg);
}
.model-shop.theme-cote-neon {
  --theme-corner: 24px;
  --theme-card: #251934e8;
  background: radial-gradient(ellipse at 72% 18%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 34rem),
    radial-gradient(ellipse at 7% 38%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 26rem), var(--bg);
}
:is(.theme-metropole, .theme-cote-neon) .hero {
  min-height: clamp(270px, 40vw, 450px);
  padding: clamp(22px, 5vw, 50px);
  border-color: color-mix(in srgb, var(--primary) 38%, transparent);
  border-radius: var(--theme-corner);
}
:is(.theme-metropole, .theme-cote-neon) .hero h1 {
  margin: 10px 0;
  max-width: 15ch;
  color: #fff9ef;
  font: italic 950 clamp(2.3rem, 8vw, 5rem)/.98 system-ui, sans-serif;
  letter-spacing: -.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 20px #090710b0;
}
:is(.theme-metropole, .theme-cote-neon) .hero .tag { color: var(--primary); }
.theme-metropole .hero::after {
  background: linear-gradient(0deg, #09100df5 2%, #09100d68 53%, #09100d15 90%),
    linear-gradient(100deg, #09100d82, transparent 78%);
}
.theme-cote-neon .hero::after {
  background: linear-gradient(0deg, #150d22f7 1%, #150d226b 55%, #2c113509 88%),
    linear-gradient(95deg, #220e2d85, transparent 72%);
}
.theme-cote-neon .hero .shop-hero-art { object-position: 55% 52%; }
.theme-metropole .hero .shop-hero-art { object-position: 56% 46%; }
:is(.theme-metropole, .theme-cote-neon) .shop-catalog-heading h2 {
  font-family: system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: -.045em;
}
:is(.theme-metropole, .theme-cote-neon) .product {
  background: var(--theme-card);
  border-color: color-mix(in srgb, var(--accent) 27%, transparent);
  border-radius: var(--theme-corner);
}
:is(.theme-metropole, .theme-cote-neon) .shop-dock {
  background: color-mix(in srgb, var(--bg) 90%, #24262c);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.theme-metropole :is(.shop-nav a, .shop-filters button) { border-radius: 9px; }
.theme-cote-neon .hero { box-shadow: 0 12px 34px color-mix(in srgb, var(--primary) 13%, transparent); }
.theme-cote-neon .shop-dock .model-cart-open {
  background: linear-gradient(110deg, var(--primary), var(--accent));
}
