/* ==========================================================================
   OUD NOTES — Shared storefront design system
   Themes override the custom properties in their own theme.css file.
   ========================================================================== */

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

:root {
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 52px);
  --radius: 2px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-ar-display: "Amiri", "Noto Naskh Arabic", serif;
  --font-ar-body: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;

  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-2: #efe8db;
  --ink: #241a12;
  --muted: #7a6d5f;
  --accent: #8a6535;
  --accent-hover: #6f4f27;
  --accent-ink: #fffdf8;
  --line: rgba(36, 26, 18, 0.16);
  --line-strong: rgba(36, 26, 18, 0.35);
  --header-bg: rgba(247, 243, 234, 0.94);
  --header-ink: #241a12;
  --header-line: rgba(36, 26, 18, 0.12);
  --announce-bg: #241a12;
  --announce-ink: #f7f3ea;
  --footer-bg: #241a12;
  --footer-ink: #efe7d9;
  --footer-line: rgba(239, 231, 217, 0.18);
  --card-bg: transparent;
  --card-line: rgba(36, 26, 18, 0.14);
  --image-bg: #ece5d9;
  --shadow: 0 24px 60px -30px rgba(36, 26, 18, 0.45);
  --logo-h: 46px;
  --logo-filter: none;
  --header-h: 80px;
  --fs-display: clamp(2.9rem, 7vw, 6rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.85rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar-body);
  line-height: 1.85;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .display,
html[lang="ar"] .product-name {
  font-family: var(--font-ar-display);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(68px, 9vw, 130px);
}

.section-tight {
  padding-block: clamp(42px, 6vw, 80px);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
}

html[lang="ar"] .display,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  letter-spacing: 0;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: var(--muted);
  max-width: 54ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

html[lang="ar"] .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 46ch;
  margin-top: 14px;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.centered p {
  margin-inline: auto;
}

.section-head-side {
  padding-bottom: 8px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

html[lang="ar"] .btn {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.btn-outline {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.btn-light {
  --btn-bg: var(--surface);
  --btn-ink: var(--ink);
}

.btn-light:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
}

.btn-ghost:hover {
  color: var(--accent);
  background: transparent;
}

.btn-line {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  padding-inline: 6px;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}

.btn-line:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
  transition: color 0.25s, border-color 0.25s;
}

html[lang="ar"] .link-arrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
}

html[dir="rtl"] .link-arrow svg,
html[dir="rtl"] .arrow-icon {
  transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   Announcement / header
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--announce-bg);
  color: var(--announce-ink);
  text-align: center;
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

html[lang="ar"] .announcement {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: var(--logo-h);
  width: auto;
  filter: var(--logo-filter);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
  margin-inline: auto;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[lang="ar"] .nav-link {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: var(--nav-origin, left);
  transition: transform 0.3s var(--ease);
}

html[dir="rtl"] .nav-link {
  --nav-origin: right;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--header-line);
  border-radius: 100px;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: var(--accent);
}

.lang-opt {
  opacity: 0.42;
  transition: opacity 0.2s;
}

html[lang="en"] .lang-opt[data-lang="en"],
html[lang="ar"] .lang-opt[data-lang="ar"] {
  opacity: 1;
  color: var(--accent);
}

.lang-sep {
  opacity: 0.28;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.cart-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  padding: 24px var(--gutter) 40px;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s;
}

