@font-face {
  font-family: Cairo;
  src: url("art/cairo-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}
:root {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  --page: #020c25;
  --glow: #011b4c;
  --ink: #f2f7ff;
  --muted: #c7d8ef;
  --edge: #1c4b8b;
  --caption: #071731;
  --accent: #2fb8fd;
  --gap: clamp(5px, 1.7vw, 17px);
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 180px at 96% 0%, #03439b85, transparent),
    radial-gradient(ellipse 100% 450px at 50% 100px, var(--glow), var(--page)) fixed;
}
body[data-style="bordeaux"] {
  --page: #03102b;
  --glow: #031e49;
  --caption: #091d3d;
}
body[data-style="velvet"] {
  --page: #03102a;
  --glow: #02245a;
  --edge: #2878bc;
  --caption: #041831;
}
body[data-style="champagne"] {
  --page: #03112f;
  --glow: #06295e;
  --caption: #0c2548;
}
body[data-style="blue-hour"] {
  --page: #020b20;
  --glow: #041f45;
  --edge: #2465a6;
  --caption: #071b39;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header {
  width: min(100% - 28px, 1080px);
  margin-inline: auto;
  padding-block: clamp(16px, 4.5vw, 46px) clamp(16px, 3vw, 30px);
  text-align: center;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, #0278fb 40%, #2fb8fd 55%, transparent) 1;
}
.site-header { position: relative; }
.site-home {
  position: absolute;
  z-index: 1;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #649bce;
  border-radius: 13px;
  color: #f1f8ff;
  background: linear-gradient(150deg, #255c95, #09264d 70%);
  box-shadow: inset 0 1px 4px #9bd4ff61, inset 0 -2px 5px #337fc76e;
}
.site-home svg { width: 24px; height: 24px; }
.site-home:hover { border-color: #b9edff; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: clamp(19px, 5.4vw, 32px); font-weight: 650; text-decoration: none; }
.brand-lockup { display: none; }
.brand-harir {
  font: 800 clamp(14px, 1.6vw, 19px) / 1.1 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.has-glass-menu .brand-lockup,
body[data-style="velvet"] .brand-lockup {
  display: grid;
  justify-items: center;
  gap: 3px;
}
.menu-shortcuts { display: flex; justify-content: center; gap: 9px; }
.menu-shortcuts .menu-home { display: none; }
body[data-style="velvet"] .wordmark { display: inline-grid; justify-items: center; gap: 3px; }
body[data-style="velvet"] .brand-logo {
  display: block;
  width: clamp(128px, 39vw, 186px);
  height: auto;
}
main { width: min(100% - 24px, 1080px); margin-inline: auto; padding-block: 14px 30px; }
h1 { margin: 0 0 13px; font-weight: 650; font-size: clamp(24px, 6.7vw, 42px); }
h1:focus { outline: none; }
.category-grid:not(.glass-grid) {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: var(--gap);
}
.category:not(.glass-card) {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--caption);
  color: var(--ink);
  text-decoration: none;
  outline: 1px solid color-mix(in srgb, var(--edge) 70%, transparent);
  outline-offset: -1px;
}
.category:not(.glass-card) img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.category-title:not(.glass-card-title) {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px clamp(8px, 2.3vw, 22px);
  font-weight: 600;
  font-size: clamp(14px, 3.8vw, 24px);
  line-height: 1.25;
  text-wrap: balance;
}
.category:active { outline-color: var(--accent); }
body[data-style="noir"] .category:nth-child(4n+1),
body[data-style="noir"] .category:nth-child(4n+4) {
  grid-column: span 7;
}
body[data-style="noir"] .category:nth-child(4n+2),
body[data-style="noir"] .category:nth-child(4n+3) {
  grid-column: span 5;
}
body[data-style="champagne"] .category:nth-child(4n+1),
body[data-style="champagne"] .category:nth-child(4n+4) { grid-column: span 7; }
body[data-style="champagne"] .category:nth-child(4n+2),
body[data-style="champagne"] .category:nth-child(4n+3) { grid-column: span 5; }
body[data-style="noir"] .category img,
body[data-style="champagne"] .category img {
  height: clamp(115px, 36vw, 355px);
}
body[data-style="noir"] .category:nth-child(-n+2) img {
  height: clamp(154px, 53vw, 455px);
}
body[data-style="noir"] .category-title {
  position: absolute;
  inset: auto 0 0;
  min-height: 55px;
  align-items: end;
  padding-top: 24px;
  background: linear-gradient(0deg, rgb(1 11 33 / 96%), rgb(2 15 45 / 70%) 53%, transparent);
}
body[data-style="bordeaux"] .site-header { text-align: start; }
body[data-style="bordeaux"] .category { outline: none; }
body[data-style="bordeaux"] .category:nth-child(4n+3) img,
body[data-style="bordeaux"] .category:nth-child(4n+4) img { aspect-ratio: 16 / 9; }
body[data-style="champagne"] .category { outline: none; }
body[data-style="champagne"] .category-title { padding-inline: 6px; border-bottom: 1px solid var(--accent); }
body[data-style="blue-hour"] .category:nth-child(2n) img { aspect-ratio: 4 / 3; }
body[data-style="blue-hour"] .category:nth-child(2n+1) img { aspect-ratio: 1; }
body[data-style="blue-hour"] .category-title { margin-top: auto; border-top: 1px solid var(--edge); justify-content: center; }
.back { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; color: var(--muted); }
.section-nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 16px;
}
.section-path {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-path li + li::before {
  content: "/";
  margin-inline-end: 9px;
  color: var(--edge);
}
.has-glass-menu {
  --menu-gutter: clamp(16px, 2.35vw, 36px);
  --glass-edge: #92c9ff;
  --glass-face:
    radial-gradient(ellipse at 0 0, #b2d1ff38, transparent 55%),
    radial-gradient(ellipse at 94% 100%, #4c86e758, transparent 64%),
    linear-gradient(116deg, #21488488, #071d49c7 53%, #183876c4);
  --glass-depth: inset 0 1px 3px #f3f8ff71, inset 0 -2px 5px #69b8ff8c,
    inset 0 0 15px #5799ff35, 0 6px 17px #020b27a3;
  min-height: 100svh;
  background: #021138;
}
.has-glass-menu .store-frame {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 73% 66%, #0754bf84, transparent 44%),
    radial-gradient(ellipse at 12% 77%, #45289e61, transparent 43%),
    radial-gradient(ellipse at 53% 14%, #053470, transparent 53%),
    linear-gradient(144deg, #020d2a, #041f51 67%, #021236);
}
.has-glass-menu .store-frame::before,
.has-glass-menu .store-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 2px solid #37ceff;
  border-radius: 50%;
  width: 128%;
  height: clamp(150px, 27vw, 420px);
  transform: rotate(-24deg);
  background: radial-gradient(ellipse at 53% 100%, #08a0ff9c, #034ba561 23%, #02327428 52%, transparent 72%);
  box-shadow: inset 0 -4px 16px #00a4ffaa, inset 0 -16px 34px #0057ff80,
    0 0 13px #00aaffb5, 0 0 46px #006aff8f;
}
.has-glass-menu .store-frame::before {
  inset: auto auto calc(100% - 78px) -31%;
  mask-image: linear-gradient(90deg, transparent 10%, #000 52%);
}
.has-glass-menu .store-frame::after {
  inset: auto -36% -9% auto;
  background: radial-gradient(ellipse at 50% 0%, #058dff76, #02357b5e 22%, transparent 65%);
  border-color: #14b5ff;
  box-shadow: inset 0 4px 15px #0084ffd9, inset 0 14px 30px #0066ff6b,
    0 0 16px #009bff9c, 0 0 38px #004dff91;
}
.has-glass-menu .site-header,
.has-glass-menu main {
  width: min(calc(100% - 2 * var(--menu-gutter)), 1536px);
}
.has-glass-menu .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: max(12px, env(safe-area-inset-top)) 12px 9px;
  border: 0;
}
@media (min-width: 721px) and (not (any-pointer: coarse)), (min-width: 1050px) {
  .has-glass-menu .site-header { padding-left: 68px; }
  .has-glass-menu .site-home { top: 50%; left: 12px; transform: translateY(-50%); }
}
.has-glass-menu .site-header .wordmark {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 23px);
  font: 800 clamp(16px, 2.1vw, 32px) / 1.25 Cairo, "Segoe UI", Tahoma, sans-serif;
  white-space: nowrap;
}
.has-glass-menu .site-header .brand-logo {
  display: block;
  width: clamp(87px, 8.3vw, 128px);
  height: auto;
}
.has-glass-menu .wordmark-title {
  border-inline-start: 1px solid #dceeffb5;
  padding-inline-start: clamp(10px, 1.4vw, 23px);
}
.has-glass-menu .menu-shortcuts .menu-home { display: grid; }
.menu-shortcuts a,
.menu-back,
.cart-toggle,
.product-add,
.dialog-close,
.cart-controls button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #438de5;
  border-radius: 17px;
  background: linear-gradient(155deg, #134b88ba, #04163fe8 55%, #19437dad);
  box-shadow: inset 0 1px 4px #92ceff60, inset 0 -2px 6px #5195ff65;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}
.menu-shortcuts a {
  min-width: clamp(144px, 15vw, 236px);
  padding: 6px 14px;
  font: 800 clamp(15px, 1.65vw, 24px) / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.menu-shortcuts .menu-home {
  border-color: #26dcff;
  background: linear-gradient(160deg, #0769d0, #02419e 55%, #0056d4);
  box-shadow: inset 0 1px 5px #80eeff9f, inset 0 0 11px #00cfff82, 0 0 10px #008cff82;
}
.has-glass-menu main { padding: 0 0 max(24px, env(safe-area-inset-bottom)); }
.menu-heading {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(67px, 7.4vw, 119px);
  padding: 8px 15px;
  margin-block-end: clamp(12px, 1.3vw, 20px);
  border: 1px solid #70b2fa;
  border-radius: clamp(16px, 2vw, 29px);
  background:
    radial-gradient(ellipse at 72% 120%, #567bffac, transparent 42%),
    radial-gradient(ellipse at 20% 0%, #1498ed56, transparent 48%),
    var(--glass-face);
  box-shadow: var(--glass-depth);
  backdrop-filter: blur(9px);
}
.menu-heading h1 {
  margin: 0;
  color: #f9faff;
  font: 800 clamp(30px, 4.7vw, 72px) / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 8px #061637bd;
}
.section-toolbar { display: flex; justify-content: flex-end; margin-block: 0 14px; }
.menu-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 116px;
  min-height: 50px;
  padding: 6px 18px;
  border-color: #6aafe8;
  background: linear-gradient(155deg, #245f9c, #082553 68%);
  backdrop-filter: blur(8px);
  font: 800 19px / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.menu-back::before {
  content: "";
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: translateX(-2px) rotate(45deg);
}
.cart-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 106px;
  padding: 6px 12px;
  white-space: nowrap;
  font: 800 16px / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
  cursor: pointer;
}
body:not(.has-glass-menu) .menu-shortcuts { margin-block-start: 9px; }
.bag-icon {
  position: relative;
  width: 16px;
  height: 14px;
  margin-block-start: 3px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}
.bag-icon::before {
  content: "";
  position: absolute;
  inset: -6px 3px auto;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  min-height: 23px;
  padding-inline: 4px;
  border-radius: 20px;
  background: #9ae9ff;
  color: #061c3c;
  font: 700 12px / 1 "Segoe UI", Tahoma, sans-serif;
  font-variant-numeric: tabular-nums;
}
.glass-grid {
  --columns: 4;
  --tile-gap: clamp(10px, 1.25vw, 20px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--tile-gap);
}
.glass-card {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  flex: 0 0 calc((100% - (var(--columns) - 1) * var(--tile-gap)) / var(--columns));
  min-width: 0;
  min-height: clamp(162px, 14vw, 232px);
  padding: clamp(8px, .8vw, 15px) 10px clamp(10px, 1.15vw, 19px);
  border: 1px solid var(--glass-edge);
  border-radius: clamp(16px, 1.65vw, 25px);
  background:
    radial-gradient(ellipse at 91% 105%, #8bb7ff60, transparent 46%),
    var(--glass-face);
  box-shadow: var(--glass-depth);
  backdrop-filter: blur(8px);
  color: #f7faff;
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.glass-card:nth-child(4n) {
  background:
    radial-gradient(ellipse at 90% 100%, #9e8bff84, transparent 61%),
    var(--glass-face);
}
.glass-card img {
  display: block;
  width: min(100%, 276px);
  height: clamp(95px, 9.8vw, 160px);
  object-fit: contain;
  filter: drop-shadow(0 7px 8px #0410319c);
  pointer-events: none;
}
.glass-card-title {
  font: 800 clamp(16px, 1.65vw, 26px) / 1.24 Cairo, "Segoe UI", Tahoma, sans-serif;
  text-wrap: balance;
  text-shadow: 0 2px 4px #081633d9;
  overflow-wrap: anywhere;
}
.glass-card:hover, .menu-shortcuts a:hover, .menu-back:hover { border-color: #b9f0ff; }
.glass-card:hover { box-shadow: var(--glass-depth), 0 0 16px #077dff95; }
.glass-card:active { transform: scale(.96); }
@media (min-width: 1050px) {
  .ends-with-three .glass-card:nth-last-child(-n+3) { flex-basis: min(27%, 415px); }
}
@media (min-width: 721px) and (max-width: 1049px) {
  .glass-grid { --columns: 3; }
  .glass-card-title { font-size: clamp(17px, 2.15vw, 23px); }
}
@media (max-width: 720px), (max-width: 1049px) and (any-pointer: coarse) {
  .has-glass-menu {
    --menu-gutter: max(12px, 4.35vw, env(safe-area-inset-left), env(safe-area-inset-right));
  }
  .has-glass-menu .store-frame::before {
    inset: auto auto calc(100% - 92px) -44%;
    width: 151%;
    transform: rotate(-14deg);
    mask-image: none;
  }
  .has-glass-menu .store-frame::after { inset: auto -50% -100px auto; }
  .has-glass-menu .site-header {
    flex-direction: column;
    padding-inline: 0;
    padding-block-end: clamp(17px, 5.1vw, 27px);
  }
  .has-glass-menu .site-header .wordmark {
    font-size: clamp(15px, 4.65vw, 26px);
  }
  .has-glass-menu .site-header .brand-logo { width: clamp(83px, 23vw, 143px); }
  .has-glass-menu .menu-shortcuts { width: 100%; }
  .menu-shortcuts a { flex: 1; min-width: 0; border-radius: 15px; }
  .nested-menu {
    padding: 0 clamp(8px, 2.7vw, 18px) clamp(8px, 2.7vw, 18px);
    border: 1px solid #77b9ff;
    border-radius: 22px;
    background: linear-gradient(158deg, #0d3474c4, #0117389c 70%);
    box-shadow: inset 0 1px 5px #90ccff78, inset 0 -1px 7px #408aff84, 0 6px 17px #020b2770;
  }
  .menu-heading { min-height: 64px; padding: 10px; margin-block-end: 12px; }
  .menu-heading h1 { font-size: clamp(27px, 7vw, 42px); }
  .nested-menu .menu-heading {
    padding: 10px;
    margin: 0 calc(-1 * clamp(8px, 2.7vw, 18px)) 14px;
    border: 0;
    border-bottom: 1px solid #4b96deac;
    border-radius: 21px 21px 0 0;
    background: radial-gradient(ellipse at 28% 90%, #105bc886, #042557ab 55%, transparent);
    box-shadow: inset 0 1px 4px #94cbff56;
    backdrop-filter: none;
  }
  .nested-menu .menu-heading h1 { text-align: start; }
  .glass-grid { --columns: 2; --tile-gap: clamp(9px, 3vw, 16px); }
  .glass-card {
    min-height: clamp(146px, 41.75vw, 226px);
    padding: 9px 6px 11px;
  }
  .glass-card img { width: min(100%, 205px); height: clamp(79px, 22vw, 144px); }
  .glass-card-title { max-width: 20ch; font-size: clamp(15px, 4.55vw, 24px); }
  .subcategory-list .glass-card:last-child:nth-child(odd) { flex-basis: 100%; }
  .subcategory-list .glass-card:last-child:nth-child(odd) img { width: 55%; }
  .has-glass-menu.is-home {
    min-height: 0;
    background: #041638;
  }
  .is-home.has-glass-menu .store-frame {
    container-type: inline-size;
    min-height: 0;
    background: #020d1f;
  }
  .is-home.has-glass-menu .store-frame::before,
  .is-home.has-glass-menu .store-frame::after,
  .is-home.has-glass-menu .menu-shortcuts .menu-home { display: none; }
  .is-home.has-glass-menu .menu-shortcuts {
    position: absolute;
    inset-block-start: max(8px, env(safe-area-inset-top));
    inset-inline: max(8px, env(safe-area-inset-right)) auto;
    width: auto;
  }
  .is-home.has-glass-menu .site-home {
    left: max(8px, env(safe-area-inset-left));
    top: max(8px, env(safe-area-inset-top));
  }
  .is-home.has-glass-menu .cart-toggle {
    min-width: 0;
    padding-inline: 7px;
    gap: 5px;
  }
  .is-home.has-glass-menu .cart-label { display: none; }
  .is-home.has-glass-menu .site-header {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: max(3.6cqw, env(safe-area-inset-top)) 12px 3px;
    background: radial-gradient(ellipse 54% 105% at 50% 36%, #092342 0%, transparent 80%);
  }
  .is-home.has-glass-menu .site-header::before,
  .is-home.has-glass-menu .site-header::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    width: 31%;
    aspect-ratio: 2.15;
    background: center / 100% 100% no-repeat;
    mix-blend-mode: screen;
    opacity: .86;
    pointer-events: none;
  }
  .is-home.has-glass-menu .site-header::before {
    left: 0;
    background-image: url("art/arc-left.webp");
    mask-image: radial-gradient(ellipse 110% 110% at left top, #000 34%, transparent 90%);
  }
  .is-home.has-glass-menu .site-header::after {
    right: 0;
    background-image: url("art/arc-right.webp");
    mask-image: radial-gradient(ellipse 110% 110% at right top, #000 34%, transparent 90%);
  }
  .is-home.has-glass-menu .site-header .wordmark {
    flex-direction: column;
    gap: 2cqw;
    font-size: max(20px, 5.8cqw);
  }
  .is-home.has-glass-menu .brand-logo { width: max(128px, 39cqw); }
  .is-home.has-glass-menu .wordmark-title { border: 0; padding: 0; }
  .has-glass-menu.is-home main {
    width: 100%;
    padding: 0 max(1.5cqw, env(safe-area-inset-left), env(safe-area-inset-right))
      max(1.5cqw, env(safe-area-inset-bottom));
  }
  .home-menu .menu-heading {
    display: block;
    min-height: 0;
    padding: 0;
    margin: 1.45cqw 0 1.8cqw;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .home-menu .menu-heading h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3cqw;
    font-size: max(16px, 4.35cqw);
    text-shadow: none;
  }
  .home-menu .menu-heading h1::before,
  .home-menu .menu-heading h1::after {
    content: "";
    width: 25cqw;
    height: 1px;
    background: linear-gradient(90deg, #089ccd, #0b8ec0 70%, transparent);
    box-shadow: 0 1px 5px #009eff50;
  }
  .home-menu .menu-heading h1::after { transform: scaleX(-1); }
  .home-menu .glass-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: max(5px, 2cqw);
  }
  .home-menu .glass-card {
    --row-height: 34cqw;
    position: relative;
    display: block;
    min-height: max(44px, var(--row-height));
    padding: 0;
    overflow: hidden;
    border-color: #0875ae;
    border-radius: clamp(6px, 2cqw, 18px);
    background: linear-gradient(115deg, #021329, #020c1c 68%);
    box-shadow: none;
    backdrop-filter: none;
  }
  .home-menu .glass-card:nth-child(-n+2) { --row-height: 53.7cqw; }
  .home-menu .glass-card:nth-child(n+5):nth-child(-n+6) { --row-height: 35.5cqw; }
  .home-menu .glass-card:nth-child(n+7):nth-child(-n+12) { --row-height: 29.8cqw; }
  .home-menu .glass-card:nth-child(n+13) { --row-height: 36.8cqw; }
  .home-menu .glass-card::after {
    content: "";
    position: absolute;
    inset: auto 6% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #34befe, transparent 90%);
    opacity: .8;
    pointer-events: none;
  }
  .home-menu .glass-card img {
    position: absolute;
    inset: 0 auto 0 0;
    width: 71%;
    height: 100%;
    object-fit: fill;
    filter: none;
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .home-menu .glass-card:nth-child(even) img {
    inset: 0 0 0 auto;
    mask-image: linear-gradient(270deg, #000 92%, transparent);
  }
  .home-menu .glass-card-title {
    position: absolute;
    inset: 0 0 0 auto;
    display: grid;
    place-content: center;
    width: 36%;
    max-width: none;
    padding-inline: .8cqw;
    font-size: max(18px, 6.7cqw);
    font-weight: 700;
    line-height: 1.18;
    text-shadow: 0 1px 3px #020b1e;
  }
  .home-menu .glass-card:nth-child(even) .glass-card-title { inset: 0 auto 0 0; }
}
@media (min-width: 721px) and (not (any-pointer: coarse)), (min-width: 1050px) {
  .home-menu .glass-card {
    position: relative;
    align-content: end;
    grid-template-rows: auto;
    min-height: clamp(162px, 14vw, 232px);
    padding: 0;
    overflow: hidden;
  }
  .home-menu .glass-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    filter: none;
  }
  .home-menu .glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--glass-depth);
    pointer-events: none;
  }
  .home-menu .glass-card-title {
    z-index: 1;
    width: 100%;
    padding: 22px 10px 12px;
    background: linear-gradient(0deg, #020c24 0%, #061531ed 54%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .glass-card { transition: none; }
  .glass-card:active { transform: none; }
}
.filters { display: flex; gap: 6px; padding-block: 0 11px; margin-block: 0 7px; overflow: auto; }
.filters button { flex: none; padding: 8px 14px; border: 1px solid var(--edge); background: var(--caption); color: var(--ink); font: inherit; min-height: 44px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--page); background: var(--accent); border-color: var(--accent); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); }
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--caption);
  overflow: hidden;
}
.product-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: start;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.product-open img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.product-add {
  width: auto;
  margin: auto 6px 6px;
  padding: 7px 4px;
  border-radius: 10px;
  font: 750 clamp(13px, 2.2vw, 16px) / 1.25 Cairo, "Segoe UI", Tahoma, sans-serif;
  text-wrap: balance;
  cursor: pointer;
}
.product-open:focus-visible { outline-offset: -3px; }
.product-name, .price { display: block; padding-inline: 9px; }
.product-name { padding-block: 9px 4px; line-height: 1.3; }
.price { padding-bottom: 9px; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); line-height: 1.6; }
.products .empty { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .products { grid-template-columns: repeat(4, minmax(0,1fr)); }
}


button:focus-visible { outline: 2px solid #91e5ff; outline-offset: 2px; }
.cart-toggle:hover, .product-add:hover, .dialog-close:hover, .cart-controls button:hover { border-color: #b9f0ff; }
body:has(.store-dialog[open]) { overflow: hidden; }
.store-dialog {
  --dialog-edge: #73b3ef;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--dialog-edge);
  border-radius: 18px;
  background: #03152e;
  box-shadow: inset 0 1px 8px #7bb8ef5c, 0 14px 44px #010916c9;
}
.store-dialog::backdrop {
  background: #010813d9;
  backdrop-filter: blur(4px);
}
.dialog-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.dialog-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 60px;
  padding: 8px clamp(10px, 2vw, 21px);
  background: linear-gradient(135deg, #224c80, #081b3e 72%);
  border-bottom: 1px solid #2f6399;
}
.dialog-header h2 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font: 800 clamp(16px, 3.2vw, 24px) / 1.25 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.dialog-close {
  min-width: 66px;
  padding-inline: 11px;
  border-radius: 10px;
  font: 800 15px / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
  cursor: pointer;
}
#image-preview {
  width: min(94vw, 1320px);
  height: 92dvh;
  max-width: none;
  max-height: none;
  overflow: hidden;
}
.preview-media {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  place-items: center;
  background: #020c1d;
}
.preview-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preview-state { padding: 16px; color: #d8e8fc; }
#shopping-cart {
  inset: 0 0 0 auto;
  width: min(100%, 450px);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 16px 0 0 16px;
}
.cart-items {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cart-empty { padding: 4px; color: #dbeaff; }
.cart-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cart-item {
  display: grid;
  grid-template-columns: clamp(62px, 21vw, 90px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px;
  border: 1px solid #376498;
  border-radius: 12px;
  background: #0a2449;
}
.cart-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
}
.cart-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: inherit;
}
.cart-product-name { display: block; overflow-wrap: anywhere; font-weight: 700; }
.cart-details .price { padding-inline: 0; }
.cart-controls { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.cart-controls button { min-width: 44px; padding-inline: 6px; border-radius: 8px; font: inherit; cursor: pointer; }
.cart-quantity { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.cart-feedback {
  position: fixed;
  z-index: 6;
  inset: auto 50% max(14px, env(safe-area-inset-bottom)) auto;
  translate: 50% 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border: 1px solid #78d6ff;
  border-radius: 14px;
  color: #effaff;
  background: #0b345b;
  box-shadow: 0 9px 30px #0009;
  font: 800 16px / 1.35 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.cart-feedback-open {
  min-height: 44px;
  flex: none;
  padding-inline: 9px;
  border: 0;
  border-radius: 8px;
  color: #072345;
  background: #a1eaff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.cart-flight {
  position: fixed;
  z-index: 7;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  width: 76px;
  height: 76px;
  border: 2px solid #a7ecff;
  border-radius: 18px;
  color: #06284c;
  background: #d2f4ff;
  box-shadow: 0 6px 25px #001330bf, 0 0 15px #64caff70;
  pointer-events: none;
}
.cart-flight img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}
.cart-flight span {
  position: absolute;
  inset: auto -8px -5px auto;
  padding: 3px 6px;
  border-radius: 8px;
  background: #b7f4ff;
  font: 800 14px / 1.2 "Segoe UI", Tahoma, sans-serif;
  direction: ltr;
}
.product-add[data-added] {
  border-color: #88efd0;
  color: #eafff9;
  background: linear-gradient(135deg, #216958, #0c3e47);
}
.product-add[data-added]::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 5px;
  margin-inline-end: 7px;
  margin-block-end: 3px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.cart-summary,
.checkout-footer {
  display: grid;
  flex: none;
  gap: 9px;
  padding: 13px 14px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid #376da5;
  background: linear-gradient(155deg, #163e67, #071d3c 68%);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 9px;
  font: 700 14px / 1.35 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.cart-total-row bdi {
  color: #c7f3ff;
  font: 800 clamp(22px, 5vw, 29px) / 1.2 Cairo, "Segoe UI", Tahoma, sans-serif;
  font-variant-numeric: tabular-nums;
}
.cart-line-total {
  display: block;
  margin-block-start: 5px;
  color: #c6efff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.primary-action {
  min-height: 49px;
  padding: 8px 12px;
  border: 1px solid #a0e6ff;
  border-radius: 12px;
  color: #061b33;
  background: linear-gradient(180deg, #c6f3ff, #7dd8fb);
  font: 800 17px / 1.25 Cairo, "Segoe UI", Tahoma, sans-serif;
  cursor: pointer;
}
.primary-action:hover { background: #cef5ff; }
#checkout-dialog {
  position: fixed;
  inset: 0;
  width: min(530px, 100% - 20px);
  height: fit-content;
  max-height: 94vh;
  max-height: 94dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}
#checkout-dialog[data-keyboard] {
  inset-block: calc(var(--checkout-viewport-top) + 8px) auto;
  margin-block: 0;
  max-height: calc(var(--checkout-viewport-height) - 16px);
}
#checkout-dialog .dialog-panel { height: auto; }
.checkout-form {
  display: flex;
  flex-direction: column;
}
.checkout-fields {
  display: grid;
  gap: 11px;
  padding: 13px 15px;
}
.checkout-fields label {
  display: grid;
  gap: 4px;
  font: 700 14px / 1.4 Cairo, "Segoe UI", Tahoma, sans-serif;
}
.checkout-fields input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #5887b5;
  border-radius: 9px;
  color: #f2f8ff;
  background: #071e3c;
  font: 16px / 1.3 "Segoe UI", Tahoma, sans-serif;
}
.checkout-fields input:focus-visible,
.checkout-form textarea:focus-visible { outline: 2px solid #8ce2ff; outline-offset: 2px; }
.checkout-fields textarea { resize: vertical; }
.checkout-status { margin: 0; color: #dceeff; font-size: 13px; line-height: 1.4; }
.checkout-status:empty { display: none; }
.checkout-images:disabled { opacity: .7; cursor: wait; }
.glass-card.section-card-text, .category.section-card-text {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 10px;
}
.glass-card.section-card-text :is(.glass-card-title,.category-title) {
  position: static;
  width: auto;
  padding: 0;
  background: none;
}
@media (max-width: 600px) {
  #image-preview { width: 96vw; height: fit-content; max-height: 94dvh; }
  #image-preview .dialog-panel { height: auto; }
  .preview-media { flex: none; min-height: 120px; }
  .preview-media img {
    position: static;
    height: auto;
    max-height: 77dvh;
  }
  .dialog-header { padding-top: max(8px, env(safe-area-inset-top)); }
  .cart-feedback { font-size: 14px; }
}
