/* ==========================================================================
   Design tokens (extracted from Figma)
   ========================================================================== */
@font-face {
  font-family: 'Product Description';
  src: url('../../fonts/AdapterArabicText-Me.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Adapter Arabic Text';
  src: url('../../fonts/AdapterArabicText-Lt.otf') format('opentype');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: 'Handjet';
  src: url('../../fonts/Handjet-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Aclonica';
  src: url('../../fonts/Aclonica-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* نام‌های fallback قدیمی را نیز با فایل‌های خود پروژه رندر می‌کنیم. */
@font-face {
  font-family: 'Tahoma';
  src: url('../../fonts/AdapterArabicText-Lt.otf') format('opentype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../../fonts/AdapterArabicText-Lt.otf') format('opentype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Silkscreen';
  src: url('../../fonts/Handjet-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --background: #f8f7f7;
  --gray: #adadad;
  --alizarin-crimson: #de1425;
  --red: #ff0004;
  --newsletter-green: #59b955;
  --font-main: 'Adapter Arabic Text';
  --font-display: 'Handjet';
  --font-brand: 'Aclonica';
  --font-message: var(--font-display);
  --layout-rail: clamp(360px, 41.9444vw, 806px);
  --space-page: clamp(16px, 2.222vw, 42px);
  --type-scale: clamp(.86, calc(100vw / 1440), 1.28);
}

/* Dashboard-driven homepage */
.home-page .placeholder-main { display: none; }
.home-main { min-height: 60vh; padding-top: 108px; background: #fff; }
.home-status { min-height: 45vh; display: grid; place-items: center; color: #666; }
.home-hero { position: relative; width: 100%; background: #eee; overflow: hidden; }
.home-hero__slide { width: 100%; aspect-ratio: 16 / 7; }
.home-hero__slide img, .home-hero__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-hero__mobile { display: none !important; }
.home-hero__controls { position: absolute; inset-inline: 24px; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.home-icon-btn { width: 40px; height: 40px; border: 1px solid #fff; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 20px; }
.home-hero__dots { display: flex; gap: 7px; }
.home-hero__dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.home-hero__dots button.is-active { background: #fff; }
.home-intro { max-width: 1440px; margin: 0 auto; padding: 72px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); align-items: center; gap: 56px; }
.home-intro__copy h1 { margin: 0 0 22px; font-size: 52px; font-weight: 800; line-height: 1.3; }
.home-intro__copy p { max-width: 680px; margin: 0 0 28px; color: #4d4d4d; font-size: 17px; line-height: 2; white-space: pre-line; }
.home-primary-link { display: inline-flex; min-height: 48px; align-items: center; padding: 0 24px; background: #111; color: #fff; text-decoration: none; }
.home-intro__media { min-height: 360px; overflow: hidden; }
.home-intro__media img, .home-intro__media video { width: 100%; height: 100%; min-height: 360px; max-height: 680px; display: block; object-fit: cover; }
.home-intro--fullscreen { max-width: none; min-height: 75vh; position: relative; padding: 0; display: block; }
.home-intro--fullscreen .home-intro__media, .home-intro--fullscreen .home-intro__media img, .home-intro--fullscreen .home-intro__media video { display: block; min-height: 75vh; max-height: none; }
.home-intro--fullscreen .home-intro__copy { position: absolute; z-index: 1; right: 7vw; bottom: 12%; max-width: 600px; color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.45); }
.home-intro--fullscreen .home-intro__copy p { color: inherit; }
.home-products { max-width: 1440px; margin: 0 auto; padding: 72px 5vw; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.home-section-heading h2 { margin: 0; font-size: 28px; }
.home-section-heading a { color: #111; }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.home-product { min-width: 0; }
.home-product__image { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f2f2f2; }
.home-product__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-product:hover .home-product__image img { transform: scale(1.025); }
.home-product__body { padding-top: 14px; }
.home-product__body a { color: #111; font-weight: 700; text-decoration: none; }
.home-product__body p { margin: 8px 0 0; }
.home-showcase { max-width: 1440px; margin: 0 auto; padding: 24px 5vw 72px; display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.home-showcase a { display: block; height: 100%; }
.home-showcase img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-showcase__main { min-height: 600px; }
.home-showcase__small { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-bottom-grid { max-width: 1440px; margin: 0 auto; padding: 24px 5vw 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-bottom-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.home-popup { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; overflow: visible; }
.home-popup::backdrop { background: rgba(0,0,0,.62); }
.home-popup__media { overflow: hidden; background: #fff; aspect-ratio: 1; }
.home-popup__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-popup__close { position: absolute; z-index: 2; top: 8px; left: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; font-size: 27px; cursor: pointer; }
@media (max-width: 800px) {
  .home-main { padding-top: 82px; }
  .home-hero__slide { aspect-ratio: 4 / 5; }
  .home-hero__desktop:has(+ .home-hero__mobile) { display: none !important; }
  .home-hero__mobile { display: block !important; }
  .home-intro { grid-template-columns: 1fr; padding: 48px 22px; gap: 28px; }
  .home-intro__copy h1 { font-size: 36px; }
  .home-intro__media, .home-intro__media img, .home-intro__media video { min-height: 320px; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .home-products { padding: 54px 16px; }
  .home-showcase { grid-template-columns: 1fr; padding-inline: 16px; }
  .home-showcase__main { min-height: 420px; }
  .home-showcase__small { min-height: 360px; }
  .home-bottom-grid { grid-template-columns: 1fr; padding-inline: 16px; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Keep the shop viewport scrollbar on the right while its content stays RTL. */
html.shop-root {
  direction: ltr;
}

body {
  background: var(--background);
  color: var(--black);
  font-family: var(--font-main);
  direction: rtl;
}

button,
input,
textarea,
select,
option {
  font-family: inherit;
}

img,
video,
svg {
  max-width: 100%;
}

[role="status"], [role="alert"], .message, .toast, .error-msg, .home-status, .pdp-buy-message {
  font-family: var(--font-message);
}

/* Shared public-site feedback, matching the login success/error popups. */
.auth-toast {
  position: fixed;
  z-index: 1200;
  right: 50px;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
}

.auth-toast[hidden] {
  display: none;
}

.auth-toast__body {
  display: flex;
  width: auto;
  min-width: 263px;
  height: 70px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 24px 20px;
  overflow: hidden;
  border: 5px solid var(--black);
  border-radius: 26px;
  background: #ff779d;
  box-shadow: 3px 3px 0 var(--black);
}

.auth-toast--success .auth-toast__body {
  background: #00e996;
}

.auth-toast__message {
  display: flex;
  width: auto;
  min-width: 203px;
  height: 26px;
  align-items: flex-end;
  justify-content: center;
  color: var(--black);
  font-family: 'Handjet', sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 800;
  font-variation-settings: 'ELGR' 1, 'ELSH' 2;
  line-height: 100%;
  letter-spacing: .46px;
  text-align: center;
  vertical-align: bottom;
  white-space: nowrap;
  opacity: 1;
}

.auth-toast__close {
  position: absolute;
  top: -30px;
  right: -30px;
  display: grid;
  width: 70px;
  height: 70px;
  padding: 1px;
  place-items: center;
  overflow: hidden;
  border: 4px solid var(--black);
  border-radius: 50%;
  background: #e6e6e5;
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.auth-toast__close img {
  display: block;
  width: 37.5px;
  height: 37.5px;
  transition: filter 160ms ease;
}

.auth-toast__close:hover,
.auth-toast__close:focus-visible {
  background: var(--black);
}

.auth-toast__close:hover img,
.auth-toast__close:focus-visible img {
  filter: invert(1);
}

@media (max-width: 760px) {
  .auth-toast {
    right: 34px;
    bottom: 24px;
    width: min(420px, calc(100vw - 54px));
    max-width: none;
  }

  .auth-toast__body {
    width: 100%;
    min-width: 0;
    min-height: 70px;
    height: auto;
    max-width: 100%;
    padding: 14px 34px 14px 16px;
  }

  .auth-toast__message {
    width: 100%;
    min-width: 0;
    height: auto;
    font-size: 19px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .auth-toast {
    right: 26px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: calc(100vw - 42px);
  }

  .auth-toast__body {
    min-height: 60px;
    padding: 12px 30px 12px 14px;
    border-width: 4px;
    border-radius: 22px;
  }

  .auth-toast__close {
    top: -24px;
    right: -22px;
    width: 56px;
    height: 56px;
    border-width: 3px;
  }

  .auth-toast__close img {
    width: 29px;
    height: 29px;
  }

  .auth-toast__message {
    font-size: 18px;
  }
}

main {
 margin-top: 120px; 
}

.icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: block;
}

.icon--sm {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  display: flex;
  align-items: flex-start;
  background: var(--background);
  position: relative;
  flex-direction: row-reverse;
  margin: 0;
  padding: 0;
}

.header-main {
  flex: 1 0 0;
  min-width: 0;
  height: 104px;
  border-bottom: 1px solid var(--black);
  overflow: hidden;
  position: relative;
}

/* Ticker tape */
.ticker-tape {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  width: 100%;
  background-color: #f7f7f7;
  border-bottom: 1px solid var(--black);
  overflow: hidden;
  position: relative;
}

.ticker-tape__track {
  position: absolute;
  top: -1px;
  left: 0;
  height: 54px;
  width: max-content;
  display: flex;
  direction: ltr;
  will-change: transform;
  animation: ticker-scroll 69.3s linear infinite;
}

.ticker-tape__track img {
  width: auto;
  height: 54px;
  max-width: none;
  flex: 0 0 auto;
  display: block;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-tape__track { animation-play-state: paused; }
}

/* Nav */
.site-nav {
  position: absolute;
  top: 52px;
  left: calc(var(--layout-rail) - 56px);
  transform: none;
  width: 280px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  transition: width 280ms ease;
      flex-direction: row-reverse;
}

.site-nav.is-player-open { width: 616px; }

.nav-item {
  width: 56px;
  height: 52px;
  border-left: 1px solid var(--black);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  color: var(--black);
  font-family: var(--font-main);
  font-size: 14px;
  transition: background-color 160ms ease;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item--player[aria-expanded="true"] {
  background-color: #eaf592;
}

.player-tools {
  width: 0;
  height: 52px;
  flex: 0 0 0;
  display: flex;
  direction: ltr;
  overflow: hidden;
  background: #eaf592;
  opacity: 0;
  visibility: hidden;
  transition: width 280ms ease, flex-basis 280ms ease, opacity 180ms ease, visibility 0s linear 280ms;
}

.site-nav.is-player-open .player-tools {
  width: 336px;
  flex-basis: 336px;
  opacity: 1;
  visibility: visible;
  transition: width 280ms ease, flex-basis 280ms ease, opacity 180ms ease;
}

.player-tool {
  width: 56px;
  height: 52px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.player-tool img { width: 32px; height: 32px; display: block; }
.player-tool:hover,
.player-tool:focus-visible { background: rgba(255, 255, 255, .28); }

.header-icon-tooltip {
  position: fixed;
  z-index: 1200;
  width: 154px;
  height: 56px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 5px solid #e4c1f9;
  border-radius: 100px;
  background: #fcfa62;
  color: var(--black);
  font-family: 'Adapter Arabic Text', Tahoma, sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  pointer-events: none;
}

.header-icon-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-search {
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.nav-item--search {
  width: 56px;
  position: relative;
  z-index: 2;
}

.nav-search__input {
  position: absolute;
  left: 64px;
  top: 0;
  width: 328px;
  height: 42px;
  border: 0;
  border-bottom: 1px solid var(--black);
  outline: 0;
  background: transparent;
  color: var(--black);
  padding: 0;
  font-family: var(--font-main);
  font-size: 16px;
  direction: rtl;
  text-align: right;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease, opacity 180ms ease, visibility 0s linear 280ms;
  z-index: 1;
}

.header-main.search-open .nav-search__input {
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
  transition: transform 280ms ease, opacity 180ms ease;
}

/* Cart */
.cart-badge {
  width: 160px;
  height: 104px;
  flex-shrink: 0;
  opacity: 1;
  transform: rotate(0deg);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cart-badge__count,
.cart-badge__total {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  transform: none;
  color: #fa90b3;
  text-shadow: 3px 2px 0px #b50000;
  transition: opacity 160ms ease;
}

.cart-badge__count {
  font-family: 'Aclonica', sans-serif;
  font-size: 44px;
  font-weight: 400;
  transform: translateY(3px);
}

.cart-badge__total {
  font-family: 'Aclonica', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .05em;
  transform: translateY(3px);
  opacity: 0;
}

.cart-badge:hover .cart-badge__count,
.cart-badge:focus-visible .cart-badge__count { opacity: 0; }
.cart-badge:hover .cart-badge__total:not(:empty),
.cart-badge:focus-visible .cart-badge__total:not(:empty) { opacity: 1; }

.cart-badge__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.cart-badge__overlay--hover { opacity: 0; }
.cart-badge:hover .cart-badge__overlay--hover,
.cart-badge:focus-visible .cart-badge__overlay--hover { opacity: 1; }

.cart-badge__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  transform: none;
  pointer-events: none;
}

.cart-badge__line {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 4px;
  background: #fa90b3;
  box-shadow: 4px 3px 0 #b50000;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cart-badge__line--top {
  margin-top: -30px;
}

.cart-badge__line--bottom {
  margin-top: 30px;
}

/* Cart panel slides in from the right directly below the shared header. */
.cart-overlay {
  --cart-yellow: #ffd700;
  --cart-black: #1a1a1a;
  --cart-blue: #0711ff;
  --cart-muted: #4d4a33;
  --cart-row-size: clamp(52px, 5vw, 72px);
  position: fixed;
  top: 104px;
  right: 0;
  bottom: 0;
  left: 599px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  direction: rtl;
  border-left: 1px solid var(--cart-black);
  background: var(--cart-yellow);
  color: var(--cart-black);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 440ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 440ms;
  will-change: transform;
}

.cart-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.cart-overlay[hidden] {
  display: none;
}

.cart-overlay .cart-header {
  display: flex;
  justify-content: flex-end;
  padding: clamp(12px, 1.3889vw, 20px) clamp(12px, 1.6667vw, 24px);
  border-bottom: 1px solid var(--cart-black);
      flex-direction: row-reverse;
}

.cart-overlay .cart-title {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  white-space: nowrap;
}

.cart-overlay .title-main,
.cart-overlay .title-suffix {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: clamp(31px, 3.1944vw, 46px);
  color: var(--cart-black);
  font-family: 'Adapter Arabic Text', var(--font-main);
  font-size: clamp(27px, 3.1944vw, 46px);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  -webkit-text-stroke: .45px currentColor;
  paint-order: stroke fill;
  white-space: nowrap;
}

.cart-overlay .title-main {
  width: auto;
  justify-content: flex-end;
}

.cart-overlay .title-suffix {
  width: auto;
  justify-content: center;
}

.cart-overlay .cart-items {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cart-overlay .cart-items::-webkit-scrollbar {
  display: none;
}

.cart-overlay .cart-row {
  display: grid;
  grid-template-columns: var(--cart-row-size) repeat(3, minmax(0, 1fr));
  min-height: var(--cart-row-size);
  height: var(--cart-row-size);
  border-bottom: 1px solid var(--cart-black);
  overflow: hidden;
}

.cart-overlay .item-media {
  display: block;
  width: var(--cart-row-size);
  height: var(--cart-row-size);
  overflow: hidden;
  border-left: 1px solid var(--cart-black);
}

.cart-overlay .item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-overlay .cart-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(2px, .2778vw, 4px) clamp(4px, .5556vw, 8px);
  border-left: 0;
}

.cart-overlay .cart-row > div:last-child {
  border-left: 0;
}

.cart-overlay .cart-row > .item-info {
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
}

.cart-overlay .item-info .item-identity {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.cart-overlay .item-info .name {
  max-width: 100%;
  overflow: hidden;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: clamp(11px, 1.1111vw, 16px);
  font-weight: 700;
  line-height: 1;
}

.cart-overlay .item-info .product-code {
  color: var(--cart-black);
  max-width: 100%;
  overflow: hidden;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: clamp(10.5px, 1.0514vw, 15.14px);
  font-weight: 400;
  line-height: 1;
}

.cart-overlay .item-info .unit-price {
  margin-top: 0;
  color: var(--cart-black);
  max-width: 100%;
  overflow: hidden;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: clamp(10.5px, 1.0514vw, 15.14px);
  font-weight: 400;
  line-height: 1;
}

.cart-overlay .item-qty {
  gap: clamp(2px, .5556vw, 8px);
  transform: translateX(-50px);
}

.cart-overlay .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 1.9444vw, 28px);
  height: clamp(20px, 1.9444vw, 28px);
  padding: 0 6px;
  border: 1px solid var(--cart-black);
  border-radius: 999px;
  background: transparent;
  box-shadow: 1.5px 1.5px 0 var(--cart-black);
  color: var(--cart-black);
  font-family: inherit;
  font-size: clamp(11px, 1.1111vw, 16px);
  line-height: 1;
  cursor: pointer;
}

.cart-overlay .qty-input {
  width: clamp(30px, 4.1667vw, 60px);
  height: clamp(20px, 1.9444vw, 28px);
  padding: 0 2px 2px;
  border: 1px solid var(--cart-black);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--cart-black);
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  appearance: textfield;
}

.cart-overlay .qty-input::-webkit-inner-spin-button,
.cart-overlay .qty-input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.cart-overlay .cart-row > .item-total {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  direction: ltr;
  text-align: left;
}

.cart-overlay .total-price {
  max-width: 100%;
  overflow: hidden;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: clamp(10.5px, 1.0514vw, 15.14px);
  font-weight: 400;
}

.cart-overlay .remove-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cart-black);
  font-family: inherit;
  font-size: clamp(10.5px, 1.0514vw, 15.14px);
  font-weight: 400;
  direction: rtl;
  text-decoration: none;
  cursor: pointer;
}

.cart-overlay .cart-empty {
  display: grid;
  height: 100%;
  min-height: 180px;
  place-items: center;
  padding: 32px;
  color: rgba(26, 26, 26, .2);
  font-family: 'Silkscreen', 'Handjet', monospace;
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 500;
  
  direction: ltr;
  user-select: none;
}

.cart-overlay .cart-footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: clamp(8px, 1.1111vw, 16px);
  padding: clamp(12px, 2.2222vw, 32px);
  border-top: 0;
}

.cart-overlay .footer-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(150px, 20.4167vw, 294px);
  min-width: clamp(150px, 20.4167vw, 294px);
}

.cart-overlay .total-row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 4px;
  height: clamp(36px, 3.3333vw, 48px);
}

.cart-overlay .total-value {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 clamp(8px, 1.6667vw, 24px) 0 clamp(4px, .5556vw, 8px);
  background: var(--cart-blue);
  color: #fff;
  font-size: clamp(16px, 1.6667vw, 24px);
  font-weight: 800;
}

.cart-overlay .total-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(4px, .5556vw, 8px) clamp(2px, .2778vw, 4px) clamp(8px, 1.6667vw, 24px);
  border: 1px solid var(--cart-black);
  font-size: clamp(11px, 1.1111vw, 16px);
  font-weight: 700;
}

.cart-overlay .checkout-btn {
  width: 100%;
  height: clamp(36px, 3.3333vw, 48px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cart-black);
  background: var(--cart-black);
  color: #fff;
  font-family: inherit;
  font-size: clamp(17px, 1.8056vw, 26px);
  font-weight: 800;
  cursor: pointer;
}

.cart-overlay .checkout-btn:disabled {
  cursor: default;
  opacity: 1;
}

.cart-overlay.is-empty .cart-footer {
  display: block;
  padding: 32px;
  border-top: 0;
}

.cart-overlay.is-empty .footer-summary {
  width: 100%;
  gap: 4px;
}

.cart-overlay.is-empty .total-row {
  height: 48px;
  gap: 4px;
}

.cart-overlay.is-empty .total-value {
  flex: 1;
  padding: 0 24px 0 8px;
  border: 1px solid var(--cart-black);
  background: transparent;
}

.cart-overlay.is-empty .total-label {
  padding: 0 8px 4px 24px;
}

.cart-overlay.is-empty .checkout-btn {
  width: 100%;
  height: 48px;
  padding: 0;
  font-size: 24px;
}

.cart-overlay.is-empty .footer-note {
  display: none;
}

.cart-overlay .footer-note {
  flex: 1;
  max-width: none;
  font-family: 'Handjet', var(--font-main);
  min-width: 0;
  font-size: clamp(10px, 1.3194vw, 19px);
  line-height: 1.4;
  text-align: justify;
}

.cart-overlay .poem-row {
  display: flex;
  gap: clamp(4px, 1.3889vw, 20px);
}

.cart-overlay .author {
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .cart-overlay {
    left: 42vw;
  }
}

@media (max-width: 760px) {
  .cart-overlay {
    left: 0;
  }
}

@media (max-width: 680px) {
  .cart-overlay .cart-header,
  .cart-overlay .cart-footer {
    padding: clamp(12px, 2.2222vw, 16px);
  }

  .cart-overlay .title-main,
  .cart-overlay .title-suffix {
    width: auto;
    height: auto;
  }

  .cart-overlay .title-suffix {
    margin-right: 12px;
  }

}

/* ==========================================================================
   Menu button
   ========================================================================== */
.menu-button {
  position: fixed;
  top: 18px;
  left: 40px;
  z-index: 20;
  width: 227px;
  height: 188px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button__icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: saturate(var(--menu-hologram-saturation, 1)) hue-rotate(var(--menu-hologram-hue, 0deg)) brightness(var(--menu-hologram-brightness, 1));
  will-change: filter;
}

@media (prefers-reduced-motion: reduce) {
  .menu-button__icon { filter: none; }
}

.menu-button__icon--default {
  opacity: 1;
}

.menu-button__icon--hover {
  opacity: 0;
}

.menu-button:hover .menu-button__icon--default,
.menu-button:focus-visible .menu-button__icon--default {
  opacity: 0;
}

.menu-button:hover .menu-button__icon--hover,
.menu-button:focus-visible .menu-button__icon--hover {
  opacity: 1;
}

/* ==========================================================================
   Filters
   ========================================================================== */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 26px;
}

.filters__group {
  display: flex;
  align-items: center;
  padding: 8px 0;
  gap: 0;
}

.filter-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 48px;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border: 1px solid var(--black);
  background: var(--background);
  padding: 0 8px;
  box-sizing: border-box;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  color: var(--black);
  cursor: pointer;
  position: relative;
}

.filters__group > .filter-dropdown + .filter-dropdown,
.filters__group > .filter-dropdown-wrap + .filter-dropdown-wrap > .filter-dropdown {
  border-right: 1px solid var(--black);
  padding-right: 8px;
}

.filters__group > .filter-dropdown + .filter-dropdown,
.filters__group > .filter-dropdown-wrap + .filter-dropdown-wrap {
  margin-inline-start: 16px;
}

.filter-dropdown.is-open::after {
  content: '';
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 167px;
  height: 165px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--black);
  background: var(--background);
  box-sizing: border-box;
  opacity: 1;
  transform: rotate(0deg);
  z-index: 30;
}

.filter-dropdown .caret {
  transition: transform 0.2s ease;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
}

.filter-checkbox input {
  display: none;
}

.filter-checkbox__box {
  width: 23.5px;
  height: 23.5px;
  border: 1.5px solid var(--black);
  border-radius: 3px;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 23.5px;
  background: transparent;
}

.filter-checkbox input:checked + .filter-checkbox__box {
  background: var(--black);
}

.filter-checkbox input:checked + .filter-checkbox__box::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 11px;
  left: 7px;
  top: 3px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox:has(input:checked) > span:last-child {
  color: #0711FF;
}

.filters__clear {
  width: 91px;
  height: 29px;
  gap: 4px;
  opacity: 1;
  padding-right: 8px;
  padding-left: 8px;
  border: 1px solid var(--black);
  background: transparent;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.filters__clear.is-active {
  color: #0711FF;
}

/* Category browser: axes are the same percentage positions as Home and Player. */
.shop-page {
  --shop-category-axis-left: calc(var(--layout-rail) - 56px);
  --shop-category-axis-right: calc(var(--layout-rail) + 169px);
}

.shop-category-browser {
  width: 100%;
  height: 812px;
  display: grid;
  grid-template-columns:
    var(--shop-category-axis-left)
    calc(var(--shop-category-axis-right) - var(--shop-category-axis-left))
    calc(100% - var(--shop-category-axis-right));
  direction: ltr;
  overflow: hidden;
  border-top: 1px solid var(--black);
  background: var(--background);
}

.shop-category-browser[hidden] {
  display: none;
}

.shop-category-browser__art {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-bottom: 56px;
  overflow: hidden;
  background: var(--background);
}

.shop-category-browser__art::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 660px;
  left: 0;
  border-top: 1px solid var(--black);
}

.shop-category-browser__art img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
}

.shop-category-browser__subcategories,
.shop-category-browser__categories {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}

.shop-category-browser__subcategories {
  margin-left: 6px;
  border-right: 0;
  border-left: 1px solid var(--black);
}

.shop-category-browser__categories {
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
}

.shop-category-browser__subcategories::-webkit-scrollbar,
.shop-category-browser__categories::-webkit-scrollbar {
  display: none;
}

.shop-category-browser__category,
.shop-category-browser__subcategory {
  width: 100%;
  min-height: 0;
  flex: 1 0 0;
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  background: var(--background);
  color: var(--black);
  font-family: var(--font-main);
  cursor: pointer;
}

.shop-category-browser__category {
  height: 76.5px;
  min-height: 76.5px;
  flex: 0 0 76.5px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
  text-align: center;
  font-family: 'Adapter Arabic Text';
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  leading-trim: none;
  line-height: 100%;
  letter-spacing: 0;
}

.shop-category-browser__category:first-child {
  height: 200px;
  min-height: 200px;
  flex-basis: 200px;
}

.shop-category-browser__subcategory {
  min-height: 200px;
  flex: 1 0 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  direction: ltr;
  text-align: left;
  font-family: 'Adapter Arabic Text';
  font-weight: 800;
  font-style: normal;
  font-size: 56px;
  leading-trim: none;
  line-height: 100%;
  letter-spacing: 0;
}

.shop-category-browser__category-copy,
.shop-category-browser__category-line {
  display: block;
}

.shop-category-browser__category-copy {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-inline: auto;
  direction: ltr;
  text-align: left;
}

.shop-category-browser__category-line {
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shop-category-browser__category-line--fa {
  direction: ltr;
  text-align: left;
}

.shop-category-browser__category-line--en {
  direction: ltr;
  text-align: left;
}

.shop-category-browser__subcategory-copy {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  direction: ltr;
  white-space: normal;
  overflow-wrap: anywhere;
}

.shop-category-browser__subcategory-en {
  direction: ltr;
  text-align: left;
}

.shop-category-browser__subcategory-fa {
  direction: rtl;
  text-align: right;
}

.shop-category-browser__subcategory-separator {
  direction: ltr;
}

.shop-category-browser__subcategory small {
  color: inherit;
  font: inherit;
}

.shop-category-browser__category:hover,
.shop-category-browser__category:focus-visible,
.shop-category-browser__category.is-active {
  background: var(--black);
  color: var(--white);
}

.shop-category-browser__all-products {
  flex-direction: column;
}

.shop-category-browser__all-products:hover,
.shop-category-browser__all-products:focus-visible,
.shop-category-browser__all-products.is-active {
  background: var(--black);
  color: var(--white);
}

.shop-category-browser__subcategory:hover,
.shop-category-browser__subcategory:focus-visible,
.shop-category-browser__subcategory.is-active {
  background: #0711FF;
  color: var(--white);
}

.shop-category-browser__category.is-empty,
.shop-category-browser__subcategory.is-empty {
  pointer-events: none;
}

/* ==========================================================================
   Product grid
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.shop-feature-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #eee;
}

.shop-feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shop-banners {
  width: 100%;
  display: grid;
  gap: 12px;
}

.shop-banners--middle {
  grid-column: 1 / -1;
}

.shop-banner {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.shop-banner__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shop-banner__media--mobile {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--black);
  border-left: 1px solid var(--black);
  position: relative;
  height: auto;
  aspect-ratio: 480 / 608;
  background: var(--background);
}

#productGrid .product-card::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0 solid var(--black);
  pointer-events: none;
  transition: border-width 360ms cubic-bezier(.22, 1, .36, 1);
}

#productGrid .product-card:hover::after {
  border-width: 2px;
  border-bottom-width: 1px;
}

.product-card:nth-child(-n + 3) {
  border-top: 1px solid var(--black);
}

.product-card__image-wrap {
  flex: 1 0 0;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black);
  padding: 40px;
}

.product-card__image {
  aspect-ratio: 1 / 1;
  flex: 1 0 0;
  width: 100%;
  object-fit: contain;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  direction: ltr;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 16px;
  width: 100%;
}

#productGrid .product-card__body {
  padding-block: 8px;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-card__colors {
  display: flex;
  gap: 4px;
  align-items: center;
  cursor: pointer;
}

.color-dot {
  position: relative;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
  appearance: none;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,0.15);
  display: block;
  cursor: pointer;
}

.color-dot--dual {
  background: none !important;
}

.color-dot--dual::before,
.color-dot--dual::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
}

.color-dot--dual::before {
  left: 0;
  background: var(--swatch-primary);
}

.color-dot--dual::after {
  right: 0;
  background: var(--swatch-secondary);
}

.color-dot.is-selected {
  border: 0.5px solid var(--black);
}

.color-dot.is-rotating {
  animation: color-dot-quarter-turn 240ms ease-out forwards;
}

#productGrid .color-dot,
.search-products-grid .color-dot {
  display: grid;
  place-items: center;
  border: 0;
  clip-path: none;
  overflow: visible;
  background: transparent;
}

#productGrid .color-dot__swatch,
.search-products-grid .color-dot__swatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch-primary);
  transform: rotate(0deg);
  transition: width 360ms ease, height 360ms ease, transform 360ms ease;
}

#productGrid .color-dot--dual .color-dot__swatch,
.search-products-grid .color-dot--dual .color-dot__swatch {
  background: linear-gradient(90deg, var(--swatch-primary) 0 50%, var(--swatch-secondary) 50% 100%);
}

#productGrid .color-dot--dual::before,
#productGrid .color-dot--dual::after,
.search-products-grid .color-dot--dual::before,
.search-products-grid .color-dot--dual::after {
  content: none;
}

#productGrid .color-dot:hover .color-dot__swatch,
#productGrid .color-dot:focus-visible .color-dot__swatch,
.search-products-grid .color-dot:hover .color-dot__swatch,
.search-products-grid .color-dot:focus-visible .color-dot__swatch {
  transform: rotate(90deg);
}

#productGrid .color-dot.is-selected,
.search-products-grid .color-dot.is-selected {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--black);
  animation: none;
  transform: none;
}

#productGrid .color-dot.is-selected .color-dot__swatch,
.search-products-grid .color-dot.is-selected .color-dot__swatch {
  width: 80%;
  height: 80%;
}

#productGrid .color-dot.is-rotating,
.search-products-grid .color-dot.is-rotating {
  animation: none;
  transform: none;
}

@keyframes color-dot-quarter-turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .color-dot.is-rotating { animation-duration: 1ms; }
}

.product-card__selected-color {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-card__image {
  transition: opacity 160ms ease;
}

.product-card__image.is-changing-color {
  opacity: .35;
}

.product-card__price {
  margin: 0;
  font-size: 24px;
  font-family: 'Product Description', 'Adapter Arabic Text', sans-serif;
  font-weight: 400;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.product-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-card__title-row .product-card__title {
  align-self: center;
}

.product-card__title {
  flex: 1 0 0;
  min-width: 0;
  font-family: 'Adapter Arabic Text', Tahoma, sans-serif;
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wishlist-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--black);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.wishlist-btn__vector {
  position: absolute;
  width: 6px;
  height: 51px;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* The triangle base sits exactly on the outside edge of the right border. */
.wishlist-btn__vector--right {
  right: -4.4px;
  top: -1px;
}

/* Bottom teeth: reverse the vector along its long axis, then rotate it so
   the teeth point outward and the special end meets the bottom-right corner.
   The SVG's triangle base is at x=2.445px, aligned to the 1px border center. */
.wishlist-btn__vector--bottom {
  left: -1px;
  top: 44px;
  transform: rotate(90deg) scaleY(-1);
  transform-origin: top left;
}

.wishlist-btn__heart {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.product-card__discount {
  position: absolute;
  top: 24px;
  right: 0;
  left: auto;
  width: 92px;
  height: 58px;
  background: var(--red);
  color: var(--white);
  font-weight: bold;
  font-size: 28px;
  letter-spacing: -1.4px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
  background: var(--newsletter-green);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 20px 0;
  gap: 16px;
  min-height: 129px;
}

.newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--black);
  transform: translateX(-0.5px);
  pointer-events: none;
  z-index: 2;
}

.newsletter__figure {
  position: absolute;
  left: 0px;
  right: auto;
  top: -30px;
  width: 220px;
  height: auto;
  pointer-events: none;
}

.newsletter__text {
  border-left: 1px solid var(--black);
  padding: 24px;
  color: var(--white);
  font-weight: bold;
  text-align: left;
}

.newsletter__title {
  font-size: 34px;
  line-height: 1;
}

.newsletter__subtitle {
  font-size: 24px;
  line-height: 1;
}

.newsletter__form {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px 0 24px;
  order: -1;
}

.newsletter__input {
  width: 500px;
  max-width: 40vw;
  height: 48px;
  border: 1px solid var(--black);
  padding: 0 12px;
  font-family: var(--font-main);
  font-size: 18px;
  background: #ffd814;
}

.newsletter__submit {
  width: 100px;
  height: 48px;
  gap: 4px;
  opacity: 1;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-left: 16px;
  border: 1px solid var(--black);
  background: var(--white);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.newsletter__enter-icon {
  position: absolute;
  width: 18.376033782958984px;
  height: 23.628372192382812px;
  right: 18px;
  bottom: 8px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.newsletter__enter-icon--success {
  width: 28px;
  height: 36px;
  right: 30%;
  bottom: 50%;
  transform: translate(50%, 50%);
}

.newsletter__submit:disabled {
  cursor: wait;
}

/* ========================================================================== 
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  box-sizing: border-box;
  border-top: 1px solid var(--black);
}

[data-site-footer] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.site-footer__art {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.site-footer__copyright {
  position: absolute;
  left: calc(70% + 50px);
  bottom: 3px;
  z-index: 2;
  margin: 0;
  color: var(--black);
  font-family: monospace;
  font-size: clamp(12px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.product-card__title {
  color: inherit;
  text-decoration: none;
}

/* Shared empty-page shell: only the approved header and footer are rendered. */
.shell-page .placeholder-main {
  min-height: max(620px, calc(100vh - 224px));
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-feature-tile {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 3 / 4;
  }
  .site-nav {
    position: static;
    width: 100%;
  }
  .site-nav.is-player-open { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .newsletter__input {
    max-width: none;
    flex: 1;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-banner:has(.shop-banner__media--mobile) {
    aspect-ratio: 3 / 4;
  }
  .shop-banner__media--desktop:has(+ .shop-banner__media--mobile) {
    display: none;
  }
  .shop-banner__media--mobile {
    display: block;
  }
  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter__text {
    border-left: none;
    border-bottom: 1px solid var(--black);
    text-align: center;
    align-items: center;
  }
  .newsletter__form {
    flex-direction: column;
    padding: 16px;
  }
  .newsletter__input {
    width: 100%;
  }
}

/* Requested refinements */
.filter-dropdown > svg:first-child {
  display: none;
}

.nav-item--home {
  border-left: 1px solid var(--black);
}

/* Real dropdown panel content */
.filter-dropdown.is-open::after {
  content: none;
}

.filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 167px;
  height: 165px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--black);
  background: var(--background);
  box-sizing: border-box;
  opacity: 1;
  transform: rotate(0deg);
  z-index: 30;
}

.filter-dropdown.is-open + .filter-dropdown__panel {
  display: flex;
}

.filter-dropdown__panel--colors {
  width: max-content;
  max-width: calc(100vw - 16px);
  height: auto;
  max-height: min(637px, calc(100vh - 180px));
  gap: 0;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--black);
  background: var(--background);
  scrollbar-width: none;
}

.filter-dropdown__panel--colors::-webkit-scrollbar {
  display: none;
}

.filter-dropdown__color-option {
  width: max-content;
  min-width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  direction: ltr;
  box-sizing: border-box;
  cursor: pointer;
}

.filter-dropdown__color-name {
  margin-right: 2px;
  color: var(--black);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.filter-dropdown__color-swatch {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--filter-color);
}

.filter-dropdown__color-option input {
  display: none;
}

.filter-dropdown__color-check {
  position: relative;
  width: 23.5px;
  height: 23.5px;
  flex: 0 0 23.5px;
  border: 1.5px solid var(--black);
  border-radius: 3px;
  background: transparent;
  box-sizing: border-box;
}

.filter-dropdown__color-option input:checked + .filter-dropdown__color-check {
  border-color: var(--black);
  background: var(--black);
}

.filter-dropdown__color-option input:checked + .filter-dropdown__color-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-dropdown__color-clear-area {
  width: 100%;
  padding: 16px 8px;
  box-sizing: border-box;
}

.filter-dropdown__color-clear {
  width: 100%;
  height: 29px;
  padding: 0 8px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #aaa;
  background: transparent;
  color: #aaa;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.32px;
  cursor: default;
}

.filter-dropdown__color-clear.is-active {
  border-color: var(--black);
  color: var(--black);
  cursor: pointer;
}

.filter-dropdown__option {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.35;
  text-align: right;
  cursor: pointer;
  white-space: nowrap;
}

.filter-dropdown__option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.filter-dropdown__option--check {
  cursor: pointer;
}

.filter-dropdown__option--check input {
  display: none;
}

.filter-dropdown__check-box {
  width: 23.5px;
  height: 23.5px;
  flex: 0 0 23.5px;
  border: 1.5px solid var(--black);
  border-radius: 3px;
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.filter-dropdown__option--check input:checked + .filter-dropdown__check-box {
  background: var(--black);
}

.filter-dropdown__option--check input:checked + .filter-dropdown__check-box::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 11px;
  left: 7px;
  top: 3px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* Material filter clear button */
.filter-dropdown__material-clear {
  position: absolute;
  right: 12px;
  bottom: 20px;
  width: 143px;
  height: 29px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

/* Newsletter artwork refinement */
.newsletter {
  background: #ffd814;
}

.newsletter__text {
  position: absolute;
  top: 20px;
  right: calc(50% + 24px);
  left: auto;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
      align-items: flex-start;
}

.newsletter__title,
.newsletter__subtitle {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.newsletter__title-art {
  display: block;
  width: 234px;
  height: 56px;
}

.newsletter__subtitle-art {
  display: block;
  width: 301px;
  height: 29px;
}

/* Ensure footer unicorn artwork is visible */
.newsletter__figure {
  display: block;
  z-index: 3;
  object-fit: contain;
  transform-origin: 50% 70%;
  filter: saturate(var(--newsletter-hologram-saturation, 1.15)) hue-rotate(var(--newsletter-hologram-hue, 0deg)) brightness(var(--newsletter-hologram-brightness, 1)) contrast(var(--newsletter-hologram-contrast, 1.03));
  animation: newsletter-figure-twitch 3s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes newsletter-figure-twitch {
  0%, 93%, 100% { transform: rotate(0deg); }
  95% { transform: rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter__figure {
    animation: none;
    filter: none;
    transform: none;
  }
}

/* Search results panel */
.search-results {
  position: fixed;
  width: 451px;
  height: 463px;
  top: 104px;
  right: 159px;
  left: auto;
  opacity: 1;
  display: none;
  background: var(--background);
  z-index: 40;
}

.search-results.is-open {
  display: block;
}

.cart-badge__count[hidden],
.cart-badge__icon[hidden] {
  display: none !important;
}

/* Shared borders are drawn only once so separators never become 2px. */
.search-results__section-title,
.search-results__item {
  width: 100%;
  box-sizing: border-box;
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.search-results__section-title:first-child {
  border-top: 1px solid var(--black);
}

.search-results__section-title {
  height: 32px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  leading-trim: none;
}

.search-results__item {
  height: 57px;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  leading-trim: none;
}

.search-results__item--product {
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
}

.search-results__thumb {
  width: 57px;
  height: 56px;
  flex: 0 0 57px;
  box-sizing: border-box;
  border-left: 1px solid var(--black);
  background: var(--background);
}

.search-results__content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  leading-trim: none;
}

.search-results__all {
  cursor: pointer;
  position: relative;
}

.search-results__all-arrow {
  position: absolute;
  right: 144px;
  top: 16px;
  display: block;
  pointer-events: none;
}

/* Search panel spacing */
.search-results {
  background: var(--background);
}

.search-results__item,
.search-results__thumb,
.search-results__content {
  background: var(--background);
}

.search-results__section-title {
  justify-content: flex-start;
  padding-right: 8px;
  padding-left: 8px;
  text-align: right;
}

.search-results__item:not(.search-results__item--product) {
  justify-content: flex-start;
  padding-right: 8px;
  padding-left: 8px;
  text-align: right;
}

.search-results__content {
  justify-content: flex-start;
  padding-right: 8px;
  padding-left: 8px;
  text-align: right;
}

/* Only the final "view all search results" row is blue. */
.search-results__all {
  background: var(--Blue, #0711FF);
  color: var(--white);
}

.search-results__all-arrow {
  position: static;
  right: auto;
  top: auto;
  margin-right: 16px;
  flex: 0 0 auto;
}

/* Optional content fields added later inside search rows. */
.search-results__field {
  margin-right: 16px;
}

/* The product/news areas keep exactly three 57px rows visible. Additional
   matches remain usable through an internal, visually hidden scrollbar. */
.search-results__products,
.search-results__news {
  width: 100%;
  height: 171px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.search-results__products::-webkit-scrollbar,
.search-results__news::-webkit-scrollbar {
  display: none;
}

.search-results__item {
  color: var(--black);
  text-decoration: none;
}

.search-results__thumb {
  display: block;
  padding: 4px;
  object-fit: contain;
}

.search-results__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  direction: rtl;
}

.search-results__product-name {
  width: 100%;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-results__product-code {
  direction: ltr;
  font-family: 'Adapter Arabic Text', sans-serif;
  font-size: 15.14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 100%;
  white-space: nowrap;
}

.search-results__news-item,
.search-results__empty {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.search-results__news-item {
  color: inherit;
  text-decoration: none;
}

.search-results__item--product:hover,
.search-results__item--product:hover .search-results__thumb,
.search-results__item--product:hover .search-results__content,
.search-results__news-item:hover {
  background: #eaf592;
}

.search-results__all {
  text-decoration: none;
}

.search-results a.search-results__all,
.search-results a.search-results__all:visited {
  color: var(--white);
}

/* Footer-aware sticky shared header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  will-change: transform;
}

/* Keep the existing fixed menu control above the sticky header. */
.menu-button {
  z-index: 1100;
  will-change: transform;
}

/* ========================================================================== 
   Fluid public layout
   ========================================================================== */
@media (min-width: 1441px) {
  .home-intro__copy h1 { font-size: clamp(52px, 3.61vw, 70px); }
  .home-intro__copy p { font-size: clamp(17px, 1.18vw, 23px); }
  .home-section-heading h2 { font-size: clamp(28px, 1.95vw, 38px); }
  .product-card__title { font-size: clamp(40px, 2.78vw, 54px); }
  .cart-overlay .title-main,
  .cart-overlay .title-suffix { font-size: clamp(46px, 3.2vw, 62px); }
}

@media (min-width: 993px) {
  .cart-overlay { left: var(--layout-rail); }
}

@media (max-width: 992px) {
  .site-header { height: 92px; }
  .header-main { height: 92px; }
  .ticker-tape { height: 46px; min-height: 46px; max-height: 46px; }
  .ticker-tape__track,
  .ticker-tape__track img { height: 48px; }
  .site-nav { position: absolute; top: 46px; left: 0; width: 100%; height: 46px; }
  .nav-item,
  .nav-search,
  .player-tools,
  .player-tool { height: 46px; }
  .nav-item,
  .nav-search,
  .nav-item--search,
  .player-tool { width: 50px; min-width: 50px; flex-basis: 50px; }
  .site-nav.is-player-open .player-tools { width: min(300px, calc(100vw - 250px)); flex-basis: min(300px, calc(100vw - 250px)); }
  .cart-badge { width: 128px; height: 92px; }
  .cart-badge__count { font-size: 36px; }
  .cart-badge__total { font-size: 20px; }
  .cart-badge__line { width: 76px; }
  .cart-badge__line--top { margin-top: -25px; }
  .cart-badge__line--bottom { margin-top: 25px; }
  .cart-overlay { top: 92px; }
  .search-results { top: 92px; right: 127px; width: min(466px, calc(100vw - 127px)); }
  .home-main { padding-top: 0; }
  .home-intro { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding-block: clamp(40px, 7vw, 72px); }
  .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-showcase { grid-template-columns: 1fr; }
  .home-showcase__main { min-height: 50vw; }
}

@media (max-width: 760px) {
  :root { --space-page: 16px; }
  .site-header { height: 78px; }
  .header-main { height: 78px; }
  .ticker-tape { height: 39px; min-height: 39px; max-height: 39px; }
  .ticker-tape__track,
  .ticker-tape__track img { height: 41px; }
  .site-nav { top: 39px; height: 39px; overflow: visible; }
  .nav-item,
  .nav-search,
  .player-tools,
  .player-tool { height: 39px; }
  .nav-item,
  .nav-search,
  .nav-item--search,
  .player-tool { width: 42px; min-width: 42px; flex-basis: 42px; padding: 7px; }
  .icon,
  .player-tool img { width: 25px; height: 25px; }
  .site-nav.is-player-open { position: fixed; inset: 39px 0 auto; z-index: 5; background: var(--background); }
  .site-nav.is-player-open .player-tools { width: calc(100vw - 210px); flex-basis: calc(100vw - 210px); overflow-x: auto; }
  .nav-search__input { left: 46px; width: min(250px, calc(100vw - 110px)); height: 35px; }
  .cart-badge { width: 92px; height: 78px; }
  .cart-badge__icon { width: 31px; height: 31px; }
  .cart-badge__line { width: 58px; height: 3px; }
  .cart-badge__line--top { margin-top: -21px; }
  .cart-badge__line--bottom { margin-top: 21px; }
  .cart-badge__count { font-size: 29px; text-shadow: 2px 2px 0 #b50000; }
  .cart-badge__total { font-size: 15px; }
  .cart-overlay { top: 78px; }
  .search-results { top: 78px; right: 91px; width: min(466px, calc(100vw - 91px)); }
  .home-intro { grid-template-columns: 1fr; padding: 40px 16px; gap: 28px; }
  .home-intro__copy h1 { font-size: clamp(34px, 10vw, 48px); }
  .home-intro__media,
  .home-intro__media img,
  .home-intro__media video { min-height: 75vw; }
  .home-products { padding: 44px 16px; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-showcase,
  .home-bottom-grid { padding-inline: 16px; }
  .cart-overlay .cart-row { grid-template-columns: var(--cart-row-size) repeat(3,minmax(0,1fr)); height:var(--cart-row-size); min-height:var(--cart-row-size); }
  .cart-overlay .item-media { display:block; width:var(--cart-row-size); height:var(--cart-row-size); border-left:1px solid var(--cart-black); }
  .cart-overlay .item-total { display:flex; }
  .cart-overlay .footer-summary { width:clamp(150px,40vw,294px); min-width:clamp(150px,40vw,294px); }
}

@media (max-width: 420px) {
  .nav-item--lang { display:none; }
  .site-nav.is-player-open .player-tools { width: calc(100vw - 168px); flex-basis: calc(100vw - 168px); }
  .cart-overlay .cart-header,
  .cart-overlay .cart-footer { padding: 12px; }
  .cart-overlay .title-main,
  .cart-overlay .title-suffix { font-size: 27px; }
}

@media (max-width: 992px) {
  .shop-page {
    --shop-category-axis-left: 0px;
    --shop-category-axis-right: 200px;
  }
}

@media (max-width: 760px) {
  .shop-page {
    --shop-category-axis-right: 168px;
  }
}