html[dir="rtl"] .mobile-nav {
  transform: translateX(102%);
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-head img {
  height: 38px;
  width: auto;
  filter: var(--logo-filter);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 30px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 30px;
  padding-block: 9px;
}

html[lang="ar"] .mobile-nav-links a {
  font-family: var(--font-ar-display);
  font-size: 26px;
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.mobile-nav-foot .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Home / generic page heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 34px;
}

.page-hero {
  padding-block: clamp(56px, 8vw, 108px) clamp(34px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 40%),
    var(--bg);
}

.page-hero .display {
  max-width: 24ch;
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.page-hero .lead {
  margin-top: 20px;
}

.page-hero-small {
  padding-block: clamp(40px, 5vw, 72px);
}

/* --------------------------------------------------------------------------
   Product cards & grids
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--card-line));
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--image-bg);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[lang="ar"] .product-badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 18px 18px 20px;
}

.product-cat {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .product-cat {
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  font-weight: 500;
}

.product-name a:hover {
  color: var(--accent);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-price small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

html[lang="ar"] .quick-add {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.quick-add:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.quick-add svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Shop page
   -------------------------------------------------------------------------- */
.shop-section {
  padding-top: clamp(36px, 5vw, 64px);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

html[lang="ar"] .filter-btn {
  letter-spacing: 0;
  font-size: 12px;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.shop-sort select {
  min-width: 170px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}

html[lang="ar"] .shop-sort select {
  font-size: 12px;
}

.shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 18px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.shop-empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.product-page {
  padding-block: clamp(30px, 4vw, 56px) clamp(60px, 8vw, 110px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding-bottom: 28px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .breadcrumb {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.45;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--image-bg);
  border: 1px solid var(--card-line);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--card-line);
  background: var(--image-bg);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.product-info {
  padding-top: 4px;
}

.product-info h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  margin-top: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1px;
}

.product-info .product-price {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.product-info .product-price small {
  font-size: 11px;
}

.stock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e8b57;
  flex: 0 0 auto;
}

.product-desc {
  margin-top: 20px;
  color: var(--muted);
  max-width: 56ch;
}

.variant-block {
  margin-top: 26px;
}

.variant-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[lang="ar"] .variant-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.variant-label span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.variant-btn {
  min-width: 74px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.variant-btn small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--muted);
}

.variant-btn:hover {
  border-color: var(--accent);
}

.variant-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.variant-btn.is-active small {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.buy-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.qty {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}

.qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.qty button:hover {
  background: var(--surface-2);
}

.qty input {
  width: 42px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  text-align: center;
  -moz-appearance: textfield;
}

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

.buy-row .btn {
  flex: 1;
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-trust div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.product-trust svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--accent);
}

.accordion {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

html[lang="ar"] .accordion summary {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion .accordion-body {
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

.related-section {
  margin-top: clamp(70px, 9vw, 120px);
  padding-top: clamp(42px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Client care / information pages
   -------------------------------------------------------------------------- */
.info-section {
  padding-block: clamp(38px, 5vw, 70px) clamp(70px, 9vw, 120px);
}

.info-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.info-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 2px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--line);
}

.info-nav a {
  padding: 7px 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}

html[lang="ar"] .info-nav a {
  letter-spacing: 0;
  font-size: 12px;
}

.info-nav a:hover {
  color: var(--accent);
}

.info-content {
  min-width: 0;
}

.info-block {
  padding-bottom: clamp(34px, 5vw, 54px);
  margin-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.info-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.info-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.info-block > p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 13px;
}

.info-block > p + p {
  margin-top: 12px;
}

.info-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-block: 24px;
}

.info-contact-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.info-contact-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .info-contact-card span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
}

.info-contact-card strong {
  font-size: 12px;
  font-weight: 500;
}

.care-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.care-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 12px;
  color: var(--muted);
}

.care-list li::before {
  content: "◆";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  font-size: 7px;
  color: var(--accent);
}

.info-faq summary {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

html[lang="ar"] .info-faq summary {
  font-size: 13px;
}

.info-faq .accordion-body {
  font-size: 12px;
  line-height: 1.75;
}

.care-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-top: 24px;
}

.care-cta {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.care-cta h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.care-cta p {
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Free-shipping progress */
.ship-progress {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
}

.ship-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}

/* Sticky mobile add-to-bag bar */
.mobile-buy {
  display: none;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.checkout-section {
  padding-block: clamp(38px, 5vw, 68px) clamp(70px, 9vw, 120px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
}

.checkout-card-head h2 {
  font-size: 1.45rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .field label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html[lang="ar"] .input,
html[lang="ar"] .field select,
html[lang="ar"] .field textarea {
  font-size: 14px;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-option:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.payment-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option img {
  height: 26px;
  width: auto;
  border-radius: 4px;
  flex: 0 0 auto;
}

.payment-option-wide {
  grid-column: 1 / -1;
}

.po-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.payment-option .po-name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.payment-option .po-name small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.payment-option .po-radio {
  margin-inline-start: auto;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-option.is-selected .po-radio {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--accent);
}

.payment-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border-inline-start: 2px solid var(--accent);
  font-size: 11px;
  color: var(--muted);
}

.card-fields {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card-fields[hidden] {
  display: none;
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.checkout-terms input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.summary h2 {
  font-size: 1.55rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.summary-items {
  display: grid;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.summary-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-item img {
  width: 54px;
  height: 66px;
  object-fit: cover;
  background: var(--image-bg);
}

.summary-item-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.summary-item-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.summary-item-price {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.summary-totals {
  display: grid;
  gap: 9px;
  padding-block: 18px;
  font-size: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.summary-row strong {
  color: var(--ink);
  font-weight: 500;
}

.summary-row.total {
  margin-top: 6px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.summary-row.total strong {
  font-size: 18px;
}

.summary .btn {
  margin-top: 6px;
}

.summary-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10px;
  color: var(--muted);
}

.summary-secure svg {
  width: 14px;
  height: 14px;
}

.summary-payments {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.summary-payments img {
  height: 22px;
  width: auto;
  border-radius: 3px;
}

.summary-empty {
  padding-block: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(30px, 5vw, 60px);
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-top: clamp(54px, 7vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 48px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  filter: var(--footer-logo-filter, invert(1));
  opacity: 0.95;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 12px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--footer-ink) 68%, transparent);
}

.footer-brand .footer-tagline {
  margin-top: 14px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[lang="ar"] .footer-brand .footer-tagline {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.footer-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-ink);
  margin-bottom: 18px;
}

html[lang="ar"] .footer-title {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 12px;
}

.footer-links a {
  color: color-mix(in srgb, var(--footer-ink) 68%, transparent);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--footer-ink);
}

.footer-newsletter p {
  font-size: 12px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--footer-ink) 68%, transparent);
  max-width: 34ch;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--footer-ink) 45%, transparent);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
}

.newsletter-form input::placeholder {
  color: color-mix(in srgb, var(--footer-ink) 48%, transparent);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.newsletter-form button:hover {
  color: var(--accent);
  transform: translateX(3px);
}

html[dir="rtl"] .newsletter-form button:hover {
  transform: translateX(-3px) scaleX(-1);
}

html[dir="rtl"] .newsletter-form button svg {
  transform: scaleX(-1);
}

.newsletter-form button svg {
  width: 18px;
  height: 18px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 11px;
  color: color-mix(in srgb, var(--footer-ink) 62%, transparent);
}

.footer-contact > span {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.footer-contact a:hover {
  color: var(--footer-ink);
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--footer-line);
}

.footer-payments-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--footer-ink) 55%, transparent);
}

html[lang="ar"] .footer-payments-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.footer-payments-label svg {
  width: 14px;
  height: 14px;
}

.payment-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-strip img {
  height: 27px;
  width: auto;
  border-radius: 4px;
  background: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid var(--footer-line);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--footer-ink) 50%, transparent);
}

.footer-bottom a:hover {
  color: var(--footer-ink);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
}

.cart-drawer.is-open {
  visibility: visible;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 6, 0.52);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cart-drawer.is-open .cart-overlay {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 1.5rem;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  text-align: center;
  color: var(--muted);
}

.cart-empty svg {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 18px;
}

.cart-empty h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.cart-empty p {
  font-size: 12px;
  max-width: 27ch;
}

.cart-empty .btn {
  margin-top: 22px;
}

.cart-items {
  display: grid;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
}

.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--image-bg);
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.2;
}

html[lang="ar"] .cart-item-name {
  font-family: var(--font-ar-display);
}

.cart-item-meta {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.cart-item-price {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

.cart-remove:hover {
  color: var(--accent);
}

.cart-line-total {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-foot {
  padding: 20px 24px 26px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.cart-foot .summary-row {
  font-size: 13px;
}

.cart-foot .btn {
  margin-top: 14px;
}

.cart-foot-note {
  margin-top: 12px;
  font-size: 10px;
  text-align: center;
  color: var(--muted);
}

.cart-foot-payments {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cart-foot-payments img {
  height: 20px;
  width: auto;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Modal / toast / misc
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 9, 6, 0.6);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(30px, 5vw, 52px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.modal-card .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.modal-card .success-icon svg {
  width: 28px;
  height: 28px;
}

.modal-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.modal-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.modal-card .order-code {
  margin-top: 20px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.modal-card .btn {
  margin-top: 24px;
}

.toast-wrap {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  animation: toast-in 0.35s var(--ease), toast-out 0.35s var(--ease) 3s forwards;
}

.toast svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: 0 0 auto;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Shared content blocks used by the homepages
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 15px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  align-items: center;
  animation: marquee 34s linear infinite;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .marquee-track {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.marquee-track span {
  white-space: nowrap;
}

.marquee-track .dot {
  color: var(--accent);
  font-size: 8px;
}

html[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.pattern-band {
  height: clamp(44px, 7vw, 88px);
  background-image: url("../assets/images/pattern.png");
  background-size: auto 100%;
  background-repeat: repeat-x;
  opacity: 0.9;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
}

.value-card {
  padding-top: 8px;
}

.value-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 30ch;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
}

.note-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--card-line);
  background: var(--card-bg);
}

.note-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.note-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.note-card p {
  font-size: 12px;
  color: var(--muted);
}

.quote-section {
  padding-block: clamp(60px, 8vw, 110px);
  text-align: center;
}

.quote-section blockquote {
  max-width: 880px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.3vw, 2.9rem);
  line-height: 1.28;
  font-style: italic;
}

html[lang="ar"] .quote-section blockquote {
  font-family: var(--font-ar-display);
  font-style: normal;
  line-height: 1.55;
}

.quote-section cite {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .quote-section cite {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.newsletter-section {
  padding-bottom: clamp(60px, 8vw, 110px);
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.newsletter-box h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-top: 10px;
}

.newsletter-box p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  max-width: 46ch;
}

.newsletter-box form {
  display: flex;
  border-bottom: 1px solid var(--line-strong);
}

.newsletter-box input {
  flex: 1;
  min-width: 0;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
}

.newsletter-box button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding-inline: 10px;
  transition: color 0.2s;
}

.newsletter-box button:hover {
  color: var(--accent);
}

.newsletter-box button svg {
  width: 20px;
  height: 20px;
}

html[dir="rtl"] .newsletter-box button svg {
  transform: scaleX(-1);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: clamp(30px, 4vw, 48px);
  border-block: 1px solid var(--line);
}

.stat {
  text-align: center;
  padding-inline: 10px;
}

.stat:nth-child(2) {
  border-inline: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

html[lang="ar"] .stat strong {
  font-family: var(--font-ar-display);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ar"] .stat span {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    height: 38px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .product-gallery {
    max-width: 620px;
  }

  .value-grid,
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter {
    grid-column: auto;
    display: block;
  }
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-body {
    padding: 14px 14px 16px;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head-side {
    padding-bottom: 0;
  }

  .shop-toolbar {
    align-items: flex-start;
  }

  .shop-meta span:last-child {
    display: none;
  }

  .shop-sort {
    width: 100%;
    justify-content: space-between;
  }

  .shop-sort select {
    flex: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 10px;
  }

  .stat {
    padding-block: 20px;
  }

  .stat:nth-child(2) {
    border-inline: 0;
    border-block: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-payments {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-trust {
    grid-template-columns: 1fr;
  }

  .buy-row {
    flex-wrap: wrap;
  }

  .buy-row .qty {
    flex: 0 0 auto;
  }

  .buy-row .btn {
    flex: 1 1 100%;
  }

  .value-grid,
  .notes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .note-card {
    padding: 18px;
  }

  .note-card img {
    width: 44px;
    height: 44px;
  }

  .quote-section blockquote {
    font-size: 1.55rem;
  }

  .toast-wrap {
    inset-inline: 14px;
    bottom: 14px;
  }

  .toast {
    max-width: none;
  }

  body[data-page="product"] main {
    padding-bottom: 78px;
  }

  .mobile-buy {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -14px 34px -24px rgba(0, 0, 0, 0.5);
  }

  .mobile-buy-info {
    flex: 1;
    min-width: 0;
  }

  .mobile-buy-info small {
    display: block;
    font-size: 9px;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  .mobile-buy-info strong {
    display: block;
    margin-top: 1px;
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-buy .btn {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 10px 18px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 0 0 16px;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-nav a {
    padding: 4px 0;
  }

  .info-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cart-btn span:not(.cart-count) {
    display: none;
  }

  .lang-toggle {
    padding: 0 10px;
  }

  .header-actions {
    gap: 0;
  }

  .product-grid {
    gap: 10px;
  }

  .product-body {
    padding: 12px 11px 14px;
    gap: 4px;
  }

  .product-cat {
    font-size: 8px;
  }

  .product-name {
    font-size: 1rem;
  }

  .product-price {
    font-size: 11px;
  }

  .quick-add {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .product-badge {
    top: 8px;
    inset-inline-start: 8px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .gallery-thumbs {
    gap: 7px;
  }

  .summary-item {
    grid-template-columns: 46px 1fr auto;
  }

  .summary-item img {
    width: 46px;
    height: 58px;
  }

  .checkout-card {
    padding: 18px;
  }
}

@media (max-width: 390px) {
  .value-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }
}
