/* ADAWAT shop commerce tokens â mirrors Next storefront */

:root {
  --brand: #ff9200;
  --brand-hot: #ff903d;
  --ink: #040b1d;
  --ink-soft: #12151c;
  --muted: #919191;
  --line: #e5e5e5;
  --surface: #fcfcfc;
  --surface-2: #f0f0f0;
  --success: #daf2e8;
  --success-text: #047857;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --white: #ffffff;
  --shop-radius: 1rem;
  --shop-max: 96rem;
  --shop-gutter: clamp(1rem, 2.5vw, 2rem);
  /* Latin display: Oswald (loaded in shop.html). Arabic: self-hosted Ubuntu Arabic only — never fall to a Latin face. */
  --shop-font: "Adawat Arabic", "Oswald", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --shop-arabic: "Ubuntu Arabic", "Segoe UI", Tahoma, sans-serif;
  --scrollbar-thumb-idle: color-mix(in srgb, var(--brand) 20%, transparent);
  --scrollbar-thumb: color-mix(in srgb, var(--brand) 38%, transparent);
  --scrollbar-thumb-hover: color-mix(in srgb, var(--brand) 62%, transparent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Avoid painting fallback faces until webfonts settle (or timeout). */
html.fonts-pending {
  background: var(--surface, #fcfcfc);
}

html.fonts-pending body {
  opacity: 0;
  background: var(--surface, #fcfcfc);
}

html.fonts-ready body {
  opacity: 1;
  transition: opacity 0.18s ease;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--shop-font);
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

#root {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
}

body:has(.shop-biz-shell) {
  background: var(--neutral-50, var(--surface-2));
}

#root:has(.shop-biz-shell) {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Dark veil during EN/AR locale switch only */
html.is-locale-out::after,
html.is-locale-in::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #040b1d;
  pointer-events: none;
}

html.is-locale-out::after {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s ease;
}

html.is-locale-in::after {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.is-locale-out::after,
  html.is-locale-in::after {
    transition: none;
  }
}

html.shop-mode-b2b.is-locale-out::after,
html.shop-mode-b2b.is-locale-in::after {
  background: var(--neutral-50, #f6f7f9);
}

html.is-session-out #root,
html.is-session-in #root {
  transition:
    opacity 0.32s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-session-out #root {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

html.is-session-in #root {
  animation: shop-page-enter 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html.is-session-out #root,
  html.is-session-in #root {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

body.ui-ar,
html.locale-ar body {
  font-family: var(--shop-arabic);
}

h1,
h2,
h3,
h4,
.shop-brand {
  font-family: var(--shop-font);
  line-height: 1.2;
  font-weight: 700;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

img {
  max-width: 100%;
  display: block;
}

.shop-container {
  width: 100%;
  max-width: var(--shop-max);
  margin-inline: auto;
  padding-inline: max(var(--shop-gutter), env(safe-area-inset-left, 0px))
    max(var(--shop-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* ââ Market shell ââ */
.shop-market {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow-x: clip;
  --shop-chrome-offset: 7rem;
}

@media (min-width: 720px) {
  .shop-market {
    --shop-chrome-offset: 7.5rem;
  }
}

@media (min-width: 960px) {
  .shop-market {
    --shop-chrome-offset: 8.25rem;
  }
}

.shop-topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
}

.shop-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
}

.shop-topbar__promo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  min-width: 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.85);
}

.shop-topbar__promo > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-topbar__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.shop-topbar__call {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.shop-topbar__call:hover {
  color: var(--brand);
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  padding-top: env(safe-area-inset-top, 0px);
}

.shop-header {
  position: relative;
  z-index: 1;
  background: rgba(252, 252, 252, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.shop-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  min-height: 4.25rem;
  min-width: 0;
}

.shop-header__leading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.05rem;
  min-width: 0;
}

.shop-header__start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  min-width: 0;
}

.shop-header__search {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 22rem;
}

.shop-header__locale-desktop {
  display: none;
}

.shop-header__locale-mobile {
  display: block;
}

.shop-header__menu-toggle {
  display: inline-grid;
}

.shop-account-menu {
  position: relative;
}

.shop-account-menu__trigger.is-open,
.shop-account-menu__trigger:hover {
  color: var(--brand);
}

.shop-account-menu__panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 120;
  min-width: 11.5rem;
  transform-origin: top right;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.25rem 0;
  box-shadow: 0 12px 32px rgba(4, 11, 29, 0.12);
  animation: shop-menu-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-account-menu__panel {
    animation: shop-menu-in-reduced 0.12s ease both;
  }

  @keyframes shop-menu-in-reduced {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

[dir="rtl"] .shop-account-menu__panel {
  transform-origin: top left;
}

@media (max-width: 719px) {
  .shop-account-menu {
    position: static;
  }

  .shop-account-menu__panel {
    inset-inline-end: 0;
    top: 100%;
    min-width: min(16rem, 100vw);
    width: min(16rem, 100vw);
    max-width: 100vw;
    border-radius: 0;
    border-inline-end: 0;
    transform-origin: top right;
  }

  [dir="rtl"] .shop-account-menu__panel {
    transform-origin: top left;
  }

  .shop-account-menu__panel button,
  .shop-account-menu__meta {
    text-align: center;
  }
}

.shop-account-menu__meta {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-account-menu__panel button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.65rem 0.85rem;
  text-align: start;
  font-size: 0.875rem;
  color: var(--ink);
}

.shop-account-menu__panel button:hover {
  background: var(--surface-2);
  color: var(--brand);
}

.shop-brand {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  padding: 0;
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
}

.shop-brand span,
.shop-brand--footer span {
  color: var(--brand);
}

.shop-brand--footer {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  overflow: visible;
  text-overflow: unset;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
}

.shop-footer .shop-brand,
.shop-footer .shop-brand--footer {
  color: #fff;
}

.shop-footer .shop-brand span,
.shop-footer .shop-brand--footer span {
  color: var(--brand);
}

.shop-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  flex: 0 1 auto;
  min-width: 0;
}

.shop-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  padding: 0 0.7rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.shop-nav button:hover {
  color: var(--ink);
  background: transparent;
}

.shop-nav button.is-active {
  color: var(--ink);
  background: transparent;
  font-weight: 650;
}

.shop-nav button.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.55rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--brand);
}

.shop-nav button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.shop-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

.shop-locale {
  --shop-locale-pad: 0.2rem;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: 2.25rem;
  min-width: 5.75rem;
  padding: var(--shop-locale-pad);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-sizing: border-box;
  isolation: isolate;
  /* Keep EN | AR order and thumb motion stable in RTL pages */
  direction: ltr;
  unicode-bidi: isolate;
}

.shop-locale__thumb {
  position: absolute;
  top: var(--shop-locale-pad);
  bottom: var(--shop-locale-pad);
  left: var(--shop-locale-pad);
  width: calc(50% - var(--shop-locale-pad));
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 1px 4px rgba(4, 11, 29, 0.18);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.shop-locale.is-ar .shop-locale__thumb {
  transform: translateX(100%);
}

.shop-locale button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0 0.85rem;
  min-width: 2.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.shop-locale button:hover {
  color: var(--ink);
}

.shop-locale button.is-active {
  color: #fff;
}

.shop-locale--dark {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.shop-locale--dark .shop-locale__thumb {
  background: var(--brand);
}

.shop-locale--dark button {
  color: rgba(255, 255, 255, 0.55);
}

.shop-locale--dark button:hover {
  color: #fff;
}

.shop-locale--dark button.is-active {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .shop-locale__thumb {
    transition: none;
  }
}

.shop-main {
  flex: 1;
  min-width: 0;
  overflow-x: clip;
}

.shop-market .shop-main,
.shop-market .shop-page-transition {
  min-height: calc(100dvh - var(--shop-chrome-offset, 7rem));
}

.shop-home:not(.is-ready) .shop-home__below {
  opacity: 0;
  pointer-events: none;
}

.shop-home.is-ready .shop-home__below {
  opacity: 1;
  transition: opacity 0.28s ease;
}

.shop-home__below > .shop-section,
.shop-home__below > .shop-product-sections,
.shop-home__below > .shop-flash,
.shop-home__below > .shop-values,
.shop-home__below > .shop-promo,
.shop-home__below > [style*="min-height"] {
  content-visibility: auto;
  contain-intrinsic-size: auto 20rem;
}

.shop-home__status {
  padding: 2rem 0;
}

.shop-footer {
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  padding: 0;
  border-top: 3px solid var(--brand);
}

.shop-footer__grid {
  display: grid;
  gap: 2rem 1.75rem;
  align-items: start;
  padding: 2rem 0 1.75rem;
}

@media (min-width: 640px) {
  .shop-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .shop-footer__grid {
    grid-template-columns:
      minmax(14rem, 1.35fr)
      minmax(8rem, 0.75fr)
      minmax(9rem, 0.9fr)
      minmax(12rem, 1.1fr);
    gap: 2rem 2.25rem;
  }
}

.shop-footer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.shop-footer__brand .shop-brand--footer {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 0.95;
}

.shop-footer__tagline {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  max-width: 22rem;
}

.shop-footer__contact {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 18rem;
}

.shop-footer__contact-link {
  display: grid;
  grid-template-columns: 1.05rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.shop-footer__contact-link svg {
  width: 1.05rem;
  height: 1.05rem;
  justify-self: center;
  color: var(--brand);
}

.shop-footer__contact-link > :last-child {
  min-width: 0;
  text-align: start;
}

.shop-footer__contact-link:hover {
  color: var(--brand);
}

.shop-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.shop-footer__col h4 {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.shop-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
}

.shop-footer button,
.shop-footer .shop-footer__link-muted {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  text-align: start;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.shop-footer button:hover {
  color: var(--brand);
}

.shop-footer__link-muted {
  color: rgba(255, 255, 255, 0.48);
  cursor: default;
}

.shop-footer__connect {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
}

.shop-footer__connect-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
}

.shop-footer__connect h4 {
  width: auto;
}

.shop-footer__hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 16rem;
}

.shop-footer__apps {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.55rem;
  width: 100%;
  max-width: 12.5rem;
}

@media (min-width: 480px) {
  .shop-footer__apps {
    max-width: 12.5rem;
  }
}

.shop-footer__apps a {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: center;
  column-gap: 0.75rem;
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 0.7rem 0.95rem;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.shop-footer__apps a svg {
  justify-self: center;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  color: inherit;
  display: block;
  flex-shrink: 0;
}

.shop-footer__apps a span {
  display: grid;
  gap: 0.15rem;
  font-family: var(--shop-font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.shop-footer__apps a small {
  font-family: var(--shop-font);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.shop-footer__apps a:hover {
  border-color: var(--brand);
  background: rgba(255, 146, 0, 0.08);
  color: #fff;
}

.shop-footer__follow {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-width: 0;
}

.shop-footer__follow-label {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.shop-footer__handle {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.shop-footer__social {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.shop-footer__social-link,
.shop-footer__social-link:link,
.shop-footer__social-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  line-height: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.shop-footer__social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  color: inherit;
  display: block;
}

.shop-footer__social-link:hover,
.shop-footer__social-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.shop-footer__social-link--facebook:hover,
.shop-footer__social-link--facebook:focus-visible {
  color: #1877f2;
}

.shop-footer__social-link--instagram:hover,
.shop-footer__social-link--instagram:focus-visible {
  color: #e4405f;
}

.shop-footer__social-link--linkedin:hover,
.shop-footer__social-link--linkedin:focus-visible {
  color: #0a66c2;
}

.shop-footer__bottom {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.shop-footer__bottom p,
.shop-footer__copy,
.shop-footer__regions {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.shop-footer__follow {
  flex: 1 1 auto;
  justify-content: center;
}

html.locale-ar .shop-footer__col h4,
html.locale-ar .shop-footer__apps a span,
html.locale-ar .shop-footer__apps a small,
html.locale-ar .shop-footer__follow-label,
html.locale-ar .shop-footer__handle {
  font-family: var(--shop-arabic);
  letter-spacing: 0.04em;
}

html.locale-ar .shop-footer__follow-label {
  letter-spacing: 0.06em;
  text-transform: none;
}

/* —— B2B shop shell (layout from shell.css) —— */
.shop-biz-shell .shop-biz-shell__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.15rem 0.25rem;
  cursor: pointer;
  font-family: var(--font-display, var(--shop-font));
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--neutral-900, var(--ink));
  text-align: start;
}

.shop-biz-shell .shop-biz-shell__brand-full {
  display: inline;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-biz-shell .shop-biz-shell__brand-mark {
  display: none;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--primary-500, var(--brand)) 14%, #fff);
  color: var(--primary-500, var(--brand));
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.shop-biz-shell .shop-biz-shell__brand-accent {
  color: var(--primary-500, var(--brand));
  font-weight: 700;
}

/* Collapsed desktop rail: text brand overflows into the topbar — use monogram. */
@media (min-width: 901px) {
  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shell-brand {
    justify-content: center;
    overflow: hidden;
    padding-inline: 0.4rem;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shop-biz-shell__brand {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shop-biz-shell__brand-full {
    display: none;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shop-biz-shell__brand-mark {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shell-nav {
    justify-items: center;
    align-content: start;
    padding: 0.65rem 0.3rem;
    overflow-x: hidden;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shell-nav-link {
    justify-content: center;
    align-items: center;
    width: 2.7rem;
    max-width: 100%;
    margin-inline: auto;
    gap: 0;
    padding: 0.55rem 0;
    box-sizing: border-box;
  }

  .shop-biz-shell.is-sidebar-collapsed:not(.is-sidebar-peek) .shell-nav-link.is-active {
    padding: 0.5rem 0;
  }
}

.shop-biz-shell .shell-sidebar {
  background: #fafbfc;
  height: 100dvh;
  overflow: hidden;
}

.shop-biz-shell .shell-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.shop-biz-shell .shell-brand {
  flex-shrink: 0;
  justify-content: flex-start;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .shop-biz-shell .shell-brand {
    padding-inline-end: 2.75rem;
  }

  .shop-biz-shell .shell-sidebar-close {
    z-index: 2;
  }
}

.shop-biz-shell {
  -webkit-user-select: none;
  user-select: none;
}

.shop-biz-shell input,
.shop-biz-shell textarea,
.shop-biz-shell select,
.shop-biz-shell .shop-selectable,
.shop-biz-shell [data-selectable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.shop-biz-shell .shell-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 0.15rem;
  padding: 0.85rem 0.8rem 0.65rem;
  align-content: start;
}

.shop-biz-shell .shell-sidebar-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

.shop-biz-shell .shell-nav-link {
  border-radius: 0.45rem;
  margin-inline: 0;
  padding: 0.62rem 0.8rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  box-shadow: none;
}

.shop-biz-shell .shell-nav-link::before {
  display: none;
}

.shop-biz-shell .shell-nav-link .shell-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--muted);
}

.shop-biz-shell .shell-nav-link:hover {
  background: color-mix(in srgb, var(--ink) 4%, #fff);
  color: var(--ink);
  box-shadow: none;
}

.shop-biz-shell .shell-nav-link:hover::before {
  display: none;
}

.shop-biz-shell .shell-nav-link:hover .shell-icon {
  color: var(--ink);
}

.shop-biz-shell .shell-nav-link.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.04);
}

.shop-biz-shell .shell-nav-link.is-active::before {
  display: none;
}

.shop-biz-shell .shell-nav-link.is-active:hover {
  background: #fff;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.04);
}

.shop-biz-shell .shell-nav-link.is-active .shell-icon,
.shop-biz-shell .shell-nav-link.is-active:hover .shell-icon {
  color: var(--brand);
}

.shop-biz-shell .shell-nav-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, white);
  outline-offset: 1px;
  background: color-mix(in srgb, var(--ink) 4%, #fff);
  color: var(--ink);
}

.shop-biz-shell .shell-logout {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.62rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.shop-biz-shell .shell-logout:hover:not(:disabled) {
  background: color-mix(in srgb, var(--danger-text) 6%, #fff);
  border-color: color-mix(in srgb, var(--danger-text) 25%, var(--line));
  color: var(--danger-text);
  box-shadow: none;
}

.shop-biz-shell .shell-logout.is-busy,
.shop-biz-shell .shell-logout:disabled {
  opacity: 0.55;
  cursor: wait;
}

.shop-biz-shell .shop-biz-shell__company {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-biz-shell .shell-topbar.shop-biz-shell__topbar {
  gap: 0.75rem;
  min-height: 3.5rem;
  padding-inline: 1rem 1.15rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.shop-biz-shell .shop-biz-shell__topbar-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 26rem;
  margin-inline: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
}

.shop-biz-search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 0.45rem;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-biz-search:hover {
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
}

.shop-biz-search:focus-within {
  background: #fff;
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-biz-search__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  flex: 0 0 auto;
  color: var(--muted);
  pointer-events: none;
}

.shop-biz-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding-block: 0;
  padding-inline: 0 0.55rem;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--ink);
  outline: none;
}

.shop-biz-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
}

.shop-biz-search__submit {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  margin: 0;
  border-radius: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease;
}

.shop-biz-search__submit:hover {
  filter: brightness(0.94);
}

.shop-biz-search__submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.shop-biz-shell .shop-shell-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: auto;
  flex-shrink: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shop-biz-shell .shop-locale {
  height: 2.1rem;
  min-width: 5.1rem;
  border: 0;
  background: transparent;
}

.shop-biz-shell .shop-locale button {
  padding: 0 0.7rem;
  font-size: 0.7rem;
}

.shop-biz-shell .shop-shell-cart-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.shop-biz-shell .shop-shell-cart-wrap::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 1.25rem;
  margin-inline: 0.15rem;
  background: var(--line);
}

.shop-biz-shell .shell-content {
  background: #f4f5f7;
  min-width: 0;
  --shop-category-sticky-top: 0;
  --shop-category-sticky-max-height: calc(
    100dvh - var(--shell-topbar-height, 3.75rem) -
      (var(--shell-content-pad, 1.5rem) * 2)
  );
}

.shop-biz-shell .shell-content .shop-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-width: 0;
}

.shop-biz-shell .shop-biz-shell__search-mobile {
  display: none;
}

.shop-biz-search-trigger .shell-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.shop-biz-search-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: start;
  pointer-events: none;
}

.shop-biz-search-layer.is-open {
  pointer-events: auto;
}

.shop-biz-search-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, #040b1d 46%, transparent);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.shop-biz-search-layer.is-open .shop-biz-search-backdrop {
  opacity: 1;
}

.shop-biz-search-popover {
  position: relative;
  z-index: 1;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(4, 11, 29, 0.14);
  transform: translate3d(0, -1rem, 0);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.shop-biz-search-layer.is-open .shop-biz-search-popover {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.shop-biz-search-popover .shop-search__panel {
  opacity: 0;
  transform: translateY(-0.4rem);
  transition:
    opacity 0.28s ease 0.08s,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.shop-biz-search-layer.is-open .shop-biz-search-popover .shop-search__panel {
  opacity: 1;
  transform: none;
}

.shop-biz-search--popup {
  width: 100%;
  height: 2.65rem;
}

.shop-biz-search__close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.shop-biz-search__close:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, #fff);
}

@media (max-width: 900px) {
  .shop-biz-shell .shell-topbar.shop-biz-shell__topbar {
    flex-wrap: nowrap;
    row-gap: 0;
    min-height: 3.5rem;
    padding-block: 0.55rem;
  }

  .shop-biz-shell .shop-biz-shell__topbar-search {
    display: none;
  }

  .shop-biz-shell .shop-biz-shell__search-mobile {
    display: inline-flex;
    align-items: center;
  }
}

.shop-biz-shell .shop-shell-cart-btn {
  position: relative;
}

.shop-biz-shell .shop-shell-cart-badge {
  position: absolute;
  top: 0.05rem;
  inset-inline-end: 0.05rem;
  display: grid;
  place-items: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--primary-500, var(--brand));
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--neutral-0);
  pointer-events: none;
  transform-origin: center;
}

.shop-biz-shell .shop-shell-cart-badge.is-bump {
  animation: shop-cart-badge-bump 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-biz-shell .shop-shell-cart-wrap:has(.shop-shell-cart-badge.is-bump) .shop-shell-cart-btn {
  animation: shop-cart-icon-nudge 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-cart-badge-bump {
  0% { transform: scale(1); }
  28% { transform: scale(1.45); }
  55% { transform: scale(0.88); }
  100% { transform: scale(1); }
}

@keyframes shop-cart-icon-nudge {
  0%, 100% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-8deg) scale(1.06); }
  55% { transform: rotate(6deg) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-biz-shell .shop-shell-cart-badge.is-bump,
  .shop-biz-shell .shop-shell-cart-wrap:has(.shop-shell-cart-badge.is-bump) .shop-shell-cart-btn {
    animation: none;
  }

  .shop-biz-search-backdrop,
  .shop-biz-search-popover,
  .shop-biz-search-popover .shop-search__panel {
    transition: none;
  }

  .shop-biz-search-layer .shop-biz-search-backdrop,
  .shop-biz-search-layer .shop-biz-search-popover,
  .shop-biz-search-layer .shop-biz-search-popover .shop-search__panel {
    opacity: 1;
    transform: none;
  }
}

/* Brand rail sits inside B2B overview without fighting shell padding */
.shop-biz-shell .shop-brand-rail,
.shop-biz-shell .shop-brand-rail--biz {
  margin-block: 0.15rem 0.85rem;
  padding: 0.85rem 0 0.35rem;
  background: transparent;
  border: 0;
  min-width: 0;
  max-width: 100%;
}

.shop-biz-shell .shop-brand-rail .shop-container,
.shop-biz-shell .shop-brand-rail--biz .shop-container {
  padding-inline: 0;
  max-width: none;
  min-width: 0;
  width: 100%;
}

.shop-brand-rail__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.shop-brand-rail__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shop-brand-rail__nav[hidden] {
  display: none !important;
}

.shop-brand-rail--biz .shop-brand-rail__head {
  margin-bottom: 0.75rem;
}

.shop-brand-rail--biz .shop-brand-rail__head h2 {
  font-size: 1.05rem;
}

.shop-brand-rail--biz .shop-brand-rail__nav .shop-brand-rail__arrow {
  position: static;
  display: grid;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  box-shadow: none;
}

.shop-brand-rail--biz .shop-brand-rail__wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.shop-brand-rail--biz .shop-brand-rail__row {
  display: flex;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.1rem 0 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shop-brand-rail--biz .shop-brand-rail__item {
  width: 5.5rem;
  flex: 0 0 5.5rem;
  gap: 0.35rem;
  min-width: 0;
}

.shop-brand-rail--biz .shop-brand-rail__logo {
  width: 5.5rem;
  height: 4.1rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
}

.shop-brand-rail--biz .shop-brand-rail__logo img,
.shop-brand-rail--biz .shop-brand-rail__logo .shop-img--logo > img {
  max-width: 90%;
  max-height: 86%;
}

.shop-brand-rail--biz .shop-brand-rail__label {
  max-width: 100%;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-brand-rail--biz .shop-brand-rail__item:hover .shop-brand-rail__logo {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: 0 4px 14px rgba(4, 11, 29, 0.06);
}

/* Filter/browse portals must sit above the B2B sidebar drawer */
.shop-mode-b2b .shop-filters-sheet,
.shop-mode-b2b .shop-browse-sheet {
  z-index: 400;
}

.shop-drawer__thumb .shop-img,
.shop-amz-order__thumb .shop-img {
  width: 100%;
  height: 100%;
}

.shop-biz-shell .shell-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-100, var(--line));
}

.shop-biz-shell .shell-page-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ââ B2B shared page layout ââ */
.shop-b2b-page {
  display: grid;
  gap: 1.25rem;
}

.shop-b2b-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.shop-b2b-panel--compact {
  padding: 0.85rem 1rem;
}

.shop-b2b-panel--form {
  padding: 1.25rem 1.35rem 1.35rem;
}

.shop-b2b-panel--error {
  padding: 1rem 1.1rem;
  border-color: color-mix(in srgb, var(--danger, #c0392b) 35%, var(--line));
  background: color-mix(in srgb, var(--danger, #c0392b) 6%, white);
}

.shop-b2b-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 0.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.shop-b2b-page-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.shop-b2b-page-head__lede {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-b2b-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-b2b-banner {
  margin: 0;
  border-radius: 0.65rem;
}

.shop-b2b-terms {
  margin: 0;
  border-radius: 0.65rem;
}

.shop-b2b-empty {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 14rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
}

.shop-b2b-empty__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
}

.shop-b2b-empty__message {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.shop-b2b-empty__action {
  margin-top: 0.35rem;
}

.shop-b2b-empty__action .shop-btn {
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 0.45rem;
  min-width: 10rem;
}

.shop-btn--b2b {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}

.shop-btn--b2b:hover:not(:disabled) {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: #fff;
}

.shop-btn--b2b:active:not(:disabled) {
  background: #000;
  border-color: #000;
}

/* —— Orders page —— */
.shop-orders-page {
  display: grid;
  gap: 1.15rem;
}

.shop-orders-page__head {
  margin-bottom: 0;
}

.shop-orders-page__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-orders-page__lede {
  margin: 0.4rem 0 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.shop-orders-page__banner {
  margin: 0;
}

.shop-orders-toolbar {
  display: grid;
  gap: 0.85rem;
}

.shop-orders-toolbar--b2b {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
}

.shop-orders-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.28rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  width: fit-content;
  max-width: 100%;
}

.shop-orders-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.52rem 0.9rem;
  border-radius: 0.4rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-orders-tabs__btn:hover {
  color: var(--ink);
}

.shop-orders-tabs__btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(4, 11, 29, 0.08);
}

.shop-orders-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.shop-orders-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
  height: 2.35rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--muted);
}

.shop-orders-search:focus-within {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-orders-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
  outline: none;
}

.shop-orders-range {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.shop-orders-range__label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.shop-orders-range__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 10.5rem;
  height: 2.35rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-orders-range__trigger:hover {
  border-color: color-mix(in srgb, var(--ink) 14%, var(--line));
}

.shop-orders-range.is-open .shop-orders-range__trigger,
.shop-orders-range__trigger:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
  outline: none;
}

.shop-orders-range__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-orders-range__chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.18s ease;
}

.shop-orders-range.is-open .shop-orders-range__chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.shop-orders-range__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-end: 0;
  z-index: 30;
  min-width: 100%;
  width: max(100%, 12.5rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  box-shadow:
    0 8px 24px rgba(4, 11, 29, 0.1),
    0 1px 2px rgba(4, 11, 29, 0.04);
}

.shop-orders-range__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}

.shop-orders-range__option:hover {
  background: color-mix(in srgb, var(--ink) 4%, #fff);
}

.shop-orders-range__option.is-active {
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: color-mix(in srgb, var(--brand) 72%, var(--ink));
}

.shop-orders-range__option.is-active svg {
  flex-shrink: 0;
  color: var(--brand);
}

.shop-orders-stage {
  min-height: 8rem;
}

.shop-orders-empty {
  display: grid;
  gap: 1.25rem;
}

.shop-orders-empty__panel {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
}

.shop-orders-empty__panel--filter {
  max-width: 36rem;
}

.shop-orders-empty__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: var(--surface-2);
  color: var(--muted);
}

.shop-orders-empty__copy {
  display: grid;
  gap: 0.45rem;
}

.shop-orders-empty__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
}

.shop-orders-empty__body {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
}

.shop-orders-empty__tips {
  margin: 0.35rem 0 0;
  padding-inline-start: 1.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.shop-orders-empty__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.shop-orders-start {
  display: grid;
  gap: 1rem;
}

.shop-orders-start__head {
  display: grid;
  gap: 0.35rem;
}

.shop-orders-start__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.shop-orders-start__head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.shop-orders-start__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.75rem;
}

.shop-orders-start__card {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  min-height: 5.25rem;
  padding: 1rem 1.05rem;
  text-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.shop-orders-start__card:hover {
  border-color: color-mix(in srgb, var(--brand, #e85d04) 45%, var(--line));
  box-shadow: 0 4px 14px rgba(4, 11, 29, 0.06);
  transform: translateY(-1px);
}

.shop-orders-start__card:focus-visible {
  outline: 2px solid var(--brand, #e85d04);
  outline-offset: 2px;
}

.shop-orders-start__card-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
}

.shop-orders-start__card-hint {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
}

.shop-orders-list {
  display: grid;
  gap: 1rem;
}

.shop-orders-list__count {
  margin: 0;
  font-size: 0.8125rem;
}

.shop-amz-order {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
}

.shop-amz-order__meta {
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.shop-amz-order__meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: start;
}

.shop-amz-order__meta-cell {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  justify-items: start;
}

.shop-amz-order__meta-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-amz-order__meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.shop-amz-order__meta-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
}

.shop-amz-order__meta-cell--status .shop-order-status {
  margin-top: 0.2rem;
}

.shop-amz-order__order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.shop-amz-order__body {
  display: grid;
  align-content: start;
  gap: 1.35rem;
  padding: 1rem;
}

.shop-amz-order__body.has-panel .shop-amz-order__lines {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.shop-order-status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-order-status--on_hold {
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: color-mix(in srgb, var(--brand) 78%, #000);
}

.shop-order-status--prepared {
  background: color-mix(in srgb, #2563eb 10%, #fff);
  color: #1d4ed8;
}

.shop-order-status--shipped {
  background: color-mix(in srgb, #2563eb 12%, #fff);
  color: #1d4ed8;
}

.shop-order-status--delivered {
  background: color-mix(in srgb, #059669 12%, #fff);
  color: #047857;
}

.shop-order-status--late {
  background: color-mix(in srgb, var(--danger-text) 12%, #fff);
  color: var(--danger-text);
}

.shop-amz-order__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.shop-amz-order__line {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.shop-amz-order__line:first-child {
  padding-top: 0;
  border-top: 0;
}

.shop-amz-order__thumb {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.shop-amz-order__thumb-fallback {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.shop-amz-order__line-main {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  min-width: 0;
}

.shop-amz-order__title {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}

.shop-amz-order__title:hover {
  color: var(--brand);
}

.shop-amz-order__qty {
  margin: 0;
  font-size: 0.8125rem;
}

.shop-amz-order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.shop-amz-order__action {
  min-height: 2.1rem;
  padding-inline: 0.85rem;
  font-size: 0.78rem;
}

.shop-amz-order__action.is-active {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  color: var(--brand);
}

@media (max-width: 720px) {
  .shop-orders-page {
    gap: 0.85rem;
  }

  .shop-orders-page .shop-page-head {
    align-items: start;
    gap: 0.65rem;
  }

  .shop-orders-page__lede {
    display: none;
  }

  .shop-orders-page__head .shop-btn {
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
  }

  .shop-orders-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .shop-orders-tabs::-webkit-scrollbar {
    display: none;
  }

  .shop-orders-tabs__btn {
    flex: 0 0 auto;
  }

  .shop-orders-empty__cta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
  }

  .shop-orders-empty__cta .shop-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.65rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .shop-orders-toolbar__filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .shop-orders-search {
    flex: none;
    min-width: 0;
    width: 100%;
  }

  .shop-orders-range {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .shop-orders-range__trigger {
    min-width: 0;
    width: 100%;
  }

  .shop-amz-order__meta {
    padding: 0.75rem 0.8rem;
  }

  .shop-amz-order__body {
    gap: 1.5rem;
    padding: 0.85rem 0.8rem 1.15rem;
  }

  .shop-amz-order__body.has-panel .shop-amz-order__lines {
    padding-top: 1.25rem;
  }

  .shop-amz-order__meta-cell--status {
    grid-column: 1 / -1;
  }

  .shop-amz-order__order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .shop-amz-order__order-actions .shop-amz-order__action:first-child {
    grid-column: 1 / -1;
  }

  .shop-amz-order__order-actions .shop-amz-order__action,
  .shop-amz-order__actions .shop-amz-order__action {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.65rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8125rem;
  }

  .shop-amz-order__line {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .shop-amz-order__thumb {
    width: 3.75rem;
    height: 3.75rem;
  }

  .shop-amz-order__title {
    font-size: 0.88rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .shop-amz-order__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
  }
}

.shop-order-track {
  margin: 0;
}

.shop-order-track__inner {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--ink) 2%, #fff);
}

.shop-order-track__title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
}

.shop-order-track__late {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: color-mix(in srgb, #b45309 80%, var(--ink));
}

.shop-order-track__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  position: relative;
}

.shop-order-track__step {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  position: relative;
}

.shop-order-track__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  inset-inline-start: calc(50% + 0.7rem);
  width: calc(100% - 1.4rem);
  height: 2px;
  background: var(--line);
}

.shop-order-track__step--done:not(:last-child)::after,
.shop-order-track__step--current:not(:last-child)::after {
  background: color-mix(in srgb, var(--brand) 55%, var(--line));
}

.shop-order-track__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  z-index: 1;
}

.shop-order-track__step--done .shop-order-track__dot {
  border-color: var(--brand);
  background: var(--brand);
}

.shop-order-track__step--current .shop-order-track__dot {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.shop-order-track__step--late .shop-order-track__dot {
  border-color: #b45309;
  background: #b45309;
}

.shop-order-track__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}

.shop-order-track__step--done .shop-order-track__label,
.shop-order-track__step--current .shop-order-track__label {
  color: var(--ink);
}

.shop-order-track__step--late .shop-order-track__label {
  color: #92400e;
}

@media (max-width: 640px) {
  .shop-order-track__steps {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .shop-order-track__step {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: start;
  }

  .shop-order-track__step:not(:last-child)::after {
    display: none;
  }
}

.shop-biz-shell .shop-orders-page--b2b .shop-orders-page__b2b-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.shop-biz-shell .shop-orders-page--b2b .shop-orders-page__b2b-tools .shop-link,
.shop-biz-shell .shop-orders-page--b2b .shop-b2b-page-head .shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.shop-biz-shell .shop-orders-page--b2b .shop-orders-page__b2b-tools .shop-link:hover,
.shop-biz-shell .shop-orders-page--b2b .shop-b2b-page-head .shop-link:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 18%, var(--line));
}

.shop-biz-shell .shop-orders-page--b2b .shop-b2b-empty__action .shop-btn--b2b {
  min-width: 11rem;
}

@media (max-width: 900px) {
  .shop-amz-order__meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-amz-order__meta-value {
    overflow-wrap: anywhere;
  }
}

.shop-b2b-loading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.shop-b2b-loading__bar {
  height: 5.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  animation: shop-b2b-pulse 1.2s ease-in-out infinite;
}

@keyframes shop-b2b-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

/* —— B2B home dashboard —— */
.shop-b2b-home {
  display: grid;
  gap: 0.85rem;
  padding-block: 0.35rem 1.5rem;
}

.shop-b2b-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
  min-width: 0;
  max-width: 100%;
}

.shop-b2b-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.shop-b2b-panel__head-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}

.shop-b2b-panel__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.shop-b2b-panel__lede {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  max-width: 36rem;
  color: var(--muted);
}

.shop-b2b-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.45rem 0.6rem 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.shop-b2b-panel__cta:hover {
  border-color: color-mix(in srgb, var(--ink) 14%, var(--line));
  background: #f8f9fa;
  color: var(--ink);
}

.shop-b2b-panel__cta:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ink) 25%, white);
  outline-offset: 2px;
}

.shop-b2b-panel__cta-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.shop-b2b-panel__cta-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.shop-b2b-panel__cta-count::before {
  content: "·";
  margin-inline-end: 0.4rem;
  color: color-mix(in srgb, var(--muted) 70%, var(--line));
}

.shop-b2b-panel__cta:hover .shop-b2b-panel__cta-count {
  color: color-mix(in srgb, var(--ink) 50%, var(--muted));
}

.shop-b2b-panel__cta-icon {
  flex-shrink: 0;
  color: var(--muted);
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.shop-b2b-panel__cta:hover .shop-b2b-panel__cta-icon {
  color: var(--ink);
  transform: translateX(2px);
}

.shop-b2b-panel__cta-icon.is-rtl,
html.locale-ar .shop-b2b-panel__cta:hover .shop-b2b-panel__cta-icon.is-rtl {
  transform: rotate(180deg);
}

html.locale-ar .shop-b2b-panel__cta:hover .shop-b2b-panel__cta-icon.is-rtl {
  transform: rotate(180deg) translateX(2px);
}

/* B2B overview brand grid — compact tiles */
.shop-b2b-brands.shop-b2b-panel {
  padding: 0.75rem 0.85rem 0.8rem;
}

.shop-b2b-brands .shop-b2b-panel__head {
  margin-bottom: 0.6rem;
  padding-bottom: 0.55rem;
}

.shop-b2b-brands .shop-b2b-panel__head h2 {
  font-size: 0.95rem;
}

.shop-b2b-brands .shop-b2b-panel__lede {
  display: none;
}

.shop-b2b-brands__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem 0.4rem;
}

@media (min-width: 640px) {
  .shop-b2b-brands__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shop-b2b-brands__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.5rem 0.45rem;
  }
}

@media (min-width: 1200px) {
  .shop-b2b-brands__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.shop-b2b-brands__grid--loading {
  pointer-events: none;
}

.shop-b2b-brands__skel {
  aspect-ratio: 5 / 3;
  border-radius: 0.4rem;
  background: linear-gradient(
    90deg,
    #f3f4f6 0%,
    #eceff3 50%,
    #f3f4f6 100%
  );
  background-size: 200% 100%;
  animation: shop-b2b-pulse 1.2s ease-in-out infinite;
}

.shop-b2b-brands__tile {
  display: grid;
  gap: 0.28rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.shop-b2b-brands__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5 / 3;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.shop-b2b-brands__logo .shop-img,
.shop-b2b-brands__logo .shop-img--logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: transparent;
}

.shop-b2b-brands__logo .shop-img--logo > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.shop-b2b-brands__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.shop-b2b-brands__name {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-b2b-brands__tile:hover .shop-b2b-brands__name {
  color: var(--ink);
}

.shop-b2b-brands__tile:hover .shop-b2b-brands__logo {
  border-color: color-mix(in srgb, var(--ink) 12%, var(--line));
  background: #fff;
  box-shadow: 0 3px 10px rgba(4, 11, 29, 0.04);
}

.shop-b2b-home__welcome {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

.shop-b2b-home__welcome-main {
  display: grid;
  gap: 0.75rem;
}

.shop-b2b-home__welcome-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.shop-b2b-home__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-b2b-home__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.shop-b2b-home__meta,
.shop-b2b-home__support {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.shop-b2b-home__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shop-b2b-home__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 2%, #fff);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.shop-b2b-home__chip strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.shop-b2b-home__chip--terms {
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
  color: var(--ink);
  font-weight: 600;
}

.shop-b2b-home__section-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-b2b-home__actions {
  margin-top: 0.15rem;
}

.shop-b2b-home__actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.shop-b2b-home__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 4.75rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.shop-b2b-home__action:hover {
  border-color: color-mix(in srgb, var(--ink) 14%, var(--line));
  box-shadow: 0 2px 8px rgba(4, 11, 29, 0.05);
}

.shop-b2b-home__action:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-b2b-home__action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--ink) 4%, #fff);
  color: var(--ink);
}

.shop-b2b-home__action-label {
  max-width: 100%;
}

.shop-b2b-home__buy-again {
  margin-top: 0;
}

.shop-b2b-home__buy-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.shop-b2b-home__buy-card {
  flex: 0 0 min(11.5rem, 78vw);
  scroll-snap-align: start;
  display: grid;
  gap: 0.5rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
}

.shop-b2b-home__buy-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--ink) 3%, #fff);
  cursor: pointer;
  overflow: hidden;
}

.shop-b2b-home__buy-fallback {
  font-size: 0.65rem;
  color: var(--muted);
  word-break: break-all;
  padding: 0.35rem;
}

.shop-b2b-home__buy-oos {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.25rem 0.35rem;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.shop-b2b-home__buy-body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.shop-b2b-home__buy-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-b2b-home__buy-sku {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.shop-b2b-home__buy-price {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.shop-b2b-home__buy-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-b2b-home__buy-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-b2b-home__buy-empty {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  padding: 0.25rem 0 0.15rem;
}

.shop-b2b-home__buy-cta {
  font-size: 0.82rem;
}

.shop-b2b-home__deals.shop-b2b-panel {
  margin-top: 0;
}

.shop-b2b-home__deals .shop-b2b-panel__head {
  margin-bottom: 0.75rem;
}

.shop-b2b-home__deal {
  position: relative;
}

.shop-b2b-home__deal-badge {
  position: absolute;
  top: 0.45rem;
  inset-inline-start: 0.45rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .shop-b2b-home__actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-b2b-home__actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-b2b-home__chip {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .shop-b2b-home__actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-b2b-home__action {
    min-height: 4.25rem;
    font-size: 0.72rem;
  }
}

/* —— B2B catalog, cards, orders —— */
.shop-biz-shell .shop-b2b-home,
.shop-biz-shell .shop-b2b-home__deals,
.shop-biz-shell .shop-page-transition {
  min-width: 0;
  max-width: 100%;
}

.shop-biz-shell .shop-grid--b2b,
.shop-biz-shell .shop-grid--b2b-home {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* Prefer fewer, wider cards so media/text don’t collide in the B2B shell. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

@media (min-width: 720px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1680px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shop-biz-shell .shop-b2b-home__deal {
  min-width: 0;
  max-width: 100%;
}

.shop-biz-shell .shop-card--b2b {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  background: #fff;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 3%, transparent);
  overflow: hidden;
  height: 100%;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.shop-biz-shell .shop-card--b2b:hover {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(4, 11, 29, 0.08);
  transform: none;
}

.shop-biz-shell .shop-card--b2b .shop-card__media-wrap {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  max-height: none;
  background: #fff;
  border-bottom: 0;
  overflow: hidden;
  contain: paint;
  z-index: 0;
}

.shop-biz-shell .shop-card--b2b .shop-card__media {
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.shop-biz-shell .shop-card--b2b .shop-card__media img,
.shop-biz-shell .shop-card--b2b .shop-card__media .shop-img.is-ready img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0.55rem;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.shop-biz-shell .shop-card--b2b:hover .shop-card__media .shop-img.is-ready img:not(.is-dim),
.shop-biz-shell .shop-card--b2b:hover .shop-card__media img:not(.is-dim) {
  /* Keep zoom inside the media box — 1.45 spilled into the title. */
  transform: scale(1.06);
}

.shop-biz-shell .shop-card--b2b .shop-card__body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  gap: 0.45rem;
  background: #fff;
  min-width: 0;
}

.shop-biz-shell .shop-card--b2b .shop-card__title {
  min-height: calc(1.35em * 2);
}

.shop-biz-shell .shop-card--b2b .shop-card__title button {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  word-spacing: 0.05em;
  text-align: start;
  padding: 0.05em 0 0.12em;
}

.shop-biz-shell .shop-card--b2b .shop-card__placeholder {
  min-height: 0;
  background: #f3f4f6;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.shop-biz-shell .shop-card--b2b .shop-card__cat {
  letter-spacing: 0.04em;
}

.shop-biz-shell .shop-card--b2b .shop-price-offer__now {
  font-size: 1.05rem;
  color: var(--brand);
}

.shop-biz-shell .shop-card--b2b .shop-card__list-price {
  font-size: 0.68rem;
  color: var(--muted);
}

.shop-biz-shell .shop-card--b2b .shop-card__price-row {
  margin-top: 0.4rem;
}

.shop-biz-shell .shop-card--b2b .shop-card__order {
  margin-top: auto;
  padding-top: 0.45rem;
  gap: 0.35rem;
  min-height: 0;
}

.shop-biz-shell .shop-card--b2b .shop-card__order .shop-qty--card {
  height: 2rem;
  border-radius: 0.35rem;
}

.shop-biz-shell .shop-card--b2b .shop-card__order .shop-qty--card button {
  width: 1.85rem;
  min-width: 1.85rem;
  height: 2rem;
  font-size: 0.85rem;
}

.shop-biz-shell .shop-card--b2b .shop-card__order .shop-qty--card span,
.shop-biz-shell .shop-card--b2b .shop-card__order .shop-qty--card .shop-qty__input {
  width: 1.85rem;
  min-width: 1.85rem;
  height: 2rem;
  line-height: 2rem;
  font-size: 0.78rem;
}

.shop-biz-shell .shop-card--b2b .shop-card__order-add {
  height: 2.1rem;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 0.5rem;
  border-radius: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  gap: 0.3rem;
}

.shop-biz-shell .shop-card--b2b .shop-card__order-add.is-added,
.shop-biz-shell .shop-card--b2b .shop-card__order-add.is-added:hover,
.shop-biz-shell .shop-card--b2b .shop-card__order-add.is-added:active {
  background: #047857;
  border-color: #047857;
  color: #fff;
}

.shop-card--b2b .shop-card__sku {
  margin: 0;
  font-size: 0.62rem;
  color: var(--muted);
}

.shop-card--b2b .shop-card__price-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
  padding-top: 0;
}

.shop-card--b2b .shop-card__prices {
  flex: 0 1 auto;
  min-width: 0;
  text-align: start;
}

.shop-card--b2b .shop-card__price,
.shop-card--b2b .shop-card__list-price {
  text-align: start;
}

.shop-card--b2b .shop-unit-select {
  flex: 1 1 6.5rem;
  max-width: 100%;
}

.shop-card__order {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  height: auto;
  min-height: 2.35rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  gap: 0.5rem;
}

.shop-card__order .shop-qty--card {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
}

.shop-card__order .shop-qty--card button,
.shop-card__order .shop-qty--card span,
.shop-card__order .shop-qty--card .shop-qty__input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1.85rem;
  min-width: 1.85rem;
  height: 2rem;
  padding: 0;
  font-size: 0.82rem;
}

.shop-card__order .shop-qty--card button {
  cursor: pointer;
  user-select: none;
  color: var(--ink-soft, #374151);
}

.shop-card__order .shop-qty--card button:hover {
  background: color-mix(in srgb, var(--brand) 9%, white);
  color: var(--brand);
}

.shop-card__order .shop-qty--card button:focus {
  outline: none;
}

.shop-card__order .shop-qty--card button:focus-visible {
  background: color-mix(in srgb, var(--brand) 12%, white);
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 55%, white);
  z-index: 1;
}

.shop-card__order .shop-qty--card button:active {
  background: color-mix(in srgb, var(--brand) 16%, white);
  color: var(--brand);
}

.shop-card__order .shop-qty--card span {
  width: 1.7rem;
  min-width: 1.7rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink, #111);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.shop-card__order-add {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 4.75rem;
  height: 2.35rem;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--brand) 9%, white);
  color: color-mix(in srgb, var(--brand) 70%, var(--ink));
  padding: 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-card__order-add:hover {
  background: color-mix(in srgb, var(--brand) 16%, white);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  color: color-mix(in srgb, var(--brand) 78%, var(--ink));
}

.shop-card__order-add:focus {
  outline: none;
}

.shop-card__order-add:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 28%, white);
  border-color: var(--brand);
}

.shop-card__order-add:active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.shop-card__order-add.is-added,
.shop-card__order-add.is-added:hover,
.shop-card__order-add.is-added:active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  cursor: default;
  animation: shop-card-add-confirm 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-card__order-add.is-added:disabled {
  opacity: 1;
}

.shop-card__order-add span {
  flex: 0 0 auto;
}

@keyframes shop-card-add-confirm {
  0% { transform: scale(1); }
  35% { transform: scale(0.96); }
  65% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card__order-add.is-added {
    animation: none;
  }
}

.shop-b2b-home__bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.shop-b2b-home__bulk h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.shop-b2b-home__bulk p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.875rem;
}

.shop-bulk {
  display: grid;
  gap: 1.25rem;
}

.shop-bulk__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.shop-bulk__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-bulk__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.shop-bulk__lede {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.shop-bulk__stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shop-bulk__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 2%, #fff);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-bulk__stats strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.shop-bulk__picker {
  display: grid;
  gap: 0.4rem;
}

.shop-bulk__search {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 0.55rem;
  background: #fff;
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-bulk__search:hover {
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
}

.shop-bulk__search:focus-within {
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-bulk__search-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  flex: 0 0 auto;
  color: var(--muted);
  pointer-events: none;
}

.shop-bulk__search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding-block: 0;
  padding-inline: 0 1rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.shop-bulk__search input::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
}

.shop-bulk__suggest {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: 0 16px 40px rgba(4, 11, 29, 0.12);
  max-height: 18rem;
  overflow: auto;
  animation: shop-unit-menu-in 0.18s ease both;
}

.shop-bulk__suggest-empty {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(4, 11, 29, 0.08);
}

.shop-bulk__suggest-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  text-align: start;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.shop-bulk__suggest-btn:hover {
  background: var(--surface-2);
}

.shop-bulk__suggest-thumb {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.4rem;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.shop-bulk__suggest-thumb img,
.shop-bulk__suggest-thumb .shop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-bulk__suggest-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.shop-bulk__suggest-main {
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-bulk__suggest-sku {
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-bulk__suggest-price {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.shop-bulk__board {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  overflow: auto;
}

.shop-bulk__board--packs {
  --shop-bulk-cols:
    minmax(11rem, 1.35fr)
    minmax(8.5rem, 0.95fr)
    repeat(3, minmax(7.25rem, 0.8fr))
    5.75rem;
  --shop-bulk-meta-h: 1.15rem;
  --shop-bulk-control-h: 2.35rem;
}

.shop-bulk__board-head {
  display: grid;
  grid-template-columns: var(
    --shop-bulk-cols,
    minmax(11rem, 1.5fr) minmax(8.5rem, 12rem) repeat(3, minmax(6.5rem, 8.5rem))
      minmax(5.5rem, auto)
  );
  gap: 0.75rem 1rem;
  align-items: end;
  padding: 0.7rem 1rem;
  background: color-mix(in srgb, var(--ink) 2.5%, #fff);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-bulk__board-head > span {
  min-width: 0;
  line-height: 1.2;
  text-align: start;
}

.shop-bulk__board--packs .shop-bulk__board-head > span:nth-child(n + 3):nth-child(-n + 5) {
  text-align: start;
  padding-inline-start: 0.1rem;
}

.shop-bulk__lines {
  display: grid;
  gap: 0;
}

.shop-bulk__line {
  display: grid;
  grid-template-columns: var(
    --shop-bulk-cols,
    minmax(11rem, 1.5fr) minmax(8.5rem, 12rem) repeat(3, minmax(6.5rem, 8.5rem))
      minmax(5.5rem, auto)
  );
  gap: 0.75rem 1rem;
  align-items: end;
  padding: 0.85rem 1rem;
  background: #fff;
  transition: background 0.15s ease;
}

.shop-bulk__line + .shop-bulk__line {
  border-top: 1px solid var(--line);
}

.shop-bulk__line.is-matched {
  background: color-mix(in srgb, var(--brand) 3%, #fff);
}

.shop-bulk__line.is-invalid {
  background: color-mix(in srgb, var(--danger, #b42318) 6%, #fff);
}

.shop-bulk__line-sku,
.shop-bulk__line-product,
.shop-bulk__line-qty,
.shop-bulk__line-price,
.shop-bulk__line-remove {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.shop-bulk__line--packs .shop-bulk__line-product,
.shop-bulk__line--packs .shop-bulk__line-sku,
.shop-bulk__line--packs .shop-bulk__line-packcol {
  display: grid;
  grid-template-rows: var(--shop-bulk-meta-h) var(--shop-bulk-control-h);
  gap: 0.35rem;
  align-items: stretch;
  min-width: 0;
}

.shop-bulk__line--packs .shop-bulk__line-product .shop-bulk__product,
.shop-bulk__line--packs .shop-bulk__line-sku .shop-bulk__sku-input {
  grid-row: 2;
  align-self: stretch;
}

.shop-bulk__line--packs .shop-bulk__line-product::before,
.shop-bulk__line--packs .shop-bulk__line-sku::before {
  content: "";
  grid-row: 1;
  display: block;
  height: var(--shop-bulk-meta-h);
}

.shop-bulk__line-label {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.shop-bulk__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: var(--shop-bulk-control-h, 2.35rem);
}

.shop-bulk__thumb {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
}

.shop-bulk__thumb img,
.shop-bulk__thumb .shop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
  box-sizing: border-box;
}

.shop-bulk__thumb-fallback {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.shop-bulk__product-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.shop-bulk__name {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.shop-bulk__line:not(.is-matched) .shop-bulk__name {
  color: var(--muted);
  font-weight: 500;
}

.shop-bulk__line-remove {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: calc(
    var(--shop-bulk-meta-h, 1.15rem) + 0.35rem + var(--shop-bulk-control-h, 2.35rem)
  );
}

.shop-bulk__line-packcol {
  display: grid;
  align-content: end;
  justify-items: stretch;
  gap: 0.35rem;
  min-width: 0;
}

.shop-bulk__line--packs .shop-bulk__line-packcol .shop-bulk__pack-name {
  grid-row: 1;
  align-self: end;
}

.shop-bulk__line--packs .shop-bulk__line-packcol .shop-bulk__qty {
  grid-row: 2;
}

.shop-bulk__pack-name {
  display: block;
  min-height: var(--shop-bulk-meta-h, 1.15rem);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-bulk__line.is-matched .shop-bulk__pack-name {
  color: var(--ink);
}

.shop-bulk__qty.shop-qty--card {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 9rem;
  height: var(--shop-bulk-control-h, 2.35rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.shop-bulk__qty.shop-qty--card button,
.shop-bulk__qty.shop-qty--card span,
.shop-bulk__qty.shop-qty--card .shop-qty__input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  min-width: 0;
  padding: 0;
  font-size: 0.85rem;
}

.shop-bulk__qty.shop-qty--card button {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  cursor: pointer;
  color: var(--ink-soft, #374151);
  background: transparent;
  border: 0;
}

.shop-bulk__qty.shop-qty--card button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--brand) 9%, white);
  color: var(--brand);
}

.shop-bulk__qty.shop-qty--card .shop-qty__input,
.shop-bulk__qty.shop-qty--card span {
  flex: 1 1 auto;
  width: auto;
  min-width: 2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: center;
  border: 0;
  background: transparent;
}

.shop-bulk__price-value {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.shop-bulk__sku-input {
  width: 100%;
  height: var(--shop-bulk-control-h, 2.35rem);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.shop-bulk__sku-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-bulk__line-error {
  display: block;
  color: var(--danger, #b42318);
  font-size: 0.72rem;
  font-weight: 600;
}

.shop-bulk__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.45rem;
  border-radius: 0.35rem;
  color: var(--brand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  height: var(--shop-bulk-control-h, 2.35rem);
}

.shop-bulk__remove:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.shop-bulk__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.shop-bulk__add-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-bulk__add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-inline-start: auto;
}

.shop-bulk__add-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
}

.shop-bulk__msg {
  margin: 0;
}

@media (max-width: 819px) {
  .shop-bulk__board-head {
    display: none;
  }

  .shop-bulk__line {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem;
    align-items: stretch;
  }

  .shop-bulk__line--packs .shop-bulk__line-product,
  .shop-bulk__line--packs .shop-bulk__line-sku,
  .shop-bulk__line--packs .shop-bulk__line-packcol {
    grid-template-rows: none;
    gap: 0.35rem;
  }

  .shop-bulk__line--packs .shop-bulk__line-product::before,
  .shop-bulk__line--packs .shop-bulk__line-sku::before {
    display: none;
  }

  .shop-bulk__line--packs .shop-bulk__line-product .shop-bulk__product,
  .shop-bulk__line--packs .shop-bulk__line-sku .shop-bulk__sku-input,
  .shop-bulk__line--packs .shop-bulk__line-packcol .shop-bulk__pack-name,
  .shop-bulk__line--packs .shop-bulk__line-packcol .shop-bulk__qty {
    grid-row: auto;
  }

  .shop-bulk__line-packcol {
    justify-items: stretch;
  }

  .shop-bulk__qty.shop-qty--card {
    max-width: none;
  }

  .shop-bulk__line-label {
    display: block;
  }

  .shop-bulk__line-remove {
    justify-content: flex-start;
    min-height: 0;
    align-items: center;
  }

  .shop-bulk__add-cart {
    margin-inline-start: 0;
    width: 100%;
    justify-content: center;
  }

  .shop-bulk__add-line {
    width: 100%;
    justify-content: center;
  }
}

.shop-bulk__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.shop-bulk__table {
  margin: 0;
  min-width: 36rem;
}

.shop-bulk__table th,
.shop-bulk__table td {
  vertical-align: middle;
}

.shop-bulk__table tr.is-invalid td {
  background: color-mix(in srgb, var(--danger, #b42318) 5%, white);
}

.shop-bulk__csv {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.shop-bulk__csv-panel {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.85rem;
}

.shop-bulk__form {
  display: grid;
  gap: 1rem;
}

.shop-bulk__field {
  display: grid;
  gap: 0.4rem;
}

.shop-bulk__field label,
.shop-bulk__field > span {
  font-size: 0.85rem;
  font-weight: 600;
}

.shop-bulk__textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-family: "Adawat Arabic", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

.shop-bulk__textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.shop-bulk__file-btn {
  cursor: pointer;
}

.shop-bulk__hint {
  margin: 0;
  font-size: 0.8rem;
}

.shop-bulk__report {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.shop-bulk__errors {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface-2);
}

.shop-bulk__errors h3 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
}

.shop-bulk__errors ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--danger, #b42318);
}

.shop-biz-shell .shop-category__pager {
  margin-top: 1.5rem;
}

/* Category pagination â equal buttons, single-line status */
.shop-category__pager {
  --pager-btn-w: 9.75rem;
  --pager-btn-h: 2.75rem;
  margin: 1.75rem auto 0.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 28rem;
}

.shop-category__pager-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: var(--pager-btn-w);
  height: var(--pager-btn-h);
  min-width: var(--pager-btn-w);
  min-height: var(--pager-btn-h);
  max-height: var(--pager-btn-h);
  padding: 0 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-category__pager-btn--next {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.shop-category__pager-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.shop-category__pager-label {
  line-height: 1;
}

.shop-category__pager-btn svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.shop-category__pager-btn:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  background: #fffaf3;
}

.shop-category__pager-btn--next:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.shop-category__pager-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-category__pager-btn:disabled {
  opacity: 1;
  color: #a3a3a3;
  background: var(--white);
  border-color: var(--line);
}

.shop-category__pager-btn--next:disabled {
  color: #a3a3a3;
  background: var(--white);
  border-color: var(--line);
}

.shop-category__pager-meta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--pager-btn-h);
  min-width: 6.5rem;
  padding: 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  animation: shop-pager-meta-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-pager-meta-in {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-category__pager-btn:active:not(:disabled),
.shop-category__pager-btn--next:active:not(:disabled) {
  transform: scale(0.97);
}

.shop-category__grid-shell {
  position: relative;
  min-height: min(36rem, 70dvh);
  transition: opacity 0.2s ease;
}

.shop-category__grid-shell.is-paging {
  pointer-events: none;
  opacity: 0.72;
}

.shop-category__grid-swap {
  width: 100%;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .shop-category__pager-meta {
    animation: none;
  }

  .shop-category__pager-btn:active:not(:disabled),
  .shop-category__pager-btn--next:active:not(:disabled) {
    transform: none;
  }

  .shop-category__grid-shell.is-paging {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .shop-category__pager {
    --pager-btn-w: 0;
    max-width: none;
    gap: 0.65rem;
    flex-wrap: wrap;
  }

  .shop-category__pager-meta {
    flex: 1 0 100%;
    order: -1;
    height: auto;
    min-height: 1.5rem;
    margin-bottom: 0.15rem;
  }

  .shop-category__pager-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

.shop-b2b-orders {
  display: grid;
  gap: 0.85rem;
}

.shop-b2b-orders .shop-order-card {
  margin: 0;
  overflow: hidden;
}

.shop-b2b-orders .shop-order-card__head {
  padding: 1rem 1.1rem;
  background: var(--surface-2);
}

.shop-b2b-order-label {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-b2b-inline-form {
  margin: 0;
  align-items: flex-end;
}

.shop-b2b-field {
  display: grid;
  gap: 0.35rem;
  flex: 1;
  min-width: min(100%, 16rem);
  font-size: 0.85rem;
  font-weight: 500;
}

.shop-b2b-field input {
  width: 100%;
}

.shop-b2b-list {
  gap: 0.65rem;
}

.shop-b2b-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(4, 11, 29, 0.03);
}

.shop-b2b-list__meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.shop-biz-shell .shop-b2b-page .shop-form {
  padding: 1.15rem 1.2rem;
  margin-bottom: 0;
}

.shop-biz-shell .shop-b2b-page .shop-form + .shop-form {
  margin-top: 0;
}

.shop-biz-shell .shop-b2b-page .shop-form h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.shop-account-page {
  display: grid;
  gap: 1.15rem;
}

.shop-account-page__head {
  margin-bottom: 0;
}

.shop-account-page__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-account-page__lede {
  margin: 0.4rem 0 0;
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.shop-account-page__banner {
  margin: 0;
}

.shop-biz-shell .shop-account-page {
  max-width: none;
}

.shop-account-layout {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-account-layout {
    grid-template-columns: minmax(14.5rem, 17.5rem) minmax(0, 1fr);
    gap: 1.35rem;
  }

  .shop-account-sidebar {
    position: sticky;
    top: calc(var(--shop-chrome-offset, 7rem) + 0.75rem);
  }
}

.shop-account-sidebar {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
}

.shop-biz-shell .shop-account-sidebar.shop-b2b-panel {
  padding: 1.35rem 1.2rem;
}

.shop-account-sidebar__identity {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.shop-account-avatar {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: color-mix(in srgb, var(--brand) 72%, var(--ink));
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}

.shop-account-sidebar__name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.shop-account-sidebar__email {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.shop-account-sidebar__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0.45rem 0.75rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.shop-account-sidebar__facts dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.shop-account-sidebar__facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.shop-account-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: color-mix(in srgb, var(--brand) 75%, var(--ink));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-account-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.shop-account-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .shop-account-cards:not(.shop-account-cards--b2b) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .shop-account-cards--b2b {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

.shop-account-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  margin: 0;
}

.shop-account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.shop-account-panel__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.shop-account-panel__form {
  display: grid;
  gap: 1rem;
}

.shop-account-panel__form.shop-form {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.shop-account-panel__form.shop-form label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
}

.shop-account-panel__form.shop-form input,
.shop-account-panel__form.shop-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.shop-account-panel__form.shop-form input:focus,
.shop-account-panel__form.shop-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
  background: var(--white);
}

.shop-account-panel__form.shop-form input:disabled,
.shop-account-panel__form.shop-form textarea:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: color-mix(in srgb, var(--surface) 80%, var(--line));
}

.shop-account-panel__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
}

/* Panels sit in a page-level 2-col grid — keep fields stacked inside each card */
.shop-account-panel--password .shop-account-panel__grid,
.shop-account-cards:not(.shop-account-cards--b2b) .shop-account-panel__grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .shop-account-cards--b2b .shop-account-panel:first-child .shop-account-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-account-panel--password .shop-form-span {
  grid-column: 1 / -1;
}

.shop-account-address-form.shop-form {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.shop-account-address-form.shop-form label:not(.shop-account-address-form__default) {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: color-mix(in srgb, var(--ink) 58%, var(--muted));
}

.shop-account-address-form.shop-form input:not([type="checkbox"]):not([type="radio"]),
.shop-account-address-form.shop-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.shop-account-address-form.shop-form input:not([type="checkbox"]):not([type="radio"]):focus,
.shop-account-address-form.shop-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
  background: var(--white);
}

.shop-account-address-form .shop-form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
}

@media (min-width: 720px) {
  .shop-account-address-form .shop-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-account-address-form .shop-form-span {
    grid-column: 1 / -1;
  }
}

.shop-account-panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.shop-account-panel__foot .shop-btn {
  min-width: 9.5rem;
}

.shop-account-panel--addresses {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.shop-account-addresses {
  display: grid;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.shop-account-addresses__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.shop-account-addresses__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-account-addresses__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.shop-account-addresses__lede {
  margin: 0.4rem 0 0;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.shop-account-addresses__add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-account-addresses__empty-state {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 0.75rem;
  background: var(--white);
}

.shop-account-addresses__empty-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand);
}

.shop-account-addresses__empty-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.shop-account-addresses__empty-lede {
  margin: 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.shop-account-addresses__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}

.shop-account-addresses__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0.65rem 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-account-addresses__card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: 0 8px 24px rgba(4, 11, 29, 0.06);
}

.shop-account-addresses__card-icon {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
}

.shop-account-addresses__card-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.shop-account-addresses__label {
  margin: 0;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.shop-account-addresses__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: color-mix(in srgb, var(--brand) 75%, var(--ink));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-account-addresses__line {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink);
}

.shop-account-addresses__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
}

.shop-account-addresses__card-actions {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: flex-start;
  padding-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.shop-account-addresses__card-actions .shop-btn {
  min-height: 2rem;
  padding-inline: 0.65rem;
  font-size: 0.74rem;
}

.shop-biz-shell .shop-account-workspace--addresses {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.shop-biz-shell .shop-account-workspace--addresses .shop-account-addresses {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.shop-account-address-form {
  margin-top: 0.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.shop-account-address-form__locate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 0.25rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shop-account-address-form__locate-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding-inline: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  box-shadow: none;
}

.shop-account-address-form__locate-btn:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  color: var(--brand);
  background: #fff;
}

.shop-account-address-form__locate-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 2px;
}

.shop-account-address-form__locate-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.shop-account-address-form__locate-btn svg {
  color: var(--brand);
  flex-shrink: 0;
}

.shop-account-address-form__locate-hint {
  margin: 0;
  flex: 1 1 10rem;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.shop-account-address-form.shop-form .shop-account-address-form__default {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
  cursor: pointer;
  user-select: none;
}

.shop-account-address-form.shop-form .shop-account-address-form__default input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  min-height: 0.95rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.shop-account-address-form.shop-form .shop-account-address-form__default span {
  line-height: 1.25;
  white-space: nowrap;
}

.shop-account-address-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  width: 100%;
}

.shop-account-address-form__actions-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.shop-account-address-form__default {
  margin-inline-start: auto;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .shop-account-address-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-account-address-form__default {
    order: -1;
    margin-inline-start: 0;
    margin-inline-end: auto;
    margin-bottom: 0.15rem;
  }

  .shop-account-address-form__actions-btns {
    width: 100%;
  }

  .shop-account-address-form__save,
  .shop-account-address-form__cancel {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.shop-form-grid--password {
  grid-template-columns: minmax(0, 1fr);
}

.shop-account-panel--password .shop-form-grid--password {
  grid-template-columns: minmax(0, 1fr);
}

/* Legacy aliases (safe if referenced elsewhere) */
.shop-account-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.shop-account-hero__mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: color-mix(in srgb, var(--brand) 72%, var(--ink));
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}

.shop-account-hero__copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.shop-account-hero__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-account-hero__text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.shop-account-hero__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}

.shop-account-hero__email,
.shop-account-hero__sub,
.shop-account-hero__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.shop-account-hero__terms {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.shop-account-hero__terms strong {
  color: var(--ink);
  font-weight: 600;
}

.shop-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}

.shop-account-tab {
  appearance: none;
  flex: 1 1 auto;
  min-width: 6.5rem;
  margin: 0;
  padding: 0.65rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 550;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.shop-account-tab:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, #fff);
}

.shop-account-tab.is-active {
  color: var(--ink);
  font-weight: 650;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}

.shop-account-tab:focus {
  outline: none;
}

.shop-account-tab:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, white);
  outline-offset: 1px;
}

.shop-account-workspace {
  display: grid;
  gap: 1rem;
}

.shop-account-workspace__pane {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.shop-account-workspace__pane--enter {
  animation: shop-account-pane-in 0.18s ease;
}

@keyframes shop-account-pane-in {
  from {
    opacity: 0;
    transform: translateY(0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-account-workspace__pane--enter {
    animation: none;
  }
}

.shop-account-workspace__security {
  display: grid;
  gap: 1rem;
}

.shop-account-page--biz .shop-account-panel__form.shop-form,
.shop-account-workspace .shop-account-panel__form.shop-form {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.shop-account-page--biz .shop-account-panel__grid,
.shop-account-workspace .shop-account-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
}

@media (min-width: 720px) {
  .shop-account-page--biz .shop-account-panel__grid,
  .shop-account-workspace .shop-account-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-account-page--biz .shop-account-panel__form.shop-form input,
.shop-account-page--biz .shop-account-panel__form.shop-form textarea,
.shop-account-workspace .shop-account-panel__form.shop-form input,
.shop-account-workspace .shop-account-panel__form.shop-form textarea {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}

.shop-account-alert {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--danger, #b42318) 28%, var(--line));
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--danger, #b42318) 6%, #fff);
}

.shop-account-alert .shop-error {
  margin: 0;
}

.shop-account-meta {
  display: grid;
  gap: 0.35rem;
}

.shop-account-meta__line {
  margin: 0;
  font-size: 0.92rem;
}

.shop-account-meta__terms {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.shop-account-meta__terms strong {
  color: var(--neutral-900, #111);
  font-weight: 600;
}

.shop-biz-shell .shop-account-form {
  gap: 1rem;
}

.shop-biz-shell .shop-account-form h2 {
  margin: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 650;
}

.shop-biz-shell .shop-account-form .shop-btn {
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 0.45rem;
  font-weight: 600;
}

.shop-account-form .shop-btn {
  justify-self: start;
  min-width: 10.5rem;
}

.shop-biz-shell .shop-account-form .shop-btn {
  width: auto;
  max-width: none;
}

@media (max-width: 759px) {
  .shop-account-sidebar__facts {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .shop-account-sidebar__facts dt {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-b2b-loading__bar {
    animation: none;
  }
}

/* ââ B2B shell + dashboard (Arabic / RTL) ââ */
html.locale-ar .shop-biz-shell .shell-page-title,
html.locale-ar .shop-biz-shell .shell-nav-link span,
html.locale-ar .shop-biz-shell .shell-logout span,
html.locale-ar .shop-biz-shell .shell-content,
html.locale-ar .shop-b2b-home {
  font-family: var(--shop-arabic);
}

html.locale-ar .shop-biz-shell .shop-biz-shell__brand,
html.locale-ar .shop-biz-shell .shell-credit[data-keep-latin] {
  font-family: var(--font-display, var(--shop-font));
}

html.locale-ar .shop-b2b-home__eyebrow,
html.locale-ar .shop-b2b-home__stat-label,
html.locale-ar .shop-b2b-home__deal-badge {
  letter-spacing: 0.02em;
  text-transform: none;
}

html.locale-ar .shop-biz-shell .shop-page > h1,
html.locale-ar .shop-biz-shell .shop-page-head h1 {
  font-family: var(--shop-arabic);
}

.is-rtl {
  transform: rotate(180deg);
}


/* ââ Shared UI ââ */
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.shop-btn--primary:hover:not(:disabled) {
  background: var(--brand-hot);
}

.shop-btn--ghost {
  background: transparent;
}

.shop-link {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-policy-agree {
  margin: 0.15rem 0 0.85rem;
}

.shop-form .shop-policy-agree__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line, rgba(4, 11, 29, 0.14));
  border-radius: 0.45rem;
  background: var(--surface);
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}

.shop-form .shop-policy-agree__check > input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  min-height: 0;
  margin: 0.1rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  box-shadow: none;
  accent-color: var(--brand);
  cursor: pointer;
}

.shop-policy-agree__check .shop-link {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.shop-policy-agree.is-invalid .shop-policy-agree__check {
  border-color: var(--danger);
  background: var(--danger-bg);
  color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}

.shop-policy-agree.is-invalid .shop-policy-agree__check > input[type="checkbox"] {
  outline: 2px solid var(--danger);
  outline-offset: 1px;
}

.shop-form.shop-form--show-errors
  input:not([type="checkbox"]):not([type="hidden"]):invalid,
.shop-form.shop-form--show-errors
  .shop-password-field__control:has(input:invalid) {
  border-color: var(--danger);
  background: var(--danger-bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}

.shop-form.shop-form--show-errors
  .shop-password-field__control
  input:not([type="checkbox"]):not([type="hidden"]):invalid {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.shop-google-auth {
  display: grid;
  gap: 0.85rem;
  margin: 0.25rem 0 0.35rem;
}

.shop-google-auth__control {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.shop-google-auth__button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.0001;
}

.shop-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font: 500 0.95rem/1.2 "Roboto", system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-google-btn:hover,
.shop-google-auth__control:hover .shop-google-btn {
  background: #f8faff;
  box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
}

.shop-google-btn:focus-visible,
.shop-google-auth__control:focus-within .shop-google-btn {
  outline: 2px solid #0b57d0;
  outline-offset: 2px;
}

.shop-google-logo {
  flex: none;
  display: block;
}

.shop-google-auth__note {
  margin: -0.35rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.shop-google-auth__or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--muted, #6b7280);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-google-auth__or::before,
.shop-google-auth__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line, rgba(4, 11, 29, 0.14));
}

.shop-form-alert {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  border-inline-start-width: 4px;
  border-radius: 0.45rem;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.9rem;
  line-height: 1.4;
}

.shop-form-alert strong {
  display: block;
  margin-bottom: 0.3rem;
}

.shop-form-alert ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.shop-policy-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 11, 29, 0.45);
}

.shop-policy-gate__panel {
  display: flex;
  flex-direction: column;
  width: min(40rem, 100%);
  max-height: min(86dvh, 42rem);
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
}

.shop-policy-gate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.shop-policy-gate__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.shop-policy-gate__close {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.shop-policy-gate__scroll {
  flex: 1;
  min-height: 14rem;
  overflow: auto;
  padding: 1rem 1.15rem 1.5rem;
}

.shop-policy-gate__doc + .shop-policy-gate__doc {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.shop-policy-gate__doc h3,
.shop-policy-gate__doc h4 {
  margin: 0 0 0.4rem;
}

.shop-policy-gate__doc p {
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
}

.shop-policy-gate__foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem 1rem;
  border-top: 1px solid var(--line);
}

.shop-policy-gate__foot .shop-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.shop-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  padding: 0;
  transition: color 0.18s ease, background 0.18s ease;
}

.shop-icon-btn:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.shop-icon-btn.is-active {
  color: var(--brand);
}

.shop-badge {
  position: absolute;
  top: -0.35rem;
  inset-inline-end: -0.45rem;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}

.shop-muted {
  color: var(--muted);
}

.shop-error {
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid #fecaca;
  padding: 0.65rem 0.75rem;
  margin: 0 0 1rem;
}

.shop-success {
  color: var(--success-text);
  background: var(--success);
  padding: 0.65rem 0.75rem;
  margin: 0 0 1rem;
}

.shop-page {
  padding-block: 1.5rem 2.5rem;
}

.shop-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.shop-page-head h1,
.shop-page > h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.shop-center {
  text-align: center;
  padding: 3rem 1rem;
}

.shop-section {
  margin-top: 2rem;
}

.shop-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.shop-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.25rem, 1fr));
  gap: 1rem 1.1rem;
}

@media (min-width: 1100px) {
  .shop-category__main .shop-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .shop-category__main .shop-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shop-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.shop-card:hover {
  box-shadow: 0 8px 30px rgba(4, 11, 29, 0.08);
}

.shop-card--out {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--line) 88%, var(--muted) 12%);
}

.shop-card--out:hover {
  box-shadow: none;
}

.shop-card--out .shop-card__media img,
.shop-card--out .shop-card__placeholder {
  opacity: 0.55;
  filter: grayscale(1);
}

.shop-card--out .shop-card__body {
  opacity: 0.72;
}

.shop-card--out .shop-card__cat,
.shop-card--out .shop-card__title button,
.shop-card--out .shop-card__price {
  color: var(--muted);
}

.shop-card--out .shop-card__title button:hover {
  color: var(--muted);
}

.shop-card--out:hover .shop-card__media img:not(.is-dim) {
  transform: scale(1.06);
}

.shop-card--out .shop-card__wish {
  opacity: 0.85;
}

.shop-card--compact {
  min-width: 13.75rem;
  max-width: 15rem;
}

.shop-card__media-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
  contain: paint;
  z-index: 0;
}

.shop-card--out .shop-card__media-wrap {
  background: transparent;
}

.shop-card__media {
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.shop-card__media .shop-img {
  width: 100%;
  height: 100%;
}

.shop-card:hover .shop-card__media .shop-img.is-ready img:not(.is-dim) {
  transform: scale(1.06);
}

.shop-card:hover .shop-card__media img:not(.is-dim) {
  transform: scale(1.06);
}

.shop-card__media img.is-dim {
  opacity: 0.5;
}

.shop-card__media .shop-img.is-ready img.is-dim {
  opacity: 0.5;
}

.shop-card__wish {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(4, 11, 29, 0.08);
}

.shop-card__wish:hover,
.shop-card__wish.is-active,
.shop-card__wish .is-filled {
  color: var(--brand);
}

.shop-card__wish.is-pulse--add {
  animation: shop-wish-btn-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card__wish.is-pulse--add svg {
  animation: shop-wish-icon-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card__wish.is-pulse--remove {
  animation: shop-wish-btn-unpop 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card__wish.is-pulse--remove svg {
  animation: shop-wish-icon-unpop 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-btn--ghost.is-pulse--add svg,
.shop-btn--ghost.is-pulse--remove svg {
  display: inline-block;
}

.shop-btn--ghost.is-pulse--add svg {
  animation: shop-wish-icon-pop 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-btn--ghost.is-pulse--remove svg {
  animation: shop-wish-icon-unpop 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-wish-btn-pop {
  0% {
    transform: scale(1);
    box-shadow: 0 1px 4px rgba(4, 11, 29, 0.08);
  }

  35% {
    transform: scale(1.18);
    box-shadow: 0 4px 16px rgba(255, 146, 0, 0.35);
  }

  65% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 1px 4px rgba(4, 11, 29, 0.08);
  }
}

@keyframes shop-wish-icon-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.55);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shop-wish-btn-unpop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.88);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shop-wish-icon-unpop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(0.75);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card__wish.is-pulse--add,
  .shop-card__wish.is-pulse--remove,
  .shop-card__wish.is-pulse--add svg,
  .shop-card__wish.is-pulse--remove svg,
  .shop-btn--ghost.is-pulse--add svg,
  .shop-btn--ghost.is-pulse--remove svg {
    animation: none;
  }
}

.shop-card__stock-overlay {
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  border-radius: 0.5rem;
  background: rgba(4, 11, 29, 0.85);
  color: #fff;
  padding: 0.35rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.shop-card__tray {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.shop-card:hover .shop-card__tray {
  transform: translateY(0);
  opacity: 1;
}

.shop-card__tray-add {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.shop-card__tray-add:hover {
  background: var(--brand);
}

.shop-card__tray-qv {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
}

.shop-card__tray-qv:hover {
  color: var(--brand);
}

.shop-card__placeholder {
  height: 100%;
  min-height: 10rem;
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 1rem;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.shop-card__placeholder svg {
  opacity: 0.55;
}

.shop-card__body {
  position: relative;
  z-index: 1;
  padding: 0.85rem;
  display: grid;
  gap: 0.45rem;
  flex: 1;
  align-content: start;
  background: var(--white);
  min-width: 0;
}

.shop-card__cat {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-card__title {
  margin: 0;
  font-size: 0.95rem;
  min-height: calc(1.35em * 2);
}

.shop-card__title button {
  border: 0;
  background: transparent;
  padding: 0.05em 0 0.12em;
  text-align: start;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shop-card__title button:hover {
  color: var(--brand);
}

.shop-card__price {
  margin: 0;
  font-weight: 700;
  color: var(--brand);
  unicode-bidi: isolate;
}

.shop-card__prices {
  display: grid;
  gap: 0.1rem;
}

.shop-card__list-price {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  unicode-bidi: isolate;
}

.shop-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* B2C market cards must never show pack-unit (حبة/باكيت) — B2B only. */
.shop-card:not(.shop-card--b2b) .shop-unit-select,
.shop-mode-market .shop-unit-select,
.shop-shell:not(.shop-biz-shell) .shop-card .shop-unit-select {
  display: none !important;
}

.shop-unit-select {
  position: relative;
  flex: 1 1 7rem;
  min-width: 0;
  max-width: 11rem;
}

.shop-unit-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--border, #d8dde3);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: var(--text, #1a1d21);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
}

.shop-unit-select__trigger:disabled {
  cursor: default;
  opacity: 0.95;
}

.shop-unit-select.is-open .shop-unit-select__trigger {
  border-color: var(--brand, #ff9200);
}

.shop-unit-select__chev {
  flex: 0 0 auto;
  font-size: 0.7rem;
  opacity: 0.65;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-unit-select.is-open .shop-unit-select__chev {
  transform: rotate(180deg);
}

.shop-unit-select__menu {
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border: 1px solid var(--border, #d8dde3);
  border-radius: 8px;
  background: var(--surface, #fff);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  max-height: 220px;
  overflow: auto;
  transform-origin: top center;
  animation: shop-unit-menu-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-unit-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-unit-select__opt {
  display: block;
  width: 100%;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  animation: shop-unit-opt-in 0.18s ease both;
}

.shop-unit-select__menu li:nth-child(1) .shop-unit-select__opt {
  animation-delay: 0.02s;
}
.shop-unit-select__menu li:nth-child(2) .shop-unit-select__opt {
  animation-delay: 0.05s;
}
.shop-unit-select__menu li:nth-child(3) .shop-unit-select__opt {
  animation-delay: 0.08s;
}
.shop-unit-select__menu li:nth-child(4) .shop-unit-select__opt {
  animation-delay: 0.1s;
}
.shop-unit-select__menu li:nth-child(n + 5) .shop-unit-select__opt {
  animation-delay: 0.12s;
}

@keyframes shop-unit-opt-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-unit-select__opt:hover,
.shop-unit-select__opt.is-active {
  background: var(--neutral-100, #f2f4f7);
}

@media (prefers-reduced-motion: reduce) {
  .shop-unit-select__chev,
  .shop-unit-select.is-open .shop-unit-select__chev {
    transition: none;
    transform: none;
  }

  .shop-unit-select__menu,
  .shop-unit-select__opt {
    animation: none;
  }
}

.shop-drawer__unit {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.shop-card__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.shop-card__actions .shop-btn {
  flex: 1;
  font-size: 0.7rem;
  padding: 0.45rem 0.5rem;
}

.shop-stock-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.shop-stock-badge.is-out {
  color: var(--danger);
  text-transform: uppercase;
}

.shop-sale-badge {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 2;
  max-width: min(70%, 9.5rem);
  padding: 0.28rem 0.5rem;
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--brand) 88%, #000);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.shop-sale-badge--inline {
  position: static;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  inset-inline-start: auto;
  align-self: flex-start;
  flex: 0 0 auto;
}

/* Sale price cluster — compact pill beside price (not a full-bleed bar) */
.shop-price-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.shop-price-offer__primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.shop-price-offer__now {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.shop-price-offer--lg .shop-price-offer__now {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

.shop-price-offer__was {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.shop-price-offer--lg .shop-price-offer__was {
  font-size: 0.92rem;
}

.shop-price-offer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0.48rem;
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: color-mix(in srgb, var(--brand) 82%, #000);
  border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.shop-price-offer--lg .shop-price-offer__badge {
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
}

.shop-price-offer__name {
  margin: 0.05rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.shop-card__price-row .shop-price-offer {
  flex: 1 1 auto;
}

.shop-pdp {
  display: grid;
  gap: 1.5rem;
  /* Allow columns to shrink below intrinsic image size (avoids overlap). */
  grid-template-columns: minmax(0, 1fr);
}

.shop-pdp-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 3rem;
  /* Size layout by content width (B2B sidebar), not viewport. */
  container-type: inline-size;
  container-name: shop-pdp;
}

.shop-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.shop-pdp__thumb {
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.shop-pdp__thumb.is-active {
  border-color: var(--orange, #e87722);
  box-shadow: 0 0 0 1px var(--orange, #e87722);
}

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

.shop-pdp__media {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 14rem;
  aspect-ratio: 1;
  max-height: min(32rem, 85cqw);
  display: grid;
  place-items: stretch;
  overflow: hidden;
  padding: 0.85rem;
  box-sizing: border-box;
  isolation: isolate;
}

.shop-pdp__back {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-pdp__back svg {
  flex-shrink: 0;
}

.shop-pdp__back:hover {
  color: var(--brand);
}

.shop-pdp__back:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-pdp__back--on-media {
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  z-index: 14;
  min-height: 2.15rem;
  padding-block: 0.3rem;
  padding-inline: 0.35rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

.shop-pdp__back--on-media:hover {
  color: color-mix(in srgb, var(--brand) 45%, var(--ink));
  background: #fff;
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}

@media (min-width: 721px) {
  .shop-pdp__back--on-media {
    top: 0.85rem;
    inset-inline-start: 0.85rem;
  }
}

.shop-pdp__wish {
  z-index: 12;
}

.shop-pdp__media:has(.shop-pdp-zoom.is-active) {
  overflow: visible;
  z-index: 4;
}

.shop-pdp-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: 0.25rem;
  background: transparent;
  font: inherit;
  color: inherit;
}

.shop-pdp-zoom.is-active {
  overflow: hidden;
}

.shop-pdp-zoom.is-ready {
  cursor: zoom-in;
}

.shop-pdp-zoom.is-ready.is-active {
  cursor: zoom-in;
}

.shop-pdp-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.shop-pdp-gallery__frame {
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.shop-pdp-gallery__frame.is-enter-next {
  animation: shop-gallery-enter-next 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-pdp-gallery__frame.is-enter-prev {
  animation: shop-gallery-enter-prev 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-pdp-gallery__fullscreen {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-end: 0.85rem;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 94%, transparent);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(4, 11, 29, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    opacity 0.2s ease;
}

.shop-pdp-gallery__fullscreen:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand);
}

.shop-pdp-gallery__fullscreen:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-pdp-zoom.is-active ~ .shop-pdp-gallery__fullscreen {
  opacity: 0;
  pointer-events: none;
}

.shop-pdp-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 90%, transparent);
  color: var(--ink);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 10%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.shop-pdp-gallery__nav:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  color: var(--brand);
}

.shop-pdp-gallery__nav:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-pdp-gallery__nav--prev {
  left: 0.55rem;
}

.shop-pdp-gallery__nav--next {
  right: 0.55rem;
}

.shop-pdp-gallery__thumbs {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  max-width: calc(100% - 1.2rem);
  padding: 0.35rem 0.4rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, #fff 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ink) 10%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.shop-pdp-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.shop-pdp-gallery__thumb {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0.15rem;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 0.4rem;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shop-pdp-gallery__thumb img,
.shop-pdp-gallery__thumb .shop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.shop-pdp-gallery__thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.shop-pdp-gallery__thumb:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-pdp-gallery--multi .shop-pdp-gallery__fullscreen {
  bottom: 3.55rem;
}

@media (max-width: 719px) {
  .shop-pdp-gallery__nav {
    width: 2.1rem;
    height: 2.1rem;
  }

  .shop-pdp-gallery__nav--prev {
    left: 0.35rem;
  }

  .shop-pdp-gallery__nav--next {
    right: 0.35rem;
  }

  .shop-pdp-gallery__thumb {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* Phones: thumbnails sit under the photo, not on top of it. */
  .shop-pdp__media:has(.shop-pdp-gallery--multi) {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .shop-pdp-gallery--multi {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: auto;
    min-height: 0;
  }

  .shop-pdp-gallery--multi .shop-pdp-gallery__frame {
    position: relative;
    flex: 0 0 auto;
    height: min(28rem, 78cqw);
    min-height: 12rem;
  }

  .shop-pdp-gallery--multi .shop-pdp-gallery__thumbs {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    flex: 0 0 auto;
    align-self: center;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }

  .shop-pdp-gallery--multi .shop-pdp-gallery__nav {
    top: calc(min(28rem, 78cqw) / 2);
  }

  .shop-pdp-gallery--multi .shop-pdp-gallery__fullscreen {
    bottom: calc(2.25rem + 1.2rem);
  }
}

.shop-pdp-zoom:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-pdp-zoom__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-height: none;
  margin: 0;
  padding: 0;
  transform: none;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.shop-pdp-zoom.is-active .shop-pdp-zoom__img,
.shop-pdp-zoom.is-active.is-loaded .shop-pdp-zoom__img {
  opacity: 0;
  transition: none;
}

.shop-pdp-zoom__magnify {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
}

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

@media (hover: none), (max-width: 719px) {
  .shop-pdp-zoom.is-ready {
    cursor: zoom-in;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-pdp-gallery__fullscreen {
    transition: none;
  }
}

/* Amazon-style product image lightbox */
.shop-gallery {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  /* Opaque overlay — avoid backdrop-filter so the PDP behind does not ghost through. */
  background: rgba(11, 18, 32, 0.88);
  box-sizing: border-box;
}

.shop-gallery.is-fullscreen {
  padding: 0;
  background: #0b1220;
}

.shop-gallery.is-fullscreen .shop-gallery__panel {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
}

.shop-gallery__panel {
  display: flex;
  flex-direction: column;
  width: min(72rem, 100%);
  height: min(92dvh, 100%);
  max-height: 92dvh;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(4, 11, 29, 0.28);
}

.shop-gallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.shop-gallery__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin: 0;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}

.shop-gallery__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.shop-gallery__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.shop-gallery__tool {
  display: grid;
  place-items: center;
  min-width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.shop-gallery__tool:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand);
}

.shop-gallery__tool:disabled {
  opacity: 0.4;
  cursor: default;
}

.shop-gallery__zoom-pct {
  min-width: 2.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.shop-gallery__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  margin-inline-start: 0.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.shop-gallery__close:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand);
}

.shop-gallery__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  background: color-mix(in srgb, var(--ink) 2.5%, #fff);
}

.shop-gallery__body.has-film {
  grid-template-rows: minmax(0, 1fr) auto;
}

.shop-gallery__film {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--line);
  background: #fff;
  scrollbar-width: thin;
}

.shop-gallery__film-thumb {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.shop-gallery__film-thumb.is-active {
  border-color: var(--orange, #e87722);
  box-shadow: 0 0 0 1px var(--orange, #e87722);
}

.shop-gallery__film-thumb img,
.shop-gallery__film-thumb .shop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.shop-gallery__stage-wrap {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  align-items: stretch;
  justify-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.shop-gallery__stage {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

.shop-gallery__stage.is-zoomed {
  cursor: grab;
}

.shop-gallery__stage.is-zoomed:active {
  cursor: grabbing;
}

.shop-gallery__stage:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brand);
}

.shop-gallery__img {
  display: block;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.shop-gallery__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.shop-gallery__slide.is-enter-next {
  animation: shop-gallery-enter-next 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-gallery__slide.is-enter-prev {
  animation: shop-gallery-enter-prev 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-gallery-enter-next {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shop-gallery-enter-prev {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-pdp-gallery__frame.is-enter-next,
  .shop-pdp-gallery__frame.is-enter-prev,
  .shop-gallery__slide.is-enter-next,
  .shop-gallery__slide.is-enter-prev {
    animation: none;
  }
}

.shop-gallery__zoom-hint {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shop-gallery__stage:hover .shop-gallery__zoom-hint,
.shop-gallery__stage:focus-visible .shop-gallery__zoom-hint {
  opacity: 1;
}

.shop-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #fff 94%, transparent);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(4, 11, 29, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
}

.shop-gallery__nav:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  color: var(--brand);
  background: #fff;
}

.shop-gallery__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.shop-gallery__nav--prev {
  left: 0.85rem;
}

.shop-gallery__nav--next {
  right: 0.85rem;
}

@media (max-width: 719px) {
  .shop-gallery {
    padding: 0;
  }

  .shop-gallery__panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .shop-gallery__film {
    padding: 0.6rem 0.75rem 0.75rem;
  }

  .shop-gallery__film-thumb {
    width: 3.5rem;
    height: 3.5rem;
  }

  .shop-gallery__zoom-hint {
    opacity: 1;
  }

  .shop-gallery__nav {
    width: 2.45rem;
    height: 2.45rem;
  }

  .shop-gallery__nav--prev {
    left: 0.45rem;
  }

  .shop-gallery__nav--next {
    right: 0.45rem;
  }

  .shop-gallery__img {
    max-width: calc(100% - 1rem);
    max-height: calc(100% - 1rem);
  }
}

@media (hover: none) {
  .shop-gallery__zoom-hint {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-pdp-gallery__fullscreen,
  .shop-gallery__zoom-hint {
    transition: none;
  }

  .shop-pdp-gallery__frame.is-enter-next,
  .shop-pdp-gallery__frame.is-enter-prev,
  .shop-gallery__slide.is-enter-next,
  .shop-gallery__slide.is-enter-prev {
    animation: none;
  }
}

.shop-pdp__info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
}

.shop-pdp__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: min(100%, 22rem);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  font: inherit;
}

.shop-pdp__brand--with-desc {
  align-items: flex-start;
}

.shop-pdp__brand:hover .shop-pdp__brand-name {
  color: var(--brand);
}

.shop-pdp__brand:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, white);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

.shop-pdp__brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.55rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.shop-pdp__brand--with-desc .shop-pdp__brand-mark {
  margin-top: 0.1rem;
}

.shop-pdp__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
}

.shop-pdp__brand-mark .shop-img {
  width: 100%;
  height: 100%;
}

.shop-pdp__brand-mark .shop-img--logo > img {
  max-width: 90%;
  max-height: 90%;
  padding: 0.1rem;
}

.shop-pdp__brand-initials {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.shop-pdp__brand-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.shop-pdp__brand-name {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-pdp__brand-desc {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.shop-pdp__info h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  overflow-wrap: anywhere;
  max-width: 100%;
}

.shop-pdp__deal {
  display: contents;
}

.shop-pdp__deal .shop-pdp__rating {
  order: 2;
}

.shop-pdp__deal .shop-price-offer {
  order: 5;
}

.shop-pdp__info > .shop-pdp__sku {
  order: 3;
}

.shop-pdp__info > .shop-pdp__desc {
  order: 4;
}

.shop-pdp__info > .shop-pdp__unit {
  order: 6;
}

.shop-pdp__info > .shop-pdp__buy {
  order: 7;
}

.shop-pdp__unit {
  width: 100%;
  max-width: 14rem;
}

.shop-pdp__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 719px) {
  .shop-pdp__deal {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 1.15rem;
    row-gap: 0.12rem;
    order: 2;
  }

  .shop-pdp__deal .shop-pdp__rating,
  .shop-pdp__deal .shop-price-offer {
    order: unset;
  }

  .shop-pdp__deal .shop-price-offer {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .shop-pdp__deal .shop-price-offer--lg .shop-price-offer__now {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .shop-pdp__deal .shop-pdp__rating {
    display: contents;
  }

  .shop-pdp__deal .shop-avg-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    line-height: 1;
  }

  .shop-pdp__deal .shop-link-inline {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    font-size: 0.75rem;
    line-height: 1.2;
  }
}

.shop-pdp__sku {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.shop-pdp__desc {
  margin: 0.35rem 0 0;
  color: rgba(4, 11, 29, 0.8);
  line-height: 1.55;
  max-width: 36rem;
}

.shop-pdp__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.shop-pdp__buy .shop-btn--primary {
  min-width: 10rem;
}

.shop-pdp__buy-cta-icon {
  display: none;
}

.shop-pdp__buy--dock {
  display: none;
}

@media (max-width: 719px) {
  .shop-pdp__buy--inline {
    display: none;
  }

  .shop-pdp-page--dock {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  body:has(.shop-pdp__buy--dock) .shop-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .shop-pdp__buy--dock {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.55rem max(0.75rem, env(safe-area-inset-right, 0px))
      calc(0.55rem + env(safe-area-inset-bottom, 0px))
      max(0.75rem, env(safe-area-inset-left, 0px));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(4, 11, 29, 0.06);
    box-sizing: border-box;
  }

  .shop-pdp__buy--dock .shop-pdp__buy-qty {
    margin: 0;
    flex: 0 0 auto;
    height: 3rem;
    border: 0;
    border-radius: 0.85rem;
    background: var(--surface-2);
    overflow: hidden;
  }

  .shop-pdp__buy--dock .shop-pdp__buy-qty button {
    width: 2.4rem;
    min-width: 2.4rem;
    height: 3rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
  }

  .shop-pdp__buy--dock .shop-pdp__buy-qty button:hover {
    background: color-mix(in srgb, var(--ink) 6%, var(--surface-2));
  }

  .shop-pdp__buy--dock .shop-pdp__buy-qty button:active {
    background: color-mix(in srgb, var(--ink) 10%, var(--surface-2));
  }

  .shop-pdp__buy--dock .shop-pdp__buy-qty span,
  .shop-pdp__buy--dock .shop-pdp__buy-qty .shop-qty__input {
    height: 3rem;
    line-height: 3rem;
    width: 2.6rem;
    min-width: 2.6rem;
    padding: 0;
    border-inline: 0;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
  }

  .shop-pdp__buy--dock .shop-pdp__buy-cta {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3rem;
    padding-inline: 1rem;
    border: 0;
    border-radius: 0.85rem;
    gap: 0.45rem;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
  }

  .shop-pdp__buy--dock .shop-pdp__buy-cta-icon {
    display: block;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
  }
}

.shop-pdp__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.shop-pdp__anchors a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-pdp__anchors a:hover {
  color: var(--brand);
}

.shop-pdp-detail {
  margin-top: 2.25rem;
  scroll-margin-top: 5.5rem;
}

.shop-pdp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 1.35rem;
}

.shop-pdp-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.85rem 1.15rem;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shop-pdp-tabs__tab:hover {
  color: var(--ink);
}

.shop-pdp-tabs__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.shop-pdp-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 0.3rem;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: color-mix(in srgb, var(--brand) 78%, #000);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.shop-pdp-panels {
  min-height: 8rem;
}

.shop-pdp-section--panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.shop-pdp-section__lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  line-height: 1.5;
}

.shop-pdp-section__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.shop-pdp-section__panel-head .shop-pdp-section__lede {
  margin-bottom: 0;
}

.shop-b2b-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.shop-b2b-crumb button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.shop-b2b-crumb button:hover {
  color: var(--brand);
}

.shop-b2b-crumb > span:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* B2B product detail uses the same PDP layout as B2C — restore centered max-width in the shell. */
.shop-biz-shell .shell-content .shop-pdp-page.shop-container {
  max-width: var(--shop-max);
  margin-inline: auto;
  padding-inline: max(var(--shop-gutter), env(safe-area-inset-left, 0px))
    max(var(--shop-gutter), env(safe-area-inset-right, 0px));
}

.shop-biz-shell .shop-pdp-page .shop-pdp__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shop-biz-shell .shop-pdp-page .shop-pdp {
  overflow: visible;
}

/* Two-column PDP only when the product page itself is wide enough
   (works with B2B sidebar / narrow content, not just viewport width). */
@container shop-pdp (min-width: 640px) {
  .shop-pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .shop-biz-shell .shop-pdp-page .shop-pdp {
    align-items: stretch;
  }
}

.shop-biz-shell .shop-pdp-page .shop-pdp__purchase {
  margin-top: 1.75rem;
  padding: 1.35rem 0 0.35rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .shop-biz-shell .shop-pdp-page .shop-pdp__purchase {
    margin-top: auto;
    padding-top: 1.75rem;
    padding-bottom: 0.5rem;
  }
}

.shop-biz-shell .shop-pdp-page .shop-pdp__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__price {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__prices .shop-card__list-price {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.shop-biz-shell .shop-pdp-page .shop-pdp__discount-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 0.3rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__stock-note {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.shop-biz-shell .shop-pdp-page .shop-pdp__stock-note.is-out {
  color: var(--danger);
  font-weight: 600;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__buy--b2b {
  margin-top: 0;
  gap: 0.65rem;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__buy-add {
  flex: 1;
  min-width: 8rem;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__buy-add:hover:not(:disabled) {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: #fff;
}

.shop-biz-shell .shop-pdp-page .shop-pdp__buy-add:active:not(:disabled) {
  background: #000;
  border-color: #000;
}

.shop-pdp-section {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}

.shop-pdp-section__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.shop-pdp-section__head .shop-muted {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
}

.shop-pdp-section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.shop-pdp-section__prose {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  line-height: 1.6;
  color: rgba(4, 11, 29, 0.8);
}

.shop-specs {
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  overflow: hidden;
}

.shop-specs table {
  width: 100%;
  border-collapse: collapse;
}

.shop-specs th,
.shop-specs td {
  padding: 0.85rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}

.shop-specs tr:last-child th,
.shop-specs tr:last-child td {
  border-bottom: 0;
}

.shop-specs th {
  width: 34%;
  max-width: 14rem;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
}

.shop-specs td {
  color: var(--ink);
}

/* AR: values sit on the start edge (right). Latin SKUs/prices stay LTR glyphs. */
html.locale-ar .shop-specs td[data-keep-latin] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

html.locale-ar [data-money],
html.locale-ar .shop-card__price,
html.locale-ar .shop-card__list-price,
html.locale-ar .shop-price-offer__now,
html.locale-ar .shop-price-offer__was,
html.locale-ar .shop-b2b-home__buy-price {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

.shop-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  color: var(--line);
}

.shop-stars .is-on {
  color: var(--brand);
}

.shop-stars__btn {
  border: 0;
  background: transparent;
  padding: 0.15rem;
  color: inherit;
  display: grid;
  place-items: center;
}

.shop-stars__btn:hover {
  color: var(--brand);
}

.shop-avg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
}

.shop-avg-badge strong {
  color: var(--ink);
  font-weight: 600;
}

.shop-review-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.shop-review-form__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.shop-review-form__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.shop-review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  resize: vertical;
  min-height: 5rem;
  outline: none;
  background: var(--surface);
}

.shop-review-form textarea:focus {
  border-color: var(--brand);
}

.shop-review-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.shop-review-form__saved {
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 500;
}

.shop-review-signin {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.9rem;
  color: var(--muted);
}

.shop-link-inline {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.shop-link-inline:hover {
  text-decoration: underline;
}

.shop-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.shop-review-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  padding: 1rem 1.15rem;
}

.shop-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.shop-review-card__title {
  margin: 0.55rem 0 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.shop-review-card__body {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
}

.shop-review-card__reply {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: var(--surface-2);
  border-inline-start: 3px solid var(--brand);
  font-size: 0.85rem;
}

.shop-review-card__reply strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-review-card__reply p {
  margin: 0;
  color: rgba(4, 11, 29, 0.8);
  line-height: 1.5;
}

.shop-qty {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  overflow: hidden;
  background: #fff;
  height: 2rem;
  box-sizing: border-box;
}

.shop-qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  width: 1.85rem;
  height: 2rem;
  min-width: 1.85rem;
  min-height: 2rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  box-sizing: border-box;
}

.shop-qty button:hover {
  background: var(--surface-2);
}

.shop-qty.is-disabled {
  opacity: 0.45;
}

.shop-qty.is-disabled button {
  cursor: not-allowed;
}

.shop-qty span,
.shop-qty__input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.75rem;
  width: 2.1rem;
  height: 2rem;
  margin: 0;
  padding: 0 0.15rem;
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  text-align: center;
  font: inherit;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
  box-sizing: border-box;
}

.shop-qty__input:focus {
  outline: none;
  background: var(--surface-2);
}

.shop-qty--lg {
  margin: 0.75rem 0;
  height: 2.35rem;
}

.shop-qty--lg button {
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.35rem;
}

.shop-qty--lg span,
.shop-qty--lg .shop-qty__input {
  height: 2.35rem;
  min-width: 2rem;
  width: 2.35rem;
  font-size: 0.9rem;
}

.shop-unit-price {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  min-width: 0;
}

.shop-unit-price__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.shop-unit-price__input {
  width: 5.25rem;
  max-width: 100%;
  height: 2rem;
  margin: 0;
  padding: 0 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: start;
  box-sizing: border-box;
}

.shop-unit-price__input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  outline-offset: 1px;
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

.shop-drawer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.shop-drawer__line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.shop-cart-table {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.shop-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
}

.shop-cart-row p {
  margin: 0;
}

.shop-cart-row__info {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.shop-cart-row__total {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-cart-row__remove {
  justify-self: end;
}

.shop-cart-summary {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.shop-cart-summary > .shop-btn {
  justify-self: start;
}

.shop-cart-summary__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .shop-cart-summary__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-cart-summary__actions > * {
    width: 100%;
    justify-content: center;
  }
}

.shop-cart-totals {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 0.1rem 0 0.15rem;
}

.shop-cart-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}

.shop-cart-totals__prices {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.shop-cart-totals__was {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.shop-cart-totals__now {
  font-weight: 700;
  color: var(--ink);
}

.shop-cart-totals__row--total {
  margin-top: 0.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}

.shop-cart-totals__row--total strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.shop-promo-form {
  display: grid;
  gap: 0.4rem;
  width: 100%;
}

.shop-promo-form__row {
  margin: 0;
}

.shop-promo-form__field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.82rem;
}

.shop-promo-form__label {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.shop-promo-form__control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  overflow: hidden;
}

.shop-promo-form__control:focus-within {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.shop-promo-form__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
}

.shop-promo-form__control input::placeholder {
  text-transform: none;
  letter-spacing: normal;
  color: var(--muted);
  opacity: 0.85;
}

.shop-promo-form__apply {
  border: 0;
  border-inline-start: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  padding: 0 1rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
}

.shop-promo-form__apply:hover:not(:disabled) {
  background: #f7fafa;
}

.shop-promo-form__apply:hover:not(:disabled) {
  filter: brightness(0.96);
}

.shop-promo-form__apply:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shop-promo-form__applied {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-promo-form__applied.is-in {
  opacity: 1;
  transform: translateY(0);
}

.shop-promo-form__applied-copy {
  margin: 0;
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
}

.shop-promo-form__applied-line {
  display: block;
}

.shop-promo-form__applied-lead {
  color: #067d62;
  font-weight: 600;
  font-size: 0.86rem;
}

.shop-promo-form__applied-code {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.shop-promo-form__applied-name {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.shop-promo-form__remove {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  color: var(--brand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.shop-promo-form__remove:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  text-decoration: none;
}

.shop-promo-form__error {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  animation: shop-promo-error-in 0.24s ease both;
}

@keyframes shop-promo-error-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-promo-form__applied,
  .shop-promo-form__error {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.shop-promo-form--compact .shop-promo-form__label {
  font-size: 0.76rem;
}

.shop-promo-form--compact .shop-promo-form__applied {
  padding: 0.1rem 0;
}

.shop-promo-form.is-applied {
  padding-top: 0.1rem;
}

.shop-checkout {
  display: grid;
  gap: 1.5rem;
}

.shop-checkout--steps {
  align-items: start;
}

.shop-checkout--steps > * {
  min-width: 0;
}

.shop-checkout__main {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.shop-checkout__head {
  display: grid;
  gap: 0.85rem;
}

.shop-checkout__head h1 {
  margin: 0;
}

.shop-checkout-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  overflow: hidden;
}

.shop-checkout-steps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.7rem 0.55rem;
  border: 0;
  border-inline-end: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-checkout-steps__item:last-child {
  border-inline-end: 0;
}

.shop-checkout-steps__num {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--surface-2, #f3f4f6);
  color: var(--ink);
  font-size: 0.72rem;
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-checkout-steps__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-checkout-steps__item.is-current {
  background: color-mix(in srgb, var(--brand) 9%, white);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.shop-checkout-steps__item.is-current .shop-checkout-steps__num {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06);
}

.shop-checkout-steps__item.is-done {
  color: var(--ink);
}

.shop-checkout-steps__item.is-done .shop-checkout-steps__num {
  background: color-mix(in srgb, var(--brand) 18%, white);
  color: var(--brand);
}

.shop-checkout__mobile-totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
}

.shop-checkout__panel-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.shop-checkout-save-address,
.shop-checkout-save-address__fields {
  display: grid;
  gap: 0.75rem;
}

.shop-checkout-save-address__note {
  margin: 0;
  font-size: 0.875rem;
}

.shop-checkout__panel {
  margin-bottom: 0;
  padding: 1.35rem 1.25rem 1.25rem;
}

.shop-checkout__panel-stage {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.shop-checkout__panel-swap {
  width: 100%;
  will-change: transform, opacity;
}

.shop-checkout-confirm__ship,
.shop-checkout-confirm__pay-block {
  display: none;
}

.shop-checkout__summary {
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  padding: 1.1rem 1.15rem;
  height: fit-content;
  min-width: 0;
  display: grid;
  gap: 0.85rem;
}

.shop-checkout__summary-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.shop-checkout__summary-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.shop-checkout__summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.shop-checkout__summary-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.shop-checkout__summary-line-main {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

.shop-checkout__summary-name {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.shop-checkout__summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.78rem;
}

.shop-checkout__summary-qty {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface-2, #f3f4f6);
  white-space: nowrap;
}

.shop-checkout__summary-price {
  flex-shrink: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.shop-checkout__summary .shop-cart-totals {
  margin: 0;
  padding-top: 0.15rem;
}

.shop-checkout__summary .shop-cart-totals__prices,
.shop-checkout__summary .shop-cart-totals__row > :last-child {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .shop-checkout--steps {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    gap: 1.5rem;
  }

  .shop-checkout__summary {
    position: sticky;
    top: calc(var(--shop-chrome-offset, 7rem) + 0.75rem);
  }

  .shop-checkout__mobile-totals {
    display: none;
  }

  .shop-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 719px) {
  .shop-checkout__summary {
    display: none;
  }

  .shop-page.shop-checkout--steps {
    gap: 0.75rem;
    padding-block: 0.85rem 1.25rem;
  }

  .shop-checkout__main {
    gap: 0.7rem;
  }

  .shop-checkout__head {
    gap: 0.65rem;
  }

  .shop-checkout__head h1 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
  }

  .shop-checkout-steps {
    border-radius: var(--shop-radius);
  }

  .shop-checkout-steps__item {
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.55rem 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .shop-checkout-steps__num {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 0.68rem;
  }

  .shop-checkout__mobile-totals {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--brand) 6%, white);
    border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
    font-size: 0.88rem;
  }

  .shop-checkout__mobile-totals strong {
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
  }

  .shop-form.shop-checkout__panel {
    gap: 0.85rem;
    padding: 1rem 0.9rem 0.9rem;
    margin-bottom: 0;
    border-radius: 0.35rem;
  }

  .shop-checkout__panel-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
  }

  .shop-checkout .shop-form-grid {
    gap: 0.7rem 0.65rem;
    grid-template-columns: 1fr 1fr;
  }

  .shop-checkout .shop-form label {
    font-size: 0.75rem;
    gap: 0.28rem;
  }

  .shop-checkout .shop-form input,
  .shop-checkout .shop-form textarea {
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
    min-height: 2.75rem;
    box-sizing: border-box;
  }

  .shop-checkout .shop-form textarea {
    min-height: 5rem;
  }

  .shop-checkout__form-actions {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0.85rem -0.9rem -0.9rem;
    padding: 0.75rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--white) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .shop-checkout__form-actions > .shop-btn,
  .shop-checkout__form-actions > .shop-btn--primary {
    flex: none;
    width: 100%;
    min-height: 2.85rem;
    padding-block: 0.75rem;
  }

  .shop-checkout__form-actions > .shop-btn--primary {
    order: -1;
  }

  .shop-checkout-confirm__cards {
    gap: 0.65rem;
  }

  .shop-checkout-confirm__card {
    padding: 0.8rem 0.85rem;
  }

  .shop-checkout-confirm__dl > div {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.35rem 0.65rem;
  }

  .shop-form .shop-payment__option {
    padding: 0.85rem 0.9rem;
  }

  .shop-form .shop-checkout-confirm__check {
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 480px) {
  .shop-checkout .shop-form-grid {
    grid-template-columns: 1fr;
  }
}

.shop-form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.shop-form--narrow {
  max-width: 26rem;
  margin-inline: auto;
}

.shop-form h1,
.shop-form h2 {
  margin: 0 0 0.25rem;
}

.shop-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.shop-form-grid {
  display: grid;
  gap: 0.85rem;
}

.shop-form-span {
  grid-column: 1 / -1;
}

.shop-auth {
  max-width: 40rem;
  min-height: calc(100dvh - var(--shop-chrome-offset, 7rem));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 2.5rem 3.5rem;
  margin-inline: auto;
  box-sizing: border-box;
}

.shop-main--auth,
.shop-main--auth .shop-page-transition {
  min-height: calc(100dvh - var(--shop-chrome-offset, 7rem));
}

.shop-form--auth {
  width: 100%;
  max-width: 28rem;
  min-height: min(32rem, calc(100dvh - var(--shop-chrome-offset, 7rem) - 5rem));
  display: grid;
  align-content: center;
  gap: 1.15rem;
  padding: 2.5rem 2.25rem;
  margin-bottom: 0;
}

.shop-form--auth h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.1rem);
}

.shop-form--auth label {
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(4, 11, 29, 0.72);
}

.shop-form--auth .shop-auth-remember {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft, rgba(4, 11, 29, 0.72));
  cursor: pointer;
  user-select: none;
}

.shop-form--auth .shop-auth-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin: 0.1rem 0 0;
}

.shop-form--auth .shop-auth-forgot {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.shop-form--auth .shop-auth-lede {
  margin: -0.35rem 0 0.35rem;
  line-height: 1.45;
}

.shop-form--auth .shop-auth-password-hint {
  margin: -0.25rem 0 0.25rem;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-phone-country {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.shop-phone-country__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.shop-phone-country__dial {
  min-width: 0;
  display: flex;
}

.shop-phone-country__dial .select-field {
  width: 100%;
  min-width: 0;
}

.shop-phone-country__dial .select-field-trigger {
  width: 100%;
  box-sizing: border-box;
  min-height: 3.1rem;
  height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0.925rem;
}

.shop-phone-country__dial .select-field-trigger:hover:not(:disabled),
.shop-phone-country__dial .select-field.is-open .select-field-trigger {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  border-bottom-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}

.shop-phone-country__national {
  min-width: 0;
  display: flex;
}

.shop-phone-country__national input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 3.1rem;
  padding: 0.95rem 1rem;
  font-size: 0.925rem;
}

.shop-form--apply .shop-phone-country__dial .select-field-trigger,
.shop-form--apply .shop-phone-country__national input {
  min-height: 3.1rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  font-size: 0.925rem;
}

.shop-form--apply .shop-phone-country__national input:focus,
.shop-form--apply .shop-phone-country__dial .select-field-trigger:focus,
.shop-form--apply .shop-phone-country__dial .select-field.is-open .select-field-trigger {
  background: #fff;
}

.shop-form-grid > .shop-phone-country {
  grid-column: span 1;
}

.shop-username-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.shop-username-field__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--muted, #667085);
}

.shop-username-field.is-checking .shop-username-field__hint {
  color: var(--muted, #667085);
}

.shop-username-field.is-available input {
  border-color: #2f9e62;
  box-shadow: 0 0 0 3px color-mix(in srgb, #2f9e62 18%, transparent);
}

.shop-username-field.is-available .shop-username-field__hint {
  color: #1f7a4a;
  font-weight: 600;
}

.shop-username-field.is-unavailable input {
  border-color: #d64545;
  box-shadow: 0 0 0 3px color-mix(in srgb, #d64545 16%, transparent);
}

.shop-username-field.is-unavailable .shop-username-field__hint {
  color: #b42318;
  font-weight: 600;
}

.shop-form--auth .shop-auth-remember > input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  accent-color: var(--brand);
  cursor: pointer;
}

.shop-form--auth .shop-auth-remember > span {
  line-height: 1.3;
}

.shop-form--auth input:not([type="checkbox"]):not([type="radio"]) {
  padding: 0.85rem 0.95rem;
  background: var(--surface);
}

.shop-form--auth .shop-password-field__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--line, rgba(4, 11, 29, 0.14));
  border-radius: var(--shop-radius);
  background: var(--white);
  overflow: hidden;
}

.shop-form--auth .shop-password-field__control:focus-within {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line, #ccc));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.shop-form--auth .shop-password-field__control input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-width: 0;
}

.shop-form--auth .shop-password-field__control input:focus,
.shop-form--auth .shop-password-field__control input:focus-visible {
  outline: none;
  box-shadow: none;
}

.shop-form--auth .shop-password-field__control input:-webkit-autofill,
.shop-form--auth .shop-password-field__control input:-webkit-autofill:hover,
.shop-form--auth .shop-password-field__control input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
  box-shadow: 0 0 0 1000px var(--surface) inset;
  -webkit-text-fill-color: var(--ink, #111);
  caret-color: var(--ink, #111);
  transition: background-color 99999s ease-out;
}

.shop-password-field__toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  cursor: pointer;
}

.shop-password-field__toggle svg {
  display: block;
}

.shop-password-field__toggle:hover {
  color: var(--ink);
}

.shop-password-field__toggle:focus-visible {
  outline: var(--focus-ring, 2px solid var(--brand));
  outline-offset: -2px;
}

.shop-form--auth .shop-btn--primary {
  margin-top: 0.35rem;
  padding-block: 0.9rem;
  width: 100%;
}

.shop-form--auth .shop-muted {
  margin: 0.25rem 0 0;
}

/* ââ B2B apply ââ */
.shop-apply {
  max-width: 52rem;
  margin-inline: auto;
  padding-block: 2.5rem 4rem;
}

.shop-form--apply {
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

.shop-apply__head {
  display: grid;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.shop-apply__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

html.locale-ar .shop-apply__eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
}

.shop-apply__head h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.shop-apply__support {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.shop-apply__section {
  display: grid;
  gap: 1.15rem;
  padding-block: 0.35rem;
}

.shop-apply__section h2 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(4, 11, 29, 0.55);
}

html.locale-ar .shop-apply__section h2 {
  letter-spacing: 0.02em;
  text-transform: none;
}

.shop-form--apply .shop-form-grid {
  gap: 1.35rem;
}

.shop-form--apply label {
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(4, 11, 29, 0.72);
}

.shop-form--apply label:not(.shop-file__drop) span {
  display: block;
}

.shop-form--apply input:not([type="file"]):not([type="checkbox"]):not([type="radio"]) {
  min-height: 3.1rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  font-size: 0.925rem;
}

.shop-form--apply input:not([type="file"]):focus {
  background: #fff;
}

.shop-apply__actions {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.shop-apply__actions .shop-btn--primary {
  width: 100%;
  padding-block: 1.05rem;
}

.shop-apply__actions .shop-apply__back {
  justify-self: center;
  min-width: 10rem;
}

.shop-apply-done {
  min-height: min(60vh, 28rem);
  display: grid;
  place-items: center;
  padding-block: 3rem;
}

.shop-apply-done__card {
  width: min(100%, 28rem);
  display: grid;
  gap: 0.85rem;
  padding: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.shop-apply-done__eyebrow {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.shop-apply-done__card h1 {
  margin: 0;
}

.shop-apply-done__card .shop-btn {
  margin-top: 0.5rem;
  justify-self: center;
}

.shop-form--apply .shop-file__drop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 8.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--surface) 70%, #fff);
}

.shop-form--apply .shop-file {
  max-width: 100%;
  position: relative;
}

.shop-form--apply .shop-file__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent);
}

.shop-form--apply .shop-file__icon svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.shop-form--apply .shop-file__copy {
  justify-items: center;
  gap: 0.25rem;
}

.shop-form--apply .shop-file__copy strong {
  font-size: 1rem;
}

.shop-form--apply .shop-file__copy span {
  max-width: 22rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.shop-form--apply .shop-file__drop:hover .shop-file__icon,
.shop-form--apply .shop-file__drop:focus-within .shop-file__icon {
  background: color-mix(in srgb, var(--brand) 20%, #fff);
}

.shop-chooser {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
  min-height: 22rem;
  align-content: center;
  padding: 2.5rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
}

.shop-chooser__card {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  padding: 1.25rem;
  text-align: start;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.shop-chooser__card strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.shop-chooser__card span {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft, rgba(4, 11, 29, 0.72));
}

.shop-chooser__card:hover {
  border-color: var(--brand);
}

.shop-apply__hint {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft, rgba(4, 11, 29, 0.72));
}

.shop-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.shop-inline-form input {
  max-width: 18rem;
}

.shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.shop-list li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 1rem;
}

.shop-table-wrap {
  overflow: auto;
}

.shop-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.875rem;
}

.shop-table th,
.shop-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.shop-table th {
  color: var(--muted);
  font-weight: 600;
  background: var(--surface);
}

.shop-table__actions {
  display: flex;
  gap: 0.35rem;
}

.shop-order-card {
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 1rem;
}

.shop-order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.shop-terms {
  background: color-mix(in srgb, var(--brand) 12%, white);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, white);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 1.25rem;
}

.shop-prose {
  max-width: 42rem;
  color: rgba(4, 11, 29, 0.8);
  font-size: 1.05rem;
}

/* ââ Cart drawer ââ */
.shop-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  border: 0;
  background: rgba(4, 11, 29, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shop-drawer.is-visible .shop-drawer__backdrop {
  opacity: 1;
}

.shop-drawer__panel {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  z-index: 115;
  width: min(100%, 28rem);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: max(1rem, env(safe-area-inset-top, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1.25rem, env(safe-area-inset-left, 0px));
  box-shadow: -12px 0 40px rgba(4, 11, 29, 0.18);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-sizing: border-box;
}

.shop-drawer.is-visible .shop-drawer__panel {
  transform: translateX(0);
}

[dir="rtl"] .shop-drawer__panel {
  transform: translateX(-100%);
}

[dir="rtl"] .shop-drawer.is-visible .shop-drawer__panel {
  transform: translateX(0);
}

.shop-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.shop-drawer__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.shop-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  flex: 1;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.shop-drawer__line {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.shop-drawer__thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  overflow: hidden;
}

.shop-drawer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-drawer__thumb .shop-img {
  width: 100%;
  height: 100%;
}

.shop-drawer__thumb span {
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-drawer__line-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.shop-drawer__name {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: start;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-drawer__name:hover {
  color: var(--brand);
}

.shop-drawer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.88rem;
}

.shop-drawer__unit-price {
  color: var(--muted, #6b7280);
  font-weight: 500;
}

.shop-drawer__price-sep {
  color: var(--muted, #6b7280);
}

.shop-drawer__line-total {
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-drawer__line-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shop-drawer__foot {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.shop-drawer__foot .shop-btn {
  width: 100%;
}

/* ââ RTL tweaks ââ */
[dir="rtl"] .shop-drawer__panel {
  box-shadow: 12px 0 40px rgba(4, 11, 29, 0.18);
}

html.locale-ar h1,
html.locale-ar h2,
html.locale-ar h3,
html.locale-ar h4,
html.locale-ar .shop-nav,
html.locale-ar .shop-mobile-nav,
html.locale-ar .shop-cinema-hero__line,
html.locale-ar .shop-cinema-hero__support,
html.locale-ar .shop-topbar,
html.locale-ar .shop-btn,
html.locale-ar .shop-search input {
  font-family: var(--shop-arabic);
}

html.locale-ar .shop-brand,
html.locale-ar .shop-cinema-hero__brand,
html.locale-ar .shop-pdp__info h1:not([lang="ar"]),
html.locale-ar .shop-quickview h3:not([lang="ar"]),
html.locale-ar [data-keep-latin] {
  font-family: var(--shop-font);
}

html.locale-ar .shop-card__title button[lang="ar"],
html.locale-ar .shop-pdp__info h1[lang="ar"],
html.locale-ar .shop-quickview h3[lang="ar"],
html.locale-ar .shop-search__name[lang="ar"] {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: start;
}

/* Arabic titles: taller line-box + 3 lines — webkit clamp clips Arabic glyphs at 2 */
html.locale-ar .shop-card__title {
  min-height: calc(1.5em * 3);
}

html.locale-ar .shop-card__title button[lang="ar"] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.5;
  padding-block: 0.1em 0.18em;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html.locale-ar .shop-pill,
html.locale-ar .shop-cinema-hero__label,
html.locale-ar .shop-link-plain,
html.locale-ar .shop-section-eyebrow,
html.locale-ar .shop-statement__eyebrow {
  letter-spacing: 0.02em;
  text-transform: none;
}

html.locale-ar .shop-topbar__call,
html.locale-ar .shop-footer bdi,
html.locale-ar [dir="ltr"] {
  unicode-bidi: isolate;
}

[dir="rtl"] .shop-cinema-hero__content {
  text-align: start;
}

[dir="rtl"] .shop-cinema-hero__brand-wrap {
  display: flex;
  justify-content: flex-start;
}

/* Brand keeps LTR glyphs, but must sit on the RTL start edge with the copy/CTAs */
[dir="rtl"] .shop-cinema-hero__brand {
  justify-content: flex-end;
  margin-inline-start: auto;
  width: fit-content;
  max-width: 100%;
  text-align: end;
}

[dir="rtl"] .shop-cinema-hero__ctas {
  justify-content: flex-start;
}

[dir="rtl"] .shop-cinema-hero__fade-side {
  inset-inline-start: auto;
  inset-inline-end: 0;
  background: linear-gradient(
    to inline-start,
    rgba(4, 11, 29, 0.96),
    rgba(4, 11, 29, 0.72) 45%,
    rgba(4, 11, 29, 0.2) 78%,
    transparent
  );
}

[dir="rtl"] .shop-cinema-hero__orb {
  inset-inline-end: auto;
  inset-inline-start: -8%;
}

[dir="rtl"] .shop-header__inner {
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .shop-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-form--apply .shop-form-grid {
    gap: 1.5rem 1.75rem;
  }

  .shop-checkout {
    grid-template-columns: 1fr 18rem;
  }

  .shop-header__search {
    display: block;
  }

  .shop-header__search-toggle,
  .shop-mobile-search {
    display: none;
  }

  .shop-header__locale-desktop {
    display: block;
  }

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

  .shop-header__actions {
    gap: 0.45rem;
  }

  .shop-header__inner {
    display: flex;
    gap: 1.15rem;
    min-height: 4.5rem;
  }

  .shop-header__start {
    justify-content: flex-start;
    flex: 0 1 auto;
  }

  .shop-header__actions {
    margin-inline-start: auto;
    flex: 0 0 auto;
  }
}

@media (min-width: 960px) {
  .shop-topbar__meta {
    display: block;
  }
}

/* Desktop links + search + actions need ~1200px (Arabic has six links);
   below that keep the menu drawer. */
@media (min-width: 1200px) {
  .shop-nav {
    display: flex;
  }

  .shop-header__menu-toggle,
  .shop-header__leading {
    display: none;
  }

  .shop-header__start {
    flex: 0 0 auto;
    gap: 1.75rem;
  }

  .shop-header__search {
    max-width: 26rem;
  }

  .shop-header__inner {
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .shop-header__search {
    max-width: 30rem;
  }

  .shop-nav button {
    padding: 0 0.8rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 900px) {
  .shop-cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "info info"
      "qty total"
      "unit remove";
    gap: 0.65rem 0.75rem;
    padding: 1rem;
  }

  .shop-cart-row__info {
    grid-area: info;
  }

  .shop-cart-row__qty {
    grid-area: qty;
    justify-self: start;
  }

  .shop-cart-row__total {
    grid-area: total;
    justify-self: end;
    font-size: 1rem;
  }

  .shop-cart-row__unit {
    grid-area: unit;
    justify-self: start;
    font-size: 0.85rem;
  }

  .shop-cart-row__remove {
    grid-area: remove;
    justify-self: end;
  }
}

.shop-checkout__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.shop-checkout__form-actions > .shop-btn {
  flex: 1 1 10rem;
  min-width: 0;
  width: auto;
}

.shop-checkout__form-actions > .shop-btn--primary {
  flex: 1.4 1 12rem;
}

.shop-payment {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

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

.shop-payment__hint {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.shop-form .shop-payment__option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--shop-radius);
  background: var(--white);
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  color: var(--ink);
  text-align: start;
}

.shop-form .shop-payment__option > input[type="radio"] {
  width: auto;
  min-width: 1.1rem;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--brand);
  align-self: flex-start;
}

.shop-payment__option-copy {
  display: grid;
  gap: 0.28rem;
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
  justify-items: start;
}

.shop-payment__option-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  width: 100%;
}

.shop-payment__option-title strong {
  display: inline;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}

.shop-payment__option-copy > .shop-muted {
  font-size: 0.86rem;
  line-height: 1.4;
}

.shop-payment__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border-radius: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #1a7a3c;
  background: color-mix(in srgb, #1a7a3c 12%, white);
  white-space: nowrap;
}

.shop-payment__tag--soon {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, white);
}

.shop-payment__option.is-selected {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  background: color-mix(in srgb, var(--brand) 6%, white);
}

.shop-payment__option.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: var(--surface);
}

.shop-payment__soon {
  display: none;
}

.shop-checkout-confirm {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  justify-items: stretch;
}

.shop-checkout-confirm h2 {
  margin: 0;
  font-size: 1.15rem;
}

.shop-checkout-confirm__cards {
  display: grid;
  gap: 0.75rem;
}

.shop-checkout-confirm__card {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: start;
}

.shop-checkout-confirm__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shop-checkout-confirm__card-head h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.shop-checkout-confirm__dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.shop-checkout-confirm__dl > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: start;
}

.shop-checkout-confirm__dl dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.shop-checkout-confirm__dl dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.shop-checkout-confirm__pay-value {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.shop-checkout-confirm__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.shop-checkout-confirm__lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.shop-checkout-confirm__lines li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shop-checkout-confirm__card .shop-cart-totals {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.shop-form .shop-checkout-confirm__check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  cursor: pointer;
  text-align: start;
}

.shop-form .shop-checkout-confirm__check > input[type="checkbox"] {
  width: auto;
  min-width: 1.1rem;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--brand);
}

.shop-form .shop-checkout-confirm__check > span {
  flex: 1 1 auto;
  min-width: 0;
}

.shop-checkout-success {
  max-width: 28rem;
  gap: 0.85rem;
}

.shop-checkout-success__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-checkout-success__lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.shop-checkout-success__meta {
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: start;
  width: 100%;
}

.shop-checkout-success__meta div {
  display: grid;
  gap: 0.15rem;
}

.shop-checkout-success__meta dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-checkout-success__meta dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 719px) {
  .shop-topbar__meta {
    display: none;
  }

  .shop-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ââ Form fields (shared) ââ */
.shop-form input:not([type="checkbox"]):not([type="radio"]),
.shop-form textarea,
.shop-inline-form input:not([type="checkbox"]):not([type="radio"]) {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  width: 100%;
}

.shop-form input:focus,
.shop-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, white);
  border-color: var(--brand);
}

.shop-form input[type="file"] {
  padding: 0.65rem 0.85rem;
}

/* Policy agreement sits on one line: box, then the sentence. */
.shop-form label.shop-policy-agree__check,
.shop-form--auth label.shop-policy-agree__check,
.shop-form--apply label.shop-policy-agree__check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.shop-form label.shop-policy-agree__check > input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  max-width: 1.15rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  accent-color: var(--brand);
  cursor: pointer;
}

.shop-form--apply label.shop-policy-agree__check > span,
.shop-form label.shop-policy-agree__check > span {
  display: inline;
  font-weight: 500;
  line-height: 1.4;
}

.shop-policy-agree.is-invalid label.shop-policy-agree__check {
  color: var(--danger);
}

/* Radios/checkboxes must not inherit full-width text-field styles */
.shop-form .shop-payment__option > input[type="radio"],
.shop-form .shop-checkout-confirm__check > input[type="checkbox"] {
  width: auto !important;
  min-width: 1.1rem;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--brand);
  box-shadow: none;
}

.shop-file {
  display: grid;
  gap: 0.55rem;
  position: relative;
}

.shop-file__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.shop-file__drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--line) 70%, var(--brand));
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.shop-file__drop:hover,
.shop-file__drop:focus-within {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, white);
}

/* Visually hidden — label[htmlFor] opens the picker.
   Keep this out of document flow so native file chrome never
   appears beside the custom drop icon. */
.shop-file__input {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  min-height: 0 !important;
  max-width: 1px !important;
  max-height: 1px !important;
  appearance: none !important;
  font-size: 0 !important;
}

.shop-file__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brand);
}

.shop-file__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.shop-file__copy strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.shop-file__copy span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.shop-file__empty {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.shop-file__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.shop-file__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.shop-file__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

.shop-file__size {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.shop-btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.shop-btn--ghost-light:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}

.shop-link-plain {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.shop-link-plain.is-brand,
.shop-link-plain:hover {
  color: var(--brand);
}

.shop-page-transition {
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
}

html.is-nav-out .shop-page-transition {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-nav-in .shop-page-transition,
.shop-page-transition.is-enter {
  animation: shop-page-enter 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-page-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-nav-out .shop-page-transition,
  html.is-nav-in .shop-page-transition,
  .shop-page-transition.is-enter {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

::view-transition-old(root) {
  animation: shop-vt-out 0.2s ease both;
}

::view-transition-new(root) {
  animation: shop-vt-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-old(product-media),
::view-transition-new(product-media) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-group(product-media) {
  z-index: 2;
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-vt-out {
  to {
    opacity: 0;
  }
}

@keyframes shop-vt-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(product-media) {
    animation: none;
  }
}

/* B2B shell + container queries leave leftover VT snapshots. */
html.shop-mode-b2b::view-transition-old(root),
html.shop-mode-b2b::view-transition-new(root),
html.shop-mode-b2b::view-transition-old(product-media),
html.shop-mode-b2b::view-transition-new(product-media) {
  animation: none !important;
}

.shop-shell-title-enter {
  animation: shop-shell-title-enter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shop-shell-title-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-shell-title-enter {
    animation: none;
  }
}

.shop-biz-shell .shell-content {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  .shop-biz-shell .shell-content {
    scroll-behavior: auto;
  }
}

/* ââ Route progress ââ */
.shop-route-progress {
  pointer-events: none;
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 250;
  height: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shop-route-progress.is-visible {
  opacity: 1;
}

.shop-route-progress__bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  background: var(--brand);
}

.shop-b2b-loading-state {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2rem 1rem;
}

.shop-loading {
  display: grid;
  gap: 1.75rem;
  width: 100%;
  padding: 2rem 0 2.5rem;
  justify-items: stretch;
}

.shop-loading__pulse {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0 0.25rem;
}

.shop-loading__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

html.locale-ar .shop-loading__label {
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--shop-arabic);
}

.shop-loading__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.25rem, 1fr));
  gap: 1rem 1.1rem;
}

@media (min-width: 900px) {
  .shop-loading__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .shop-loading__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .shop-loading__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shop-loading__card {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
  background: var(--white, #fff);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.shop-loading__thumb,
.shop-loading__line {
  border-radius: 0.25rem;
  background: linear-gradient(
    90deg,
    var(--surface-2, #f3f4f6) 0%,
    #eceef2 45%,
    var(--surface-2, #f3f4f6) 90%
  );
  background-size: 200% 100%;
  animation: shop-loading-shimmer 1.2s ease-in-out infinite;
}

.shop-loading__thumb {
  aspect-ratio: 1;
  width: 100%;
}

.shop-loading__line {
  height: 0.7rem;
}

.shop-loading__line--title {
  width: 78%;
}

.shop-loading__line--meta {
  width: 52%;
  height: 0.55rem;
  opacity: 0.85;
}

.shop-loading__line--price {
  width: 36%;
  height: 0.8rem;
  margin-top: 0.15rem;
}

@keyframes shop-loading-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* —— Per-image load shimmer —— */
.shop-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.shop-img--fill {
  position: absolute;
  inset: 0;
}

.shop-img__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    var(--surface-2, #f0f1f4) 0%,
    #e8eaee 22%,
    color-mix(in srgb, var(--brand) 10%, #f7f8fa) 48%,
    #e8eaee 72%,
    var(--surface-2, #f0f1f4) 100%
  );
  background-size: 220% 100%;
  animation: shop-loading-shimmer 1.15s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.shop-img.is-ready .shop-img__shimmer {
  opacity: 0;
  animation: none;
}

.shop-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.shop-img.is-ready > img {
  opacity: 1;
}

/* The installed app never receives the image load event inside a product grid,
   so the photo stayed invisible until the product page. Show it directly. */
.shop-img.is-native > img {
  opacity: 1;
}

.shop-img.is-native .shop-img__shimmer {
  opacity: 0;
  animation: none;
}

.shop-native .shop-card__media-wrap {
  contain: none;
}

.shop-pdp-zoom.is-loading .shop-img__shimmer,
.shop-pdp-zoom > .shop-img__shimmer {
  border-radius: 0;
}

.shop-pdp-zoom.is-loading .shop-pdp-zoom__img {
  opacity: 0;
}

.shop-pdp-zoom.is-loaded .shop-pdp-zoom__img {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.shop-pdp-zoom > .shop-img__shimmer {
  z-index: 2;
}

.shop-pdp-zoom.is-loaded > .shop-img__shimmer {
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.shop-quickview__media .shop-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.shop-hero-market__slide-inner > .shop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shop-img.is-ready > .shop-hero-market__slide-img,
.shop-img > .shop-hero-market__slide-img {
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.shop-img.is-ready > .shop-hero-market__slide-img {
  opacity: 0.7;
}

.shop-img--logo {
  display: grid;
  place-items: center;
  background: #fff;
}

.shop-img--logo > img {
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
}

.shop-brand-rail__logo .shop-img,
.shop-brands-tile__logo .shop-img,
.shop-cat-icons__circle .shop-img,
.shop-search__thumb .shop-img {
  width: 100%;
  height: 100%;
}

.shop-hero-market__tile > .shop-img {
  z-index: 0;
}

.shop-hero-market__tile .shop-img.is-ready > img {
  opacity: 0.55;
}

.shop-hero-market__tile:hover .shop-img.is-ready > img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .shop-loading__thumb,
  .shop-loading__line,
  .shop-img__shimmer {
    animation: none;
  }

  .shop-img > img,
  .shop-pdp-zoom.is-loaded .shop-pdp-zoom__img,
  .shop-img.is-ready .shop-img__shimmer,
  .shop-pdp-zoom.is-loaded > .shop-img__shimmer {
    transition-duration: 0.01ms !important;
  }
}

.shop-route-fallback {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - var(--shop-chrome-offset, 7rem) - 2rem);
  padding: 2rem 0;
}

.shop-page--hold {
  min-height: calc(100dvh - var(--shop-chrome-offset, 7rem) - 3rem);
}

@keyframes adawat-route-progress {
  0% {
    transform: scaleX(0);
  }
  40% {
    transform: scaleX(0.55);
  }
  100% {
    transform: scaleX(1);
  }
}

/* Home scroll reveals — only applied when ScrollReveal opts in on /. */
.shop-home .shop-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  will-change: opacity, transform, filter;
}

.shop-home .shop-reveal.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-home .shop-reveal.is-revealed:nth-child(1) {
  transition-delay: 0ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(2) {
  transition-delay: 60ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(3) {
  transition-delay: 120ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(4) {
  transition-delay: 180ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(5) {
  transition-delay: 240ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(6) {
  transition-delay: 300ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(7) {
  transition-delay: 360ms;
}
.shop-home .shop-reveal.is-revealed:nth-child(8) {
  transition-delay: 420ms;
}

@media (prefers-reduced-motion: reduce) {
  .shop-home .shop-reveal:not(.is-revealed),
  .shop-home .shop-reveal.is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Legacy global reveal (About etc.) — kept inert unless opted in elsewhere */
.shop-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(12px);
}

.shop-reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-home__block {
  display: block;
}

.shop-mobile-nav {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(4, 11, 29, 0.06);
  transition: max-height 0.28s ease;
}

.shop-mobile-nav.is-open {
  max-height: min(72dvh, 32rem);
  pointer-events: auto;
}

.shop-mobile-nav__panel {
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.15rem 1.35rem;
  max-height: min(72dvh, 32rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.18s ease 0.05s,
    transform 0.22s ease 0.04s;
}

.shop-mobile-nav.is-open .shop-mobile-nav__panel {
  opacity: 1;
  transform: none;
}

.shop-mobile-search {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(4, 11, 29, 0.06);
  transition: max-height 0.26s ease;
}

.shop-mobile-search.is-open {
  max-height: 7.5rem;
  pointer-events: auto;
}

.shop-mobile-search.is-settled {
  overflow: visible;
}

.shop-mobile-search.is-open .shop-mobile-search__panel {
  opacity: 1;
  transform: none;
}

.shop-mobile-search.is-settled .shop-mobile-search__panel {
  overflow: visible;
}

.shop-mobile-search__panel {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.18s ease 0.06s,
    transform 0.22s ease 0.04s;
  padding-block: 0.95rem 1.15rem;
  padding-inline: max(
      calc(var(--shop-gutter) + 0.35rem),
      env(safe-area-inset-left, 0px)
    )
    max(
      calc(var(--shop-gutter) + 0.35rem),
      env(safe-area-inset-right, 0px)
    );
}

.shop-mobile-search .shop-search {
  margin: 0;
}

.shop-mobile-search .shop-search--mobile .shop-search__field {
  display: block;
}

.shop-mobile-search .shop-search--mobile input {
  display: block;
  width: 100%;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  padding-inline: 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
}

.shop-mobile-nav__locale {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding: 0.75rem 0.65rem 0.25rem;
  border-top: 1px solid var(--line);
}

.shop-mobile-nav__locale-label {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.shop-mobile-nav__locale-options {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.shop-mobile-nav__locale-options button {
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.shop-mobile-nav__locale-options button:hover {
  background: color-mix(in srgb, var(--ink) 3.5%, transparent);
  color: var(--ink);
}

.shop-mobile-nav__locale-options button.is-active {
  color: var(--brand);
  font-weight: 650;
}

.shop-mobile-nav__locale-options button[lang="ar"] {
  font-family: var(--shop-arabic, inherit);
}

.shop-mobile-nav__links,
.shop-mobile-nav__account {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.15rem;
}

.shop-mobile-nav__account {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.shop-mobile-nav__links button,
.shop-mobile-nav__account button {
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  text-align: start;
  padding: 0.7rem 0.65rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.shop-mobile-nav__links button:hover,
.shop-mobile-nav__account button:hover {
  background: color-mix(in srgb, var(--ink) 3.5%, transparent);
  color: var(--ink);
}

.shop-mobile-nav__links button:active,
.shop-mobile-nav__account button:active {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
}

.shop-mobile-nav__cta {
  color: var(--brand) !important;
  font-weight: 650 !important;
}

@media (prefers-reduced-motion: reduce) {
  .shop-mobile-nav,
  .shop-mobile-nav__panel {
    transition: none;
  }
}

@media (min-width: 1200px) {
  .shop-mobile-nav {
    display: none;
  }
}

/* —— Search —— */
.shop-search {
  position: relative;
  width: 100%;
}

.shop-search--mobile {
  margin-bottom: 0;
}

.shop-search__field {
  position: relative;
}

.shop-search--desktop .shop-search__field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 0.45rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search--desktop .shop-search__field:hover {
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
}

.shop-search--desktop .shop-search__field:focus-within {
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-search__icon {
  display: none;
}

.shop-search--desktop .shop-search__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  flex: 0 0 auto;
  color: var(--muted);
  pointer-events: none;
}

.shop-search input {
  width: 100%;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  padding-block: 0.55rem;
  padding-inline: 1rem 2.75rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search--desktop input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-block: 0;
  padding-inline: 0 0.55rem;
  box-shadow: none;
}

.shop-search--desktop input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.shop-search input:focus {
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-search__submit {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border-radius: 0.35rem;
}

.shop-search--desktop .shop-search__submit {
  position: static;
  transform: none;
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 0;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.shop-search--desktop .shop-search__submit:hover {
  color: #fff;
  filter: brightness(0.94);
}

.shop-search__submit:hover {
  color: var(--brand);
}

.shop-search--mobile .shop-search__field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.shop-search--mobile input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 2.5rem;
  border-radius: 0.45rem;
  padding-inline: 0.9rem;
}

.shop-search--mobile .shop-search__submit {
  position: static;
  transform: none;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.45rem;
  background: var(--brand);
  color: #fff;
  padding: 0;
}

.shop-search--mobile .shop-search__submit:hover {
  color: #fff;
  background: var(--brand-hot, var(--brand));
}

.shop-search__panel {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  z-index: 70;
  max-height: min(70vh, 26rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(4, 11, 29, 0.12);
}

.shop-search__panel--fixed {
  position: fixed;
  inset-inline: auto;
  top: auto;
  z-index: 120;
}

.shop-search__panel--inline {
  position: static;
  margin-top: 0.65rem;
  max-height: min(50vh, 22rem);
}

.shop-biz-search-wrap {
  width: 100%;
  min-width: 0;
}

.shop-search--b2b-popup {
  width: 100%;
}

.shop-search__empty {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.shop-search__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-search__hit {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0.65rem 1rem;
  text-align: start;
  font-size: 0.875rem;
}

.shop-search__hit:hover,
.shop-search__hit.is-active {
  background: var(--surface-2);
}

.shop-search__hit--cat,
.shop-search__hit--cat:hover,
.shop-search__hit--cat.is-active {
  background: color-mix(in srgb, var(--brand) 10%, white);
}

.shop-search__avatar {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.35rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.shop-search__thumb {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);
}

.shop-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-search__thumb span {
  font-size: 0.6rem;
  color: var(--muted);
}

.shop-search__meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.15rem;
}

.shop-search__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
}

.shop-search__hit--cat .shop-search__name {
  color: var(--brand);
}

.shop-search__sub {
  font-size: 0.75rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-search__badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 15%, white);
  color: var(--brand);
  padding: 0.1rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-search__price {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
}

.shop-search__all {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  text-align: start;
}

.shop-search__all:hover {
  background: var(--surface);
}

/* ââ Word cycle ââ */
.shop-word-cycle {
  position: relative;
  display: inline-grid;
  align-items: baseline;
  vertical-align: baseline;
  line-height: inherit;
}

.shop-word-cycle__sizer {
  visibility: hidden;
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
  line-height: inherit;
}

.shop-word-cycle__viewport {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  line-height: inherit;
  padding-block: 0.08em;
  margin-block: -0.08em;
}

.shop-word-cycle__word {
  display: block;
  white-space: nowrap;
  line-height: inherit;
  will-change: transform, opacity;
}

/* ââ Cinematic hero ââ */
.shop-cinema-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Full first screen under sticky chrome — next sections only after scroll */
  min-height: calc(100vh - var(--shop-chrome-offset, 7rem));
  min-height: calc(100svh - var(--shop-chrome-offset, 7rem));
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.shop-cinema-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shop-cinema-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #040b1d;
  /* Hide native broken/play chrome on Android WebView when autoplay fails */
  -webkit-appearance: none;
  transition: opacity 0.35s ease;
}

.shop-cinema-hero__media.is-pending {
  opacity: 0;
}

.shop-cinema-hero__media.is-failed {
  display: none;
}

.shop-cinema-hero__media-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #040b1d;
  pointer-events: none;
}

.shop-cinema-hero__media-loading .pl {
  /* Keep the arc readable on the dark hero while video buffers */
  filter: brightness(1.15);
}

.shop-cinema-hero__media-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 29, 0.35);
  pointer-events: none;
}

.shop-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
}

.shop-cinema-hero__fade-bottom {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(
    to top,
    #040b1d,
    rgba(4, 11, 29, 0.65),
    transparent
  );
}

.shop-cinema-hero__fade-side {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(72%, 42rem);
  background: linear-gradient(
    to inline-end,
    rgba(4, 11, 29, 0.96),
    rgba(4, 11, 29, 0.72) 45%,
    rgba(4, 11, 29, 0.2) 78%,
    transparent
  );
}

.shop-cinema-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shop-max);
  margin-inline: auto;
  padding-inline: max(var(--shop-gutter), env(safe-area-inset-left, 0px))
    max(var(--shop-gutter), env(safe-area-inset-right, 0px));
  padding-top: clamp(3.5rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.shop-cinema-hero__content--parallax {
  will-change: transform;
}

.shop-cinema-hero__label {
  margin: 0;
  font-family: "Adawat Arabic", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-cinema-hero__brand-wrap {
  margin-top: 1rem;
  overflow: hidden;
}

.shop-cinema-hero__brand {
  margin: 0;
  font-size: clamp(3.75rem, 14vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(4, 11, 29, 0.35);
  display: flex;
  flex-wrap: nowrap;
}

.shop-cinema-hero__letter {
  display: inline-block;
  will-change: transform, opacity;
}

.shop-cinema-hero__orb {
  pointer-events: none;
  position: absolute;
  inset-inline-end: -8%;
  top: 12%;
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 146, 0, 0.22) 0%,
    rgba(255, 146, 0, 0.08) 38%,
    transparent 70%
  );
  animation: shop-hero-orb 18s ease-in-out infinite alternate;
  transform: translateZ(0);
}

@keyframes shop-hero-orb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(-6%, 8%, 0) scale(1.08);
    opacity: 1;
  }
}

.shop-cinema-hero__cta {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.shop-cinema-hero__cta.shop-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 146, 0, 0.28);
}

.shop-cinema-hero__cta.shop-btn--ghost-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .shop-cinema-hero__orb {
    animation: none;
  }

  .shop-cinema-hero__cta.shop-btn--primary:hover,
  .shop-cinema-hero__cta.shop-btn--ghost-light:hover {
    transform: none;
  }
}

.shop-cinema-hero__line {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.9);
}

.shop-cinema-hero__we {
  color: var(--brand);
}

.shop-cinema-hero__support {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.shop-cinema-hero__ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 768px) {
  .shop-cinema-hero__content {
    padding-top: clamp(4rem, 10vh, 7rem);
    padding-bottom: clamp(4rem, 10vh, 7rem);
  }
}

/* ââ Statement band ââ */
.shop-statement {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(4.5rem, 10vh, 8rem) 0;
}

.shop-statement__glow {
  pointer-events: none;
  position: absolute;
  inset-inline-end: -10%;
  top: 10%;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 146, 0, 0.18),
    transparent 68%
  );
  filter: blur(8px);
}

.shop-statement__rule {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 140%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 146, 0, 0.55),
    transparent
  );
  opacity: 0.45;
}

.shop-statement__inner {
  position: relative;
  z-index: 1;
}

.shop-statement__tag {
  margin: 0;
  font-family: "Adawat Arabic", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-statement__title {
  margin: 1.5rem 0 0;
  max-width: 56rem;
  font-size: clamp(2.15rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.shop-statement__line {
  display: block;
}

.shop-statement__line--muted {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
}

.shop-statement__body {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.shop-statement__pillars {
  margin-top: 3.25rem;
  display: grid;
  gap: 1rem;
}

.shop-pillar {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--shop-radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 1.35rem 1.35rem;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease;
}

.shop-pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 146, 0, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.shop-pillar__tag {
  margin: 0;
  font-family: "Adawat Arabic", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-pillar__title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.shop-pillar__text {
  margin: 0.75rem 0 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.shop-pillar__cta {
  margin-top: 1.5rem;
  width: fit-content;
}

.shop-pillar__link {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.shop-pillar:hover .shop-pillar__link {
  color: var(--brand);
}

@media (min-width: 768px) {
  .shop-statement__pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-pillar {
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .shop-pillar:hover {
    transform: none;
  }
}

/* ââ Hero market ââ */
.shop-hero-market {
  background: var(--surface-2);
  padding: 2rem 0 2.5rem;
}

.shop-hero-market__grid {
  display: grid;
  gap: 1rem;
}

.shop-hero-market__cats {
  display: none;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.shop-hero-market__cats-head {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-hero-market__cats-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  max-height: 26rem;
  overflow: auto;
}

.shop-hero-market__cats-list button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.65rem 1rem;
  text-align: start;
  font-size: 0.875rem;
  color: rgba(4, 11, 29, 0.8);
  unicode-bidi: plaintext;
}

.shop-hero-market__cats-list button:hover {
  background: var(--surface-2);
  color: var(--brand);
}

.shop-hero-market__cats-list button.is-brand {
  color: var(--brand);
  font-weight: 600;
}

.shop-hero-market__slide {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
}

.shop-hero-market__slide-inner {
  position: absolute;
  inset: 0;
}

.shop-hero-market__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* cover wins over .shop-img > img { object-fit: contain } via higher-specificity rule above */
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.shop-hero-market__slide-grad {
  position: absolute;
  inset: 0;
  /* Logical direction: dark under copy (inline-start) in both LTR and RTL */
  background: linear-gradient(
    to inline-end,
    var(--ink),
    rgba(4, 11, 29, 0.8),
    rgba(4, 11, 29, 0.2)
  );
}

.shop-hero-market__slide-copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 21rem;
  padding: 1.5rem;
  text-align: start;
}

.shop-hero-market__hot {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-hero-market__slide-copy h2 {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.shop-hero-market__text {
  margin: 0.75rem 0 0;
  max-width: 24rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.shop-hero-market__cta {
  margin-top: 1.5rem;
  width: fit-content;
}

.shop-magnetic {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-magnetic:hover {
  transform: scale(1.04) translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .shop-magnetic:hover {
    transform: none;
  }
}

.shop-hero-market__arrows {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  left: auto;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  /* Keep [<][>] order — RTL flex would reverse buttons into >< */
  direction: ltr;
}

.shop-hero-market__arrows button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.shop-hero-market__arrows button:hover {
  background: var(--brand);
}

.shop-hero-market__dots {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: auto;
  z-index: 20;
  display: flex;
  gap: 0.35rem;
  /* Keep pill growth LTR so active marker reads left→right */
  direction: ltr;
}

.shop-hero-market__dots button {
  width: 0.4rem;
  height: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.shop-hero-market__dots button.is-active {
  width: 1.5rem;
  background: var(--brand);
}

.shop-hero-market__tiles {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.shop-hero-market__tile {
  position: relative;
  flex: 1;
  min-height: 12.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 1.25rem;
  text-align: start;
}

.shop-hero-market__tile.is-brand-logo {
  background: #fff;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.1rem 1rem 1.15rem;
  text-align: center;
}

.shop-hero-market__tile-logo {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  width: 100%;
  min-height: 4.5rem;
  display: grid;
  place-items: center;
  background: #fff;
}

.shop-hero-market__tile.is-brand-logo .shop-hero-market__tile-logo img,
.shop-hero-market__tile-logo img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 5.5rem;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  opacity: 1 !important;
  padding: 0;
  transition: transform 0.35s ease;
}

.shop-hero-market__tile.is-brand-logo:hover .shop-hero-market__tile-logo img {
  transform: scale(1.04);
}

.shop-hero-market__tile.is-brand-logo .shop-hero-market__tile-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shop-hero-market__tile.is-brand-logo .shop-hero-market__tile-copy p {
  color: var(--ink);
  text-align: center;
}

.shop-hero-market__tile.is-brand-logo .shop-hero-market__tile-copy span {
  text-align: center;
}

.shop-hero-market__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  opacity: 0.55;
  transition: transform 0.5s ease;
}

.shop-hero-market__tile:not(.is-brand-logo):hover img {
  transform: scale(1.05);
}

.shop-hero-market__tile.is-brand-logo:hover img {
  transform: none;
}

.shop-hero-market__tile-copy {
  position: relative;
  z-index: 2;
}

.shop-hero-market__tile-copy p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.shop-hero-market__tile-copy span {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

@media (min-width: 768px) {
  .shop-hero-market__slide,
  .shop-hero-market__slide-copy {
    min-height: 26rem;
  }

  .shop-hero-market__slide-copy {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .shop-hero-market__grid {
    grid-template-columns: 16rem 1fr 13.75rem;
  }

  .shop-hero-market__cats,
  .shop-hero-market__tiles {
    display: flex;
  }

  .shop-hero-market__cats {
    display: block;
  }
}

/* Keep cats | hero | tiles column order in Arabic (don't mirror the grid). */
[dir="rtl"] .shop-hero-market__grid {
  direction: ltr;
}

[dir="rtl"] .shop-hero-market__cats,
[dir="rtl"] .shop-hero-market__slide,
[dir="rtl"] .shop-hero-market__tiles {
  direction: rtl;
}

/* ââ Flash deals ââ */
.shop-flash {
  background: var(--surface-2);
  padding: 3rem 0 3.5rem;
}

.shop-flash__head,
.shop-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.shop-flash__head h2,
.shop-section-head h2,
.shop-cat-icons__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.shop-flash__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
}

.shop-flash__more:hover {
  color: var(--brand-hot);
}

.shop-flash__more .is-rtl {
  transform: rotate(180deg);
}

.shop-flash__wrap {
  position: relative;
}

.shop-flash__fade {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  z-index: 5;
  width: 3.5rem;
}

.shop-flash__fade--start {
  inset-inline-start: 0;
  background: linear-gradient(to inline-end, var(--surface-2), transparent);
}

.shop-flash__fade--end {
  inset-inline-end: 0;
  background: linear-gradient(to inline-start, var(--surface-2), transparent);
}

.shop-flash__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(4, 11, 29, 0.12);
}

.shop-flash__arrow--prev {
  inset-inline-start: 0.25rem;
}

.shop-flash__arrow--next {
  inset-inline-end: 0.25rem;
}

.shop-flash__arrow:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}

.shop-flash__arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.shop-flash__scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 1rem 0.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.shop-flash__scroller::-webkit-scrollbar {
  display: none;
}

.shop-flash__item {
  width: 13.75rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .shop-flash__scroller {
    padding-inline: 3rem 3rem;
  }

  .shop-flash__arrow {
    display: grid;
  }

  .shop-flash__item {
    width: 15rem;
  }
}

/* ââ Category icons ââ */
.shop-cat-icons {
  background: #fff;
  padding: 3rem 0;
}

.shop-cat-icons__head {
  text-align: center;
  margin-bottom: 2rem;
}

.shop-cat-icons__row {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.shop-cat-icons__row::-webkit-scrollbar {
  display: none;
}

.shop-cat-icons__item {
  display: flex;
  width: 6.25rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
}

.shop-cat-icons__circle {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
  transition: background 0.25s ease, transform 0.25s ease;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
}

.shop-cat-icons__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.shop-cat-icons__item:hover .shop-cat-icons__circle {
  background: color-mix(in srgb, var(--brand) 15%, white);
  transform: scale(1.05);
}

.shop-cat-icons__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .shop-cat-icons__row {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* —— Product sections —— */
.shop-home {
  padding: 0;
}

.shop-product-sections {
  padding-block: 3rem;
}

.shop-product-sections--alt {
  background: #fff;
}

.shop-product-sections__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.shop-product-sections__cell {
  height: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .shop-product-sections__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .shop-product-sections__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ââ Promo banners ââ */
.shop-promo-banners {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
}

.shop-promo-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 12.5rem;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 1.5rem;
  text-align: start;
  width: 100%;
}

.shop-promo-banner--soft {
  background: var(--ink-soft);
}

.shop-promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: transform 0.7s ease;
}

.shop-promo-banner:hover img {
  transform: scale(1.05);
}

.shop-promo-banner__copy {
  position: relative;
  z-index: 2;
}

.shop-promo-banner__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.shop-promo-banner__text {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.shop-promo-banner__copy span {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

@media (min-width: 768px) {
  .shop-promo-banners {
    grid-template-columns: 1fr 1fr;
  }
}

/* ââ Values / attitude ââ */
.shop-values {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.shop-values__glow {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.5;
}

.shop-values__glow--a {
  inset-inline-start: -6rem;
  top: 4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 146, 0, 0.3);
}

.shop-values__glow--b {
  inset-inline-end: 0;
  bottom: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 144, 61, 0.2);
}

.shop-values__inner {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem;
}

.shop-values__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-values__title {
  margin: 0.75rem 0 0;
  max-width: 48rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
}

.shop-values__watermark {
  margin: 1rem 0 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.1);
}

.shop-values__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.shop-attitude-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--shop-radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  backdrop-filter: blur(4px);
}

.shop-attitude-card__no {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--brand);
}

.shop-attitude-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.2rem;
}

.shop-attitude-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .shop-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .shop-values__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ââ Quick view ââ */
.shop-quickview {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: rgba(4, 11, 29, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shop-quickview.is-visible {
  opacity: 1;
}

html.shop-modal-open .shop-chrome {
  pointer-events: none;
}

.shop-quickview__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 64rem);
  max-height: min(52rem, 92dvh);
  overflow: hidden;
  background: #fff;
  border-radius: var(--shop-radius, 0.75rem);
  box-shadow: 0 24px 64px rgba(4, 11, 29, 0.28);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-quickview.is-visible .shop-quickview__panel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .shop-quickview__panel {
    transform: none;
    transition: opacity 0.15s ease;
  }
}

.shop-quickview__close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(4, 11, 29, 0.12);
}

.shop-quickview__close:hover {
  background: #fff;
  color: var(--brand);
}

.shop-quickview__media {
  position: relative;
  display: grid;
  place-items: stretch;
  min-height: 12rem;
  max-height: min(22rem, 38dvh);
  background: #fff;
  padding: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.shop-quickview__media .shop-card__placeholder {
  min-height: 12rem;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.shop-quickview__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: clamp(0.35rem, 1.5vw, 1.25rem);
  box-sizing: border-box;
}

.shop-quickview__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  padding: 0;
  overflow: hidden;
}

.shop-quickview__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.65rem 1.5rem 1.15rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.shop-quickview__intro {
  display: grid;
  gap: 0.4rem;
  padding-inline-end: 2.75rem;
}

.shop-quickview__body h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.shop-quickview__specs {
  margin-top: 1.35rem;
}

.shop-quickview__specs h4 {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-specs--compact th,
.shop-specs--compact td {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}

.shop-specs--compact th {
  width: 38%;
}

.shop-quickview__sku {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.shop-quickview__price-block {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.shop-quickview__price-row {
  margin-top: 0 !important;
  padding-top: 0;
}

.shop-quickview__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(4, 11, 29, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-quickview__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-top: 0;
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.shop-quickview__actions .shop-qty--lg {
  flex: 0 0 auto;
  width: max-content;
  min-width: 0;
  margin: 0;
  height: 2.85rem;
}

.shop-quickview__actions .shop-qty--lg button {
  width: 2.55rem;
  min-width: 2.55rem;
  height: 2.85rem;
}

.shop-quickview__actions .shop-qty--lg span,
.shop-quickview__actions .shop-qty--lg .shop-qty__input {
  width: 2.55rem;
  min-width: 2.55rem;
  height: 2.85rem;
  font-size: 0.95rem;
}

.shop-quickview__actions .shop-btn--primary {
  flex: 1 1 11rem;
  min-width: 10rem;
  min-height: 2.85rem;
  font-size: 0.8rem;
}

.shop-quickview__actions .shop-btn--ghost {
  flex: 1 1 8rem;
  min-height: 2.85rem;
  font-size: 0.8rem;
}

.shop-quickview__scroll {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ink) 18%, transparent) transparent;
}

@media (max-width: 767px) {
  .shop-quickview__media {
    min-height: 0;
    height: clamp(9.5rem, 30dvh, 15rem);
    max-height: none;
  }

  .shop-quickview__media .shop-card__placeholder {
    min-height: 100%;
  }

  .shop-quickview__scroll {
    padding: 1.1rem 1.1rem 0.9rem;
  }

  .shop-quickview__intro {
    gap: 0.3rem;
    padding-inline-end: 0;
  }

  .shop-quickview__body h3 {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
  }

  .shop-quickview__price-block {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .shop-quickview__actions {
    gap: 0.55rem;
    padding: 0.75rem 1.1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }

  .shop-quickview__actions .shop-btn--primary {
    flex: 1 1 0;
    min-width: 0;
  }

  .shop-quickview__actions .shop-btn--ghost {
    flex: 1 1 100%;
    min-height: 2.4rem;
  }
}

@media (min-width: 768px) {
  .shop-quickview__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: min(100%, 72rem);
    max-height: min(48rem, 92dvh);
  }

  .shop-quickview__media {
    min-height: 0;
    max-height: none;
    height: 100%;
    border-bottom: 0;
    border-inline-end: 1px solid var(--line);
  }

  .shop-quickview__media .shop-card__placeholder {
    min-height: 100%;
    font-size: 1.35rem;
  }

  .shop-quickview__scroll {
    padding: 2.15rem 2.1rem 1.25rem;
  }

  .shop-quickview__actions {
    padding: 1.1rem 2.1rem 1.75rem;
  }

  .shop-quickview__price-block {
    margin-top: 1.35rem;
  }

  .shop-quickview__desc {
    -webkit-line-clamp: 4;
    font-size: 0.98rem;
  }
}

@media (min-width: 1100px) {
  .shop-quickview {
    padding: 2.25rem;
  }

  .shop-quickview__panel {
    width: min(100%, 78rem);
    max-height: min(52rem, 92dvh);
  }
}

/* ââ Boot veil (professional, no fake progress) ââ */
.shop-boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
}

.shop-boot.is-exiting {
  animation: shop-boot-exit 0.28s ease forwards;
  pointer-events: none;
}

@keyframes shop-boot-exit {
  to {
    opacity: 0;
  }
}

.shop-boot__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding: 1.25rem 1.5rem;
}

.shop-boot__logo {
  width: clamp(8.5rem, 34vw, 12.5rem);
  height: auto;
  display: block;
}

/* PNG stack fallback sizing */
.shop-boot__logo.adawat-logo:not(img) {
  position: relative;
  display: inline-block;
  line-height: 0;
  width: clamp(8.5rem, 34vw, 12.5rem);
}

.shop-boot__logo.adawat-logo:not(img) .adawat-logo__ink,
.shop-boot__logo.adawat-logo:not(img) .adawat-logo__accent {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.shop-boot__logo.adawat-logo:not(img) .adawat-logo__accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shop-boot__spinner.pl,
.shop-boot .pl {
  width: 2.75rem !important;
  height: 2.75rem !important;
}

.shop-boot__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

html.locale-ar .shop-boot__label {
  font-family: var(--shop-arabic);
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .shop-boot.is-exiting {
    animation: none;
    opacity: 0;
  }
}


.shop-reveal {
  /* placeholder â visibility controlled via :not(.is-revealed) above */
}

/* legacy duplicate block removed â see .shop-reveal:not(.is-revealed) */

.shop-cinema-hero__anim {
  opacity: 0;
  transform: translateY(22px);
}

.shop-cinema-hero.is-intro .shop-cinema-hero__anim {
  animation: shop-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__label {
  animation-delay: 0.05s;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__brand {
  animation-delay: 0.12s;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__line {
  animation-delay: 0.22s;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__support {
  animation-delay: 0.32s;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__ctas {
  animation-delay: 0.4s;
}

.shop-cinema-hero.is-intro .shop-cinema-hero__line--locale {
  animation: shop-hero-locale-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s
    forwards;
}

@keyframes shop-hero-locale-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes shop-hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
}

.shop-drawer .shop-drawer__backdrop,
.shop-drawer .shop-drawer__panel {
  pointer-events: auto;
}

/* ââ Category page ââ */
.shop-category__head {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0 1.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  text-align: center;
}

@media (min-width: 900px) {
  .shop-category__head {
    grid-template-columns: none;
    align-items: center;
    gap: 1rem;
  }
}

.shop-category__intro {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 40rem;
}

.shop-category__intro h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.shop-category__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-category__lede {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.shop-category__count {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
}

.shop-category__controls {
  display: grid;
  gap: 0.65rem;
  align-content: end;
}

.shop-category__search {
  width: 100%;
}

.shop-category__search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.shop-category__search-field svg {
  flex-shrink: 0;
  color: var(--muted);
}

.shop-category__search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.shop-category__search-field input:focus {
  outline: none;
}

.shop-category__search-field button {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.4rem;
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-category__search-field button:hover {
  background: var(--brand-hot);
}

.shop-category__head > .shop-category__rail-toggle {
  justify-self: start;
}

.shop-category__rail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 2.45rem;
  margin: 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transform-origin: center;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-category__rail-toggle:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  color: var(--brand);
}

.shop-category__rail-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.shop-category__rail-toggle svg {
  flex-shrink: 0;
}

.shop-category__rail-toggle--sidebar {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.65rem;
  border-color: color-mix(in srgb, var(--line) 95%, transparent);
  background: color-mix(in srgb, var(--surface, #f6f7f9) 88%, #fff);
  font-size: 0.82rem;
  font-weight: 650;
}

.shop-category__rail-toggle--sidebar:hover {
  background: #fff;
}

@media (min-width: 1024px) {
  .shop-category--b2b .shop-category__layout {
    align-items: start;
    transition:
      grid-template-columns 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      gap 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .shop-category--b2b .shop-category__sidebar {
    position: sticky;
    top: var(
      --shop-sticky-top,
      var(--shop-category-sticky-top, 0)
    );
    align-self: start;
    display: block;
    min-width: 0;
    min-height: 0;
    max-height: var(
      --shop-category-sticky-max-height,
      calc(
        100dvh - var(--shell-topbar-height, 3.75rem) -
          (var(--shell-content-pad, 1.5rem) * 2)
      )
    );
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.28s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .shop-category--b2b .shop-category__sidebar-rail {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    max-height: var(
      --shop-category-sticky-max-height,
      calc(
        100dvh - var(--shell-topbar-height, 3.75rem) -
          (var(--shell-content-pad, 1.5rem) * 2)
      )
    );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .shop-category--b2b.shop-category--rail-collapsed .shop-category__layout {
    grid-template-columns: 0fr minmax(0, 1fr);
    gap: 0;
  }

  .shop-category--b2b.shop-category--rail-collapsed .shop-category__sidebar {
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-0.75rem);
    pointer-events: none;
  }

  [dir="rtl"] .shop-category--b2b.shop-category--rail-collapsed .shop-category__sidebar {
    transform: translateX(0.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-category--b2b .shop-category__layout,
  .shop-category--b2b .shop-category__sidebar,
  .shop-category__rail-toggle {
    transition: none;
  }
}

.shop-filters__collapse-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  text-align: start;
}

.shop-filters__collapse-toggle .lucide-chevron-down,
.shop-filters__collapse-toggle svg:last-child {
  transition: transform 0.2s ease;
}

.shop-filters__collapse-toggle.is-open svg:last-child {
  transform: rotate(180deg);
}

.shop-filters__collapse-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-filters--collapsible .shop-filters__body {
  padding-top: 0.35rem;
}

.shop-filters__clip {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.shop-filters__clip.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.shop-filters__clip-inner {
  min-height: 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .shop-filters__clip {
    transition: none;
  }
}

.shop-category__sidebar .shop-browse,
.shop-category__sidebar .shop-filters {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Unified catalog rail (B2C + B2B) — panel capped to viewport, scrolls as one */
.shop-category__sidebar-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.shop-category__sidebar .shop-browse--desktop {
  display: block;
  flex: 0 0 auto;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.shop-category__sidebar .shop-browse__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1rem 0.35rem;
  border-bottom: 0;
}

.shop-category__sidebar .shop-browse__head h2 {
  display: block;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-category__sidebar .shop-browse__count {
  display: none;
}

.shop-category__sidebar .shop-browse__list {
  margin: 0;
  padding: 0.15rem 0.5rem 0.35rem;
  gap: 0;
  max-height: none;
  overflow: visible;
}

.shop-category__sidebar .shop-browse__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  width: 100%;
  margin: 0;
  padding: 0.42rem 0.5rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--ink-soft, #374151);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

.shop-category__sidebar .shop-browse__link:hover {
  background: color-mix(in srgb, var(--ink) 4%, #fff);
  color: var(--ink);
}

.shop-category__sidebar .shop-browse__link.is-active,
.shop-category__sidebar .shop-browse__link--all.is-active {
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  box-shadow: none;
}

.shop-category__sidebar .shop-browse__link.is-active:hover,
.shop-category__sidebar .shop-browse__link--all.is-active:hover {
  background: color-mix(in srgb, var(--brand) 6%, #fff);
  color: var(--brand);
}

[dir="rtl"] .shop-category__sidebar .shop-browse__link.is-active,
[dir="rtl"] .shop-category__sidebar .shop-browse__link--all.is-active {
  box-shadow: none;
}

.shop-category__sidebar .shop-browse__link-check {
  display: none;
}

.shop-category__sidebar .shop-browse__link--all {
  margin-bottom: 0.1rem;
}

.shop-category__sidebar .shop-browse__escape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
  width: calc(100% - 1rem);
  margin: 0.25rem 0.5rem 0.75rem;
  padding: 0.5rem 0.55rem;
  border: 1px dashed color-mix(in srgb, var(--line) 90%, var(--brand));
  border-radius: 0.35rem;
  background: transparent;
  color: var(--ink-soft, #374151);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.shop-category__sidebar .shop-browse__escape:hover {
  border-style: solid;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 5%, #fff);
  color: var(--brand);
}

.shop-category__sidebar .shop-browse__escape svg {
  flex-shrink: 0;
  color: var(--brand);
}

.shop-category__sidebar .shop-browse__parent-row {
  gap: 0.2rem;
}

.shop-category__sidebar .shop-browse__nest-toggle {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  color: var(--muted);
}

.shop-category__sidebar .shop-browse__nest-toggle:hover,
.shop-category__sidebar .shop-browse__group.is-open .shop-browse__nest-toggle {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  border-color: transparent;
}

.shop-category__sidebar .shop-browse__children {
  margin: 0.05rem 0 0.2rem 0.45rem;
  padding: 0.1rem 0 0.1rem 0.55rem;
  border-inline-start: 1px solid var(--line);
}

.shop-category__sidebar .shop-browse__link--child {
  padding-block: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.shop-category__sidebar .shop-filters--desktop {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.shop-category__sidebar .shop-filters__head {
  margin: 0;
  padding: 0.85rem 1rem 0.35rem;
  border-bottom: 0;
}

.shop-category__sidebar .shop-filters__head h2 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-category__sidebar .shop-filters__collapse-toggle {
  padding: 0.85rem 1rem;
  border-bottom: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-category__sidebar .shop-filters__collapse-toggle:hover {
  background: color-mix(in srgb, var(--ink) 2.5%, #fff);
  color: var(--ink);
}

.shop-category__sidebar .shop-filters__body {
  padding: 0.65rem 1rem 1rem;
}

.shop-category__sidebar .shop-filters__refine {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.shop-category__sidebar .shop-filters__refine-block.has-groups,
.shop-filters__sheet .shop-filters__refine-block.has-groups {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.shop-category__sidebar .shop-filters__refine-field {
  gap: 0.35rem;
}

.shop-category__sidebar .shop-filters__refine-field > span:first-child {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.shop-category__sidebar .shop-filters__refine-field select,
.shop-category__sidebar .shop-filters__refine-field input {
  min-height: 2.15rem;
  border-radius: 0.35rem;
  border-color: var(--line);
  font-size: 0.84rem;
}

.shop-category__sidebar .shop-filters__refine-check {
  margin-top: 0.15rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  font-size: 0.84rem;
}

.shop-category__sidebar .shop-filters__refine-check.is-checked {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.shop-category__sidebar .shop-filters__actions {
  margin-bottom: 0.55rem;
}

.shop-category__sidebar .shop-filters__group + .shop-filters__group {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Below desktop the Categories + Filters sheet triggers replace the rail. */
@media (max-width: 1023px) {
  .shop-category__sidebar .shop-browse--desktop,
  .shop-category__sidebar .shop-filters--desktop {
    display: none;
  }
}

.shop-biz-shell .shop-brands-page {
  max-width: none;
  padding-block: 0.25rem 1.5rem;
}

.shop-biz-shell .shop-brands-page__head {
  margin-bottom: 1rem;
}

.shop-biz-shell .shop-category__head {
  margin-bottom: 1.15rem;
  padding-bottom: 1.1rem;
}

.shop-biz-shell .shop-category__intro h1 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

@media (max-width: 1023px) {
  .shop-biz-shell .shop-category__head {
    margin-bottom: 0.75rem;
    padding-bottom: 0.85rem;
    gap: 0.55rem;
  }

  .shop-biz-shell .shop-category,
  .shop-biz-shell .shop-category__layout,
  .shop-biz-shell .shop-category__main,
  .shop-biz-shell .shop-category__grid-shell,
  .shop-biz-shell .shop-grid--b2b {
    min-width: 0;
    max-width: 100%;
  }

  .shop-biz-shell .shop-category__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .shop-biz-shell .shop-category__sidebar {
    width: 100%;
    margin: 0;
    padding: 0;
    border-block: 0;
    background: transparent;
    position: static;
  }

  .shop-biz-shell .shop-category__sidebar .shop-browse--mobile,
  .shop-biz-shell .shop-category__sidebar .shop-filters--mobile {
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .shop-biz-shell .shop-browse__trigger {
    min-height: 2.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border-color: color-mix(in srgb, var(--ink) 12%, transparent);
    background: #fff;
  }

  .shop-biz-shell .shop-browse__eyebrow {
    font-size: 0.62rem;
  }

  .shop-biz-shell .shop-browse__current {
    font-size: 0.875rem;
    font-weight: 650;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__media-wrap {
    aspect-ratio: 5 / 4;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__body {
    padding: 0.65rem 0.7rem 0.7rem;
    gap: 0.28rem;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__title {
    min-height: 0;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__title button {
    font-size: 0.88rem;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__order {
    min-width: 0;
  }

  .shop-biz-shell .shop-card--b2b .shop-card__order-add {
    min-width: 0;
    flex: 1 1 auto;
  }
}

.shop-biz-shell .shop-brands-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.9rem;
}

@media (min-width: 560px) {
  .shop-biz-shell .shop-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .shop-biz-shell .shop-brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}

@media (min-width: 1200px) {
  .shop-biz-shell .shop-brands-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shop-biz-shell .shop-brands-tile__logo {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  min-height: 7.5rem;
}

.shop-biz-shell .shop-brands-tile__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.shop-category__toolbar {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.shop-category__toolbar-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-height: 2.5rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 1px 0 transparent;
  transition:
    min-height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.shop-category__toolbar-toggle-wrap {
  display: grid;
  grid-template-rows: 0fr auto;
  gap: 0;
  flex: 0 0 auto;
  align-content: end;
  padding-inline-end: 0;
  transition:
    grid-template-rows 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-category__toolbar-toggle-wrap > .shop-category__toolbar-label,
.shop-category__toolbar-meta > .shop-category__toolbar-label {
  display: block;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.shop-category__toolbar.is-open .shop-category__toolbar-bar {
  min-height: 5.1rem;
  padding: 0.7rem 0.8rem;
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}

.shop-category__toolbar.is-open .shop-category__toolbar-toggle-wrap {
  grid-template-rows: 1fr auto;
  gap: 0.35rem;
  padding-inline-end: 0.85rem;
}

.shop-category__toolbar.is-open .shop-category__toolbar-toggle-wrap > .shop-category__toolbar-label,
.shop-category__toolbar.is-open .shop-category__toolbar-meta > .shop-category__toolbar-label {
  opacity: 1;
}

.shop-category__toolbar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-category__toolbar-toggle:hover,
.shop-category__toolbar-toggle.is-open {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  color: var(--ink);
}

.shop-category__toolbar-toggle.is-open {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-category__toolbar-x {
  width: 0;
  margin-inline-start: 0;
  opacity: 0;
  transform: rotate(-80deg);
  transform-origin: center;
  overflow: hidden;
  color: var(--muted);
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-category__toolbar-x.is-on {
  width: 14px;
  margin-inline-start: 0.15rem;
  opacity: 1;
  transform: none;
}

.shop-category__toolbar-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.shop-category__toolbar-clip {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 0fr;
  opacity: 0;
  pointer-events: none;
  transition:
    grid-template-columns 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
}

.shop-category__toolbar-clip.is-open {
  grid-template-columns: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.shop-category__toolbar-clip-inner {
  min-width: 0;
  overflow: hidden;
}

.shop-category__toolbar-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
  width: max-content;
}

.shop-category__toolbar-field {
  opacity: 0;
  transform: translateX(-0.55rem);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.shop-category__toolbar.is-open .shop-category__toolbar-field {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.38s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-category__toolbar.is-open .shop-category__toolbar-field:nth-child(1) {
  transition-delay: 0.06s;
}

.shop-category__toolbar.is-open .shop-category__toolbar-field:nth-child(2) {
  transition-delay: 0.1s;
}

.shop-category__toolbar.is-open .shop-category__toolbar-field:nth-child(3) {
  transition-delay: 0.14s;
}

.shop-category__toolbar.is-open .shop-category__toolbar-field:nth-child(4) {
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .shop-category__toolbar-bar,
  .shop-category__toolbar-toggle-wrap,
  .shop-category__toolbar-clip,
  .shop-category__toolbar-toggle,
  .shop-category__toolbar-x,
  .shop-category__toolbar-field,
  .shop-category__toolbar-meta {
    transition: none !important;
  }

  .shop-category__toolbar-field {
    transform: none;
    opacity: 1;
  }
}

.shop-category__toolbar-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding-inline: 0.95rem;
  border-inline-start: 1px solid var(--line);
}

.shop-category__toolbar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  line-height: 1.2;
}

.shop-category__toolbar-select,
.shop-category__toolbar-input,
.shop-category__toolbar-range input {
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.shop-category__toolbar-select {
  min-width: 12rem;
  max-width: 16rem;
  cursor: pointer;
}

.shop-category__toolbar-input {
  width: 5.5rem;
}

.shop-category__toolbar-range {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.shop-category__toolbar-range-sep {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
}

.shop-category__toolbar-range input {
  width: 5.1rem;
}

.shop-category__toolbar-select:focus,
.shop-category__toolbar-input:focus,
.shop-category__toolbar-range input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--ink));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-category__stat {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}

.shop-category__toolbar-meta {
  display: grid;
  grid-template-columns: 0fr;
  gap: 0.35rem;
  align-content: end;
  justify-items: end;
  margin-inline-start: auto;
  padding-inline-start: 0;
  flex: 0 0 auto;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition:
    grid-template-columns 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.shop-category__toolbar.is-open .shop-category__toolbar-meta {
  grid-template-columns: 1fr;
  padding-inline-start: 0.85rem;
  opacity: 1;
  pointer-events: auto;
}

.shop-category__toolbar-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  min-width: 0;
  min-height: 2.4rem;
}

.shop-category__toolbar-clear {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.shop-category__toolbar-clear:hover {
  text-decoration: underline;
}

.shop-category__filter {
  cursor: pointer;
  user-select: none;
}

.shop-category__filter-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.4rem;
  padding: 0 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 550;
  letter-spacing: 0;
  word-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.shop-category__filter.is-checked .shop-category__filter-control {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}

.shop-category__filter-control input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.shop-category__layout {
  display: grid;
  gap: 1rem;
}

.shop-category__sidebar {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.shop-category__sidebar-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 0;
}

/* Mobile: categories + filters share one sticky control bar */
@media (max-width: 1023px) {
  .shop-category__rail-toggle,
  .shop-category__rail-toggle--sidebar {
    display: none !important;
  }

  .shop-category__sidebar-rail {
    display: contents;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .shop-category__sidebar {
    position: sticky;
    top: var(--shop-sticky-top, var(--shop-chrome-offset, 7rem));
    z-index: 32;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0;
    border-block: 1px solid var(--line);
    background: color-mix(in srgb, #fff 96%, transparent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .shop-category__sidebar:has(.shop-filters--mobile) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  }

  .shop-browse--mobile,
  .shop-filters--mobile {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
}

.shop-category__main {
  min-width: 0;
  width: 100%;
  container-type: inline-size;
  container-name: shop-catalog;
}

/* Content-width columns (B2B sidebar / filters) — not viewport alone. */
@container shop-catalog (max-width: 519px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@container shop-catalog (min-width: 520px) and (max-width: 759px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@container shop-catalog (min-width: 760px) and (max-width: 1099px) {
  .shop-biz-shell .shop-grid--b2b,
  .shop-biz-shell .shop-grid--b2b-home {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 899px) {
  .shop-category__toolbar-bar {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 0.75rem;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .shop-category__toolbar.is-open .shop-category__toolbar-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 0.55rem 0.75rem;
    padding: 0.55rem 0.7rem;
  }

  .shop-category__toolbar-toggle-wrap {
    display: flex;
    align-items: center;
    width: auto;
    padding-inline-end: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .shop-category__toolbar-toggle-wrap .shop-category__toolbar-label,
  .shop-category__toolbar-meta .shop-category__toolbar-label {
    display: none;
  }

  .shop-category__toolbar-meta {
    margin-inline-start: 0;
    padding-inline-start: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .shop-category__toolbar-meta-row {
    min-height: 0;
  }

  .shop-category__toolbar-clip {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 0fr;
    flex: none;
    width: 100%;
    max-height: none;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      grid-template-rows 0.85s cubic-bezier(0.33, 0, 0.2, 1),
      opacity 0.65s ease;
  }

  .shop-category__toolbar-clip.is-open {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    transition:
      grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.35s ease;
  }

  .shop-category__toolbar-clip-inner {
    min-width: 0;
    overflow: visible;
  }

  .shop-category__toolbar-inline {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
    padding-top: 0.75rem;
  }

  .shop-category__toolbar-clip-inner {
    min-height: 0;
  }

  .shop-category__toolbar-field {
    transform: translateY(0.45rem);
    transition:
      opacity 0.6s ease,
      transform 0.65s cubic-bezier(0.33, 0, 0.2, 1);
  }

  .shop-category__toolbar-bar {
    transition:
      min-height 0.8s cubic-bezier(0.33, 0, 0.2, 1),
      padding 0.8s cubic-bezier(0.33, 0, 0.2, 1),
      background-color 0.55s ease,
      border-color 0.55s ease,
      box-shadow 0.55s ease;
  }

  .shop-category__toolbar.is-open .shop-category__toolbar-bar {
    transition:
      min-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.35s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease;
  }

  .shop-category__toolbar-field {
    width: 100%;
    min-width: 0;
    padding-inline: 0;
    border-inline-start: 0;
  }

  .shop-category__toolbar-field + .shop-category__toolbar-field {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .shop-category__toolbar-select,
  .shop-category__toolbar-input,
  .shop-category__toolbar-range,
  .shop-category__filter-control {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .shop-category__toolbar-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .shop-category__toolbar-range input {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .shop-category__main .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.65rem;
  }

  .shop-category__head {
    margin-bottom: 1rem;
    gap: 0.85rem;
  }

  .shop-category__intro h1 {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .shop-category__search-field {
    padding-inline-start: 0.7rem;
  }

  .shop-category__search-field button {
    padding: 0.55rem 0.85rem;
    font-size: 0.7rem;
  }
}

/* —— Category tag filters —— */
.shop-filters--desktop {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.shop-filters--desktop:hover {
  box-shadow: none;
  border-color: var(--line);
}

.shop-filters--mobile {
  min-width: 0;
}

.shop-filters__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.shop-filters__trigger:hover,
.shop-filters__trigger.has-selection {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.shop-filters__trigger.has-selection {
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}

.shop-filters__trigger-text {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.shop-filters__trigger-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--muted);
}

.shop-filters__badge {
  position: absolute;
  top: -0.45rem;
  inset-inline-end: -0.45rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.shop-filters__eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-filters__current {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-filters__head h2 {
  margin: 0;
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.shop-filters__body {
  padding: 0.75rem 1rem 1.15rem;
}

.shop-filters__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.shop-filters__clear,
.shop-filters__clear-group {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 0.4rem;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.shop-filters__clear:hover,
.shop-filters__clear-group:hover {
  color: var(--brand-hot, var(--brand));
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-filters__clear:focus-visible,
.shop-filters__clear-group:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.shop-filters__group + .shop-filters__group {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
}

.shop-filters__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  padding-inline: 0.15rem;
}

.shop-filters__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.shop-filters__group-toggle svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.shop-filters__group.is-open .shop-filters__group-toggle svg {
  transform: rotate(180deg);
}

.shop-filters__group-head h3 {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-filters__group-meta {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.shop-filters__more {
  display: inline-flex;
  margin: 0.35rem 0 0.1rem;
  padding: 0.25rem 0.15rem;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.shop-filters__refine {
  display: grid;
  gap: 0.7rem;
  padding: 0.15rem 0.1rem 0.2rem;
}

.shop-filters__refine-field {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-filters__refine-field select,
.shop-filters__refine-field input {
  width: 100%;
  min-height: 2.15rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.shop-filters__refine-field select:focus,
.shop-filters__refine-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 1px;
}

.shop-filters__refine-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
}

.shop-filters__refine-range span {
  color: var(--muted);
  font-weight: 650;
}

.shop-filters__refine-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.15rem 0;
  font-size: 0.86rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}

.shop-filters__refine-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
}

.shop-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.shop-filters__item {
  display: grid;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s ease;
}

.shop-filters__item:last-child {
  border-bottom: 0;
}

.shop-filters__item.is-unavailable {
  opacity: 0.4;
  filter: grayscale(0.35);
}

.shop-filters__option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.46rem 0.35rem 0.46rem 0.55rem;
  border-radius: 0;
  border: 0;
  margin: 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.3;
  background: transparent;
  color: var(--ink);
  transition: background 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.28s ease;
}

.shop-filters__option::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.shop-filters__option:hover {
  background: color-mix(in srgb, var(--brand) 6%, transparent);
}

.shop-filters__option:active {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.shop-filters__option.is-checked {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--ink);
  box-shadow: none;
  animation: none;
}

.shop-filters__option.is-checked::before {
  transform: scaleY(1);
  opacity: 1;
}

.shop-filters__option.is-checked:hover {
  background: color-mix(in srgb, var(--brand) 11%, transparent);
}

.shop-filters__option.is-unavailable {
  cursor: not-allowed;
  color: color-mix(in srgb, var(--ink) 55%, var(--muted));
  background: transparent;
}

.shop-filters__option.is-unavailable:hover,
.shop-filters__option.is-unavailable:active {
  background: transparent;
}

.shop-filters__option.is-unavailable::before {
  display: none;
}

.shop-filters__option.is-unavailable input {
  border-color: color-mix(in srgb, var(--ink) 14%, transparent);
  background: color-mix(in srgb, var(--muted) 10%, #fff);
  box-shadow: none;
}

.shop-filters__option.is-unavailable:hover input {
  border-color: color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: none;
}

.shop-filters__option input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid color-mix(in srgb, var(--ink) 26%, transparent);
  border-radius: 0.28rem;
  background: #fff;
  display: grid;
  place-items: center;
  transition:
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-filters__option input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.shop-filters__option input::after {
  content: "";
  width: 0.34rem;
  height: 0.58rem;
  margin-top: -0.08rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: scale(0.4) rotate(45deg);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
    opacity 0.2s ease;
}

.shop-filters__option:hover input {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--ink));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-filters__option.is-checked input {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
  animation: none;
}

.shop-filters__option.is-checked input::after {
  opacity: 1;
  transform: scale(1) rotate(45deg);
}

.shop-filters__option-label {
  min-width: 0;
  font-weight: 500;
  transition: color 0.28s ease, font-weight 0.01s;
}

.shop-filters__option.is-checked .shop-filters__option-label {
  font-weight: 650;
}

.shop-filters__count {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: end;
  color: var(--muted);
  transition: color 0.28s ease;
  animation: none;
}

.shop-filters__option:hover .shop-filters__count {
  color: color-mix(in srgb, var(--brand) 40%, var(--muted));
  background: transparent;
  transform: none;
}

.shop-filters__option.is-checked .shop-filters__count {
  background: transparent;
  color: color-mix(in srgb, var(--brand) 55%, var(--muted));
  font-weight: 650;
}

.shop-filters__option.is-unavailable .shop-filters__count {
  background: transparent;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.shop-filters__swatches {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.shop-filters__swatch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-filters__swatch:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.shop-filters__swatch:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-filters__swatch.is-checked {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--white));
  box-shadow: 0 0 0 1px var(--brand);
  font-weight: 650;
}

.shop-filters__swatch.is-unavailable {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-filters__swatch-dot {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(4, 11, 29, 0.12);
}

.shop-filters__swatch-dot.is-light {
  box-shadow: inset 0 0 0 1px rgba(4, 11, 29, 0.28);
}

.shop-filters__swatch.is-checked .shop-filters__swatch-dot {
  box-shadow:
    inset 0 0 0 1px rgba(4, 11, 29, 0.2),
    0 0 0 2px var(--white),
    0 0 0 3.5px var(--brand);
}

.shop-filters__swatch-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-filters__swatch-count {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.shop-category__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

.shop-category__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding-block: 0.25rem;
  padding-inline: 0.4rem 0.55rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, var(--white));
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-category__chip .shop-filters__swatch-dot {
  width: 1rem;
  height: 1rem;
}

.shop-category__chip:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--white));
}

.shop-category__chips-clear {
  border: 0;
  background: none;
  padding: 0.25rem 0.35rem;
  color: var(--brand);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

html.locale-ar .shop-filters__option:hover,
[dir="rtl"] .shop-filters__option:hover,
html.locale-ar .shop-filters__option:active,
[dir="rtl"] .shop-filters__option:active,
html.locale-ar .shop-filters__option.is-unavailable:hover,
html.locale-ar .shop-filters__option.is-unavailable:active,
[dir="rtl"] .shop-filters__option.is-unavailable:hover,
[dir="rtl"] .shop-filters__option.is-unavailable:active {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .shop-filters__item,
  .shop-filters__clear,
  .shop-filters__clear-group,
  .shop-filters__option,
  .shop-filters__option::before,
  .shop-filters__option input,
  .shop-filters__option input::after,
  .shop-filters__option-label,
  .shop-filters__count,
  .shop-browse__link,
  .shop-browse__link-check,
  .shop-browse__link-mark,
  .shop-browse__link-mark::after {
    transition: none !important;
    animation: none !important;
  }
}

.shop-filters__empty {
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.875rem;
}

.shop-filters-sheet {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
}

.shop-filters-sheet.is-visible {
  pointer-events: auto;
}

.shop-filters__sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 11, 29, 0.48);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.shop-filters-sheet.is-visible .shop-filters__sheet-backdrop {
  opacity: 1;
}

.shop-filters__sheet {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: 100%;
  max-height: min(85dvh, 42rem);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: var(--white);
  border-radius: 1.15rem 1.15rem 0 0;
  box-shadow: 0 -16px 48px rgba(4, 11, 29, 0.2);
  transform: translate3d(0, 110%, 0);
  opacity: 0.96;
  transition:
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.32s ease;
  overflow: hidden;
  will-change: transform;
}

.shop-filters-sheet.is-visible .shop-filters__sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

[dir="rtl"] .shop-filters__sheet {
  transform: translate3d(0, 110%, 0);
}

[dir="rtl"] .shop-filters-sheet.is-visible .shop-filters__sheet {
  transform: translate3d(0, 0, 0);
}

.shop-sheet__handle {
  width: 2.5rem;
  height: 0.28rem;
  margin: 0.65rem auto 0.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 0.28s ease 0.08s,
    transform 0.36s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.shop-filters-sheet.is-visible .shop-sheet__handle,
.shop-browse-sheet.is-visible .shop-sheet__handle {
  opacity: 1;
  transform: translateY(0);
}

.shop-filters__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  background: var(--white);
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.3s ease 0.1s,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.shop-filters-sheet.is-visible .shop-filters__sheet-head {
  opacity: 1;
  transform: translateY(0);
}

.shop-filters__sheet-head h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-filters__sheet-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 0.32s ease 0.14s,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
}

.shop-filters-sheet.is-visible .shop-filters__sheet-body {
  opacity: 1;
  transform: translateY(0);
}

.shop-filters__sheet .shop-filters__body {
  padding-bottom: 0.35rem;
}

.shop-filters__sheet-foot {
  padding: 0.85rem 1rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  background:
    linear-gradient(to top, #fff 70%, color-mix(in srgb, #fff 80%, transparent));
  opacity: 0;
  transform: translateY(0.55rem);
  transition:
    opacity 0.3s ease 0.18s,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.shop-filters-sheet.is-visible .shop-filters__sheet-foot {
  opacity: 1;
  transform: translateY(0);
}

.shop-filters__sheet-foot .shop-btn,
.shop-filters__apply {
  width: 100%;
  min-height: 2.85rem;
  border-radius: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .shop-filters__sheet,
  .shop-filters__sheet-backdrop,
  .shop-filters__sheet-head,
  .shop-filters__sheet-body,
  .shop-filters__sheet-foot,
  .shop-sheet__handle {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

@media (min-width: 1024px) {
  .shop-category__layout {
    grid-template-columns: minmax(13.5rem, 15.5rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
  }

  .shop-category__sidebar {
    position: static;
    top: auto;
    align-self: stretch;
    max-height: none;
    overflow: visible;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    grid-template-columns: 1fr;
  }

  .shop-category__sidebar-rail {
    position: sticky;
    top: var(
      --shop-sticky-top,
      var(--shop-category-sticky-top, var(--shop-chrome-offset, 7rem))
    );
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: var(
      --shop-category-sticky-max-height,
      calc(100dvh - var(--shop-chrome-offset, 7rem) - 1.5rem)
    );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-bottom: 0;
    min-width: 0;
    min-height: 0;
  }

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

  .shop-filters--desktop {
    display: block;
  }

  .shop-category__sidebar .shop-browse--desktop {
    position: static;
    top: auto;
    max-height: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .shop-category__sidebar .shop-filters--desktop {
    display: block;
  }
}

.shop-browse--desktop {
  display: none;
}

.shop-browse--mobile {
  min-width: 0;
}

.shop-browse__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.shop-browse__trigger:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.shop-browse__trigger-text {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.shop-browse__eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-browse__current {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-browse__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.45rem 0.55rem;
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.shop-browse__group {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  max-width: 100%;
}

.shop-browse__group.is-open .shop-browse__nest-toggle {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, #fff);
}

.shop-browse__parent-row {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  min-width: 0;
}

.shop-browse__parent-row .shop-browse__link--parent {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.shop-browse__nest-toggle {
  flex: 0 0 2.15rem;
  width: 2.15rem;
  align-self: center;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--surface, #fff) 92%, var(--paper, #f7f5f1));
  color: var(--muted);
  padding: 0;
  height: 2.15rem;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.2s ease;
}

.shop-browse__nest-toggle:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}

.shop-browse__nest-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 1px;
}

.shop-browse__nest-toggle svg {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-browse__nest-toggle.is-open svg {
  transform: rotate(90deg);
}

.shop-browse__children {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0.2rem 0 0.2rem 0.65rem;
  display: grid;
  gap: 0.06rem;
  border-inline-start: 2px solid color-mix(in srgb, var(--brand) 32%, transparent);
  margin-inline-start: 0.7rem;
  animation: shop-browse-tree-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-browse-tree-in {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-browse__link--child {
  padding-block: 0.42rem;
  padding-inline: 0.65rem 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 0.55rem;
}

.shop-browse__link--child.is-active {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
}

[dir="rtl"] .shop-browse__nest-toggle.is-open svg {
  transform: rotate(-90deg);
}

[dir="rtl"] .shop-browse__children {
  padding-inline-start: 0;
  padding-inline-end: 0.55rem;
  margin-inline-start: 0;
  margin-inline-end: 0.55rem;
}

.shop-browse__link {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  padding: 0.62rem 0.75rem;
  text-align: start;
  color: var(--ink);
  border-radius: 0.55rem;
  unicode-bidi: isolate;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.shop-browse__link-label {
  min-width: 0;
  overflow-wrap: anywhere;
  padding-inline: 0.05rem;
}

.shop-browse__list > li:first-child .shop-browse__link--all {
  margin-bottom: 0.2rem;
}

.shop-browse__link:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--ink);
}

.shop-browse__link:active {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.shop-browse__link.is-active {
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  color: var(--brand);
  font-weight: 700;
  box-shadow: none;
  animation: none;
}

[dir="rtl"] .shop-browse__link.is-active {
  box-shadow: none;
}

.shop-browse__link.is-active:hover {
  background: color-mix(in srgb, var(--brand) 12%, #fff);
}

.shop-browse__link-check {
  flex-shrink: 0;
  color: var(--brand);
  opacity: 0;
  transform: scale(0.7) translateX(0.25rem);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-browse__link.is-active .shop-browse__link-check {
  opacity: 1;
  transform: scale(1) translateX(0);
}

/* legacy mark unused */
.shop-browse__link-mark {
  display: none;
}

.shop-browse__link::before {
  display: none;
}

.shop-browse-sheet {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
}

.shop-browse-sheet.is-visible {
  pointer-events: auto;
}

.shop-browse__sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(4, 11, 29, 0.48);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.shop-browse-sheet.is-visible .shop-browse__sheet-backdrop {
  opacity: 1;
}

.shop-browse__sheet {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  max-height: min(78dvh, 34rem);
  background: var(--white);
  border-radius: 1.15rem 1.15rem 0 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: 0;
  box-shadow: 0 -16px 48px rgba(4, 11, 29, 0.2);
  transform: translate3d(0, 110%, 0);
  opacity: 0.96;
  transition:
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.32s ease;
  overflow: hidden;
  will-change: transform;
}

.shop-browse-sheet.is-visible .shop-browse__sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.shop-browse__sheet-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 0.32s ease 0.14s,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
}

.shop-browse-sheet.is-visible .shop-browse__sheet-body {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .shop-drawer__panel,
  .shop-browse__sheet,
  .shop-browse__sheet-backdrop,
  .shop-browse__sheet-head,
  .shop-browse__sheet-body,
  .shop-sheet__handle,
  .shop-quickview__panel {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.shop-browse__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.3s ease 0.1s,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.shop-browse-sheet.is-visible .shop-browse__sheet-head {
  opacity: 1;
  transform: translateY(0);
}

.shop-browse__sheet-head h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .shop-browse--mobile {
    display: none;
  }

  .shop-browse--desktop {
    display: block;
    border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
    border-radius: 1rem;
    background: var(--white);
    box-shadow:
      0 1px 0 color-mix(in srgb, var(--ink) 3%, transparent),
      0 10px 28px rgba(4, 11, 29, 0.045);
    overflow: hidden;
  }

  .shop-category__sidebar .shop-browse--desktop {
    display: block;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .shop-browse--desktop h2 {
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
  }

  .shop-browse--desktop .shop-browse__list {
    padding: 0.2rem 0.5rem 0.6rem;
  }

  .shop-category__sidebar .shop-browse--desktop .shop-browse__list {
    padding: 0.15rem 0.5rem 0.35rem;
  }

  .shop-browse--desktop .shop-browse__link {
    padding: 0.52rem 0.7rem;
    font-size: 0.88rem;
  }

  .shop-category__sidebar .shop-browse--desktop .shop-browse__link {
    padding: 0.42rem 0.5rem;
    font-size: 0.875rem;
  }

  .shop-browse--desktop .shop-browse__list > li:first-child {
    margin-bottom: 0.3rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  }
}

.shop-browse__color-dd {
  margin: 0.2rem 0.15rem 0.45rem;
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--paper, #f7f5f1) 55%, #fff);
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.shop-browse__color-dd.is-open,
.shop-browse__color-dd.has-selection {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  background: color-mix(in srgb, var(--brand) 5%, #fff);
}

.shop-browse__color-trigger {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.3rem;
  padding: 0.4rem 0.6rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.shop-browse__color-trigger:hover {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.shop-browse__color-trigger > svg:last-child {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-browse__color-dd.is-open .shop-browse__color-trigger > svg:last-child {
  transform: rotate(180deg);
  color: var(--brand);
}

.shop-browse__color-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.shop-browse__color-value {
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
  padding-inline: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  unicode-bidi: isolate;
  text-align: end;
  color: var(--ink);
}

/* Collapsible panel: 0fr -> 1fr animates to the real content height, so the
   list is never height-capped once open. */
.shop-browse__color-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.3s;
}

.shop-browse__color-dd.is-open .shop-browse__color-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease 0.03s,
    visibility 0s;
}

.shop-browse__color-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.shop-browse__color-menu {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0.3rem 0.35rem;
  display: grid;
  gap: 0.05rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.shop-browse__color-menu > li {
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-browse__color-dd.is-open .shop-browse__color-menu > li {
  opacity: 1;
  transform: none;
  transition-delay: min(calc(var(--i, 0) * 24ms), 160ms);
}

.shop-browse__color-option {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--ink-soft, var(--ink));
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.shop-browse__color-option:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink);
}

.shop-browse__color-option:active {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.shop-browse__color-trigger:focus-visible,
.shop-browse__color-option:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: -2px;
}

.shop-browse__color-option.is-active {
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: var(--ink);
  font-weight: 650;
}

.shop-browse__color-option-label {
  min-width: 0;
  /* Arabic glyphs overhang their advance width, so never clip the label box. */
  white-space: normal;
  overflow-wrap: anywhere;
  padding-inline: 0.1rem;
  unicode-bidi: isolate;
  text-align: start;
}

.shop-browse__color-option svg {
  flex-shrink: 0;
  color: var(--brand);
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.shop-browse__color-option.is-active svg {
  opacity: 1;
  transform: scale(1);
}

.shop-browse__group.is-active .shop-browse__link--parent {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .shop-browse__color-trigger > svg:last-child,
  .shop-browse__color-option svg,
  .shop-browse__color-panel,
  .shop-browse__color-dd.is-open .shop-browse__color-panel,
  .shop-browse__color-menu > li,
  .shop-browse__color-dd.is-open .shop-browse__color-menu > li {
    transition: none;
  }

  .shop-browse__color-menu > li {
    transform: none;
  }
}

[dir="rtl"] .shop-browse__color-value {
  text-align: end;
}

/* Category lists: RTL chrome + start-aligned labels (EN or AR). */
[dir="rtl"] .shop-browse--desktop h2,
[dir="rtl"] .shop-hero-market__cats-head,
[dir="rtl"] .shop-browse__sheet-head h2 {
  direction: rtl;
  text-align: start;
}

[dir="rtl"] .shop-browse__list,
[dir="rtl"] .shop-hero-market__cats-list {
  direction: rtl;
}

[dir="rtl"] .shop-browse__link,
[dir="rtl"] .shop-hero-market__cats-list button {
  text-align: start;
}

[dir="rtl"] .shop-browse__current {
  text-align: start;
}

/* ââ Narrow phones ââ */
@media (max-width: 639px) {
  .shop-flash__wrap {
    margin-inline: calc(-1 * var(--shop-gutter));
  }

  .shop-flash__scroller {
    padding-inline: max(var(--shop-gutter), env(safe-area-inset-left, 0px))
      max(var(--shop-gutter), env(safe-area-inset-right, 0px));
  }

  .shop-cat-icons__row {
    margin-inline: calc(-1 * var(--shop-gutter));
    padding-inline: max(var(--shop-gutter), env(safe-area-inset-left, 0px))
      max(var(--shop-gutter), env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 479px) {
  .shop-header__inner {
    gap: 0.25rem;
    min-height: 3.75rem;
  }

  .shop-brand {
    font-size: 1.4rem;
  }

  .shop-header__actions {
    gap: 0.15rem;
  }

  .shop-locale {
    min-width: 5.5rem;
    height: 2.5rem;
  }

  .shop-locale button {
    padding: 0 0.55rem;
    min-width: 2.35rem;
    font-size: 0.68rem;
  }

  .shop-icon-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.3rem;
  }

  .shop-flash__head h2,
  .shop-section-head h2,
  .shop-cat-icons__head h2 {
    font-size: 1.35rem;
  }

  .shop-flash {
    padding-block: 2.25rem 2.75rem;
  }

  .shop-product-sections {
    padding-block: 2.25rem;
  }

  .shop-drawer__panel {
    width: 100%;
    max-width: 100%;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px))
      max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 479px) {
  .shop-header__locale-mobile {
    display: none;
  }

  .shop-mobile-nav__locale {
    display: flex;
  }
}

/* —— About page —— */
.shop-about-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-about-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: calc(100vh - var(--shop-chrome-offset, 7rem));
  min-height: calc(100svh - var(--shop-chrome-offset, 7rem));
  display: flex;
  align-items: stretch;
  isolation: isolate;
}

.shop-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shop-about-hero__fade-bottom {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 36%;
  background: linear-gradient(
    to top,
    #040b1d,
    rgba(4, 11, 29, 0.7),
    transparent
  );
}

.shop-about-hero__fade-side {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(78%, 46rem);
  background: linear-gradient(
    to inline-end,
    rgba(4, 11, 29, 0.97),
    rgba(4, 11, 29, 0.78) 42%,
    rgba(4, 11, 29, 0.25) 76%,
    transparent
  );
}

.shop-about-hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  align-items: end;
  gap: 2.5rem;
  padding-block: clamp(4rem, 12vh, 7.5rem) clamp(3rem, 8vh, 5rem);
  min-height: inherit;
}

@media (min-width: 960px) {
  .shop-about-hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.7fr);
    align-items: stretch;
    gap: 3rem;
  }
}

.shop-about-hero__copy {
  max-width: 38rem;
  display: grid;
  align-content: end;
  padding-bottom: 0.25rem;
}

.shop-about-hero__anim {
  opacity: 0;
  transform: translateY(1.15rem);
}

.shop-about-hero.is-intro .shop-about-hero__anim {
  animation: shop-about-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.shop-about-hero.is-intro .shop-about-hero__eyebrow {
  animation-delay: 0.06s;
}

.shop-about-hero.is-intro .shop-about-hero__headline {
  animation-delay: 0.28s;
}

.shop-about-hero.is-intro .shop-about-hero__lead {
  animation-delay: 0.38s;
}

.shop-about-hero.is-intro .shop-about-hero__actions {
  animation-delay: 0.48s;
}

.shop-about-hero.is-intro .shop-about-hero__aside {
  animation-delay: 0.36s;
}

.shop-about-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 85%, #fff);
}

.shop-about-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(4rem, 14vw, 7.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.shop-about-hero__brand-ada,
.shop-about-hero__brand-wat {
  display: inline-block;
}

.shop-about-hero.is-intro .shop-about-hero__brand-ada {
  animation: shop-about-letter 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.shop-about-hero.is-intro .shop-about-hero__brand-wat {
  animation: shop-about-letter 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.shop-about-hero__brand-ada {
  color: #fff;
}

.shop-about-hero__brand-wat {
  color: var(--brand);
}

.shop-about-hero__headline {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.shop-about-hero__lead {
  margin: 0 0 1.85rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.shop-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-about-hero__actions .shop-btn {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.shop-about-hero__actions .shop-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.shop-about-hero__aside {
  display: none;
  position: relative;
  align-self: stretch;
  min-height: 18rem;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
  padding-inline-start: 1.75rem;
  justify-content: center;
  flex-direction: column;
  padding-block: clamp(1rem, 4vh, 2.5rem);
}

@media (min-width: 960px) {
  .shop-about-hero__aside {
    display: flex;
  }
}

.shop-about-hero__watermark {
  position: absolute;
  inset-inline-end: -0.15em;
  top: 50%;
  margin: 0;
  font-family: var(--shop-font);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.045);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  user-select: none;
  pointer-events: none;
}

.shop-about-hero__signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.shop-about-hero__signals li {
  font-family: var(--shop-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-block: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.25s ease;
}

.shop-about-hero.is-intro .shop-about-hero__signals li {
  animation: shop-about-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-about-hero.is-intro .shop-about-hero__signals li:nth-child(1) {
  animation-delay: 0.42s;
}
.shop-about-hero.is-intro .shop-about-hero__signals li:nth-child(2) {
  animation-delay: 0.5s;
}
.shop-about-hero.is-intro .shop-about-hero__signals li:nth-child(3) {
  animation-delay: 0.58s;
}
.shop-about-hero.is-intro .shop-about-hero__signals li:nth-child(4) {
  animation-delay: 0.66s;
  color: var(--brand);
  border-bottom-color: color-mix(in srgb, var(--brand) 45%, transparent);
}

@media (min-width: 1100px) {
  .shop-about-hero__layout {
    padding-block: clamp(4.5rem, 12vh, 8rem) clamp(3.5rem, 9vh, 5.5rem);
  }
}

@media (max-width: 959px) {
  .shop-about-hero__layout {
    align-items: center;
    align-content: center;
    padding-block: clamp(2.5rem, 7vh, 4rem);
  }

  .shop-about-hero__copy {
    align-content: center;
    padding-bottom: 0;
  }
}

.shop-about-story {
  background: var(--surface);
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.shop-about-story__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 860px) {
  .shop-about-story__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 4rem;
  }

  .shop-about-story__mission.shop-reveal:not(.is-revealed) {
    transform: translateX(1.25rem);
  }

  html[dir="rtl"] .shop-about-story__mission.shop-reveal:not(.is-revealed) {
    transform: translateX(-1.25rem);
  }
}

.shop-about-story h2 {
  margin: 0 0 1rem;
  font-family: var(--shop-font);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.shop-about-story__body,
.shop-about-story__mission p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.shop-about-story__mission {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--ink);
  color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
}

.shop-about-story__mission::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.shop-about-story__mission.is-revealed::before {
  transform: scaleY(1);
}

.shop-about-story__mission .shop-about-kicker {
  color: var(--brand);
}

.shop-about-story__mission h2 {
  color: #fff;
}

.shop-about-story__mission p {
  color: rgba(255, 255, 255, 0.78);
}

.shop-about-pillars {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  background: var(--white);
}

.shop-about-pillars__head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.shop-about-pillars__head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.shop-about-pillars__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.shop-about-pillars__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.shop-about-pillar {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  align-items: start;
}

.shop-about-pillar__no {
  font-family: var(--shop-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
  line-height: 1.4;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-about-pillar.shop-reveal:not(.is-revealed) .shop-about-pillar__no {
  transform: translateY(0.4rem) scale(0.92);
}

.shop-about-pillar.is-revealed .shop-about-pillar__no {
  transform: none;
}

.shop-about-pillar h3 {
  margin: 0 0 0.4rem;
  font-family: var(--shop-font);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.shop-about-pillar p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 860px) {
  .shop-about-pillars__list {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.25rem;
  }
}

.shop-about-forget {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
}

.shop-about-forget__rule {
  pointer-events: none;
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand);
  transform-origin: top;
}

.shop-about-forget__rule.shop-reveal:not(.is-revealed) {
  opacity: 1;
  transform: scaleY(0);
}

.shop-about-forget__rule.is-revealed {
  transform: scaleY(1);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-about-forget__inner {
  position: relative;
}

.shop-about-forget h2 {
  margin: 0 0 2rem;
  max-width: 22rem;
  font-family: var(--shop-font);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.shop-about-forget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
}

.shop-about-forget__item {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.shop-about-forget__item.shop-reveal:not(.is-revealed) {
  transform: translateX(0.85rem);
}

html[dir="rtl"] .shop-about-forget__item.shop-reveal:not(.is-revealed) {
  transform: translateX(-0.85rem);
}

.shop-about-forget__mark {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.45;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-about-forget__item.is-revealed .shop-about-forget__mark {
  animation: shop-about-mark 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-about-cta {
  background: var(--surface-2);
  padding: clamp(3rem, 7vh, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.shop-about-cta__inner {
  max-width: 34rem;
}

.shop-about-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--shop-font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.shop-about-cta p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.shop-about-cta .shop-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.shop-about-cta .shop-btn:hover:not(:disabled) {
  background: var(--brand-hot);
  border-color: var(--brand-hot);
  transform: translateY(-1px);
}

html.locale-ar .shop-about-hero__headline,
html.locale-ar .shop-about-hero__watermark,
html.locale-ar .shop-about-hero__signals li,
html.locale-ar .shop-about-story h2,
html.locale-ar .shop-about-pillars__head h2,
html.locale-ar .shop-about-pillar h3,
html.locale-ar .shop-about-forget h2,
html.locale-ar .shop-about-cta h2 {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

html.locale-ar .shop-about-kicker,
html.locale-ar .shop-about-hero__eyebrow {
  font-family: var(--shop-arabic);
  letter-spacing: 0.08em;
}

html.locale-ar .shop-about-hero__headline {
  letter-spacing: 0;
}

html[dir="rtl"] .shop-about-hero__watermark {
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

/* Wordmark stays dir="ltr" for letter order; align it with the RTL copy. */
html[dir="rtl"] .shop-about-hero__brand {
  text-align: right;
}

@keyframes shop-about-rise {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shop-about-letter {
  from {
    opacity: 0;
    transform: translateY(0.55em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shop-about-mark {
  from {
    opacity: 0;
    transform: translateX(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-about-hero__anim,
  .shop-about-hero__brand-ada,
  .shop-about-hero__brand-wat,
  .shop-about-hero__signals li,
  .shop-about-forget__item.is-revealed .shop-about-forget__mark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .shop-about-story__mission::before,
  .shop-about-forget__rule {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .shop-about-pillar {
    grid-template-columns: 2.75rem 1fr;
  }
}

/* ï¿½ï¿½ FAQ page ï¿½ï¿½ */
.shop-faq-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-faq-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.75rem, 7vh, 4.25rem) 0;
  border-bottom: 3px solid var(--brand);
}

.shop-faq-hero__inner {
  max-width: 40rem;
}

.shop-faq-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-faq-hero__lede {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.shop-faq-body {
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  background: var(--white);
}

.shop-faq-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-faq-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.shop-faq-toc {
  position: sticky;
  top: calc(var(--shop-chrome-offset, 7rem) + 0.75rem);
}

.shop-faq-toc__label {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-faq-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.shop-faq-toc a {
  display: block;
  padding: 0.45rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  border-inline-start: 2px solid transparent;
  padding-inline-start: 0.75rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shop-faq-toc a:hover {
  color: var(--brand);
  border-inline-start-color: var(--brand);
}

.shop-faq-groups {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  min-width: 0;
}

.shop-faq-group h2 {
  margin: 0 0 1rem;
  font-family: var(--shop-font);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.shop-faq-group__list {
  border-top: 1px solid var(--line);
}

.shop-faq-item {
  border-bottom: 1px solid var(--line);
}

.shop-faq-item__q {
  margin: 0;
}

.shop-faq-item__q button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  text-align: start;
  font-family: var(--shop-font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.shop-faq-item__q button:hover,
.shop-faq-item.is-open .shop-faq-item__q button {
  color: var(--brand);
}

.shop-faq-item__icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brand);
}

.shop-faq-item__a {
  padding: 0 0 1.25rem;
  max-width: 42rem;
}

.shop-faq-item__a p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.shop-faq-cta {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vh, 3.75rem) 0;
}

.shop-faq-cta__inner {
  max-width: 34rem;
}

.shop-faq-cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.shop-faq-cta p {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.shop-faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.shop-faq-cta__mail {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 0.1rem;
}

.shop-faq-cta__mail:hover {
  color: var(--brand);
}

html.locale-ar .shop-faq-hero h1,
html.locale-ar .shop-faq-group h2,
html.locale-ar .shop-faq-item__q button,
html.locale-ar .shop-faq-cta h2,
html.locale-ar .shop-faq-kicker,
html.locale-ar .shop-faq-toc__label {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 899px) {
  .shop-faq-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .shop-faq-toc__label {
    margin: 0;
    width: 100%;
  }

  .shop-faq-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .shop-faq-toc a {
    border-inline-start: 0;
    padding-inline-start: 0;
    padding-block: 0.25rem;
  }
}

/* ï¿½ï¿½ Contact page ï¿½ï¿½ */
.shop-contact-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-contact-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.75rem, 7vh, 4.25rem) 0;
  border-bottom: 3px solid var(--brand);
}

.shop-contact-hero__inner {
  max-width: 40rem;
}

.shop-contact-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-contact-hero__lede {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.shop-contact-body {
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  background: var(--white);
}

.shop-contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-contact-layout {
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .shop-contact-layout.shop-contact-layout--info {
    grid-template-columns: minmax(0, 28rem);
  }
}

.shop-contact-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 1.5rem 1.35rem;
}

.shop-contact-card h2 {
  margin: 0 0 1.25rem;
  font-family: var(--shop-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.shop-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.shop-contact-details li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0;
  align-items: start;
}

.shop-contact-details__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand);
  margin-top: 0.15rem;
}

.shop-contact-details__icon svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.shop-contact-details__label {
  margin: 0 0 0.2rem;
  font-family: var(--shop-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-contact-details p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.shop-contact-details a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.shop-contact-details a:hover {
  color: var(--brand);
}

.shop-contact-aside__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: 1.25rem;
  padding-inline: 0.15rem;
}

.shop-contact-form-wrap {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.shop-contact-form h2,
.shop-contact-done h2 {
  margin: 0 0 0.5rem;
  font-family: var(--shop-font);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.shop-contact-form__lede,
.shop-contact-done p {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.shop-contact-form .shop-form-grid {
  margin-bottom: 1.25rem;
}

.shop-contact-form label span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.shop-contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.shop-contact-done {
  max-width: 28rem;
}

.shop-contact-done .shop-btn {
  margin-top: 0.25rem;
}

html.locale-ar .shop-contact-hero h1,
html.locale-ar .shop-contact-card h2,
html.locale-ar .shop-contact-form h2,
html.locale-ar .shop-contact-done h2,
html.locale-ar .shop-contact-kicker,
html.locale-ar .shop-contact-details__label {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

/*  Policy pages (mock legal)  */
.shop-policy-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-policy-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.75rem, 7vh, 4.25rem) 0;
  border-bottom: 3px solid var(--brand);
}

.shop-policy-hero__inner {
  max-width: 42rem;
}

.shop-policy-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-policy-hero__lede {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.shop-policy-hero__note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--brand) 75%, #fff);
}

.shop-policy-body {
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  background: var(--white);
}

.shop-policy-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-policy-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.shop-policy-toc {
  position: sticky;
  top: calc(var(--shop-chrome-offset, 7rem) + 0.75rem);
}

.shop-policy-toc__label {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-policy-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.shop-policy-toc button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: start;
  padding: 0.45rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-inline-start: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shop-policy-toc button:hover,
.shop-policy-toc button.is-active {
  color: var(--brand);
  border-inline-start-color: var(--brand);
}

.shop-policy-content {
  min-width: 0;
  max-width: 42rem;
  display: grid;
  gap: 1.75rem;
}

.shop-policy-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--shop-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.shop-policy-section p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.shop-policy-contact {
  margin: 0.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.shop-policy-contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
}

.shop-policy-contact a:hover {
  color: var(--brand);
}

html.locale-ar .shop-policy-hero h1,
html.locale-ar .shop-policy-section h2,
html.locale-ar .shop-policy-kicker,
html.locale-ar .shop-policy-toc__label {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 899px) {
  .shop-policy-toc {
    position: static;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .shop-policy-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }

  .shop-policy-toc button {
    border-inline-start: 0;
    padding: 0.35rem 0.55rem;
    background: var(--surface-2);
  }

  .shop-policy-toc button.is-active {
    background: color-mix(in srgb, var(--brand) 16%, white);
  }
}

/* —— Brand rail (home) —— */
.shop-brand-rail {
  background: #f7f7f5;
  padding: 2.25rem 0 2.75rem;
  border-block: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-brand-rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.shop-brand-rail__head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-brand-rail__view-all {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent);
}

.shop-brand-rail__view-all:hover {
  text-decoration-color: var(--brand);
}

.shop-brand-rail__wrap {
  position: relative;
}

.shop-brand-rail__arrow {
  position: absolute;
  top: 2.4rem;
  z-index: 4;
  display: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(4, 11, 29, 0.1);
  cursor: pointer;
}

.shop-brand-rail__arrow--prev {
  inset-inline-start: -0.15rem;
}

.shop-brand-rail__arrow--next {
  inset-inline-end: -0.15rem;
}

.shop-brand-rail__arrow:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}

.shop-brand-rail__arrow:disabled {
  opacity: 0.28;
  pointer-events: none;
}

.shop-brand-rail__arrow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-brand-rail__row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.15rem 0.35rem 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.shop-brand-rail__row::-webkit-scrollbar {
  display: none;
}

.shop-brand-rail__item {
  display: flex;
  width: 7rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}

.shop-brand-rail__logo {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.shop-brand-rail__logo img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.shop-brand-rail__fallback {
  font-size: 1.35rem;
  font-weight: 700;
  color: #555;
}

.shop-brand-rail__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  max-width: 7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-brand-rail__item:hover .shop-brand-rail__logo {
  border-color: rgba(0, 0, 0, 0.18);
}

@media (min-width: 640px) {
  .shop-brand-rail__arrow {
    display: grid;
  }

  .shop-brand-rail__row {
    padding-inline: 2.25rem;
  }
}

/* —— Brands browse —— */
.shop-brands-page {
  padding-block: 1.25rem 3rem;
}

.shop-brands-page__head {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0 1.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  text-align: center;
}

.shop-brands-page__title-block {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  min-width: 0;
  text-align: center;
}

.shop-brands-page__title-block h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.shop-brands-page__count {
  margin: 0;
  font-size: 0.88rem;
}

.shop-brands-page__alt {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: fit-content;
  justify-self: start;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.shop-brands-page__alt:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.shop-brands-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.75rem;
}

@media (min-width: 560px) {
  .shop-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.9rem;
  }
}

@media (min-width: 820px) {
  .shop-brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .shop-brands-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.shop-brands-tile {
  display: grid;
  grid-template-rows: auto minmax(2.6em, auto) auto;
  justify-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.shop-brands-tile__logo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.shop-brands-tile__logo img {
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
}

.shop-brands-tile:hover .shop-brands-tile__logo {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: 0 8px 22px rgba(4, 11, 29, 0.07);
  transform: translateY(-2px);
}

.shop-brands-tile:focus-visible .shop-brands-tile__logo {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.shop-brands-tile__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--brand) 10%, #f4f6fa);
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 700;
}

.shop-brands-tile__name {
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
  unicode-bidi: plaintext;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.shop-brands-tile__meta {
  font-size: 0.75rem;
  line-height: 1.2;
}

.shop-brands-empty {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  padding: 1.5rem 0 2rem;
  max-width: 28rem;
}

.shop-brands-empty h2 {
  margin: 0;
}

[dir="rtl"] .shop-brands-page__alt svg {
  transform: scaleX(-1);
}

.shop-category--brand .shop-category__head {
  position: relative;
  overflow: hidden;
}

.shop-category__brand-row {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  text-align: center;
}

.shop-category__brand-row.has-mark {
  padding-block: 1.6rem 0.55rem;
}

.shop-category__brand-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(22rem, 78vw);
  height: min(22rem, 42vw);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  opacity: 0.1;
  pointer-events: none;
  transform: translate(-50%, -48%);
}

.shop-category__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  box-sizing: border-box;
}

.shop-category__brand-mark .shop-img {
  width: 100%;
  height: 100%;
}

.shop-category__brand-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}

.shop-category__brand-copy h1 {
  margin: 0;
  line-height: 1.15;
}

.shop-category__brand-copy .shop-category__count {
  margin: 0.1rem 0 0;
}

.shop-category__brand-blurb {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 40rem;
}

.shop-category--brand .shop-category__intro {
  width: 100%;
  max-width: none;
}

.shop-category__brand-back {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  width: fit-content;
  justify-self: start;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
}

.shop-category__brand-back:hover {
  color: var(--brand);
}

.shop-category__brand-back:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.shop-category__brand-back span {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.18em;
}

.shop-category__brand-back:hover span {
  text-decoration-color: currentColor;
}

[dir="rtl"] .shop-category__brand-back svg {
  transform: scaleX(-1);
}


.shop-catalog-empty {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  align-content: start;
  min-height: min(22rem, 52vh);
  padding: 1.75rem 0 2.5rem;
  max-width: 28rem;
}

.shop-catalog-empty__title {
  margin: 0;
  font-size: 1.25rem;
}

.shop-catalog-empty__body {
  margin: 0;
  line-height: 1.5;
}

.shop-browse__head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem 0.85rem 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
}

.shop-browse--desktop .shop-browse__head h2,
.shop-browse--desktop.shop-browse--brand h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.shop-browse__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.shop-browse__escape {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.shop-browse__escape:hover {
  background: color-mix(in srgb, var(--ink) 3%, #fff);
  color: var(--brand);
  text-decoration: none;
}

.shop-browse__escape svg {
  flex-shrink: 0;
  color: var(--brand);
}

.shop-browse__sheet-escape {
  padding: 0.45rem 0.7rem 0.25rem;
}

[dir="rtl"] .shop-browse__escape svg {
  transform: scaleX(-1);
}

.shop-browse--desktop .shop-browse__link.is-active::before {
  display: none;
}

@media (max-width: 639px) {
  .shop-category__brand-back {
    margin-bottom: 0.75rem;
    padding: 0.35rem 0;
    min-height: 2.5rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
  }

  .shop-category__brand-back span {
    text-decoration-thickness: 1.5px;
    text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent);
  }

  .shop-category__brand-back svg {
    color: var(--brand);
  }

  .shop-category__brand-row.has-mark {
    padding-block: 1.15rem 0.35rem;
  }

  .shop-category__brand-mark {
    width: min(16rem, 88vw);
    height: min(14rem, 46vw);
    opacity: 0.12;
  }
}

/* Deploy update notice — polled via /api/v1/meta/build/ */
.app-update-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10050;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--ink, #1a1a1a) 92%, transparent);
  color: #fff;
  box-shadow: 0 -4px 24px rgb(0 0 0 / 18%);
  font-size: 0.92rem;
  line-height: 1.35;
}

.app-update-banner__text {
  margin: 0;
  text-align: center;
}

.app-update-banner__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: var(--brand, #ff9200);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.app-update-banner__btn:hover {
  filter: brightness(1.06);
}

.app-update-banner__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Bottom-right toast (shop auth + feedback) — portaled to body */
.shop-toast-host {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: auto;
  top: auto;
  z-index: 10050;
  display: grid;
  gap: 0.5rem;
  max-width: min(22rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  pointer-events: none;
}

.shop-toast {
  pointer-events: auto;
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--danger, #c0392b) 35%, var(--neutral-200, #e5e5e5));
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--neutral-0, #fff);
  color: var(--neutral-800, #1a1a1a);
  box-shadow: 0 10px 28px color-mix(in srgb, #000 14%, transparent);
  text-align: start;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  cursor: pointer;
  animation: shop-toast-in 0.28s ease-out both;
  unicode-bidi: isolate;
}

.shop-toast--error {
  border-color: color-mix(in srgb, var(--danger, #c0392b) 45%, transparent);
  background: color-mix(in srgb, var(--danger, #c0392b) 8%, #fff);
  color: color-mix(in srgb, var(--danger, #c0392b) 75%, #1a1a1a);
}

.shop-toast--success {
  border-color: color-mix(in srgb, var(--brand, #e76100) 40%, var(--neutral-200, #e5e5e5));
  background: color-mix(in srgb, var(--brand, #e76100) 10%, #fff);
  color: var(--neutral-800, #1a1a1a);
}

.shop-toast__text {
  display: block;
}

@keyframes shop-toast-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-amz-order__flag {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-amz-order__flag--reject {
  color: color-mix(in srgb, var(--danger, #c0392b) 85%, #000);
}

.shop-amz-order__flag--return {
  color: color-mix(in srgb, var(--brand, #ff9200) 80%, #000);
}

.shop-order-details {
  margin: 0;
}

.shop-order-details__inner {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--ink) 2%, #fff);
}

.shop-order-details__grid {
  display: grid;
  gap: 0.85rem 1.25rem;
  margin: 0 0 0.85rem;
}

.shop-order-details__grid dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.shop-order-details__grid dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.shop-order-details__alert dd {
  font-weight: 600;
}

.shop-order-details__followup {
  white-space: pre-wrap;
}

.shop-order-details__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-order-action-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.shop-order-action-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: color-mix(in srgb, #040b1d 45%, transparent);
  cursor: pointer;
}

.shop-order-action-modal__panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  padding: 1.25rem 1.35rem 1.15rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: 0 18px 48px color-mix(in srgb, #000 22%, transparent);
}

.shop-order-action-modal__panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.shop-order-action-modal__field {
  display: grid;
  gap: 0.4rem;
  margin: 0.85rem 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.shop-order-action-modal__field textarea {
  width: 100%;
  resize: vertical;
  min-height: 5.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  font: inherit;
  font-weight: 400;
}

.shop-order-action-modal__field input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 0.4rem;
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}

.shop-order-action-modal__field input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.shop-order-action-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 0.75rem;
  margin-top: 1rem;
}

.shop-order-action-modal__error {
  margin: 0.35rem 0 0;
  color: var(--danger, #c0392b);
  font-size: 0.88rem;
}

.shop-delivery-confirm {
  max-width: 32rem;
  margin: 2rem auto;
  display: grid;
  gap: 1rem;
}

.shop-delivery-confirm__ok,
.shop-delivery-confirm__err {
  display: grid;
  gap: 0.75rem;
}

/* Vulnerability disclosure */
.shop-security__hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.75rem, 7vh, 4.5rem) 0;
  border-bottom: 3px solid var(--brand);
}

.shop-security__hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .shop-security__hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

.shop-security__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.shop-security__hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.shop-security__lede {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.shop-security__mails {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .shop-security__mails {
    grid-template-columns: repeat(2, minmax(0, 18rem));
  }
}

.shop-security__mail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shop-security__mail:hover {
  border-color: var(--brand);
  background: rgba(231, 97, 0, 0.16);
}

.shop-security__mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
}

.shop-security__mail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.shop-security__mail-addr {
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.shop-security__mark {
  display: none;
  width: 7.5rem;
  height: 7.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--brand);
}

@media (min-width: 800px) {
  .shop-security__mark {
    display: flex;
  }
}

.shop-security__body {
  padding: clamp(2.5rem, 6vh, 4.25rem) 0 4rem;
  background: var(--neutral-50, #f6f7f9);
}

.shop-security__cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .shop-security__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.shop-security__card,
.shop-security__panel,
.shop-security__thanks {
  background: var(--white, #fff);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
}

.shop-security__num {
  margin: 0 0 0.85rem;
  font-family: var(--shop-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}

.shop-security__card h2,
.shop-security__panel h2,
.shop-security__thanks h2 {
  margin: 0 0 0.65rem;
  font-family: var(--shop-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.shop-security__card p,
.shop-security__panel p,
.shop-security__thanks p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: break-word;
}

.shop-security__panel ul {
  margin: 0.7rem 0 0;
  padding-inline-start: 1.15rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.shop-security__panel li + li {
  margin-top: 0.35rem;
}

.shop-security__harbor {
  margin-top: 1rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-style: italic;
}

.shop-security__split {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

@media (min-width: 800px) {
  .shop-security__split {
    grid-template-columns: 1fr 1fr;
  }
}

.shop-security__panel--warn {
  border-inline-start: 3px solid var(--brand);
}

.shop-security__thanks {
  margin-top: 1.15rem;
}

.shop-security__file {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
}

.shop-security__file:hover {
  color: var(--brand);
}

html.locale-ar .shop-security__kicker,
html.locale-ar .shop-security__hero h1,
html.locale-ar .shop-security__card h2,
html.locale-ar .shop-security__panel h2,
html.locale-ar .shop-security__thanks h2,
html.locale-ar .shop-security__num {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

/* B2C welcome / promo overlay — matches Marketing → Popups live preview */
.shop-promo-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(0.85rem, 3vw, 2rem);
  background: rgba(4, 11, 29, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.shop-promo-popup.is-visible {
  opacity: 1;
}

.shop-promo-popup__panel {
  position: relative;
  width: min(100%, 26.5rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(4, 11, 29, 0.32);
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-promo-popup.is-visible .shop-promo-popup__panel {
  transform: none;
}

.shop-promo-popup__close {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}

.shop-promo-popup__close:hover {
  color: var(--brand);
}

.shop-promo-popup__media {
  aspect-ratio: 16 / 9;
  background: #f0f2f5;
  overflow: hidden;
}

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

.shop-promo-popup__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem 1.35rem;
}

.shop-promo-popup__title {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.shop-promo-popup__message {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.shop-promo-popup__form {
  display: grid;
  gap: 0.7rem;
}

.shop-promo-popup__field {
  display: grid;
  gap: 0.3rem;
}

.shop-promo-popup__field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-promo-popup__field input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
}

.shop-promo-popup__field input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 1px;
}

.shop-promo-popup__success {
  margin: 0;
  color: var(--success-text);
  font-weight: 600;
}

.shop-promo-popup__error {
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
}

html.locale-ar .shop-promo-popup__title,
html.locale-ar .shop-promo-popup__field span {
  font-family: var(--shop-arabic);
  letter-spacing: 0;
  text-transform: none;
}

/* Round remaining boxed shop surfaces (cards, buttons, banners, fields). */
.shop-card,
.shop-btn,
.shop-error,
.shop-success,
.shop-promo-banner,
.shop-footer__apps a,
.shop-category__pager-btn,
.shop-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.shop-form textarea,
.shop-inline-form input,
.shop-account-menu__panel,
.shop-search--desktop .shop-search__field,
.shop-hero-market__arrows button,
.shop-pdp__media,
.shop-promo-popup__panel,
.shop-promo-popup__field input,
.shop-form .shop-password-field__control {
  border-radius: var(--shop-radius);
}

/* Password is one field, same border and radius as the other inputs. */
.shop-form .shop-password-field__control > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
  width: 100%;
  min-width: 0;
}

.shop-form .shop-password-field__control > input:focus,
.shop-form .shop-password-field__control > input:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

.shop-tabbar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0.4rem 0.15rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: var(--brand);
  border-top: 0;
}

.shop-tabbar__btn {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.15rem 0.1rem 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.shop-tabbar__btn.is-active {
  color: #fff;
}

.shop-tabbar__btn.is-active::after {
  content: "";
  width: 1.4rem;
  height: 2px;
  margin-top: 0.45rem;
  border-radius: 2px;
  background: currentColor;
}

.shop-tabbar__icon {
  position: relative;
  display: inline-flex;
}

.shop-tabbar__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-tabbar__badge {
  position: absolute;
  top: -0.28rem;
  inset-inline-end: -0.45rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

html.shop-native .shop-main {
  padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
}

html.shop-native .shop-card__tray {
  position: static;
  inset: auto;
  z-index: 1;
  transform: none;
  opacity: 1;
  padding: 0.15rem 0.7rem 0;
  gap: 0.35rem;
}

html.shop-native .shop-card__tray + .shop-card__body {
  padding-top: 0.55rem;
}

html.shop-native .shop-card__tray-add {
  padding: 0.48rem 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

html.shop-native .shop-card__tray-qv {
  flex-basis: 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  background: #f3f4f6;
  border: 1px solid var(--line);
}

.shop-account-contact {
  margin: 0.75rem 0 0;
}

html.shop-native .shop-header__locale-mobile {
  display: block;
}

html.shop-native .shop-header__actions {
  justify-content: flex-end;
}

html.shop-native .shop-drawer--popup .shop-drawer__panel {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  inset-inline: auto;
  width: min(100% - 1.5rem, 24rem);
  height: auto;
  max-height: min(78dvh, 36rem);
  border-radius: 1rem;
  transform: translate(-50%, -46%);
  box-shadow: 0 18px 48px rgba(4, 11, 29, 0.22);
}

html.shop-native .shop-drawer--popup.is-visible .shop-drawer__panel,
html.shop-native [dir="rtl"] .shop-drawer--popup .shop-drawer__panel,
html.shop-native [dir="rtl"] .shop-drawer--popup.is-visible .shop-drawer__panel {
  transform: translate(-50%, -50%);
}

html.shop-native .shop-drawer--popup .shop-drawer__list {
  overflow: auto;
}

.shop-mobile-slides {
  margin: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 0.85rem;
}

.shop-mobile-slides__track {
  display: flex;
  transition: transform 0.45s ease;
}

.shop-mobile-slides__slide {
  flex: 0 0 100%;
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f3f4f6;
}

.shop-mobile-slides__slide img {
  display: block;
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.shop-mobile-slides__slide span {
  position: absolute;
  inset-inline: 0.7rem;
  bottom: 0.55rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.shop-mobile-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 11, 29, 0.45);
}

.shop-mobile-popup__panel {
  position: relative;
  width: min(100%, 22rem);
  max-height: min(80dvh, 34rem);
  overflow: auto;
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem;
}

.shop-mobile-popup__close {
  position: absolute;
  top: 0.45rem;
  inset-inline-end: 0.45rem;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  background: #fff;
  color: var(--ink);
}

.shop-mobile-popup__media {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.shop-mobile-popup__media img {
  display: block;
  width: 100%;
  border-radius: 0.7rem;
}

.shop-mobile-popup__panel h2,
.shop-mobile-popup__panel p {
  margin: 0.55rem 0 0;
}

.shop-account-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}

.shop-account-shortcuts__link {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 0.7rem 0.55rem;
}

body.shop-driver {
  overflow: hidden;
}

.shop-driver-root {
  height: 100dvh;
  min-height: 100dvh;
  background: var(--neutral-50, #f6f6f6);
}
