.header { position: sticky; top: 0; z-index: 1000; background: rgba(10,10,12,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-right { display: flex; align-items: center; gap: 34px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 900; letter-spacing: -.5px; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: #fff; color: #000; display: grid; place-items: center; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav-links a { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 0; transition: color .25s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-left { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.lang-switcher-sleek { min-height: 44px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; cursor: pointer; transition: color .25s ease; }
.lang-switcher-sleek:hover { color: #fff; }
.lang-switcher-short { display: none; }
.nav-divider { width: 1px; height: 18px; background: rgba(255,255,255,.1); }
.auth-links { display: flex; align-items: center; gap: 10px; }
.auth-pill { min-height: 44px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; transition: color .25s ease; font-size: 15px; font-weight: 800; }
.auth-pill:hover { color: #fff; }
.icon-btn, .mobile-menu-btn, .drawer-close { width: 44px; height: 44px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s ease; }
.icon-btn:hover, .mobile-menu-btn:hover, .drawer-close:hover { background: #111; transform: translateY(-2px); }
.nav-search { margin-inline-start: -14px; }
.cart-btn { margin-inline-start: 6px; }
.mobile-menu-btn { display: none; }
.header-auth-actions { display: flex; align-items: center; gap: 8px; }
.account-menu-wrap { position: relative; display: inline-flex; }
.account-icon { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.account-dropdown { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: 0; z-index: 1120; width: min(286px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgba(255,255,255,.085); border-radius: 26px; background: rgba(32,32,36,.96); box-shadow: 0 30px 86px rgba(0,0,0,.66), inset 0 1px rgba(255,255,255,.045); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.account-dropdown[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu-identity { display: grid; gap: 4px; margin: 0 0 14px; padding: 0 4px 2px; }
.account-menu-identity strong, .account-overlay-identity strong { color: #fff; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.account-menu-identity span, .account-overlay-identity span { color: #a7a7af; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.account-menu-link { width: 100%; min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; color: #d7d7dc; font: inherit; font-weight: 800; text-align: start; cursor: pointer; }
.account-menu-link:hover, .account-menu-link:focus-visible { background: #1b1b1f; color: #fff; }
.account-dropdown .account-menu-link { min-height: 52px; justify-content: flex-start; margin-block: 10px 0; padding: 0 18px; border: 1px solid rgba(255,255,255,.075); border-radius: 999px; color: #a9a9b2; background: rgba(255,255,255,.018); font-size: 16px; font-weight: 760; line-height: 1.2; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.account-dropdown .account-menu-link:hover, .account-dropdown .account-menu-link:focus-visible { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); }
.account-dropdown .account-menu-link:focus-visible { outline: 2px solid rgba(255,255,255,.94); outline-offset: 3px; }
.account-dropdown .account-menu-link:active { transform: scale(.985); }
.account-menu-placeholder { color: #a7a7af; cursor: default; }
.account-menu-signout { color: #fff; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(0,0,0,.62); backdrop-filter: blur(3px); }
.mobile-drawer { position: fixed; top: 0; bottom: 0; z-index: 1100; width: min(86vw, 360px); padding: 18px; overflow-y: auto; overscroll-behavior: contain; background: #101013; border-inline-start: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 50px rgba(0,0,0,.5); visibility: hidden; transition: transform .3s cubic-bezier(.25,1,.5,1), visibility .3s; }
[dir="rtl"] .mobile-drawer { right: 0; transform: translateX(105%); }
[dir="ltr"] .mobile-drawer { left: 0; transform: translateX(-105%); border-inline-start: 0; border-inline-end: 1px solid rgba(255,255,255,.08); }
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.drawer-links { display: grid; gap: 4px; margin-top: 18px; }
.drawer-links a { min-height: 48px; display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; color: #d7d7dc; font-weight: 800; }
.drawer-links a:hover, .drawer-links a[aria-current="page"] { background: #1b1b1f; color: #fff; }
.mobile-account-overlay { width: 100vw; max-width: none; padding: 18px clamp(16px,5vw,34px) 30px; background: rgba(12,12,15,.985); border: 0; }
body.account-overlay-open { overflow: visible; }
.account-overlay-identity { display: grid; gap: 5px; margin-top: 20px; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #151519; }
.account-overlay-icon { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.account-overlay-links { margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.account-overlay-links form { margin: 0; }
.account-overlay-links .account-menu-link, .account-overlay-nav .account-menu-link { min-height: 48px; }
.ui8-card { position: relative; background: #202020; border-radius: 18px; overflow: visible; display: flex; flex-direction: column; min-width: 0; transition: transform .35s cubic-bezier(.25,1,.5,1); }
.ui8-card:hover { transform: translateY(-5px); background: transparent; }
.ui8-card-thumb { position: relative; width: 100%; aspect-ratio: 16/10; background: #111; overflow: hidden; border-radius: 18px; margin: 0; box-shadow: 0 18px 38px rgba(0,0,0,.34); isolation: isolate; }
.ui8-card-thumb > img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: scale(1.001); transition: transform .55s cubic-bezier(.25,1,.5,1), opacity .28s ease; }
.ui8-card:hover .ui8-card-thumb > img { transform: scale(1.045); opacity: .68; }
.ui8-like-btn { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 10; width: 44px; height: 42px; border-radius: 999px; background: rgba(28,28,31,.72); backdrop-filter: blur(14px); color: #d7d7dc; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s ease; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 10px 22px rgba(0,0,0,.28); }
.ui8-like-btn:hover { background: #fff; color: #ff3b30; transform: translateY(-1px) scale(1.02); }
.ui8-card-overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 14px; opacity: 0; pointer-events: none; background: transparent; transition: opacity .28s ease, background .28s ease, backdrop-filter .28s ease; }
.ui8-card:hover .ui8-card-overlay, .ui8-card:focus-within .ui8-card-overlay { opacity: 1; pointer-events: auto; background: rgba(0,0,0,.34); backdrop-filter: blur(3px); }
.ui8-icon-btn { width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(10px); transition: .25s ease; }
.ui8-icon-btn:hover { background: #fff; color: #000; transform: scale(1.08); }
.ui8-card-info { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.ui8-info-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; }
.ui8-info-top h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 900; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui8-price-box { display: inline-flex; align-items: baseline; justify-content: flex-end; direction: ltr; white-space: nowrap; line-height: 1.2; }
.ui8-price-box .price { color: #fff; font-size: 17px; font-weight: 950; }
.ui8-price-box .price-unavailable { max-width: 128px; white-space: normal; text-align: end; direction: inherit; color: #c8c8ce; font-size: 12px; line-height: 1.35; }
.ui8-info-bottom { display: flex; align-items: center; gap: 10px; min-width: 0; color: #9d9da5; font-size: 13px; font-weight: 800; overflow: hidden; }
.ui8-info-bottom .author { display: inline-flex; align-items: center; gap: 8px; color: #d7d7dc; min-width: 0; flex-shrink: 0; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#5865F2,#EC4899); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.category { min-width: 0; color: #9b9ba3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.28); flex-shrink: 0; }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 22px; background: linear-gradient(135deg,#17171a,#0f0f11); color: var(--muted); text-align: center; }
.image-fallback[hidden] { display: none; }
.card-unavailable { max-width: 70%; padding: 10px 14px; border-radius: 999px; background: rgba(18,18,20,.85); color: #ddd; text-align: center; font-size: 13px; font-weight: 800; }
.badge { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #111; border: 1px solid var(--border); color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 16px;
  color: #96969f;
  border-top: 1px solid rgba(121,113,255,.2);
  background: #111113;
}
.footer::before {
  content: "";
  position: absolute;
  inset: -14% -8% -18%;
  z-index: -3;
  pointer-events: none;
  opacity: .78;
  filter: saturate(128%) brightness(.9);
  background:
    radial-gradient(60% 76% at 12% 94%, rgba(248,113,113,.18), transparent 64%),
    radial-gradient(56% 72% at 50% 88%, rgba(124,58,237,.2), transparent 62%),
    radial-gradient(52% 68% at 88% 78%, rgba(59,130,246,.17), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.008), rgba(255,255,255,.018));
  transform-origin: 50% 88%;
  will-change: transform, opacity, filter;
  animation: footerAuroraVeil 9s cubic-bezier(.45,0,.2,1) infinite;
}
.footer-glow {
  position: absolute;
  inset: 12% -18% -38%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  opacity: .46;
  filter: blur(72px) saturate(148%) brightness(.92);
  background:
    radial-gradient(ellipse at 18% 70%, rgba(251,113,133,.25), transparent 34%),
    radial-gradient(ellipse at 46% 48%, rgba(139,92,246,.3), transparent 36%),
    radial-gradient(ellipse at 73% 62%, rgba(56,189,248,.22), transparent 34%),
    radial-gradient(ellipse at 92% 76%, rgba(236,72,153,.19), transparent 30%);
  mix-blend-mode: screen;
  will-change: transform, opacity, filter;
  animation: footerAuroraDrift 11s cubic-bezier(.45,0,.2,1) infinite;
}
.footer-glow::before {
  content: "";
  position: absolute;
  inset: 8% 4% 18%;
  border-radius: 50%;
  opacity: .18;
  background: linear-gradient(105deg,
    transparent 4%,
    rgba(248,113,113,.18) 22%,
    rgba(168,85,247,.52) 43%,
    rgba(103,232,249,.42) 61%,
    rgba(236,72,153,.26) 77%,
    transparent 96%);
  transform: translate3d(-34%,5%,0) scaleX(.72) rotate(-5deg);
  will-change: transform, opacity;
  animation: footerAuroraSweep 8s ease-in-out infinite;
}
@keyframes footerAuroraVeil {
  0%, 100% { transform: translate3d(-3%,2%,0) scale(.97); opacity: .5; filter: saturate(112%) brightness(.78); }
  24% { transform: translate3d(1%,-1%,0) scale(1.035); opacity: .9; filter: saturate(145%) brightness(1.08); }
  52% { transform: translate3d(4%,.5%,0) scale(1.015); opacity: .64; filter: saturate(125%) brightness(.9); }
  78% { transform: translate3d(-1%,-1.5%,0) scale(1.055); opacity: .86; filter: saturate(155%) brightness(1.04); }
}
@keyframes footerAuroraDrift {
  0%, 100% { transform: translate3d(-6%,3%,0) scale(.94) rotate(-2deg); opacity: .24; filter: blur(72px) saturate(125%) brightness(.76); }
  30% { transform: translate3d(0,-2%,0) scale(1.06) rotate(.5deg); opacity: .64; filter: blur(66px) saturate(165%) brightness(1.08); }
  58% { transform: translate3d(6%,-.5%,0) scale(1.01) rotate(2deg); opacity: .38; filter: blur(78px) saturate(142%) brightness(.88); }
  82% { transform: translate3d(2%,2%,0) scale(1.09) rotate(.4deg); opacity: .58; filter: blur(68px) saturate(172%) brightness(1.03); }
}
@keyframes footerAuroraSweep {
  0%, 100% { transform: translate3d(-38%,7%,0) scaleX(.7) rotate(-6deg); opacity: .08; }
  28% { opacity: .52; }
  52% { transform: translate3d(6%,-3%,0) scaleX(1.08) rotate(1deg); opacity: .34; }
  76% { opacity: .6; }
  90% { transform: translate3d(38%,4%,0) scaleX(.76) rotate(5deg); opacity: .16; }
}
.footer-container {
  position: relative;
  z-index: 1;
  padding-inline: clamp(22px,3.6vw,54px);
}
.footer-loop {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,360px);
  align-items: center;
  gap: clamp(26px,4vw,58px);
  padding: clamp(22px,2.4vw,30px) 0 clamp(22px,2.8vw,30px);
}
.footer-loop-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-align: start;
}
.footer-loop h2 {
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(21px,2vw,25px);
  line-height: 1.2;
  letter-spacing: -.6px;
}
.footer-loop p {
  margin: 6px 0 0;
  color: #777780;
  font-size: 14px;
  line-height: 1.55;
}
.footer-loop-form {
  width: 100%;
  max-width: 360px;
  min-width: 0;
  justify-self: end;
}
.footer-email-pill {
  position: relative;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#121216,#121216) padding-box,
    linear-gradient(110deg,
      #7c3aed 0%,
      #4f7cff 16%,
      #67e8f9 29%,
      #f8fafc 37%,
      #8b5cf6 47%,
      #ec4899 65%,
      #4f7cff 83%,
      #7c3aed 100%) border-box;
  background-size: 100% 100%, 280% 100%;
  box-shadow:
    0 13px 34px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 18px rgba(99,102,241,.13),
    0 0 28px rgba(236,72,153,.07);
  animation:
    footerElectricFlow 5.2s linear infinite,
    footerElectricPulse 2.8s ease-in-out infinite alternate;
  transition: box-shadow .25s ease, transform .25s ease;
}
.footer-email-pill::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: .22;
  filter: blur(9px);
  background: linear-gradient(105deg,
    transparent 24%,
    rgba(79,124,255,.2) 36%,
    rgba(103,232,249,.58) 48%,
    rgba(255,255,255,.72) 51%,
    rgba(236,72,153,.34) 58%,
    transparent 72%);
  background-size: 260% 100%;
  animation: footerElectricSpark 4.4s linear infinite;
}
.footer-email-pill:focus-within {
  animation: footerElectricFlow 5.2s linear infinite;
  box-shadow:
    0 14px 38px rgba(0,0,0,.42),
    0 0 0 3px rgba(124,92,255,.16),
    0 0 28px rgba(79,124,255,.2),
    0 0 42px rgba(236,72,153,.17);
}
@keyframes footerElectricFlow {
  0% { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, 280% 50%; }
}
@keyframes footerElectricPulse {
  0% {
    box-shadow:
      0 13px 34px rgba(0,0,0,.36),
      0 0 0 1px rgba(255,255,255,.025) inset,
      0 0 14px rgba(99,102,241,.1),
      0 0 22px rgba(236,72,153,.05);
  }
  100% {
    box-shadow:
      0 13px 34px rgba(0,0,0,.36),
      0 0 0 1px rgba(255,255,255,.04) inset,
      0 0 25px rgba(79,124,255,.2),
      0 0 34px rgba(236,72,153,.11);
  }
}
@keyframes footerElectricSpark {
  0% { background-position: 220% 50%; opacity: .08; }
  18% { opacity: .32; }
  52% { opacity: .18; }
  100% { background-position: -120% 50%; opacity: .08; }
}
.footer-email-pill input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 14px 68px 14px 22px;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  color: #f5f5f6;
  font: inherit;
  font-size: 15px;
  text-align: start;
  direction: ltr;
}
[dir="rtl"] .footer-email-pill input { padding: 14px 22px 14px 68px; text-align: right; }
.footer-email-pill input::placeholder { color: #8e8e98; opacity: 1; }
.footer-email-pill button {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 7px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #4c8dff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-email-pill button:hover {
  background: rgba(76,141,255,.12);
  color: #7eaeff;
  transform: translateY(-50%) scale(1.04);
}
.footer-directory {
  display: grid;
  grid-template-columns: minmax(360px,1.35fr) minmax(170px,.58fr) minmax(220px,.72fr);
  justify-content: stretch;
  gap: clamp(34px,4.2vw,64px);
  width: min(100%,1180px);
  max-width: none;
  align-items: start;
  padding-bottom: clamp(22px,2.6vw,30px);
}
.footer-link-group,
.footer-connect { min-width: 0; padding: 0; text-align: start; }
.footer-link-group h2,
.footer-connect h2 {
  margin: 0 0 13px;
  color: #676770;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link-list--browse {
  display: grid;
  grid-template-columns: repeat(2,minmax(120px,1fr));
  column-gap: clamp(24px,3vw,48px);
  row-gap: 0;
}
.footer-link-list li + li { margin-top: 2px; }
.footer-link-list--browse li + li { margin-top: 0; }
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0;
  border: 0;
  color: #9999a2;
  background: none;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-align: inherit;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.footer-link:hover { color: #fff; transform: translateY(-1px); }
.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-links :is(a,button) {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.025);
  border-radius: 50%;
  background: #222226;
  color: #a5a5ad;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  font: inherit;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social-links :is(a,button):hover {
  color: #fff;
  background: #2d2d33;
  border-color: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.footer-email-pill button:focus-visible,
.footer-social-links :is(a,button):focus-visible,
.footer-link:focus-visible,
.footer-loop-logo:focus-visible,
.footer-legal :is(a,button):focus-visible {
  outline: 2px solid #8f7cff;
  outline-offset: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.045);
  text-align: start;
}
.footer-bottom p {
  margin: 0;
  color: #626269;
  font-size: 12px;
  line-height: 1.6;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #626269;
  font-size: 12px;
}
.footer-legal :is(a,button) {
  padding: 0;
  border: 0;
  color: #6f6f77;
  background: none;
  font: inherit;
  cursor: pointer;
  transition: color .2s ease;
}
.footer-legal :is(a,button):hover { color: #b8b8bf; }
.footer-product-note { color: #696970; }
@media (max-width:1000px) {
  .footer-loop { grid-template-columns: minmax(0,1fr) minmax(280px,340px); gap: 28px; }
  .footer-directory {
    grid-template-columns: minmax(300px,1.2fr) minmax(150px,.6fr) minmax(200px,.75fr);
    gap: 28px;
  }
}
@media (max-width:760px) {
  .footer-loop { grid-template-columns: 1fr; gap: 18px; padding-bottom: 26px; }
  .footer-loop-form { max-width: 360px; justify-self: start; }
  .footer-directory {
    grid-template-columns: minmax(0,1.2fr) minmax(130px,.7fr) minmax(180px,.85fr);
    gap: 22px;
    width: 100%;
  }
}
@media (max-width:560px) {
  .footer { padding-bottom: 14px; }
  .footer-loop { padding: 20px 0 24px; }
  .footer-loop-copy { align-items: flex-start; }
  .footer-email-pill input { min-height: 54px; padding-inline: 18px 62px; font-size: 14px; }
  [dir="rtl"] .footer-email-pill input { padding-inline: 18px 62px; }
  .footer-email-pill button { width: 40px; height: 40px; inset-inline-end: 7px; }
  .footer-directory {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }
  .footer-link-list--browse {
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 20px;
  }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-legal { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .footer::before,
  .footer-glow,
  .footer-glow::before,
  .footer-email-pill,
  .footer-email-pill::after { animation: none; }
  .footer-email-pill,
  .footer-email-pill button,
  .footer-social-links :is(a,button),
  .footer-link { transition: none; }
}
.site-notice { position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 2000; max-width: min(90vw,480px); padding: 0; border-radius: 10px; background: #fff; color: #111; box-shadow: 0 14px 40px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: .25s ease; }
[dir="rtl"] .site-notice { transform: translate(50%,20px); }
.site-notice.visible { padding: 12px 16px; opacity: 1; transform: translate(-50%,0); }
[dir="rtl"] .site-notice.visible { transform: translate(50%,0); }
@media (hover:none), (max-width:900px) {
  .ui8-card-overlay { opacity: 1; pointer-events: auto; align-items: flex-end; justify-content: flex-start; padding: 14px; background: linear-gradient(to top,rgba(0,0,0,.45),transparent 50%); }
  .ui8-icon-btn { width: 44px; height: 44px; }
}
@media (max-width:1100px) { .nav-links { gap: 14px; } .nav-right { gap: 22px; } }
@media (max-width:900px) {
  .nav { gap: 4px; }
  .nav-right, .nav-left { display: contents; }
  .nav-links, .nav-divider, .auth-links, .lang-switcher-full, .account-menu-wrap { display: none; }
  .header-auth-actions { display: contents; }
  .brand { order: 1; flex: 0 1 auto; gap: 8px; min-width: 0; font-size: 20px; letter-spacing: 0; }
  .brand-mark { width: 34px; height: 34px; border-radius: 8px; flex: 0 0 34px; }
  .lang-switcher-sleek { order: 2; min-width: 44px; justify-content: center; gap: 4px; padding-inline: 4px; flex: 0 0 auto; }
  .lang-switcher-sleek svg { width: 17px; height: 17px; flex: 0 0 17px; }
  .lang-switcher-short { display: inline; }
  .nav-search { order: 3; margin-inline-start: auto; flex: 0 0 44px; }
  .header-favorites-btn { order: 4; flex: 0 0 44px; }
  .header-notifications-btn { order: 5; flex: 0 0 44px; }
  .cart-btn { order: 6; margin-inline-start: 0; flex: 0 0 44px; }
  .mobile-menu-btn { order: 7; display: inline-flex; flex: 0 0 44px; }
  .header:not(.header-authenticated) .cart-btn { order: 4; }
  .header:not(.header-authenticated) .mobile-menu-btn { order: 5; }
}
@media (max-width:420px) {
  .header-authenticated .container { padding-inline: 8px; }
  .header-authenticated .nav { gap: 2px; }
  .header-authenticated .brand { font-size: 16px; gap: 5px; }
  .header-authenticated .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .header-authenticated .icon-btn,
  .header-authenticated .mobile-menu-btn { width: 36px; height: 40px; flex-basis: 36px; }
  .header-authenticated .lang-switcher-sleek { min-width: 40px; min-height: 40px; font-size: 13px; }
  .header-authenticated .account-icon { width: 28px; height: 28px; }
}
@media (max-width:340px) {
  .header-authenticated .brand > span:not(.brand-mark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-authenticated .brand { flex: 0 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-dropdown,
  .mobile-drawer { transition: none; }
}

/* Global catalog search overlay */
html.search-overlay-open { overflow: hidden; }
.search-overlay {
  position: fixed;
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--text);
  background: rgba(11,11,13,.985);
}
.search-overlay::backdrop { background: rgba(0,0,0,.64); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.search-overlay-shell { width: 100%; height: 100%; max-width: 100%; display: flex; flex-direction: column; min-width: 0; }
.search-overlay-header {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  z-index: 12;
  flex: 0 0 auto;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 48px;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(20px,3vw,48px);
  background: rgba(10,10,12,.78);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.search-overlay-form {
  position: relative;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding-inline: 18px 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 16px 48px rgba(0,0,0,.18);
}
.search-overlay-form:focus-within {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88,101,242,.16), inset 0 1px rgba(255,255,255,.05);
}
.search-overlay-input-icon { width: 24px; height: 24px; flex: 0 0 24px; color: #b7b7c0; }
.search-overlay-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: clamp(17px,1.4vw,20px);
  font-weight: 700;
  line-height: 1.4;
}
.search-overlay-input::placeholder { color: #777781; opacity: 1; }
.search-overlay-input::-webkit-search-cancel-button { display: none; }
.search-overlay-clear,
.search-overlay-close,
.search-filter-sheet-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #c9c9d0;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.search-overlay-clear:hover,
.search-overlay-close:hover,
.search-filter-sheet-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.search-overlay-clear:active,
.search-overlay-close:active,
.search-filter-sheet-close:active { transform: scale(.96); }
.search-overlay-clear svg,
.search-overlay-close svg,
.search-filter-sheet-close svg { width: 22px; height: 22px; }
.search-loading-bar { position: absolute; inset-inline: 0; top: 87px; z-index: 20; height: 2px; overflow: hidden; background: rgba(255,255,255,.05); }
.search-loading-bar span { display: block; width: 36%; height: 100%; background: #5865f2; box-shadow: 0 0 14px rgba(88,101,242,.65); animation: searchLoadingSlide 1s ease-in-out infinite; }
@keyframes searchLoadingSlide { from { transform: translateX(-110%); } to { transform: translateX(310%); } }
[dir="rtl"] .search-loading-bar span { animation-name: searchLoadingSlideRtl; }
@keyframes searchLoadingSlideRtl { from { transform: translateX(110%); } to { transform: translateX(-310%); } }
.search-overlay-dynamic { width: 100%; max-width: 100%; min-width: 0; min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(250px,300px) minmax(0,1fr); overflow: hidden; }
.search-filter-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 22px 36px;
  border-inline-end: 1px solid rgba(255,255,255,.07);
  background: rgba(17,17,20,.78);
}
.search-filter-panel-inner { display: grid; gap: 28px; }
.search-filter-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-filter-panel-head h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.search-filter-sheet-close { display: none; }
.search-filter-group { display: grid; gap: 12px; }
.search-filter-group h4 { margin: 0; color: #92929c; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.search-filter-options { display: grid; gap: 7px; }
.search-filter-option {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #b7b7bf;
  font-size: 14px;
  font-weight: 780;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.search-filter-option:hover { color: #fff; background: rgba(255,255,255,.055); }
.search-filter-option.active { color: #fff; border-color: rgba(88,101,242,.48); background: rgba(88,101,242,.14); }
.search-filter-count { min-width: 26px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 7px; border-radius: 999px; color: #9c9ca6; background: rgba(255,255,255,.06); font-size: 11px; }
.search-filter-option.active .search-filter-count { color: #fff; background: rgba(88,101,242,.28); }
.search-sort-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.search-sort-option { position: relative; min-height: 44px; display: flex; align-items: center; padding: 9px 12px 9px 38px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; color: #b7b7bf; cursor: pointer; }
[dir="rtl"] .search-sort-option { padding: 9px 38px 9px 12px; }
.search-sort-option:hover { color: #fff; background: rgba(255,255,255,.04); }
.search-sort-option input { position: absolute; inset-inline-start: 13px; width: 16px; height: 16px; margin: 0; accent-color: #5865f2; }
.search-sort-option:has(input:checked) { color: #fff; border-color: rgba(88,101,242,.46); background: rgba(88,101,242,.11); }
.search-filter-featured-group { padding-top: 2px; }
.search-featured-toggle { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 4px; color: #d0d0d6; font-weight: 800; cursor: pointer; }
.search-reset-button { width: 100%; }
.search-overlay-content { width: 100%; max-width: 100%; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px,3vw,44px); }
.search-mobile-toolbar { display: none; }
.search-results-region { width: 100%; min-width: 0; max-width: 1180px; margin-inline: auto; }
.search-section-heading,
.search-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.search-section-heading h3,
.search-results-heading h3 { margin: 0; color: #fff; font-size: clamp(23px,2.3vw,34px); line-height: 1.2; }
.search-section-heading p { max-width: 720px; margin: 8px 0 0; color: #8f8f99; line-height: 1.7; }
.search-section-heading > a,
.search-inline-reset { color: #b7b7c0; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.search-section-heading > a:hover,
.search-inline-reset:hover { color: #fff; }
.search-overlay-content .search-discovery-section { margin: 0; padding: 0; }
.search-discovery-section + .search-discovery-section { margin-top: clamp(34px,5vw,64px); }
.search-suggestion-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search-suggestion-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #c7c7ce;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  font-weight: 760;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.search-suggestion-chip:hover { color: #fff; border-color: rgba(88,101,242,.58); background: rgba(88,101,242,.12); transform: translateY(-1px); }
.search-card-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.search-card-grid > * { min-width: 0; }
.search-card-grid .ui8-card-info { padding: 15px; }
.search-card-grid .ui8-info-bottom { display: none; }
.search-results-kicker { margin: 0 0 7px; color: #8e8e98; font-size: 14px; font-weight: 750; }
.search-empty-state { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 42px 24px; text-align: center; border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.search-empty-state > svg { width: 56px; height: 56px; color: #686872; }
.search-empty-state h3 { margin: 20px 0 8px; font-size: 28px; }
.search-empty-state p { max-width: 520px; margin: 0 0 24px; color: #8f8f99; line-height: 1.7; }
.search-load-more-region { display: flex; align-items: center; justify-content: center; margin-top: 34px; }
.search-load-more-button { min-width: 210px; }
.search-filter-backdrop { display: none; }
.search-active-filter-count { min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 6px; border-radius: 999px; color: #fff; background: #5865f2; font-size: 12px; }

@media (max-width: 1100px) {
  .search-overlay-dynamic { grid-template-columns: 250px minmax(0,1fr); }
  .search-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .search-overlay-header { min-height: 72px; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; padding: 10px 12px; }
  .search-overlay-form { min-height: 50px; gap: 10px; padding-inline: 13px 6px; border-radius: 14px; }
  .search-overlay-input-icon { width: 21px; height: 21px; flex-basis: 21px; }
  .search-overlay-input { font-size: 16px; }
  .search-loading-bar { top: 71px; }
  .search-overlay-dynamic { position: relative; display: block; overflow: hidden; }
  .search-overlay-content { height: 100%; padding: 16px 16px 28px; }
  .search-mobile-toolbar { display: flex; justify-content: flex-start; margin-bottom: 18px; }
  .search-mobile-filter-button { min-width: 126px; }
  .search-mobile-filter-button svg { width: 18px; height: 18px; }
  .search-filter-panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 8;
    width: min(88%,360px);
    max-width: 100%;
    padding: 20px 18px 30px;
    border-inline-end: 1px solid rgba(255,255,255,.09);
    background: #111114;
    box-shadow: 0 0 56px rgba(0,0,0,.58);
  }
  .search-filter-sheet-close { display: inline-flex; }
  .search-filter-backdrop { position: absolute; inset: 0; z-index: 7; display: block; width: 100%; height: 100%; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .search-section-heading,
  .search-results-heading { align-items: flex-start; margin-bottom: 18px; }
  .search-section-heading p { font-size: 14px; }
  .search-section-heading > a { display: none; }
  .search-inline-reset { max-width: 120px; text-align: end; }
  .search-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .search-discovery-section + .search-discovery-section { margin-top: 38px; }
  .search-suggestion-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .search-suggestion-chips::-webkit-scrollbar { display: none; }
  .search-suggestion-chip { flex: 0 0 auto; }
  .search-empty-state { min-height: 300px; }
  .search-load-more-button { width: 100%; }
}


@media (min-width: 701px) and (max-width: 900px) {
  .search-overlay-content { padding: 22px; }
  .search-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .search-suggestion-chips { flex-wrap: wrap; overflow: visible; padding-bottom: 2px; }
}

@media (max-width: 390px) {
  .search-overlay-header { padding-inline: 8px; }
  .search-overlay-clear { width: 38px; flex-basis: 38px; }
  .search-overlay-content { padding-inline: 12px; }
  .search-section-heading h3,
  .search-results-heading h3 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .search-loading-bar span { animation: none; width: 100%; }
  .search-suggestion-chip:hover { transform: none; }
}
