/*
Theme Name: Rose Gold Jewelry
Author: Rose Gold Jewelry
Description: قالب فارسی و واکنش‌گرای طلافروشی رز گلد با معرفی محصولات، داستان برند و فرم‌های تعاملی.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rose-gold-theme
*/

:root {
  --emerald-deep: #073834;
  --gold-champagne: #FFE4AF;
  --gold-glow: rgba(255, 228, 175, 0.3);
  --bg-cream: #F6E5BE;   /* طلایی روشن، جای #FAF7F2 */
  --text-dark: #1A1A1A;
  --gold-border: 1px solid rgba(255, 228, 175, 0.3);
  --green-950: #032522;
  --green-900: #073834;
  --green-850: #09423d;
  --green-800: #0d5049;
  --green-700: #2a6b63;
  --gold-300: #fff1d0;
  --gold-400: #ffe4af;
  --gold-500: #d7a654;
  --rose: #d59172;
  --ivory: #faf7f2;
  --ivory-2: #fff0cf;
  --ink: #0d302c;
  --muted: #65736f;
  --line: rgba(215, 166, 84, 0.28);
  --shadow: 0 30px 80px rgba(7, 56, 52, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1240px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-500) var(--green-950);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 36%),
    var(--bg-cream);
  color: var(--text-dark);
  font-family: "Vazirmatn", "IRANSansX", Tahoma, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

::selection {
  background: var(--gold-400);
  color: var(--green-950);
}

.intro {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(3, 41, 18, 0.38), rgba(3, 41, 18, 0.58)),
    var(--intro-image-active, var(--intro-image, none)) center / cover no-repeat,
    radial-gradient(circle at 50% 46%, rgba(255, 229, 176, 0.24), transparent 29%),
    radial-gradient(circle at 0 50%, rgba(255, 229, 176, 0.12), transparent 34%),
    radial-gradient(circle at 100% 50%, rgba(255, 229, 176, 0.12), transparent 34%),
    linear-gradient(128deg, var(--green-950), var(--green-900) 50%, var(--green-950));
  color: var(--ivory);
  transition:
    opacity 1s var(--ease),
    visibility 1s;
}

.intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  pointer-events: none;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 5;
  border: 1px solid rgba(255, 229, 176, 0.16);
  pointer-events: none;
}

.intro::after {
  inset: 38px;
  border-color: rgba(255, 229, 176, 0.06);
}

.intro__grain {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    radial-gradient(circle at 0 50%, rgba(255, 229, 176, 0.13), transparent 27%),
    radial-gradient(circle at 100% 50%, rgba(255, 229, 176, 0.13), transparent 27%),
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.18) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,0.13) 0 0.5px, transparent 0.8px);
  background-size: auto, auto, 7px 7px, 11px 11px;
  opacity: 0.16;
  pointer-events: none;
}

.intro__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 84vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 229, 176, 0.18), rgba(255, 229, 176, 0.035) 38%, transparent 68%);
  transform: translate(-50%, -50%);
  animation: breathe 3.8s ease-in-out infinite;
}

.intro__stage {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(92vw, 580px);
  flex-direction: column;
  align-items: center;
}

.intro__visual {
  position: relative;
  width: clamp(255px, 32vw, 385px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.intro__rose,
.intro__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro__rose {
  display: none;
}

.intro__aura,
.intro__orbit,
.intro__monogram-ring,
.intro__sparkles,
.intro__eyebrow,
.intro__name,
.intro__line,
.intro__edition {
  display: none;
  animation: none;
}

.intro__logo {
  z-index: 6;
  width: 52%;
  height: 52%;
  inset: 24%;
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(255, 229, 176, 0.35));
  animation: none;
}

.intro__aura {
  position: absolute;
  z-index: 0;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 176, 0.18), transparent 67%);
  opacity: 0;
  animation: aura-bloom 4.6s var(--ease) forwards;
}

.intro__aura--two {
  inset: -4%;
  border: 1px solid rgba(255, 229, 176, 0.08);
  background: transparent;
  animation-delay: 0.2s;
}

.intro__orbit {
  position: absolute;
  z-index: 5;
  width: 66%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 229, 176, 0.4);
  border-radius: 50%;
  opacity: 0;
}

.intro__orbit::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 15px var(--gold-300);
}

.intro__orbit--one {
  animation: orbit-in 2.1s 2.3s var(--ease) forwards;
}

.intro__orbit--two {
  width: 78%;
  border-style: dashed;
  animation: orbit-in-alt 2.1s 2.4s var(--ease) forwards;
}

.intro__monogram-ring {
  position: absolute;
  z-index: 4;
  width: 53%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 229, 176, 0.6);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(255, 229, 176, 0.025),
    inset 0 0 28px rgba(255, 229, 176, 0.08);
  opacity: 0;
  animation: monogram-ring 4.45s var(--ease) forwards;
}

.intro__light-sweep {
  display: none;
}

.intro__shards {
  display: none;
}

.intro__shards i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(var(--gold-300), var(--gold-500));
  box-shadow: 0 0 14px rgba(255, 229, 176, 0.55);
  opacity: 0;
  animation: intro-shard 1.35s 3.05s var(--ease) forwards;
}

.intro__shards i:nth-child(1) { --x: -96px; --y: -68px; --r: -34deg; }
.intro__shards i:nth-child(2) { --x: 88px; --y: -80px; --r: 28deg; animation-delay: 3.12s; }
.intro__shards i:nth-child(3) { --x: 112px; --y: 12px; --r: 80deg; animation-delay: 3.18s; }
.intro__shards i:nth-child(4) { --x: 68px; --y: 94px; --r: 134deg; animation-delay: 3.08s; }
.intro__shards i:nth-child(5) { --x: -72px; --y: 98px; --r: 210deg; animation-delay: 3.2s; }
.intro__shards i:nth-child(6) { --x: -112px; --y: 18px; --r: 262deg; animation-delay: 3.15s; }
.intro__shards i:nth-child(7) { --x: 8px; --y: -116px; --r: 8deg; animation-delay: 3.24s; }
.intro__shards i:nth-child(8) { --x: 4px; --y: 116px; --r: 180deg; animation-delay: 3.11s; }

.intro__eyebrow {
  margin: 12px 0 8px;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  opacity: 0;
  animation: copy-in 0.85s 3.65s var(--ease) forwards;
}

.intro__name {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: copy-in 0.85s 3.78s var(--ease) forwards;
}

.intro__line {
  width: 130px;
  height: 1px;
  margin-top: 19px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.intro__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  transform: translateX(100%);
  animation: line-pass 1.1s 3.95s ease forwards;
}

.intro__skip {
  position: absolute;
  z-index: 8;
  bottom: 38px;
  left: 50%;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color 0.25s ease;
}

.intro__skip:hover {
  color: var(--gold-300);
}

.intro__edition {
  position: absolute;
  z-index: 7;
  right: 52px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 241, 208, 0.42);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: copy-in 0.8s 4s var(--ease) forwards;
}

.intro__edition i {
  width: 28px;
  height: 1px;
  background: rgba(255, 229, 176, 0.35);
}

.intro__sparkles i {
  position: absolute;
  width: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 10px var(--gold-300);
  opacity: 0;
  animation: sparkle 2.8s infinite;
}

.intro__sparkles i:nth-child(1) { top: 22%; left: 28%; animation-delay: 0.2s; }
.intro__sparkles i:nth-child(2) { top: 31%; right: 24%; animation-delay: 1.1s; }
.intro__sparkles i:nth-child(3) { bottom: 27%; left: 34%; animation-delay: 1.7s; }
.intro__sparkles i:nth-child(4) { bottom: 34%; right: 31%; animation-delay: 0.6s; }
.intro__sparkles i:nth-child(5) { top: 15%; right: 42%; animation-delay: 1.4s; }
.intro__sparkles i:nth-child(6) { bottom: 18%; right: 48%; animation-delay: 0.9s; }
.intro__sparkles i:nth-child(7) { top: 42%; left: 16%; animation-delay: 1.9s; }
.intro__sparkles i:nth-child(8) { top: 61%; right: 16%; animation-delay: 0.4s; }
.intro__sparkles i:nth-child(9) { bottom: 12%; left: 22%; animation-delay: 1.25s; }
.intro__sparkles i:nth-child(10) { top: 10%; left: 56%; animation-delay: 2.05s; }
.intro__sparkles i:nth-child(11) { bottom: 23%; right: 18%; animation-delay: 1.55s; }
.intro__sparkles i:nth-child(12) { top: 48%; right: 8%; animation-delay: 0.75s; }

.site-shell {
  background: var(--gold-400);
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.site-ready .site-shell {
  opacity: 1;
}

.header {
  position: fixed;
  z-index: 100;
  top: 15px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1220px, calc(100% - 52px));
  height: 78px;
  margin: 0 auto;
  padding: 0 22px;
  border: 1px solid rgba(255, 229, 176, 0.4);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(255, 229, 176, 0.12), transparent 28%),
    rgba(7, 56, 52, 0.86);
  box-shadow:
    0 0 0 5px rgba(255, 229, 176, 0.09),
    0 18px 55px rgba(3, 37, 34, 0.22);
  backdrop-filter: blur(18px);
  color: var(--ivory);
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    padding 0.35s var(--ease),
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.header.is-scrolled,
.header.header--solid {
  top: 12px;
  width: min(1180px, calc(100% - 36px));
  height: 72px;
  padding: 0 20px;
  border: 1px solid rgba(255, 229, 176, 0.46);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(255, 229, 176, 0.14), transparent 30%),
    rgba(7, 56, 52, 0.95);
  box-shadow:
    0 0 0 5px rgba(255, 229, 176, 0.1),
    0 16px 50px rgba(3, 37, 34, 0.23);
  backdrop-filter: blur(18px);
}

.home-store-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.wp-page {
  min-height: 72svh;
  padding-top: 170px;
  background: var(--ivory);
}

.wp-page h1 {
  margin: 12px 0 28px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.2;
}

.wp-page__content {
  max-width: 780px;
  color: var(--muted);
  line-height: 2;
}

.account-button.is-active {
  border-radius: 50%;
  background: rgba(237, 200, 117, 0.16);
  color: var(--gold-300);
}

.account-page {
  min-height: 82svh;
  padding-top: 155px;
  background:
    radial-gradient(circle at 8% 14%, rgba(215, 169, 71, 0.11), transparent 22%),
    var(--ivory);
}

.account-page--auth {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(3, 41, 18, 0.28), rgba(3, 41, 18, 0.28)),
    var(--account-auth-image, none) center / cover no-repeat,
    radial-gradient(circle at 8% 14%, rgba(215, 169, 71, 0.11), transparent 22%),
    var(--ivory);
}

.account-page__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

/* Keep the background video above the section background, but below every
 * login control. A negative stacking order hid it behind the page itself. */
.account-page--auth > :not(.account-page__video) {
  position: relative;
  z-index: 1;
}

.account-notice {
  width: min(100%, 920px);
  margin: 0 auto 25px;
  padding: 13px 18px;
  border: 1px solid;
  font-size: 0.76rem;
  line-height: 1.8;
  text-align: center;
}

.account-notice--success {
  border-color: rgba(32, 121, 75, 0.25);
  background: rgba(32, 121, 75, 0.08);
  color: #145d38;
}

.account-notice--error {
  border-color: rgba(151, 69, 48, 0.24);
  background: rgba(151, 69, 48, 0.07);
  color: #833c2a;
}

.auth-layout {
  display: grid;
  max-width: 1080px;
  min-height: 650px;
  margin: 0 auto;
  grid-template-columns: 0.92fr 1.08fr;
  box-shadow: 0 35px 90px rgba(3, 41, 18, 0.15);
}

.auth-intro {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  border: 1px solid rgba(255, 229, 176, 0.48);
  background:
    linear-gradient(145deg, rgba(7, 56, 52, 0.82), rgba(3, 41, 18, 0.94)),
    var(--account-auth-image, none) center / cover no-repeat,
    radial-gradient(circle at 15% 82%, rgba(237, 200, 117, 0.18), transparent 24%),
    linear-gradient(145deg, var(--green-800), var(--green-950));
  box-shadow:
    inset 0 0 0 6px rgba(255, 229, 176, 0.045),
    0 24px 60px rgba(3, 37, 34, 0.18);
  color: var(--ivory);
}

.auth-intro::before,
.auth-intro::after {
  content: "";
  position: absolute;
  top: -70px;
  left: -115px;
  width: 310px;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 200, 117, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(237, 200, 117, 0.025),
    0 0 0 84px rgba(237, 200, 117, 0.016);
}

.auth-intro::after {
  top: auto;
  right: -90px;
  bottom: -140px;
  left: auto;
  width: 280px;
}

.auth-intro .section-kicker {
  position: relative;
  z-index: 1;
  color: var(--gold-400);
}

.auth-intro h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0 24px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.auth-intro > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 2.1;
}

.auth-intro__features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.auth-intro__features span {
  padding: 8px 11px;
  border: 1px solid rgba(237, 200, 117, 0.17);
  color: var(--gold-300);
  font-size: 0.62rem;
}

.auth-card {
  padding: 34px 45px 45px;
  background: #fffdf7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(3, 41, 18, 0.12);
}

.auth-tabs.is-hidden {
  display: none;
}

.auth-tab {
  position: relative;
  padding: 13px 10px;
  border: 0;
  background: transparent;
  color: #8a918a;
  cursor: pointer;
  font-size: 0.78rem;
}

.auth-tab::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: -1px;
  width: 70%;
  height: 2px;
  background: var(--gold-500);
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease);
}

.auth-tab.is-active {
  color: var(--green-900);
  font-weight: 700;
}

.auth-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: block;
  animation: auth-form-in 0.45s var(--ease);
}

.auth-form__heading {
  margin-bottom: 25px;
}

.auth-form__heading > span,
.account-content__heading > span {
  color: #a2742f;
  font-size: 0.67rem;
  letter-spacing: 0.07em;
}

.auth-form__heading h2,
.account-content__heading h2 {
  margin: 5px 0 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 2rem;
  font-weight: 500;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.form-field > span {
  color: #4e5b52;
  font-size: 0.68rem;
}

.form-field > span small,
.form-field > small {
  color: #969d96;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.7;
}

.form-field input,
.form-field textarea,
.form-field select,
.referral-link input {
  width: 100%;
  border: 1px solid rgba(3, 41, 18, 0.14);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.form-field input {
  height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 108px;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.9;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.referral-link input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(215, 169, 71, 0.1);
}

.form-field input[readonly] {
  background: #f4efe5;
  color: #788079;
}

.form-field select {
  height: 48px;
  padding: 0 14px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--green-800) 50%) calc(100% - 18px) 20px / 5px 5px no-repeat,
    linear-gradient(135deg, var(--green-800) 50%, transparent 50%) calc(100% - 12px) 20px / 5px 5px no-repeat,
    #fff;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 0 18px;
  color: #747d75;
  cursor: pointer;
  font-size: 0.65rem;
}

.form-check input {
  accent-color: var(--green-800);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-form__hint {
  margin: -5px 0 14px;
  color: #989e98;
  font-size: 0.6rem;
}

.account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.account-hero h1 {
  margin: 11px 0 7px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.account-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.account-hero__badge {
  display: grid;
  width: 90px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(215, 169, 71, 0.35);
  border-radius: 50%;
  background: var(--green-900);
  box-shadow: 0 16px 45px rgba(3, 41, 18, 0.18);
  color: var(--gold-300);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 2.2rem;
}

.account-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 105px;
  padding: 15px;
  background: var(--green-900);
  box-shadow: 0 20px 55px rgba(3, 41, 18, 0.15);
  color: var(--ivory);
}

.account-sidebar nav {
  display: flex;
  flex-direction: column;
}

.account-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.72rem;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.account-sidebar a span {
  color: rgba(237, 200, 117, 0.52);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 0.62rem;
}

.account-sidebar a:hover,
.account-sidebar a.is-active {
  background: rgba(237, 200, 117, 0.09);
  color: var(--gold-300);
}

.account-sidebar .account-sidebar__logout {
  margin-top: 12px;
  border: 1px solid rgba(237, 200, 117, 0.2);
  color: var(--gold-300);
  justify-content: center;
}

.account-content {
  min-height: 520px;
  padding: 38px 42px;
  border: 1px solid rgba(3, 41, 18, 0.1);
  background: #fffdf8;
  box-shadow: 0 20px 65px rgba(3, 41, 18, 0.07);
}

.account-content__heading {
  margin-bottom: 32px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(3, 41, 18, 0.1);
}

.account-empty {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.account-empty__icon {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  margin-bottom: 19px;
  place-items: center;
  border: 1px solid rgba(215, 169, 71, 0.32);
  border-radius: 50%;
  color: #a2742f;
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.account-empty h3 {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.account-empty p {
  max-width: 430px;
  margin: 9px 0 23px;
  color: #858d86;
  font-size: 0.72rem;
  line-height: 1.9;
}

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-orders article {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(3, 41, 18, 0.1);
}

.account-orders article div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-orders span {
  color: #949b95;
  font-size: 0.6rem;
}

.account-orders strong {
  font-size: 0.72rem;
}

.loyalty-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.loyalty-overview article {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: linear-gradient(145deg, rgba(255, 229, 176, 0.28), #fff);
}

.loyalty-overview span,
.loyalty-overview small {
  color: #7e8984;
  font-size: 0.62rem;
  line-height: 1.8;
}

.loyalty-overview strong {
  margin: 8px 0;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.35rem;
}

.loyalty-redeem {
  margin: 18px 0 32px;
}

.loyalty-redeem .button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.5;
}

.loyalty-coupons {
  padding-top: 26px;
  border-top: 1px solid rgba(7, 56, 52, 0.1);
}

.loyalty-coupons h3 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.loyalty-coupons > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
  padding: 17px 19px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: #fff;
}

.loyalty-coupons > article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.loyalty-coupons > article strong {
  color: #a2742f;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.loyalty-coupons > article span,
.loyalty-coupons > article small {
  color: #7e8984;
  font-size: 0.61rem;
}

.loyalty-coupons > article > b {
  color: var(--green-900);
  font-size: 0.78rem;
}

.loyalty-coupons > article.is-used {
  filter: grayscale(0.7);
  opacity: 0.62;
}

.referral-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at 5% 90%, rgba(237, 200, 117, 0.15), transparent 30%),
    var(--green-900);
  color: var(--ivory);
}

.referral-card > div:first-child {
  display: flex;
  flex-direction: column;
}

.referral-card > div:first-child > span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
}

.referral-card > div:first-child > strong {
  margin: 8px 0 5px;
  color: var(--gold-300);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
}

.referral-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.65rem;
}

.referral-card__stat {
  display: flex;
  min-width: 115px;
  flex-direction: column;
  align-items: center;
  padding: 17px;
  border: 1px solid rgba(237, 200, 117, 0.2);
}

.referral-card__stat strong {
  color: var(--gold-300);
  font-size: 1.55rem;
}

.referral-card__stat span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
}

.referral-link {
  margin-top: 27px;
}

.referral-link > label {
  display: block;
  margin-bottom: 8px;
  color: #606a62;
  font-size: 0.68rem;
}

.referral-link > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.referral-link input {
  height: 49px;
  padding: 0 14px;
  background: #f8f3e9;
  color: #727a73;
}

.referral-link button {
  padding: 0 22px;
  border: 0;
  background: var(--green-900);
  color: var(--gold-300);
  cursor: pointer;
  font-size: 0.7rem;
}

.account-form {
  max-width: 720px;
}

.account-form .button {
  min-width: 180px;
  margin-top: 10px;
}

.account-favorites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-favorite {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(3, 41, 18, 0.1);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}

.account-favorite__product {
  display: grid;
  min-width: 0;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  color: inherit;
}

.account-favorite__product:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.account-favorite__product:hover h3 {
  color: var(--gold-500);
}

.account-favorite.is-removing {
  opacity: 0;
  transform: scale(0.95);
}

.account-favorite__product > img,
.account-favorite__product > .rg-responsive-picture > img {
  width: 105px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--green-900);
}

.account-favorite__product > div {
  min-width: 0;
}

.account-favorite__product > div span {
  color: #a2742f;
  font-size: 0.6rem;
}

.account-favorite h3 {
  margin: 3px 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1rem;
  font-weight: 500;
}

.account-favorite small {
  color: #8a918b;
  font-size: 0.58rem;
}

.account-favorite .heart-button {
  position: relative;
  top: auto;
  right: auto;
  width: 38px;
  background: #f4eee3;
  color: #965941;
}

@keyframes auth-form-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 11px;
  width: fit-content;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand small {
  color: rgba(255, 255, 255, 0.45);
  font-family: Georgia, serif;
  font-size: 0.52rem;
  letter-spacing: 0.13em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width 0.35s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--ivory);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.nav-external-gold {
  color: var(--gold-300);
  font-weight: 600;
}

.nav a.nav-external-gold:hover {
  color: var(--ivory);
}

.header__actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.icon-button,
.menu-toggle {
  border: 0;
  background: none;
  cursor: pointer;
}

.icon-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 8px;
  place-items: center;
  color: var(--ivory);
}

.icon-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.favorite-count,
.cart-count {
  position: absolute;
  top: -1px;
  right: -2px;
  display: grid;
  width: 17px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--green-950);
  font-size: 0.58rem;
  font-weight: 700;
}

.cart-button svg {
  width: 21px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 12px 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ivory);
  transition: transform 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 24px);
  overflow: hidden;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  padding: 145px max(40px, calc((100vw - 1240px) / 2)) 90px;
  margin: 12px;
  border: 1px solid rgba(255, 241, 208, 0.62);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 229, 176, 0.09), transparent 18%, transparent 82%, rgba(255, 229, 176, 0.08)),
    radial-gradient(circle at 24% 52%, rgba(255, 229, 176, 0.17), transparent 32%),
    var(--hero-background-image-active, var(--hero-background-image, none)) center / cover no-repeat,
    linear-gradient(132deg, var(--green-900), var(--green-950) 84%);
  box-shadow:
    0 0 0 7px rgba(255, 229, 176, 0.55),
    0 24px 70px rgba(3, 37, 34, 0.2);
  color: var(--ivory);
}

.hero--image-only {
  display: block;
  background:
    linear-gradient(180deg, rgba(3, 37, 34, 0.08), rgba(3, 37, 34, 0.22)),
    var(--hero-background-image-active, var(--hero-background-image, none)) center / cover no-repeat;
}

.hero--image-only::before,
.hero--image-only::after,
.hero--image-only .hero__texture,
.hero--image-only .hero__video,
.hero--image-only .hero__content,
.hero--image-only .hero__art > *:not(.hero-slider-controls):not(.hero-slider-viewport):not(.rg-responsive-picture),
.hero--image-only .scroll-cue {
  display: none;
}

.hero-slide-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
}

.hero--image-only .hero__art {
  position: absolute;
  z-index: 5;
  inset: 0;
  min-height: 0;
  margin: 0;
  transform: none;
  pointer-events: none;
}

.hero--image-only .hero-slider-controls {
  pointer-events: auto;
  right: 50%;
  bottom: 28px;
  transform: translateX(50%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 75%);
  mask-image: linear-gradient(to left, #000, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -20vw;
  bottom: -45vw;
  width: 80vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 229, 176, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(237, 200, 117, 0.018),
    0 0 0 160px rgba(237, 200, 117, 0.012);
}

.hero__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
  filter: saturate(0.82) contrast(1.04);
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  filter: contrast(160%);
  background:
    radial-gradient(circle at 10% 88%, rgba(237, 200, 117, 0.16), transparent 8%),
    radial-gradient(circle at 13% 91%, transparent 0 48px, rgba(237, 200, 117, 0.1) 49px 50px, transparent 51px);
  mix-blend-mode: screen;
}

.hero__content,
.hero__art {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 600px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  color: var(--gold-400);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.eyebrow span {
  width: 38px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(3.25rem, 5.6vw, 6.2rem);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.065em;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--gold-400);
  font-style: normal;
  font-weight: 400;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -3px;
  width: 86%;
  height: 8px;
  border-top: 1px solid var(--rose);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.hero__lead {
  max-width: 545px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1rem;
  line-height: 2.1;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  padding: 13px 26px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::before {
  left: 150%;
}

.button--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 34px rgba(215, 169, 71, 0.2);
  color: var(--green-950);
}

.button--gold:hover {
  box-shadow: 0 16px 40px rgba(215, 169, 71, 0.31);
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transform: rotate(180deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(237, 200, 117, 0.33);
  background: none;
  color: var(--gold-300);
  cursor: pointer;
  font-size: 0.84rem;
  transition:
    gap 0.25s ease,
    border-color 0.25s ease;
}

.text-link:hover {
  gap: 15px;
  border-color: var(--gold-300);
}

.hero__notes {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 55px;
}

.hero__notes > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero__notes strong {
  color: var(--ivory);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero__notes span {
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.68rem;
}

.hero__notes i {
  width: 1px;
  height: 31px;
  background: rgba(255, 255, 255, 0.14);
}

.hero__art {
  min-height: 650px;
  transform: translateX(-4%);
}

.hero__art > img,
.hero__art > .rg-responsive-picture > img {
  position: absolute;
  z-index: 3;
  top: 49%;
  left: 49%;
  width: min(690px, 53vw);
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  -webkit-mask-image: radial-gradient(circle at center, #000 52%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 52%, transparent 72%);
  transform: translate(-50%, -50%);
  animation: product-float 5.5s ease-in-out infinite;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.hero__art > img.is-changing,
.hero__art > .rg-responsive-picture > img.is-changing {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(0.97);
}

.hero-slider-controls {
  position: absolute;
  z-index: 6;
  right: 3%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(237, 200, 117, 0.2);
  background: rgba(3, 41, 18, 0.52);
  backdrop-filter: blur(7px);
}

.hero-slider-controls button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 250, 241, 0.66);
  cursor: pointer;
  font-size: 0.72rem;
}

.hero-slider-controls button[data-hero-dot] {
  width: 6px;
  height: 6px;
  background: rgba(255, 229, 176, 0.35);
}

.hero-slider-controls button[data-hero-dot].is-active {
  background: var(--gold-300);
  box-shadow: 0 0 8px var(--gold-300);
}

.hero__halo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(520px, 40vw);
  aspect-ratio: 1;
  border: 1px solid rgba(237, 200, 117, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(237, 200, 117, 0.045),
    0 0 80px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%);
}

.hero__halo::before,
.hero__halo::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(237, 200, 117, 0.09);
  border-radius: 50%;
}

.hero__halo::after {
  inset: -38px;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.hero__arch {
  position: absolute;
  z-index: 0;
  top: 1%;
  left: 50%;
  width: 62%;
  height: 95%;
  border: 1px solid rgba(237, 200, 117, 0.14);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.hero__line {
  position: absolute;
  left: 4%;
  width: 125px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.hero__line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-400);
}

.hero__line--top {
  top: 23%;
}

.hero__line--bottom {
  right: auto;
  bottom: 18%;
  left: 7%;
  width: 76px;
}

.hero__tag {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 18%;
  display: flex;
  min-width: 118px;
  flex-direction: column;
  padding: 18px 20px;
  border-right: 1px solid var(--gold-400);
  background: rgba(3, 41, 18, 0.5);
  backdrop-filter: blur(7px);
}

.hero__tag span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
}

.hero__tag strong {
  margin: 4px 0 8px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.hero__tag small {
  color: var(--gold-400);
  direction: ltr;
  font-family: Georgia, serif;
  letter-spacing: 0.16em;
}

.hero__seal {
  position: absolute;
  z-index: 4;
  top: 18%;
  left: 2%;
  display: grid;
  width: 105px;
  aspect-ratio: 1;
  place-items: center;
}

.hero__seal > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  animation: spin 22s linear infinite reverse;
}

.hero__seal text {
  fill: rgba(255, 255, 255, 0.55);
  font-family: Georgia, serif;
  font-size: 8.8px;
  letter-spacing: 1.45px;
}

.hero__seal img {
  width: 40px;
  filter: brightness(1.1);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 50%;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62rem;
  transform: translateX(50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 31px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold-400);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.section {
  padding: 130px max(40px, calc((100vw - 1240px) / 2));
}

.categories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.52), transparent 24%),
    var(--gold-400);
}

.categories::before {
  content: "";
  position: absolute;
  top: -190px;
  left: -150px;
  width: 480px;
  aspect-ratio: 1;
  border: 1px solid rgba(3, 41, 18, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(3, 41, 18, 0.018),
    0 0 0 110px rgba(3, 41, 18, 0.012);
}

.category-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 140px);
justify-content: center;
  justify-items: center;
  align-items: start;
  gap: 24px 12px;
  overflow: visible;
  padding: 4px 2px 14px;
}


.category-row__item {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 0 150px;
  min-height: 154px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 15px 13px;
  border: 1px solid rgba(3, 41, 18, 0.12);
  background: rgba(255, 250, 241, 0.84);
  color: var(--green-950);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.category-row__item:hover,
.category-row__item:focus-visible {
  border-color: var(--gold-500);
  background: var(--green-900);
  box-shadow: 0 16px 30px rgba(3, 41, 18, 0.14);
  color: var(--gold-300);
  transform: translateY(-4px);
}


.category-row__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(215, 169, 71, 0.42);
  border-radius: 50%;
  color: var(--gold-500);
}

.category-row__icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.category-row__icon svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.category-row__title {
  max-width: 100%;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 0.95rem;
  line-height: 1.4;
}



.category-card {
  position: relative;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(3, 41, 18, 0.11);
  background: rgba(255, 250, 241, 0.78);
  transition:
    color 0.45s ease,
    background 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s var(--ease),
    box-shadow 0.45s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 169, 71, 0.2);
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}

.category-card:hover {
  border-color: var(--green-900);
  background: var(--green-900);
  box-shadow: 0 24px 60px rgba(3, 41, 18, 0.16);
  color: var(--ivory);
  transform: translateY(-9px);
}

.category-card:hover::before {
  transform: scale(1.18);
}

.category-card__number {
  color: #a2742f;
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.category-card__icon {
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  margin: 30px auto 26px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(215, 169, 71, 0.28);
  border-radius: 50%;
  color: var(--gold-500);
  transition:
    background 0.4s ease,
    color 0.4s ease,
    transform 0.5s var(--ease);
}

.category-card:hover .category-card__icon {
  background: rgba(237, 200, 117, 0.08);
  color: var(--gold-300);
  transform: rotate(-4deg) scale(1.05);
}

.category-card__icon svg {
  width: 65px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.category-card__icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.category-card h3 {
  margin: auto 0 4px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.category-card p {
  margin: 0;
  color: #7e867f;
  font-size: 0.7rem;
  line-height: 1.8;
  transition: color 0.4s ease;
}

.category-card:hover p {
  color: rgba(255, 255, 255, 0.48);
}

.category-card__arrow {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(3, 41, 18, 0.1);
  color: #a2742f;
  font-size: 0.68rem;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
}

.category-card:hover .category-card__arrow {
  border-color: rgba(237, 200, 117, 0.2);
  color: var(--gold-300);
}

.category-card--group {
  cursor: default;
}

.category-card__summary {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  cursor: pointer;
  list-style: none;
}

.category-card__summary::-webkit-details-marker {
  display: none;
}

.category-card__summary::after {
  position: absolute;
  right: 24px;
  top: 24px;
  color: #a2742f;
  content: "⌄";
  font-size: 1.1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-card--group[open] .category-card__summary::after {
  color: var(--gold-300);
  transform: rotate(180deg);
}

.category-card--group .category-card__summary > .category-card__arrow:nth-of-type(2) {
  display: none;
}

.category-card__children {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(3, 41, 18, 0.12);
}

.category-card__child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(3, 41, 18, 0.12);
  background: rgba(255, 250, 241, 0.62);
  color: var(--green-900);
  font-size: 0.7rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.category-card__child:hover,
.category-card__child:focus-visible {
  background: var(--gold-300);
  color: var(--green-950);
  transform: translateX(-4px);
}

.category-card__child--all {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--gold-300);
}

.category-page-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: -8px 0 30px;
  padding: 24px 26px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 229, 176, 0.28), transparent 54%),
    rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 46px rgba(3, 41, 18, 0.06);
}

.category-page-head__copy {
  min-width: 0;
  flex: 1 1 340px;
}

.category-page-head__copy h2 {
  margin: 7px 0 5px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 500;
}

.category-page-head__copy p {
  max-width: 560px;
  margin: 0;
  color: #6d786f;
  font-size: 0.75rem;
  line-height: 2;
}

.category-page-head__children {
  width: 100%;
  flex: 1 1 100%;
  margin-top: 22px;
}

.category-page-head__children-label {
  display: block;
  margin-bottom: 8px;
  color: #7c867e;
  font-size: 0.65rem;
}

.category-row--subcategories {
  padding-top: 0;
}

.category-row--subcategories .category-row__item {
  flex: 0 0 145px;
  min-height: 138px;
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #8a928d;
  font-size: 0.64rem;
}

.category-breadcrumb a {
  color: #9b6f2b;
}

.category-breadcrumb strong {
  color: var(--green-900);
  font-weight: 600;
}

.category-subnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 410px;
}

.category-subnav > span {
  width: 100%;
  margin-bottom: 2px;
  color: #7c867e;
  font-size: 0.61rem;
}

.category-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(215, 169, 71, 0.48);
  border-radius: 999px;
  background: var(--green-900);
  color: var(--gold-300);
  font-size: 0.66rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.category-subnav a:hover,
.category-subnav a:focus-visible {
  background: var(--gold-400);
  color: var(--green-950);
  transform: translateY(-2px);
}

.collection {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 229, 176, 0.5), transparent 26%),
    var(--ivory);
}

.collection::before {
  content: "ROSE";
  position: absolute;
  top: 170px;
  left: -30px;
  color: rgba(3, 41, 18, 0.035);
  font-family: Georgia, serif;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 1;
  letter-spacing: -0.07em;
  pointer-events: none;
  transform: rotate(-90deg);
}

.section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 68px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a2742f;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.section-kicker::before {
  content: "";
  width: 27px;
  height: 1px;
  background: currentColor;
}

.section-heading h2,
.story__content h2,
.concierge h2,
.modal__content h2 {
  margin: 12px 0 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2;
}

.live-gold-price {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  margin: -24px 0 48px;
  padding: 27px 30px;
  border: 1px solid rgba(255, 229, 176, 0.52);
  border-radius: 20px;
  background:
    radial-gradient(circle at 5% 20%, rgba(237, 200, 117, 0.14), transparent 28%),
    linear-gradient(125deg, var(--green-900), var(--green-950));
  box-shadow:
    0 0 0 6px rgba(255, 229, 176, 0.32),
    0 24px 70px rgba(3, 41, 18, 0.18);
  color: var(--ivory);
}

.live-gold-price::before {
  content: "";
  position: absolute;
  top: -85px;
  left: 23%;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 200, 117, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(237, 200, 117, 0.025),
    0 0 0 76px rgba(237, 200, 117, 0.015);
  pointer-events: none;
}

.live-gold-price__mark {
  position: relative;
  display: grid;
  width: 70px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(237, 200, 117, 0.28);
  border-radius: 50%;
  background: rgba(237, 200, 117, 0.07);
  color: var(--gold-400);
}

.live-gold-price__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(237, 200, 117, 0.2);
  border-radius: inherit;
  animation: spin 18s linear infinite;
}

.live-gold-price__mark svg {
  width: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.live-gold-price__copy,
.live-gold-price__value,
.live-gold-price__meta {
  position: relative;
  z-index: 1;
}

.live-gold-price__copy > span {
  color: var(--gold-400);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.live-gold-price__copy h3 {
  margin: 4px 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.live-gold-price__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
  line-height: 1.8;
}

.live-gold-price__value {
  display: flex;
  min-width: 245px;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-right: 26px;
  border-right: 1px solid rgba(237, 200, 117, 0.18);
}

.live-gold-price__value > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.live-gold-price__value strong {
  color: var(--gold-300);
  direction: ltr;
  font-family: Tahoma, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  white-space: nowrap;
}

.live-gold-price__value span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  white-space: nowrap;
}

.live-gold-price__value small {
  color: rgba(255, 255, 255, 0.45);
  direction: rtl;
  font-size: 0.62rem;
}

.live-gold-price__meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -6px 96px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(237, 200, 117, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

.live-gold-price__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-gold-price__status i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #66d592;
  box-shadow: 0 0 0 5px rgba(102, 213, 146, 0.08);
}

.live-gold-price.is-refreshing .live-gold-price__status i {
  animation: live-price-pulse 1s ease-in-out infinite;
}

.live-gold-price.is-stale .live-gold-price__status i,
.live-gold-price.is-unavailable .live-gold-price__status i {
  background: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(237, 200, 117, 0.08);
}

@keyframes live-price-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.product-toolbar {
  position: relative;
  /* Keep open sort/filter menus above the product grid. */
  z-index: 10;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  margin: -25px 0 38px;
  padding: 14px 0;
  border-top: 1px solid rgba(3, 41, 18, 0.1);
  border-bottom: 1px solid rgba(3, 41, 18, 0.1);
}

.advanced-search {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(180px, 1.6fr) repeat(3, minmax(105px, 0.7fr)) auto;
  align-items: end;
  gap: 9px;
  margin-bottom: 14px;
}

.advanced-search label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.advanced-search label span {
  color: #7d877f;
  font-size: 0.58rem;
}

.advanced-search input,
.advanced-search select {
  width: 100%;
  height: 39px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid rgba(3, 41, 18, 0.13);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.66rem;
}

.advanced-search .button {
  min-height: 39px;
  padding: 8px 14px;
  font-size: 0.64rem;
}

.advanced-search .text-link {
  align-self: center;
  white-space: nowrap;
  font-size: 0.62rem;
}

.product-filters {
  order: -1;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.product-filters > a.filter-button {
  text-decoration: none;
}

.product-filter-group {
  position: relative;
}

.product-filter-group > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(7, 56, 52, 0.18);
  border-radius: 999px;
  color: #747d75;
  cursor: pointer;
  font-size: 0.72rem;
  list-style: none;
}

.product-filter-group > summary::-webkit-details-marker {
  display: none;
}

.product-filter-group[open] > summary {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--ivory);
}

.product-filter-group__children {
  position: absolute;
  z-index: 8;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  min-width: 170px;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(7, 56, 52, 0.16);
  background: var(--ivory);
  box-shadow: 0 16px 30px rgba(3, 37, 34, 0.14);
}

.filter-button--child {
  width: 100%;
  border-radius: 4px;
  text-align: right;
}

.filter-button {
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #747d75;
  cursor: pointer;
  font-size: 0.72rem;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.filter-button:hover {
  color: var(--green-900);
}

.filter-button.is-active {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--ivory);
}

.product-result {
  color: #929892;
  font-size: 0.7rem;
}

.product-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
}

.product-card {
  min-width: 0;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}

.product-card.is-filtered-out {
  display: none;
}

.product-card__media {
  position: relative;
  height: clamp(440px, 47vw, 610px);
  overflow: hidden;
  border: 8px solid var(--gold-400);
  background: linear-gradient(145deg, var(--green-900), var(--green-950));
  box-shadow:
    0 0 0 1px rgba(7, 56, 52, 0.2),
    var(--shadow);
  isolation: isolate;
}

.product-card__media::before,
.product-card__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-color: rgba(237, 200, 117, 0.24);
  border-style: solid;
  pointer-events: none;
}

.product-card__media::before {
  top: 18px;
  right: 18px;
  border-width: 1px 1px 0 0;
}

.product-card__media::after {
  bottom: 18px;
  left: 18px;
  border-width: 0 0 1px 1px;
}

.product-card__wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(215, 169, 71, 0.1), transparent 55%),
    linear-gradient(140deg, transparent 55%, rgba(0, 0, 0, 0.21));
  pointer-events: none;
}

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s var(--ease),
    filter 0.9s ease;
}

.product-card:hover .product-card__image-link img {
  filter: brightness(1.06) saturate(1.04);
  transform: scale(1.055);
}

.product-card__badge {
  position: absolute;
  z-index: 3;
  top: 30px;
  right: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(237, 200, 117, 0.4);
  border-radius: 999px;
  background: rgba(3, 41, 18, 0.62);
  color: var(--gold-300);
  font-size: 0.68rem;
  backdrop-filter: blur(8px);
}

.heart-button {
  position: absolute;
  z-index: 4;
  top: 26px;
  left: 26px;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(3, 41, 18, 0.45);
  color: var(--ivory);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.heart-button:hover {
  transform: scale(1.08);
}

.heart-button.is-active {
  border-color: var(--rose);
  background: var(--rose);
  color: var(--green-950);
}

.heart-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.heart-button.is-active svg {
  fill: currentColor;
}

.product-card__quick {
  position: absolute;
  z-index: 4;
  right: 50%;
  bottom: 28px;
  display: inline-flex;
  min-width: 160px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(3, 41, 18, 0.76);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.76rem;
  opacity: 0;
  backdrop-filter: blur(12px);
  transform: translate(50%, 22px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translate(50%, 0);
}

.product-card__quick:hover {
  background: var(--gold-400);
  color: var(--green-950);
}

.product-card__info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 4px 17px;
  border-bottom: 1px solid rgba(3, 41, 18, 0.13);
}

.product-card__info span {
  color: #a2742f;
  font-size: 0.7rem;
}

.product-card__info h3 {
  margin: 4px 0 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.product-card__info h3 a {
  color: inherit;
}

.product-card__info p {
  margin: 0 0 3px;
  color: var(--green-700);
  font-size: 0.85rem;
  white-space: nowrap;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  color: #8b918b;
  font-size: 0.7rem;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 10px;
}

.add-cart-button,
.product-more {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-900);
  cursor: pointer;
  font-size: 0.76rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.add-cart-button {
  gap: 9px;
  background: var(--green-900);
  color: var(--ivory);
}

.add-cart-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.add-cart-button:hover {
  background: var(--gold-400);
  color: var(--green-950);
  transform: translateY(-2px);
}

.product-more {
  display: inline-flex;
  min-width: 88px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--green-900);
}

.product-more:hover {
  background: var(--green-900);
  color: var(--ivory);
}

.gold-guide {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border: 1px solid rgba(255, 241, 208, 0.52);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(255, 229, 176, 0.09), transparent 17%, transparent 83%, rgba(255, 229, 176, 0.08)),
    radial-gradient(circle at 7% 18%, rgba(255, 229, 176, 0.1), transparent 25%),
    var(--green-900);
  box-shadow:
    0 0 0 7px rgba(255, 229, 176, 0.5),
    0 24px 65px rgba(3, 37, 34, 0.17);
  color: var(--ivory);
}

.gold-guide::after {
  content: "18K";
  position: absolute;
  right: -20px;
  bottom: -80px;
  color: rgba(255, 255, 255, 0.025);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: clamp(13rem, 31vw, 28rem);
  line-height: 0.8;
  pointer-events: none;
}

.gold-guide .section-kicker {
  color: var(--gold-400);
}

.gold-guide .section-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.guide-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gold-guide .guide-grid {
  display: none;
}

.guide-blog-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-post-card {
  overflow: hidden;
  border: 1px solid rgba(237, 200, 117, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 42px rgba(3, 37, 34, 0.16);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.guide-post-card:hover {
  border-color: rgba(237, 200, 117, 0.55);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-8px);
}

.guide-post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--green-950);
}

.guide-post-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(3, 37, 34, 0.78));
  content: "";
}

.guide-post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.84) contrast(1.06);
}

.guide-post-card__media > span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  padding: 5px 10px;
  border: 1px solid rgba(237, 200, 117, 0.42);
  border-radius: 999px;
  background: rgba(3, 37, 34, 0.46);
  color: var(--gold-300);
  font-size: 0.62rem;
}

.guide-post-card__body {
  padding: 24px 25px 26px;
}

.guide-post-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6rem;
}

.guide-post-card__meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}

.guide-post-card h3 {
  margin: 15px 0 9px;
  color: var(--ivory);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.65;
}

.guide-post-card__body > p {
  min-height: 58px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 2;
}

.guide-post-card__body details {
  border-top: 1px solid rgba(237, 200, 117, 0.14);
  padding-top: 12px;
}

.guide-post-card__body summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-300);
  cursor: pointer;
  font-size: 0.7rem;
  list-style: none;
}

.guide-post-card__body summary::-webkit-details-marker {
  display: none;
}

.guide-post-card__body details > div {
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  line-height: 2;
}

.guide-post-card__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(237, 200, 117, 0.14);
  color: var(--gold-300);
  font-size: 0.7rem;
}

.guide-post-card__read-more span {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.guide-post-card__read-more:hover span {
  transform: translateX(-4px);
}

.guide-single {
  padding-top: 140px;
}

.guide-single__layout {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.guide-single__media {
  overflow: hidden;
  border: 1px solid rgba(237, 200, 117, 0.26);
  background: var(--green-950);
  box-shadow: 0 24px 64px rgba(3, 37, 34, 0.16);
}

.guide-single__media img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-single__content {
  align-self: center;
  padding: 12px 0;
}

.guide-single__content h1 {
  margin: 13px 0 12px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1.3;
}

.guide-single__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.65rem;
}

.guide-single__meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}

.guide-single__content > p {
  margin: 0 0 18px;
  color: #5d6c65;
  font-size: 0.9rem;
  line-height: 2.3;
}

.guide-single__content .button {
  margin-top: 18px;
}

.guide-single__promo {
  width: var(--container);
  margin: 70px auto 0;
  padding: 34px;
  border: 1px solid rgba(7, 56, 52, 0.14);
  background:
    radial-gradient(circle at 10% 0, rgba(255, 229, 176, 0.38), transparent 35%),
    #fffdf8;
  box-shadow: 0 20px 55px rgba(3, 41, 18, 0.08);
}

.guide-single__promo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(3, 41, 18, 0.1);
}

.guide-single__promo-heading h2 {
  margin: 8px 0 0;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 400;
}

.guide-single__promo-heading .text-link {
  color: var(--green-800);
  white-space: nowrap;
}

.guide-single__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-single__product {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-single__product:hover {
  border-color: rgba(215, 166, 84, 0.7);
  box-shadow: 0 14px 28px rgba(3, 41, 18, 0.1);
  transform: translateY(-4px);
}

.guide-single__product-media {
  position: relative;
  display: block;
  min-height: 120px;
  overflow: hidden;
  background: var(--green-950);
}

.guide-single__product-media img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.guide-single__product-media b {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 229, 176, 0.45);
  border-radius: 999px;
  background: rgba(3, 37, 34, 0.7);
  color: var(--gold-300);
  font-size: 0.55rem;
  font-weight: 500;
}

.guide-single__product-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.guide-single__product-info small,
.guide-single__product-info > span {
  color: var(--muted);
  font-size: 0.58rem;
}

.guide-single__product-info strong {
  overflow: hidden;
  max-width: 100%;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-single__product-info em {
  margin-top: 5px;
  color: var(--green-800);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(237, 200, 117, 0.17);
  background: rgba(255, 229, 176, 0.045);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.4s var(--ease);
}

.guide-card:hover {
  border-color: rgba(237, 200, 117, 0.48);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-7px);
}

.guide-card--featured {
  background:
    linear-gradient(rgba(216, 171, 73, 0.93), rgba(183, 133, 49, 0.95)),
    var(--gold-500);
  color: var(--green-950);
}

.guide-card__tag {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(237, 200, 117, 0.26);
  border-radius: 999px;
  color: var(--gold-300);
  font-size: 0.62rem;
}

.guide-card--featured .guide-card__tag {
  border-color: rgba(3, 41, 18, 0.2);
  color: var(--green-900);
}

.guide-card__icon {
  display: grid;
  width: 90px;
  aspect-ratio: 1;
  margin: 34px 0 25px;
  place-items: center;
  border: 1px solid rgba(3, 41, 18, 0.2);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 2.1rem;
}

.guide-card__line-icon {
  display: grid;
  width: 90px;
  aspect-ratio: 1;
  margin: 34px 0 25px;
  place-items: center;
  border: 1px solid rgba(237, 200, 117, 0.2);
  border-radius: 50%;
  color: var(--gold-400);
}

.guide-card__line-icon svg {
  width: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.guide-card h3 {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.guide-card p {
  margin: 13px 0 25px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  line-height: 2;
}

.guide-card--featured p {
  color: rgba(1, 25, 11, 0.68);
}

.guide-card__meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(237, 200, 117, 0.14);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
}

.guide-card--featured .guide-card__meta {
  border-color: rgba(3, 41, 18, 0.14);
  color: rgba(1, 25, 11, 0.58);
}

.story {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(65px, 10vw, 145px);
  background:
    linear-gradient(115deg, rgba(255, 229, 176, 0.7), rgba(255, 250, 241, 0.92)),
    var(--gold-400);
}

.story::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(3, 41, 18, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(3, 41, 18, 0.018);
}

.story__visual {
  position: relative;
  min-height: 620px;
}

.story__frame {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 82%;
  height: 520px;
  padding: 22px;
  border: 1px solid rgba(3, 41, 18, 0.15);
  background: rgba(255, 255, 255, 0.25);
  place-items: center;
}

.story__brand-card {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 229, 176, 0.14), transparent 44%),
    var(--green-900);
  color: var(--ivory);
}

.story__brand-card::before,
.story__brand-card::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 200, 117, 0.1);
  border-radius: 50%;
}

.story__brand-card::after {
  width: 52%;
  border-style: dashed;
}

.story__brand-card img {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(237, 200, 117, 0.2));
}

.story__brand-card strong {
  position: relative;
  z-index: 1;
  margin-top: 21px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.story__brand-card small {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-family: Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.story__frame::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(215, 169, 71, 0.35);
  pointer-events: none;
}

.story__caption {
  position: absolute;
  right: -40px;
  top: 260px;
  color: rgba(3, 41, 18, 0.42);
  font-family: Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  transform: rotate(90deg);
}

.story__quote {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 0;
  display: flex;
  width: min(340px, 70%);
  gap: 14px;
  padding: 25px 27px;
  border: 1px solid rgba(255, 229, 176, 0.46);
  border-radius: 16px;
  background: var(--green-900);
  box-shadow:
    0 0 0 5px rgba(255, 229, 176, 0.24),
    0 24px 55px rgba(0, 28, 13, 0.2);
  color: var(--ivory);
}

.story__quote span {
  color: var(--gold-400);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.story__quote p {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1rem;
  line-height: 1.85;
}

.story__content {
  position: relative;
  z-index: 2;
}

.story__content > p {
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2.15;
}

.story__features {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.story__features li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(3, 41, 18, 0.1);
}

.story__features > li > span {
  color: #b8893c;
  font-family: Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.story__features div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.story__features strong {
  font-size: 0.88rem;
}

.story__features small {
  color: #838b84;
  font-size: 0.72rem;
}

.button--outline {
  border: 1px solid var(--green-900);
  background: transparent;
  color: var(--green-900);
}

.button--outline:hover {
  background: var(--green-900);
  color: var(--ivory);
}

.concierge {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border: 1px solid rgba(255, 241, 208, 0.5);
  border-radius: 26px;
  padding-top: 145px;
  padding-bottom: 145px;
  background:
    linear-gradient(90deg, rgba(255, 229, 176, 0.09), transparent 18%, transparent 82%, rgba(255, 229, 176, 0.08)),
    linear-gradient(rgba(7, 56, 52, 0.87), rgba(3, 37, 34, 0.94)),
    url("images/rose-intro.png") center 53% / cover;
  box-shadow:
    0 0 0 7px rgba(255, 229, 176, 0.5),
    0 24px 65px rgba(3, 37, 34, 0.17);
  color: var(--ivory);
  text-align: center;
}

.concierge::before,
.concierge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 200, 117, 0.3));
}

.concierge::before {
  right: 0;
}

.concierge::after {
  left: 0;
  transform: scaleX(-1);
}

.concierge__inner {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 750px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.concierge__inner > img,
.concierge__inner > .rg-responsive-picture > img {
  width: 72px;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 20px rgba(237, 200, 117, 0.22));
}

.concierge__inner > span {
  color: var(--gold-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.concierge h2 {
  margin-top: 16px;
}

.concierge p {
  max-width: 550px;
  margin: 25px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 2;
}

.concierge__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.72);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 0.78rem;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 33px max(40px, calc((100vw - 1240px) / 2));
  margin: 12px 12px 0;
  border: 1px solid rgba(255, 229, 176, 0.32);
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(105deg, rgba(255, 229, 176, 0.1), transparent 28%),
    var(--green-950);
  box-shadow: 0 -7px 0 rgba(255, 229, 176, 0.43);
  color: var(--ivory);
}

.footer .brand img {
  width: 38px;
  height: 38px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
}

.footer__social {
  display: flex;
  justify-self: end;
  gap: 22px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  transition: color 0.25s ease;
}

.footer__social a:hover {
  color: var(--gold-400);
}

.cart-drawer {
  position: fixed;
  z-index: 1100;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}

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

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 7, 0.66);
  backdrop-filter: blur(8px);
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: min(470px, 100%);
  flex-direction: column;
  background: var(--ivory);
  box-shadow: 30px 0 90px rgba(0, 0, 0, 0.24);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(3, 41, 18, 0.1);
}

.cart-drawer__header > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-drawer__header > div > span {
  color: #a2742f;
  font-size: 0.66rem;
}

.cart-drawer__header h2 {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.cart-drawer__close {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(3, 41, 18, 0.15);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.cart-drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--green-900);
  transform: translate(-50%, -50%) rotate(45deg);
}

.cart-drawer__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cart-items {
  display: flex;
  overflow-y: auto;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  padding: 18px 30px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(3, 41, 18, 0.09);
}

.cart-item__image {
  width: 90px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-900);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__content h3 {
  margin: 0 0 5px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1rem;
  font-weight: 500;
}

.cart-item__content > span {
  color: #7c857d;
  font-size: 0.68rem;
}

.cart-item__content > small {
  display: block;
  margin-top: 3px;
  color: #a0a69f;
  font-size: 0.58rem;
}

.cart-item.is-out-of-stock {
  background: rgba(142, 67, 52, 0.045);
}

.cart-item__content > .cart-item__stock,
.checkout-item .checkout-item__stock {
  color: #8e4334;
  font-weight: 700;
}

.cart-item__quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.cart-item__quantity {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 4px 7px;
  border: 1px solid rgba(3, 41, 18, 0.13);
}

.cart-item__quantity button {
  width: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}

.cart-item__quantity span {
  min-width: 14px;
  font-size: 0.72rem;
  text-align: center;
}

.cart-item__remove {
  align-self: start;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #a2a8a2;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.cart-item__remove:hover {
  color: #8e4334;
}

.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.cart-empty img {
  width: 78px;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 15px rgba(215, 169, 71, 0.22));
}

.cart-empty strong {
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.cart-empty p {
  margin: 8px 0 24px;
  color: #858d86;
  font-size: 0.75rem;
}

.cart-empty .button {
  width: 100%;
}

.cart-drawer__footer {
  padding: 22px 30px 28px;
  border-top: 1px solid rgba(3, 41, 18, 0.1);
  background: #f7f0e4;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cart-summary--weight {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(3, 41, 18, 0.12);
}

.cart-summary span {
  color: #7b847c;
  font-size: 0.72rem;
}

.cart-summary strong {
  color: var(--green-700);
  font-size: 0.94rem;
}

.cart-drawer__footer > p {
  margin: 9px 0 18px;
  color: #949b94;
  font-size: 0.62rem;
}

.cart-drawer__footer .button {
  width: 100%;
}

.product-page {
  min-height: 80svh;
  padding-top: 145px;
  background:
    radial-gradient(circle at 6% 12%, rgba(215, 166, 84, 0.18), transparent 24%),
    linear-gradient(145deg, var(--gold-300), var(--ivory) 48%, var(--gold-400));
}

.product-breadcrumb {
  display: flex;
  width: var(--container);
  align-items: center;
  gap: 9px;
  margin: 0 auto 24px;
  color: rgba(7, 56, 52, 0.58);
  font-size: 0.68rem;
}

.product-breadcrumb a {
  color: inherit;
}

.product-breadcrumb a:hover,
.product-breadcrumb strong {
  color: var(--green-900);
}

.product-detail {
  display: grid;
  width: var(--container);
  min-height: 690px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  border: 1px solid rgba(7, 56, 52, 0.2);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow:
    0 0 0 7px rgba(255, 229, 176, 0.5),
    0 35px 90px rgba(3, 37, 34, 0.18);
  overflow: hidden;
}

.product-detail__media {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 229, 176, 0.45);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 229, 176, 0.13), transparent 32%),
    linear-gradient(145deg, var(--green-800), var(--green-950));
}

.product-detail__media::before,
.product-detail__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 150px;
  height: 150px;
  border-color: rgba(255, 229, 176, 0.34);
  border-style: solid;
  pointer-events: none;
}

.product-detail__media::before {
  top: 28px;
  right: 28px;
  border-width: 1px 1px 0 0;
}

.product-detail__media::after {
  bottom: 28px;
  left: 28px;
  border-width: 0 0 1px 1px;
}

.product-detail__media img {
  width: 100%;
  height: 100%;
  min-height: 690px;
  object-fit: cover;
}

.product-detail__main-image {
  transition: opacity .2s ease, transform .45s var(--ease);
}

.product-detail__media:hover .product-detail__main-image {
  transform: scale(1.025);
}

.product-detail__thumbnails {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 9px;
  max-width: calc(100% - 56px);
  overflow-x: auto;
  padding: 5px;
}

.product-detail__thumbnail {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgba(255, 229, 176, .5);
  border-radius: 10px;
  background: rgba(3, 37, 34, .7);
  cursor: pointer;
  opacity: .72;
  transition: .2s ease;
}

.product-detail__thumbnail:hover,
.product-detail__thumbnail.is-active {
  border-color: var(--gold-300);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255, 229, 176, .22);
}

.product-detail__thumbnail img {
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.product-detail__index,
.product-detail__badge {
  position: absolute;
  z-index: 3;
  top: 35px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 229, 176, 0.42);
  border-radius: 999px;
  background: rgba(3, 37, 34, 0.64);
  color: var(--gold-300);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
}

.product-detail__index {
  right: 35px;
  direction: ltr;
}

.product-detail__badge {
  left: 35px;
}

.product-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 68px);
}

.product-detail__content h1 {
  margin: 13px 0 19px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.product-detail__description {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 2.15;
}

.product-detail__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  border: 1px solid rgba(7, 56, 52, 0.16);
}

.product-detail__specs > div {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 13px;
  border-left: 1px solid rgba(7, 56, 52, 0.16);
}

.product-detail__specs > div:last-child {
  border-left: 0;
}

.product-detail__specs span,
.product-detail__rate span,
.product-detail__pricing span,
.product-detail__total span {
  color: #7e8a84;
  font-size: 0.62rem;
}

.product-detail__specs strong {
  color: var(--green-900);
  font-size: 0.75rem;
}

.product-detail__rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(215, 166, 84, 0.4);
  background: rgba(255, 229, 176, 0.24);
}

.product-detail__rate strong {
  color: var(--green-900);
  font-size: 0.78rem;
}

.product-detail__pricing {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  background: rgba(7, 56, 52, 0.12);
}

.product-detail__pricing > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 15px;
  background: #fffdf8;
}

.product-detail__pricing strong {
  color: var(--green-800);
  font-size: 0.7rem;
}

.product-detail__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 229, 176, 0.48);
  background: var(--green-900);
}

.product-detail__total span {
  color: rgba(255, 255, 255, 0.62);
}

.product-detail__total strong {
  color: var(--gold-300);
  font-size: 1.05rem;
}

.product-detail__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.product-detail__favorite {
  position: relative;
  top: auto;
  left: auto;
  display: inline-flex;
  width: auto;
  min-width: 185px;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-color: rgba(7, 56, 52, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--green-900);
  backdrop-filter: none;
}

.product-detail__favorite span {
  font-size: 0.68rem;
}

.product-detail__note {
  margin: 13px 0 0;
  color: #8c968f;
  font-size: 0.61rem;
  line-height: 1.8;
  text-align: center;
}

.product-information {
  display: grid;
  width: var(--container);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin: clamp(44px, 7vw, 88px) auto 0;
}

.product-information__card {
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid rgba(7, 56, 52, .14);
  border-radius: 20px;
  background: rgba(255, 253, 247, .78);
  box-shadow: 0 18px 44px rgba(3, 37, 34, .07);
}

.product-information__card .section-heading {
  margin-bottom: 24px;
}

.product-information__card .section-heading h2 {
  margin-top: 5px;
}

.product-information__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
}

.product-information__specs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 54px;
  border-bottom: 1px dashed rgba(7, 56, 52, .18);
}

.product-information__specs dt {
  color: var(--muted);
  font-size: .72rem;
}

.product-information__specs dd {
  margin: 0;
  color: var(--green-900);
  font-size: .75rem;
  font-weight: 700;
  text-align: left;
}

.product-information__copy {
  color: rgba(7, 56, 52, .8);
  font-size: .84rem;
  line-height: 2.15;
}

.product-information__copy > :first-child {
  margin-top: 0;
}

.product-information__copy > :last-child {
  margin-bottom: 0;
}

.related-products {
  width: var(--container);
  margin: 100px auto 0;
}

.related-products .section-heading {
  align-items: end;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.related-product {
  display: block;
  padding: 10px 10px 22px;
  border: 1px solid rgba(7, 56, 52, 0.14);
  background: rgba(255, 253, 247, 0.75);
  color: var(--green-950);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.related-product:hover {
  box-shadow: 0 22px 55px rgba(3, 37, 34, 0.13);
  transform: translateY(-6px);
}

.related-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--green-900);
}

.related-product span {
  display: block;
  margin: 16px 8px 0;
  color: #a2742f;
  font-size: 0.62rem;
}

.related-product h3 {
  margin: 4px 8px 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 30px;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 7, 0.78);
  backdrop-filter: blur(11px);
}

.modal__panel {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(970px, 100%);
  max-height: calc(100svh - 60px);
  overflow: auto;
  grid-template-columns: 1fr 0.9fr;
  background: var(--ivory);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}

.modal.is-open .modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(3, 41, 18, 0.47);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--ivory);
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--green-900);
}

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

.modal__media > span {
  position: absolute;
  right: 28px;
  bottom: 23px;
  color: rgba(255, 255, 255, 0.5);
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 48px;
}

.modal__content h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.modal__content > p {
  margin: 18px 0 27px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 2;
}

.modal__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 27px;
  border-top: 1px solid rgba(3, 41, 18, 0.12);
  border-bottom: 1px solid rgba(3, 41, 18, 0.12);
}

.modal__specs div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 8px;
  border-left: 1px solid rgba(3, 41, 18, 0.12);
}

.modal__specs div:last-child {
  border-left: 0;
}

.modal__specs span,
.modal__price span {
  color: #8b918b;
  font-size: 0.65rem;
}

.modal__specs strong {
  font-size: 0.78rem;
}

.modal__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.modal__price strong {
  color: var(--green-700);
  font-size: 0.95rem;
}

.modal__price-breakdown {
  display: grid;
  gap: 8px;
  margin: -8px 0 19px;
  padding: 15px 17px;
  border: 1px solid rgba(3, 41, 18, 0.1);
  background: rgba(3, 41, 18, 0.025);
}

.modal__price-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.modal__price-breakdown span,
.modal__price-breakdown strong {
  font-size: 0.65rem;
}

.modal__price-breakdown span {
  color: #828b83;
}

.modal__price-breakdown strong {
  color: var(--green-800);
}

.modal__note {
  margin-top: 13px;
  color: #929892;
  font-size: 0.64rem;
  line-height: 1.7;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 1200;
  right: 50%;
  bottom: 26px;
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(237, 200, 117, 0.26);
  border-radius: 12px;
  background: rgba(3, 41, 18, 0.94);
  box-shadow: 0 17px 50px rgba(0, 0, 0, 0.24);
  color: var(--ivory);
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(13px);
  transform: translate(50%, 20px);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.toast img {
  width: 29px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.85s var(--ease);
}

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

.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.14s; }
.hero .reveal:nth-child(4) { transition-delay: 0.2s; }
.hero .reveal:nth-child(5) { transition-delay: 0.26s; }

@keyframes rose-transform {
  0% { opacity: 0; filter: blur(18px) brightness(0.5) saturate(0.7); transform: scale(0.48) rotate(-14deg); }
  14% { opacity: 0.92; filter: blur(2px) brightness(0.88) saturate(1); transform: scale(0.86) rotate(-2deg); }
  36% { opacity: 1; filter: blur(0) brightness(1.08) saturate(1.08); transform: scale(1) rotate(0); }
  57% { opacity: 1; filter: blur(0) brightness(1.15) saturate(1.1); transform: scale(1.025) rotate(1deg); }
  69% { opacity: 0.98; filter: blur(1px) brightness(1.55) saturate(0.8); transform: scale(1.02) rotate(2deg); }
  82% { opacity: 0.15; filter: blur(20px) brightness(2.2) saturate(0.3); transform: scale(0.52) rotate(17deg); }
  100% { opacity: 0; filter: blur(28px) brightness(2.4) saturate(0); transform: scale(0.3) rotate(25deg); }
}

@keyframes logo-reveal {
  0%, 67% { opacity: 0; filter: blur(18px) drop-shadow(0 0 0 transparent); transform: scale(0.35) rotate(-15deg); }
  78% { opacity: 1; filter: blur(1px) drop-shadow(0 0 34px rgba(255, 229, 176, 0.75)); transform: scale(1.2) rotate(0); }
  90% { opacity: 1; filter: blur(0) drop-shadow(0 0 25px rgba(255, 229, 176, 0.52)); transform: scale(0.96); }
  100% { opacity: 1; filter: blur(0) drop-shadow(0 0 18px rgba(255, 229, 176, 0.38)); transform: scale(1); }
}

@keyframes orbit-in {
  0% { opacity: 0; transform: scale(0.45) rotate(0); }
  55% { opacity: 0.8; }
  100% { opacity: 0.3; transform: scale(1) rotate(180deg); }
}

@keyframes orbit-in-alt {
  0% { opacity: 0; transform: scale(0.5) rotate(90deg); }
  55% { opacity: 0.4; }
  100% { opacity: 0.13; transform: scale(1) rotate(-100deg); }
}

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

@keyframes line-pass {
  to { transform: translateX(-100%); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  45% { opacity: 0.8; transform: scale(1.4); }
  70% { opacity: 0; transform: scale(0.5) translateY(-14px); }
}

@keyframes aura-bloom {
  0%, 12% { opacity: 0; transform: scale(0.55); }
  40% { opacity: 1; transform: scale(1); }
  78%, 100% { opacity: 0.25; transform: scale(1.12); }
}

@keyframes monogram-ring {
  0%, 66% { opacity: 0; transform: scale(0.4) rotate(-45deg); }
  80% { opacity: 0.82; transform: scale(1.12) rotate(8deg); }
  100% { opacity: 0.42; transform: scale(1) rotate(0); }
}

@keyframes intro-sweep {
  0% { left: -35%; opacity: 0; }
  20% { opacity: 0.78; }
  80% { opacity: 0.5; }
  100% { left: 112%; opacity: 0; }
}

@keyframes intro-shard {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(var(--r)); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.05) rotate(calc(var(--r) + 80deg)); }
}

@keyframes product-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 12px)); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scroll-line {
  from { transform: translateY(0); }
  to { transform: translateY(300%); }
}

@media (max-width: 1060px) {
  :root {
    --container: min(100% - 48px, 960px);
  }

  .nav {
    gap: 21px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr 0.92fr;
  }

  .hero__art {
    min-height: 540px;
  }

  .hero__art > img,
  .hero__art > .rg-responsive-picture > img {
    width: 57vw;
  }

  .hero__seal {
    top: 18%;
    left: -5%;
  }

  .story {
    gap: 65px;
  }

  .story__visual {
    min-height: 550px;
  }

  .story__frame {
    height: 455px;
  }

  .account-favorites {
    grid-template-columns: 1fr;
  }

  .product-detail {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-detail__media {
    min-height: 560px;
    border-bottom: 1px solid rgba(255, 229, 176, 0.45);
    border-left: 0;
  }

  .product-detail__media img {
    min-height: 560px;
  }

  .product-detail__content {
    padding: 48px;
  }

  .category-page-head {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .category-subnav {
    max-width: none;
    justify-content: flex-start;
  }

  .related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advanced-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .advanced-search label:first-child {
    grid-column: 1 / -1;
  }

  .partner-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-settlement-guide__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --container: calc(100% - 38px);
  }

  .loyalty-overview {
    grid-template-columns: 1fr 1fr;
  }

  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    gap: 27px;
    background: rgba(1, 25, 11, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s,
      transform 0.4s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-family: "Noto Naskh Arabic", Tahoma, serif;
    font-size: 1.55rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 80px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__art {
    min-height: 620px;
    margin-top: 38px;
    transform: none;
  }

  .hero__art > img,
  .hero__art > .rg-responsive-picture > img {
    width: min(720px, 94vw);
  }

  .hero__halo {
    width: min(510px, 68vw);
  }

  .hero__arch {
    width: 60%;
  }

  .hero__seal {
    left: 10%;
  }

  .section {
    padding: 100px 30px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    min-height: 390px;
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    overflow-x: auto;
    padding: 8px;
  }

  .account-sidebar nav {
    min-width: max-content;
    flex-direction: row;
  }

  .account-sidebar a {
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
  }

  .account-sidebar .account-sidebar__logout {
    margin: 0;
  }

  .live-gold-price {
    grid-template-columns: auto 1fr;
  }

  .live-gold-price__value {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding: 18px 0 0;
    border-top: 1px solid rgba(237, 200, 117, 0.13);
    border-right: 0;
  }

  .live-gold-price__meta {
    margin-right: 96px;
  }

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

  .guide-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-card {
    min-height: 330px;
  }

  .product-card__media {
    height: 52vw;
    min-height: 380px;
  }

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

  .story__visual {
    width: min(620px, 100%);
    min-height: 610px;
    margin: 0 auto;
  }

  .story__frame {
    width: 88%;
    height: 510px;
  }

  .story__content {
    max-width: 620px;
  }

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

  .footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }

  .modal__panel {
    grid-template-columns: 0.9fr 1fr;
  }

  .modal__media {
    min-height: 540px;
  }

  .modal__content {
    padding: 45px 32px;
  }
}

@media (max-width: 650px) {
  .intro__visual {
    width: min(78vw, 330px);
  }

  .intro__edition {
    right: 32px;
    bottom: 33px;
  }

  .intro::before {
    inset: 16px;
  }

  .intro::after {
    inset: 23px;
  }

  .header {
    top: 8px;
    width: calc(100% - 20px);
    height: 68px;
    padding: 0 12px;
    border-radius: 15px;
  }

  .header.is-scrolled {
    top: 8px;
    width: calc(100% - 16px);
    padding: 0 11px;
  }

  .hero,
  .gold-guide,
  .concierge {
    margin: 7px;
    border-radius: 20px;
    box-shadow:
      0 0 0 4px rgba(255, 229, 176, 0.5),
      0 18px 48px rgba(3, 37, 34, 0.17);
  }

  .hero {
    min-height: calc(100svh - 14px);
  }

  .product-card__media {
    border-width: 5px;
  }

  .footer {
    margin-right: 7px;
    margin-left: 7px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.84rem;
  }

  .brand small {
    font-size: 0.45rem;
  }

  .favorites-button {
    display: none;
  }

  .header__actions {
    gap: 3px;
  }

  .hero {
    padding: 125px 22px 70px;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.2vw, 4.25rem);
  }

  .hero__lead {
    font-size: 0.88rem;
    line-height: 2;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    align-self: center;
  }

  .hero__notes {
    justify-content: space-between;
    gap: 9px;
    margin-top: 38px;
  }

  .hero__notes span {
    font-size: 0.6rem;
  }

  .hero__art {
    min-height: 460px;
    margin-top: 20px;
  }

  .hero__art > img,
  .hero__art > .rg-responsive-picture > img {
    width: 125vw;
  }

  .hero__halo {
    width: 84vw;
  }

  .hero__arch {
    width: 82%;
    height: 90%;
  }

  .hero__seal {
    top: 10%;
    left: 1%;
    width: 82px;
  }

  .hero__tag {
    right: 1%;
    bottom: 9%;
  }

  .hero-slider-controls {
    right: 50%;
    bottom: 1%;
    transform: translateX(50%);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 82px 20px;
  }

  .account-page {
    padding-top: 120px;
  }

  .auth-layout {
    min-height: 0;
  }

  .auth-intro {
    min-height: 345px;
    padding: 44px 28px;
  }

  .auth-intro h1 {
    font-size: 2.65rem;
  }

  .auth-card {
    padding: 27px 20px 32px;
  }

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

  .account-hero {
    align-items: flex-start;
  }

  .account-hero__badge {
    width: 62px;
    font-size: 1.55rem;
  }

  .account-hero h1 {
    font-size: 2.65rem;
  }

  .account-content {
    min-height: 440px;
    padding: 28px 19px;
  }

  .account-orders article {
    grid-template-columns: 1fr 1fr;
  }

  .referral-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .referral-card__stat {
    align-items: flex-start;
  }

  .referral-link > div {
    grid-template-columns: 1fr;
  }

  .referral-link button {
    min-height: 45px;
  }

  .account-favorite {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .account-favorite__product {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .account-favorite__product > img,
  .account-favorite__product > .rg-responsive-picture > img {
    width: 82px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .story__content h2,
  .concierge h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .section-heading > p {
    font-size: 0.84rem;
  }

  .live-gold-price {
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: -14px;
    padding: 23px 20px;
  }

  .live-gold-price__mark {
    width: 58px;
  }

  .live-gold-price__value {
    padding-top: 16px;
  }

  .live-gold-price__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin: 0;
  }

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

  .category-card {
    min-height: 315px;
  }

  .category-card__children {
    margin-top: 14px;
  }

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-top: -13px;
  }

  .advanced-search {
    grid-template-columns: 1fr 1fr;
  }

  .advanced-search label:first-child,
  .advanced-search .button,
  .advanced-search .text-link {
    grid-column: 1 / -1;
  }

  .product-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .product-filter-group {
    min-width: 0;
  }

  .product-filter-group > summary {
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-filter-group__children {
    right: auto;
    left: 0;
  }

  .guide-blog-grid {
    grid-template-columns: 1fr;
  }

  .guide-single__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-single {
    padding-top: 112px;
  }

  .guide-single__layout {
    width: 100%;
    gap: 20px;
  }

  .guide-single__content {
    padding: 0 4px;
  }

  .guide-single__content h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .guide-single__promo {
    width: 100%;
    margin-top: 44px;
    padding: 24px 18px;
  }

  .guide-single__promo-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .guide-single__products {
    grid-template-columns: 1fr;
  }

  .guide-single__product {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .filter-button {
    padding: 9px 7px;
    white-space: nowrap;
  }

  .product-result {
    align-self: end;
  }

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

  .category-page-head {
    margin-top: -4px;
    padding: 20px 17px;
  }

  .category-page-head__copy h2 {
    font-size: clamp(1.55rem, 9vw, 2.2rem);
  }

  .category-subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-subnav > span {
    grid-column: 1 / -1;
  }

  .category-subnav a {
    justify-content: space-between;
  }

  .partner-page {
    padding-top: 120px;
  }

  .partner-category-strip {
    gap: 8px;
  }

  .partner-category-submenu {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 8px;
  }

  .partner-hero {
    width: calc(100% - 40px);
    align-items: stretch;
    flex-direction: column;
  }

  .partner-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .partner-status {
    width: 100%;
  }

  .partner-pending-card,
  .partner-settlement-guide,
  .partner-catalog,
  .partner-actions {
    width: calc(100% - 40px);
  }

  .partner-pending-card,
  .partner-settlement-guide {
    padding: 24px 20px;
  }

  .partner-actions {
    flex-direction: column;
  }

  .partner-actions .button {
    width: 100%;
  }

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

  .product-card__media {
    height: 118vw;
    max-height: 530px;
  }

  .product-card__quick {
    opacity: 1;
    transform: translate(50%, 0);
  }

  .product-card__info {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .product-card__info p {
    font-size: 0.8rem;
  }

  .product-card__meta {
    gap: 12px;
  }

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

  .product-more {
    min-height: 44px;
  }

  .guide-card {
    min-height: 345px;
    padding: 27px;
  }

  .story {
    gap: 50px;
  }

  .story__visual {
    min-height: 470px;
  }

  .story__frame {
    width: calc(100% - 18px);
    height: 385px;
    padding: 11px;
  }

  .story__frame::after {
    right: -12px;
    bottom: -12px;
  }

  .story__caption {
    display: none;
  }

  .story__quote {
    bottom: 3px;
    width: 82%;
    padding: 19px;
  }

  .story__content > p {
    font-size: 0.85rem;
  }

  .concierge {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .concierge__actions {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .concierge__actions .button {
    width: 100%;
  }

  .footer {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .footer__social {
    order: 2;
  }

  .footer p {
    order: 3;
  }

  .cart-drawer__header {
    padding: 23px 20px 18px;
  }

  .cart-items {
    padding: 12px 20px;
  }

  .cart-item {
    grid-template-columns: 76px 1fr auto;
    gap: 11px;
  }

  .cart-item__image {
    width: 76px;
  }

  .cart-drawer__footer {
    padding: 18px 20px 22px;
  }

  .modal {
    padding: 12px;
  }

  .modal__panel {
    display: block;
    max-height: calc(100svh - 24px);
  }

  .modal__media {
    min-height: 0;
    height: 45svh;
  }

  .modal__content {
    padding: 30px 22px;
  }

  .modal__content h2 {
    font-size: 2.45rem;
  }

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

  .product-page {
    padding: 112px 14px 76px;
  }

  .product-breadcrumb,
  .product-detail,
  .related-products {
    width: 100%;
  }

  .product-breadcrumb {
    max-width: 100%;
    gap: 6px;
    margin-bottom: 17px;
    padding: 0 4px;
    overflow: hidden;
    font-size: 0.59rem;
    white-space: nowrap;
  }

  .product-breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-detail {
    border-radius: 20px;
    box-shadow:
      0 0 0 4px rgba(255, 229, 176, 0.46),
      0 24px 56px rgba(3, 37, 34, 0.15);
  }

  .product-detail__media,
  .product-detail__media img {
    min-height: 0;
  }

  .product-detail__media {
    height: auto;
    aspect-ratio: 1 / 1.05;
  }

  .product-detail__media::before,
  .product-detail__media::after {
    width: 82px;
    height: 82px;
  }

  .product-detail__media::before {
    top: 17px;
    right: 17px;
  }

  .product-detail__media::after {
    bottom: 17px;
    left: 17px;
  }

  .product-detail__media img {
    height: 100%;
  }

  .product-detail__index,
  .product-detail__badge {
    top: 20px;
    padding: 7px 11px;
    font-size: 0.58rem;
  }

  .product-detail__index {
    right: 20px;
  }

  .product-detail__badge {
    left: 20px;
  }

  .product-detail__content {
    padding: 31px 20px 27px;
  }

  .product-detail__content h1 {
    margin: 9px 0 13px;
    font-size: clamp(2.45rem, 13vw, 3.35rem);
  }

  .product-detail__description {
    margin-bottom: 20px;
    font-size: 0.78rem;
    line-height: 2;
  }

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

  .product-detail__specs > div {
    min-height: 59px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(7, 56, 52, 0.16);
    border-left: 0;
  }

  .product-detail__specs > div:last-child {
    border-bottom: 0;
  }

  .product-detail__rate,
  .product-detail__pricing > div,
  .product-detail__total {
    gap: 12px;
  }

  .product-detail__rate {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-detail__pricing > div span {
    max-width: 52%;
    line-height: 1.65;
  }

  .product-detail__total {
    padding: 15px;
  }

  .product-detail__total strong {
    font-size: 0.86rem;
  }

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

  .product-detail__actions .button,
  .product-detail__favorite {
    width: 100%;
    min-height: 48px;
  }

  .related-products {
    margin-top: 76px;
  }

  .related-products .section-heading {
    margin-bottom: 30px;
  }

  .related-products__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-product {
    padding: 8px 8px 19px;
  }
}

.commerce-page,
.invoice-page {
  min-height: 75vh;
  padding-top: 150px;
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 169, 71, 0.11), transparent 24%),
    var(--ivory-2);
}

.commerce-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.commerce-heading h1 {
  margin: 8px 0 13px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.3;
}

.commerce-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 2;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: 26px;
}

.checkout-rate-lock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 228, 175, 0.56);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 228, 175, 0.2), transparent 42%),
    linear-gradient(135deg, #073834, #0b4a43);
  color: #fffaf0;
  box-shadow: 0 18px 45px rgba(7, 56, 52, 0.15);
}

.checkout-rate-lock__content {
  min-width: 0;
}

.checkout-rate-lock__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-champagne);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.checkout-rate-lock__content strong {
  display: block;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.checkout-rate-lock__content p {
  margin: 3px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.68rem;
  line-height: 1.8;
}

.checkout-rate-lock__timer {
  display: grid;
  justify-items: center;
  min-width: 92px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 228, 175, 0.36);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.14);
}

.checkout-rate-lock__timer strong {
  color: var(--gold-champagne);
  direction: ltr;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.checkout-rate-lock__timer span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.58rem;
}

.checkout-rate-lock__refresh {
  min-width: 164px;
  border-color: var(--gold-champagne);
  color: var(--gold-champagne);
}

.checkout-rate-lock__refresh:hover {
  background: var(--gold-champagne);
  color: var(--emerald-deep);
}

.checkout-rate-lock.is-expired {
  border-color: rgba(255, 174, 139, 0.7);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 174, 139, 0.2), transparent 42%),
    linear-gradient(135deg, #073834, #633d35);
}

.checkout-form,
.checkout-summary,
.commerce-login-required,
.payment-shell {
  border: 1px solid rgba(3, 41, 18, 0.1);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 75px rgba(2, 36, 16, 0.075);
}

.checkout-card {
  padding: 34px;
}

.checkout-card__heading {
  margin-bottom: 25px;
}

.checkout-card__heading > span {
  color: #a2742f;
  font-size: 0.67rem;
}

.checkout-card__heading h2 {
  margin: 4px 0 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.checkout-card__heading--compact {
  margin-bottom: 14px;
}

.settlement-methods {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(215, 166, 84, 0.35);
  background: rgba(255, 229, 176, 0.13);
}

.settlement-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(7, 56, 52, 0.13);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.settlement-option:has(input:checked) {
  border-color: var(--gold-500);
  background: #fffaf0;
}

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

.settlement-option__mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(7, 56, 52, 0.35);
  border-radius: 50%;
}

.settlement-option__mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-900);
  opacity: 0;
  transform: scale(0.4);
  transition: 0.2s ease;
}

.settlement-option input:checked + .settlement-option__mark::after {
  opacity: 1;
  transform: scale(1);
}

.settlement-option strong,
.settlement-option small {
  display: block;
}

.settlement-option strong {
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 0.95rem;
}

.settlement-option small {
  margin-top: 3px;
  color: #75807c;
  font-size: 0.6rem;
  line-height: 1.8;
}

.settlement-extra {
  padding: 13px 14px 2px;
  border-right: 2px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.56);
}

.partner-page {
  min-height: 76vh;
  padding-top: 150px;
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 169, 71, 0.12), transparent 24%),
    var(--ivory-2);
}

.partner-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  width: var(--container);
  margin: 0 auto 28px;
}

.partner-hero h1 {
  margin: 8px 0 12px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
}

.partner-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

.partner-status {
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(7, 56, 52, 0.14);
  background: #fff;
}

.partner-status span,
.partner-status strong {
  display: block;
}

.partner-status span {
  color: #87918a;
  font-size: 0.62rem;
}

.partner-status strong {
  margin-top: 5px;
  color: var(--green-900);
  font-size: 0.86rem;
}

.partner-status--pending {
  border-color: rgba(215, 166, 84, 0.5);
  background: #fff8e9;
}

.partner-status--rejected {
  border-color: rgba(161, 77, 62, 0.35);
  background: #fff1ed;
}

.partner-pending-card,
.partner-settlement-guide,
.partner-catalog {
  width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.partner-pending-card {
  padding: 42px;
  border: 1px solid rgba(215, 166, 84, 0.38);
  background: linear-gradient(145deg, rgba(255, 229, 176, 0.38), #fffdf8);
}

.partner-pending-card h2 {
  margin: 8px 0 12px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 2rem;
}

.partner-pending-card p {
  max-width: 720px;
  color: var(--muted);
  line-height: 2;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  width: var(--container);
  margin: 0 auto 28px;
}

.partner-settlement-guide {
  padding: 30px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: rgba(255, 255, 255, 0.64);
}

.partner-settlement-guide h2 {
  margin: 5px 0 22px;
  color: var(--green-950);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.8rem;
}

.partner-settlement-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.partner-settlement-guide__grid article {
  padding: 19px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: #fffdf8;
}

.partner-settlement-guide__grid strong {
  color: #a2742f;
  font-size: 0.72rem;
}

.partner-settlement-guide__grid h3 {
  margin: 7px 0;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.15rem;
}

.partner-settlement-guide__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.9;
}

.partner-catalog {
  margin-top: 75px;
}

.partner-live-rate {
  color: #7c887f;
  font-size: 0.65rem;
}

.partner-advanced-search {
  width: var(--container);
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(105px, 0.7fr)) auto;
  margin: 22px auto 24px;
  padding: 18px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  background: rgba(255, 255, 255, 0.56);
}
.partner-advanced-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.partner-advanced-search > label {
  display: grid;
  gap: 8px;
}
.partner-advanced-search > label > span:not(.shop-range-label) {
  color: #66736d;
  font-size: .78rem;
}
.partner-advanced-search .shop-range-label {
  display: flex;
  justify-content: space-between;
  color: #66736d;
  font-size: .78rem;
}
.partner-advanced-search input[type="range"] {
  width: 100%;
  accent-color: #073834;
}
.partner-advanced-search input[type="search"],
.partner-advanced-search input[type="text"],
.partner-advanced-search select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(7,56,52,.16);
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
}
.partner-advanced-search .shop-filter-categories {
  grid-column: 1 / -1;
  border: 0;
  border-top: 1px solid rgba(7,56,52,.12);
  padding: 18px 0 0;
}
.partner-advanced-search .shop-filter-categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.partner-advanced-search .shop-filter-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
.partner-advanced-search > label:nth-of-type(1),
.partner-advanced-search > label:nth-of-type(2) { display: none; }
.partner-advanced-search > label:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.partner-advanced-search > label:nth-of-type(4) { grid-column: 2; grid-row: 1; }
.partner-advanced-search > label:nth-of-type(9) { grid-column: 1; grid-row: 1; }
.partner-advanced-search > label:nth-of-type(10) { grid-column: 3; grid-row: 2; }
.partner-advanced-search > label:nth-of-type(11) { grid-column: 2; grid-row: 2; }
.partner-advanced-search > label:nth-of-type(12) { grid-column: 1; grid-row: 2; }
.partner-advanced-search > label:nth-of-type(5) { grid-column: 1; grid-row: 3; }
.partner-advanced-search > label:nth-of-type(6) { grid-column: 2; grid-row: 3; }
.partner-advanced-search > label:nth-of-type(7) { grid-column: 3; grid-row: 3; }
.partner-advanced-search > label:nth-of-type(8) { display: none; }
.partner-advanced-search > .shop-filter-categories { grid-column: 1 / -1; grid-row: 4; }
.partner-advanced-search > .shop-filter-form__actions { grid-column: 1 / -1; grid-row: 5; }
@media (max-width: 900px) {
  .partner-advanced-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .partner-advanced-search { grid-template-columns: 1fr; }
}

.account-partner-status {
  display: block;
  margin-top: 9px;
  color: #8a7956;
  font-size: 0.63rem;
}

.account-partner-status--approved {
  color: var(--green-800);
}

.account-partner-status--rejected {
  color: #a14d3e;
}

.partner-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Partner portal is a separate visual shell from the public storefront. */
.partner-workspace .site-shell > .home-top-strip,
.partner-workspace .site-shell > .luxury-topbar,
.partner-workspace .site-shell > .header,
.partner-workspace .site-shell > .footer,
.partner-workspace .site-shell > .mobile-bottom-nav,
.partner-workspace .site-shell > .modal,
.partner-workspace .site-shell > .cart-drawer,
.partner-workspace:not(.partner-checkout) .site-shell > main > :not(.partner-page):not(.product-page) {
  display: none !important;
}
.partner-workspace .partner-workspace-bar { display: flex !important; }
.partner-workspace .site-shell {
  min-height: 100vh;
  background: #f6f3ed;
}
.partner-workspace .nav > a:nth-child(n+3),
.partner-workspace .luxury-topbar__links {
  display: none !important;
}
.partner-workspace .site-shell > .luxury-topbar,
.partner-workspace .site-shell > .header,
.partner-workspace .site-shell > .footer,
.partner-workspace .site-shell > .mobile-tabs {
  display: none !important;
}
.partner-workspace .site-shell > main {
  padding: 0;
}
.partner-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: #073834;
  color: #fff;
  box-shadow: 0 8px 24px rgba(3, 37, 34, .14);
}

/* The partner workspace uses the main storefront header; do not render a
 * second boxed navigation bar underneath it. */
.partner-workspace .partner-workspace-bar {
  display: none !important;
}
.partner-workspace-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.partner-workspace-bar__brand img { width: 42px; height: 42px; object-fit: contain; }
.partner-workspace-bar__brand span { display: grid; gap: 2px; }
.partner-workspace-bar__brand small { color: #d9c58c; }
.partner-workspace-bar nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.partner-workspace-bar nav a {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: .86rem;
}
.partner-workspace-bar nav a:hover,
.partner-workspace-bar nav a:focus-visible,
.partner-workspace-bar nav a.is-active { border-color: var(--gold-500); color: var(--gold-300); }
.partner-account-shell { max-width: 1180px; margin: 0 auto; padding: 34px 20px 70px; }
.partner-account-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.partner-account-head h1 { margin: 8px 0; }
.partner-account-nav { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.partner-account-nav a { padding:11px 16px; border:1px solid rgba(7,56,52,.16); border-radius:12px; color:#073834; text-decoration:none; background:#fff; }
.partner-account-nav a.is-active, .partner-account-nav a:hover { background:#073834; color:#fff; border-color:#073834; }
.partner-account-card { background:#fff; border:1px solid rgba(7,56,52,.12); border-radius:20px; padding:24px; box-shadow:0 14px 34px rgba(3,37,34,.08); }
.partner-account-card h2 { margin-top:0; }
.partner-account-card dl { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.partner-account-card dl div { padding:14px; border-radius:12px; background:#f7f4ee; }
.partner-account-card dt { color:#68746e; font-size:.82rem; }
.partner-account-card dd { margin:6px 0 0; font-weight:700; }
.partner-account-favorites { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.partner-account-favorites a { display:grid; gap:8px; color:#073834; text-decoration:none; }
.partner-account-favorites img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:14px; background:#073834; }
@media (max-width:640px) {
  .partner-account-head { align-items:flex-start; flex-direction:column; }
  .partner-account-card dl { grid-template-columns:1fr; }
  .partner-account-favorites { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .partner-workspace-bar { align-items: flex-start; flex-direction: column; }
  .partner-workspace-bar nav { width: 100%; }
}

.partner-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  overflow: visible;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.partner-category-chip {
  display: inline-flex;
  min-width: 150px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  background: var(--green-900);
  box-shadow: 0 8px 22px rgba(7, 56, 52, 0.14);
  color: var(--gold-300);
  white-space: nowrap;
}

.partner-category-chip:hover,
.partner-category-chip:focus-visible {
  background: var(--gold-400);
  color: var(--green-950);
}

.partner-category-group {
  position: relative;
  flex: 0 0 auto;
}

.partner-category-group > summary {
  cursor: pointer;
  list-style: none;
}

.partner-category-group > summary::-webkit-details-marker {
  display: none;
}

.partner-category-group > summary i {
  margin-right: auto;
  font-style: normal;
  transition: transform 0.25s ease;
}

.partner-category-group[open] > summary {
  background: var(--gold-400);
  color: var(--green-950);
}

.partner-category-group[open] > summary i {
  transform: rotate(180deg);
}

.partner-category-submenu {
  position: relative;
  z-index: 9;
  top: auto;
  right: auto;
  display: grid;
  width: 100%;
  min-width: 205px;
  gap: 7px;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(215, 169, 71, 0.42);
  background: var(--green-950);
  box-shadow: 0 16px 34px rgba(3, 37, 34, 0.22);
}

.partner-category-chip--child {
  min-width: 185px;
  justify-content: space-between;
  border-color: rgba(237, 200, 117, 0.38);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 0.67rem;
}

.partner-category-group {
  min-width: 205px;
}

.partner-category-chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.partner-live-gold-price {
  width: var(--container);
  margin: 30px auto 0;
}

.partner-product-card__weight {
  display: none;
}

.product-weight-selector,
.product-card__weight {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-weight-selector {
  max-width: 340px;
  margin: 20px 0 25px;
  padding: 15px;
  border: 1px solid rgba(215, 166, 84, 0.36);
  background: rgba(255, 229, 176, 0.15);
}

.product-weight-selector > span,
.product-card__weight > span {
  color: var(--green-900);
  font-size: 0.68rem;
  font-weight: 700;
}

.product-weight-selector small {
  color: var(--muted);
  font-size: 0.58rem;
}

.product-weight-selector select,
.product-card__weight select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(7, 56, 52, 0.2);
  background: #fff;
  color: var(--green-900);
}

.product-card__weight {
  margin: 12px 0;
}

.product-card__weight select {
  min-height: 35px;
  font-size: 0.65rem;
}

.partner-empty-result {
  padding: 35px 20px;
  border: 1px dashed rgba(7, 56, 52, 0.2);
  color: var(--muted);
  text-align: center;
}

.partner-product-card {
  display: block;
  padding: 9px 9px 18px;
  border: 1px solid rgba(7, 56, 52, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-950);
}

.partner-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--green-900);
}

.partner-product-card span,
.partner-product-card strong {
  display: block;
}

.partner-product-card span {
  margin-top: 12px;
  color: #a2742f;
  font-size: 0.59rem;
}

.partner-product-card h3 {
  margin: 3px 0 8px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.1rem;
}

.partner-product-card strong {
  color: var(--green-800);
  font-size: 0.68rem;
}

.partner-product-card small {
  display: block;
  margin-top: 5px;
  color: #8b7650;
  font-size: 0.58rem;
  line-height: 1.7;
}
.delivery-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 23px;
}

.checkout-payment-plan {
  margin: 0 0 24px;
}

.checkout-card__heading--delivery {
  margin-bottom: 14px;
}

.checkout-payment-plan ~ .checkout-card__heading--delivery {
  padding-top: 20px;
  border-top: 1px solid rgba(7, 56, 52, 0.1);
}

.checkout-payment-options .delivery-option:has(input[value="deposit"]:checked) {
  border-color: #d39a31;
  background: linear-gradient(145deg, rgba(255, 229, 176, 0.62), rgba(255, 252, 244, 0.92));
}

.delivery-option {
  position: relative;
  display: grid;
  min-height: 115px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 18px;
  border: 1px solid rgba(7, 56, 52, 0.13);
  background: rgba(255, 229, 176, 0.16);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}

.delivery-option:hover {
  border-color: rgba(215, 166, 84, 0.62);
  transform: translateY(-2px);
}

.delivery-option:has(input:checked) {
  border-color: var(--gold-500);
  background: linear-gradient(145deg, rgba(255, 229, 176, 0.48), rgba(255, 250, 241, 0.82));
  box-shadow: 0 13px 30px rgba(7, 56, 52, 0.08);
}

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

.delivery-option__mark {
  display: grid;
  width: 19px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(7, 56, 52, 0.35);
  border-radius: 50%;
}

.delivery-option__mark::after {
  content: "";
  width: 9px;
  aspect-ratio: 1;
  border-radius: inherit;
  background: var(--green-900);
  opacity: 0;
  transform: scale(0.4);
  transition: 0.2s ease;
}

.delivery-option input:checked + .delivery-option__mark::after {
  opacity: 1;
  transform: scale(1);
}

.delivery-option__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.delivery-option__copy strong {
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1rem;
  font-weight: 600;
}

.delivery-option__copy small {
  color: #75807c;
  font-size: 0.61rem;
  line-height: 1.8;
}

.delivery-option > b {
  grid-column: 1 / -1;
  color: #916523;
  font-size: 0.67rem;
  font-weight: 700;
}

.pickup-notice,
.postal-address__heading {
  margin: 0 0 22px;
  padding: 13px 16px;
  border-right: 3px solid var(--gold-500);
  background: rgba(255, 229, 176, 0.28);
  color: #687470;
  font-size: 0.65rem;
  line-height: 1.9;
}

.postal-address__heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.postal-address__heading strong {
  color: var(--green-900);
  font-size: 0.73rem;
}

.postal-address__heading span {
  color: #75807c;
  font-size: 0.6rem;
}

.checkout-form .form-field textarea {
  width: 100%;
  resize: vertical;
}

.checkout-coupon {
  display: grid;
  gap: 13px;
  margin-top: 22px;
  padding: 19px;
  border: 1px solid rgba(215, 166, 84, 0.38);
  background: rgba(255, 229, 176, 0.16);
}

.checkout-coupon > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkout-coupon > div:first-child > span {
  color: var(--green-900);
  font-size: 0.75rem;
  font-weight: 700;
}

.checkout-coupon small,
.checkout-coupon p {
  color: #7b8680;
  font-size: 0.6rem;
  line-height: 1.8;
}

.checkout-coupon__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.checkout-coupon__controls input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(7, 56, 52, 0.18);
  background: #fff;
  font-family: Georgia, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.checkout-coupon__controls .button {
  min-width: 125px;
}

.checkout-coupon p {
  margin: 0;
  padding: 8px 11px;
  border-right: 2px solid var(--green-700);
  background: rgba(7, 56, 52, 0.06);
}

.checkout-coupon p[data-state="error"] {
  border-color: #a33b32;
  background: rgba(163, 59, 50, 0.07);
  color: #8f3028;
}

.checkout-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 34px;
  border-top: 1px solid rgba(3, 41, 18, 0.09);
  background: #f3eadb;
}

.checkout-submit p {
  max-width: 420px;
  margin: 0;
  color: #788178;
  font-size: 0.65rem;
  line-height: 1.9;
}

.checkout-submit .button {
  min-width: 245px;
}

.checkout-submit .button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.55;
}

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: 30px;
}

.checkout-rate {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-right: 3px solid var(--gold-500);
  background: rgba(215, 169, 71, 0.09);
}

.checkout-rate span {
  color: #7f877f;
  font-size: 0.63rem;
}

.checkout-rate strong {
  color: var(--green-800);
  font-size: 0.86rem;
}

.checkout-items {
  display: grid;
  gap: 2px;
  margin-top: 20px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(3, 41, 18, 0.09);
}

.checkout-item > img,
.checkout-item > .rg-responsive-picture > img {
  width: 72px;
  height: 72px;
  grid-row: span 2;
  object-fit: cover;
  background: var(--green-900);
}

.checkout-item > .rg-responsive-picture {
  grid-row: span 2;
}

.checkout-item h3 {
  margin: 0 0 3px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1rem;
  font-weight: 500;
}

.checkout-item span,
.checkout-item small {
  display: block;
  color: #858d86;
  font-size: 0.59rem;
  line-height: 1.8;
}

.checkout-item > strong {
  grid-column: 2;
  color: var(--green-800);
  font-size: 0.75rem;
}

.checkout-empty {
  padding: 32px 5px;
  text-align: center;
}

.checkout-empty p {
  margin: 0 0 18px;
  color: #7c857d;
}

.checkout-totals {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid rgba(3, 41, 18, 0.12);
}

.checkout-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-totals span {
  color: #7c857d;
  font-size: 0.67rem;
}

.checkout-totals strong {
  color: var(--green-800);
  font-size: 0.75rem;
}

.checkout-totals__discount strong {
  color: #a33b32;
}

.checkout-totals__grand {
  margin-top: 7px;
  padding-top: 15px;
  border-top: 1px solid rgba(3, 41, 18, 0.12);
}

.checkout-totals__grand span {
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout-totals__grand strong {
  color: #a2742f;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.25rem;
}

.checkout-totals__deposit {
  margin-top: 3px;
  padding: 14px 12px;
  border: 1px solid rgba(215, 166, 84, 0.5);
  background: rgba(255, 229, 176, 0.32);
}

.checkout-totals__deposit span {
  color: #755321;
  font-weight: 700;
}

.checkout-totals__deposit strong {
  color: #94621b;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.05rem;
}

.checkout-summary > small {
  display: block;
  margin-top: 14px;
  color: #929991;
  font-size: 0.58rem;
}

.commerce-login-required {
  display: flex;
  max-width: 650px;
  margin: 20px auto;
  flex-direction: column;
  align-items: center;
  padding: 55px;
  text-align: center;
}

.commerce-login-required img {
  width: 82px;
  margin-bottom: 18px;
}

.commerce-login-required h1,
.commerce-login-required h2 {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 2rem;
  font-weight: 500;
}

.commerce-login-required p {
  margin: 11px 0 25px;
  color: #7b847c;
  line-height: 2;
}

.payment-shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

.payment-brand img {
  width: 78px;
}

.payment-brand > span {
  display: block;
  margin-top: 13px;
  color: #a2742f;
  font-size: 0.67rem;
}

.payment-brand h1 {
  margin: 5px 0 28px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 2rem;
  font-weight: 500;
}

.payment-order-number,
.payment-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(3, 41, 18, 0.1);
}

.payment-amount {
  flex-wrap: wrap;
}

.payment-amount small {
  width: 100%;
  color: #8b7650;
  font-size: 0.66rem;
  line-height: 1.9;
}

.payment-order-number span,
.payment-amount span {
  color: #7f887f;
  font-size: 0.7rem;
}

.payment-amount strong {
  color: #a2742f;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.45rem;
}

.payment-test-notice {
  margin: 24px 0;
  padding: 17px;
  border: 1px dashed rgba(162, 116, 47, 0.38);
  background: rgba(215, 169, 71, 0.08);
}

.payment-test-notice strong {
  color: #8a6126;
  font-size: 0.75rem;
}

.payment-test-notice p {
  margin: 6px 0 0;
  color: #777f77;
  font-size: 0.65rem;
  line-height: 1.9;
}

.payment-shell form .button,
.payment-shell > .button {
  width: 100%;
}

.payment-back {
  display: inline-block;
  margin-top: 20px;
  color: #6f796f;
  font-size: 0.68rem;
}

.invoice-page {
  color: var(--green-950);
}

.invoice-sheet {
  max-width: 1250px;
  margin: 0 auto;
  padding: clamp(25px, 4vw, 55px);
  border: 2px solid var(--green-900);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 35px,
      rgba(3, 41, 18, 0.025) 35px,
      rgba(3, 41, 18, 0.025) 36px
    ),
    #fff;
  box-shadow: 0 25px 90px rgba(2, 36, 16, 0.09);
}

.invoice-header,
.invoice-brand,
.invoice-footer {
  display: flex;
  align-items: center;
}

.invoice-header {
  justify-content: space-between;
  gap: 30px;
  padding: 0 0 20px;
  border-bottom: 2px solid var(--green-900);
}

.invoice-brand {
  gap: 16px;
}

.invoice-brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.invoice-brand h1 {
  margin: 0;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
}

.invoice-status {
  padding: 9px 15px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.68rem;
}

.invoice-status--paid,
.order-status--paid {
  background: rgba(23, 125, 70, 0.1);
  color: #176b40;
}

.invoice-status--pending,
.order-status--pending {
  background: rgba(215, 169, 71, 0.15);
  color: #8a6126;
}

.invoice-status--awaiting_store_approval,
.order-status--awaiting_store_approval {
  background: rgba(215, 169, 71, 0.2);
  color: #8a6126;
}

.invoice-status--confirmed,
.order-status--confirmed {
  background: rgba(23, 125, 70, 0.14);
  color: #176b40;
}

.invoice-success {
  margin: 25px 0;
  padding: 13px 18px;
  border-right: 3px solid #258052;
  background: rgba(37, 128, 82, 0.08);
  color: #17623d;
  font-size: 0.72rem;
}

.invoice-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 25px 0;
  border-top: 1px solid var(--green-900);
  border-right: 1px solid var(--green-900);
}

.invoice-meta > div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--green-900);
  border-left: 1px solid var(--green-900);
  background: rgba(255, 255, 255, 0.88);
}

.invoice-meta span,
.invoice-rate span {
  color: #7d857e;
  font-size: 0.62rem;
}

.invoice-meta strong {
  font-size: 0.74rem;
}

.invoice-rate {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding: 15px 18px;
  border: 1px solid var(--green-900);
  background: #fff;
  color: var(--green-950);
}

.invoice-rate span {
  color: #68736c;
}

.invoice-rate strong {
  margin-right: auto;
  color: var(--green-900);
  font-size: 0.9rem;
}

.invoice-table-wrap {
  overflow-x: auto;
}

.invoice-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  border: 1px solid var(--green-900);
  text-align: right;
}

.invoice-table th {
  padding: 13px 11px;
  border: 1px solid var(--green-900);
  background: #f1eadc;
  color: var(--green-950);
  font-size: 0.6rem;
  font-weight: 600;
  white-space: nowrap;
}

.invoice-table td {
  padding: 16px 11px;
  border: 1px solid rgba(3, 41, 18, 0.55);
  background: rgba(255, 255, 255, 0.9);
  color: #4d574f;
  font-size: 0.66rem;
  vertical-align: top;
  white-space: nowrap;
}

.invoice-table td:first-child {
  min-width: 250px;
  white-space: normal;
}

.invoice-table td:first-child strong,
.invoice-table td:first-child small {
  display: block;
}

.invoice-table__total-row td {
  background: #f1eadc;
  color: var(--green-950);
  font-weight: 700;
  vertical-align: middle;
}

.invoice-table__total-row td:first-child strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.invoice-table td:first-child strong {
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.invoice-table td:first-child small {
  margin-top: 4px;
  color: #8c938c;
  font-size: 0.56rem;
  line-height: 1.8;
}

.invoice-footer {
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  margin-top: 30px;
  border: 1px solid var(--green-900);
  background: rgba(255, 255, 255, 0.9);
}

.invoice-shipping {
  flex: 1;
  padding: 20px;
  border-left: 1px solid var(--green-900);
}

.invoice-shipping > span,
.invoice-grand-total > span {
  color: #8a928a;
  font-size: 0.63rem;
}

.invoice-shipping p {
  margin: 7px 0 3px;
  font-size: 0.72rem;
  line-height: 2;
}

.invoice-shipping small {
  color: #858d86;
  font-size: 0.62rem;
}

.invoice-notes {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(3, 41, 18, 0.35);
  background: #fff;
  color: #667067;
  font-size: 0.63rem;
  line-height: 1.9;
}

.invoice-grand-total {
  display: flex;
  min-width: 330px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #fff;
  color: var(--green-950);
}

.invoice-total-breakdown {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--green-900);
}

.invoice-total-breakdown span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #68736c;
  font-size: 0.58rem;
}

.invoice-total-breakdown b {
  color: var(--green-900);
  font-size: 0.62rem;
}

.invoice-grand-total > span {
  color: #68736c;
}

.invoice-grand-total strong {
  margin: 7px 0;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.55rem;
}

.invoice-actions {
  display: flex;
  max-width: 1250px;
  margin: 24px auto 0;
  justify-content: center;
  gap: 12px;
}

.account-orders article {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.account-order__invoice {
  align-self: center;
  padding: 10px 14px;
  border: 1px solid rgba(3, 41, 18, 0.18);
  color: var(--green-800);
  font-size: 0.65rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .invoice-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-orders article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-order__invoice {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .commerce-page,
  .invoice-page {
    padding-top: 120px;
  }

  .checkout-card,
  .checkout-summary,
  .payment-shell,
  .commerce-login-required {
    padding: 24px 18px;
  }

  .delivery-methods {
    grid-template-columns: 1fr;
  }

  .checkout-submit,
  .invoice-header,
  .invoice-rate,
  .invoice-footer,
  .invoice-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-submit .button,
  .invoice-grand-total {
    width: 100%;
    min-width: 0;
  }

  .checkout-rate-lock {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px;
  }

  .checkout-rate-lock__content strong {
    font-size: 1rem;
  }

  .checkout-rate-lock__content p {
    font-size: 0.62rem;
  }

  .checkout-rate-lock__refresh {
    grid-column: 1 / -1;
    width: 100%;
  }

  .checkout-coupon__controls,
  .loyalty-overview {
    grid-template-columns: 1fr;
  }

  .checkout-coupon__controls .button {
    width: 100%;
  }

  .loyalty-coupons > article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .checkout-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .checkout-item > img,
  .checkout-item > .rg-responsive-picture > img {
    width: 58px;
    height: 58px;
  }

  .invoice-meta {
    grid-template-columns: 1fr 1fr;
  }

  .invoice-shipping {
    border-bottom: 1px solid var(--green-900);
    border-left: 0;
  }

  .invoice-actions .button {
    width: 100%;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  .header,
  .footer,
  .invoice-actions,
  .toast,
  .cart-drawer,
  .modal {
    display: none !important;
  }

  .invoice-page {
    min-height: 0;
    padding: 0 !important;
    background: #fff !important;
  }

  .invoice-sheet {
    max-width: none;
    padding: 18px;
    border: 1px solid #032922;
    box-shadow: none;
  }

  .invoice-table-wrap {
    overflow: visible;
  }

  .invoice-table {
    min-width: 0;
  }

  .invoice-table th,
  .invoice-table td {
    padding: 8px 5px;
    font-size: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.home-top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 18px;
  color: #f7efd9;
  background: linear-gradient(90deg, #073834, #0b5149, #073834);
  font-size: .76rem;
  letter-spacing: .02em;
}

.home-top-strip strong {
  color: var(--gold-300, #ffe5b0);
}

.home-trust {
  padding-top: 30px;
  padding-bottom: 40px;
}

.home-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 18px;
  border: 1px solid rgba(7, 56, 52, .16);
  border-radius: 18px;
  background: rgba(255, 246, 225, .68);
}

.home-trust__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--green-900, #073834);
  background: var(--gold-300, #ffe5b0);
  font-weight: 700;
}

.home-trust__item strong,
.home-trust__item span {
  display: block;
}

.home-trust__item strong {
  color: var(--green-900, #073834);
  font-size: .9rem;
}

.home-trust__item div span {
  margin-top: 5px;
  color: rgba(7, 56, 52, .68);
  font-size: .74rem;
  line-height: 1.8;
}

.home-about__panel,
.home-news__panel {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(255, 229, 176, .5);
  border-radius: 28px;
  color: #f8f3e7;
  background: linear-gradient(135deg, #073834, #0a4640);
  box-shadow: 0 20px 55px rgba(7, 56, 52, .16);
}

.home-about__mark {
  display: grid;
  place-items: center;
}

.home-about__mark img {
  width: min(190px, 60%);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
}

.home-about__content h2,
.home-news__panel h2 {
  margin: 10px 0 14px;
  color: #fff7e6;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.home-about__content p,
.home-news__panel p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(248, 243, 231, .78);
  line-height: 2;
}

.home-news__panel {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  background: linear-gradient(135deg, #132f2b, #073834);
}

.home-news__form {
  display: flex;
  gap: 10px;
}

.home-news__form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 229, 176, .42);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.home-news__panel .home-news__status {
  grid-column: 2;
  margin: -18px 0 0;
  min-height: 1.5em;
  font-size: .9rem;
}

.home-latest-guides {
  padding-top: 18px;
  padding-bottom: 72px;
}

.home-latest-guides__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.home-latest-guides__head h2 {
  margin: 7px 0 0;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
}

.home-latest-guides__head .text-link {
  color: var(--green-800);
  white-space: nowrap;
}

.home-latest-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-latest-guide-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(130, 96, 39, .14);
  border-radius: 16px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 14px 30px rgba(70, 51, 22, .07);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.home-latest-guide-card:hover {
  border-color: rgba(190, 145, 63, .45);
  box-shadow: 0 20px 38px rgba(70, 51, 22, .12);
  transform: translateY(-5px);
}

.home-latest-guide-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f6eddd;
}

.home-latest-guide-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s var(--ease);
}

.home-latest-guide-card:hover .home-latest-guide-card__media img {
  transform: scale(1.04);
}

.home-latest-guide-card__media > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 245, 217, .7);
  border-radius: 999px;
  background: rgba(74, 53, 20, .76);
  color: #fff4d8;
  font-size: .62rem;
}

.home-latest-guide-card__body {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 20px;
}

.home-latest-guide-card__body > small {
  color: #9b783b;
  font-size: .66rem;
}

.home-latest-guide-card h3 {
  margin: 9px 0 7px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.7;
}

.home-latest-guide-card h3 a {
  color: var(--green-900);
}

.home-latest-guide-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6f6658;
  font-size: .74rem;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-latest-guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  color: #9a722d;
  font-size: .73rem;
  font-weight: 700;
}

.home-latest-guide-card__link span {
  font-size: 1rem;
  transition: transform .2s ease;
}

.home-latest-guide-card:hover .home-latest-guide-card__link span {
  transform: translateX(-4px);
}

@media (max-width: 760px) {
  .home-news__panel .home-news__status { grid-column: 1; margin-top: -20px; }
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #9c6b20;
  text-decoration: none;
  font-size: .78rem;
}

.product-card__rating span {
  letter-spacing: 1px;
}

.product-card__rating small {
  color: rgba(7, 56, 52, .66);
}

.partner-product-card {
  position: relative;
}

.partner-product-card__stock {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: #8e3e34;
  font-size: .68rem;
  font-style: normal;
}

.add-cart-button.is-disabled,
.button.is-disabled {
  opacity: .68;
  cursor: not-allowed;
  background: #9b9992 !important;
  border-color: #9b9992 !important;
  transform: none !important;
}

.add-cart-button.is-disabled {
  font-size: 0;
}

.add-cart-button.is-disabled::after {
  content: "اتمام موجودی";
  font-size: .76rem;
}

.product-detail__badge:empty {
  display: none;
}

.product-reviews {
  margin-top: clamp(44px, 7vw, 90px);
  padding-top: clamp(28px, 5vw, 56px);
  border-top: 1px solid rgba(7, 56, 52, .14);
}

.product-reviews__summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(7, 56, 52, .66);
}

.product-reviews__summary strong {
  color: var(--green-900, #073834);
  font-size: 2rem;
}

.product-reviews__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 24px;
  margin-top: 26px;
}

.product-reviews__list {
  display: grid;
  gap: 12px;
}

.product-review,
.product-review-form {
  padding: 20px;
  border: 1px solid rgba(7, 56, 52, .14);
  border-radius: 16px;
  background: rgba(255, 250, 237, .75);
}

.product-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-review__head strong {
  color: var(--green-900, #073834);
}

.review-stars,
.rg-review-stars {
  color: #b37a22;
  letter-spacing: 2px;
  white-space: nowrap;
}

.product-review p {
  margin: 12px 0 8px;
  color: rgba(7, 56, 52, .78);
  line-height: 1.9;
}

.product-review small {
  color: rgba(7, 56, 52, .52);
}

.product-review-form {
  display: grid;
  align-content: start;
  gap: 13px;
}

.product-review-form h3 {
  margin: 0 0 2px;
  color: var(--green-900, #073834);
}

.product-review-form label {
  display: grid;
  gap: 6px;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 56, 52, .18);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--green-900, #073834);
  background: #fffdf8;
}

.product-review-form small {
  color: rgba(7, 56, 52, .56);
  line-height: 1.7;
}

.home-top-strip__promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  text-decoration: none;
}

.home-top-strip__promo code {
  padding: 2px 9px;
  border: 1px dashed rgba(255, 229, 176, .7);
  border-radius: 999px;
  color: var(--gold-300);
  background: rgba(255, 229, 176, .08);
  font-family: inherit;
  font-size: .72rem;
  letter-spacing: .08em;
}

.header-search {
  position: relative;
  display: flex;
  width: min(250px, 24vw);
  min-width: 150px;
  align-items: center;
  margin-inline-start: auto;
}

.header-search svg {
  position: absolute;
  right: 13px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 40px 0 12px;
  border: 1px solid rgba(7, 56, 52, .16);
  border-radius: 999px;
  outline: none;
  color: var(--green-900);
  background: rgba(255, 255, 255, .76);
}

.header-search input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(215, 166, 84, .16);
}

.home-discovery {
  padding-top: 34px;
  padding-bottom: 24px;
}

.home-shop-search {
  padding-top: 34px;
  padding-bottom: 24px;
}

.shop-toolbar--home {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-discovery__head,
.home-popular__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-discovery__head h2,
.home-popular__head h2 {
  margin: 7px 0 0;
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
}

.home-discovery__hint,
.home-popular__head p {
  color: var(--muted);
  font-size: .76rem;
}

.home-discovery__form {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(110px, .55fr) minmax(110px, .55fr) auto;
  align-items: end;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(7, 56, 52, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 34px rgba(52, 38, 28, .06);
}

.home-discovery__form label {
  display: grid;
  gap: 6px;
}

.home-discovery__form label > span {
  color: var(--muted);
  font-size: .7rem;
}

.home-discovery__form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(7, 56, 52, .16);
  border-radius: 9px;
  outline: none;
  color: var(--green-900);
  background: #fffdf8;
}

.home-discovery__search {
  position: relative;
}

.home-discovery__search svg {
  position: absolute;
  right: 12px;
  bottom: 13px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.home-discovery__search input {
  padding-right: 38px;
}

.home-discovery__form input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(215, 166, 84, .13);
}

.home-discovery__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.home-discovery__chip {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(7, 56, 52, .14);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, .58);
  font-size: .72rem;
  transition: .2s ease;
}

.home-discovery__chip:hover,
.home-discovery__chip.is-active {
  border-color: var(--green-900);
  color: var(--ivory);
  background: var(--green-900);
}

.home-popular {
  padding-top: 26px;
  padding-bottom: 36px;
}

.home-popular__head {
  align-items: center;
}

.home-popular__head h2 {
  margin-bottom: 0;
}

.home-popular__head p {
  margin: 6px 0 0;
}

.home-popular__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.popular-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 56, 52, .14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(52, 38, 28, .07);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}

.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(52, 38, 28, .12);
}

.popular-card__media {
  position: relative;
  display: block;
  min-height: 160px;
  overflow: hidden;
  background: var(--gold-300);
}

.popular-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.popular-card:hover .popular-card__media img {
  transform: scale(1.06);
}

.popular-card__badge {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(7, 56, 52, .78);
  font-size: .62rem;
}

.popular-card__body {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 13px;
}

.popular-card__category,
.popular-card__meta {
  color: var(--muted);
  font-size: .68rem;
}

.popular-card__body strong {
  color: var(--green-900);
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: 1.12rem;
  font-weight: 500;
}

.popular-card__body b {
  color: var(--green-700);
  font-size: .78rem;
}

.collection--featured .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collection--featured .product-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 56, 52, .13);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(52, 38, 28, .07);
}

.collection--featured .product-card__media {
  height: clamp(270px, 27vw, 390px);
  border: 0;
  background: var(--gold-300);
}

.collection--featured .product-card__info,
.collection--featured .product-card__meta,
.collection--featured .product-card__rating,
.collection--featured .product-card__actions {
  margin-inline: 15px;
}

.collection--featured .product-card__info {
  padding-top: 18px;
}

.collection--featured .product-card__info h3 {
  font-size: 1.25rem;
}

.collection--featured .product-card__actions {
  padding-bottom: 15px;
}

@media (max-width: 1040px) {
  .header-search {
    width: min(205px, 23vw);
  }

  .home-popular__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection--featured .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-search {
    display: none;
  }

  .home-discovery__head,
  .home-popular__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-discovery__form {
    grid-template-columns: 1fr 1fr;
  }

  .home-discovery__search {
    grid-column: 1 / -1;
  }

  .home-discovery__form .button {
    width: 100%;
  }

  .home-popular__grid,
  .collection--featured .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-top-strip__promo {
    width: 100%;
    justify-content: center;
  }

  .home-discovery__form {
    grid-template-columns: 1fr;
  }

  .home-discovery__search {
    grid-column: auto;
  }

  .popular-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

/* Keep the promotion in normal document flow; the navigation remains stable
   while scrolling through account, checkout, and partner pages. */
.home-top-strip {
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
}

.home-top-strip + .header {
  top: 48px;
}

.home-top-strip + .header.is-scrolled {
  top: 12px;
}

body.admin-bar .home-top-strip + .header {
  top: 80px;
}

body.admin-bar .home-top-strip + .header.is-scrolled,
body.admin-bar .header.header--solid {
  top: 44px;
}

.advanced-search--extra {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(3, 41, 18, 0.08);
}

.advanced-search--extra input,
.advanced-search--extra select {
  background: rgba(255, 255, 255, 0.78);
}

.advanced-search--extra .button {
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .advanced-search--extra {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    z-index: 1;
  }

  .header .brand,
  .header__actions {
    position: relative;
    z-index: 2;
  }

  .home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about__panel,
  .home-news__panel,
  .product-reviews__layout {
    grid-template-columns: 1fr;
  }

  .home-about__mark img {
    width: 120px;
  }
}

@media (max-width: 560px) {
  .advanced-search--extra {
    grid-template-columns: 1fr;
  }

  .advanced-search--extra .button {
    width: 100%;
  }

  .home-top-strip {
    flex-wrap: wrap;
    gap: 3px 8px;
    text-align: center;
    line-height: 1.7;
  }

  .home-trust__grid {
    grid-template-columns: 1fr;
  }

  .home-about__panel,
  .home-news__panel {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .home-news__form {
    flex-direction: column;
  }

  .home-news__form .button {
    width: 100%;
  }
}

/* Phase 1 premium navigation layer */
.luxury-topbar {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 228, 175, 0.24);
  background: linear-gradient(90deg, #032522, #073834 52%, #032522);
  color: var(--gold-champagne);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.luxury-topbar__ticker,
.luxury-topbar__links,
.luxury-topbar__links a {
  display: flex;
  align-items: center;
}

.luxury-topbar__ticker {
  min-width: 0;
  gap: 8px;
  white-space: nowrap;
}

.luxury-topbar__ticker strong {
  color: #fff8e9;
  font-size: 0.75rem;
  font-weight: 700;
}

.luxury-topbar__ticker small {
  opacity: 0.72;
}

.luxury-topbar__ticker time {
  max-width: 210px;
  overflow: hidden;
  color: rgba(255, 228, 175, 0.68);
  font-size: 0.6rem;
  text-overflow: ellipsis;
}

.luxury-topbar__pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #b7e8a6;
  box-shadow: 0 0 0 4px rgba(183, 232, 166, 0.12), 0 0 12px rgba(183, 232, 166, 0.8);
}

.luxury-topbar__links {
  justify-content: flex-end;
  gap: clamp(12px, 2.5vw, 30px);
}

.luxury-topbar__links a {
  gap: 6px;
  color: rgba(255, 248, 233, 0.82);
  transition: color 0.25s ease, transform 0.25s ease;
}

.luxury-topbar__links a:hover {
  color: var(--gold-champagne);
  transform: translateY(-1px);
}

.luxury-topbar__links svg,
.mobile-tabs svg,
.mobile-bottom-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.intro {
  z-index: 9999;
}

.site-shell {
  background: var(--bg-cream);
}

.header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  top: 52px;
}

.nav {
  justify-self: center;
  min-width: 0;
}

.header.is-scrolled,
.header.header--solid {
  top: 46px;
}

.home-top-strip + .luxury-topbar + .header {
  top: 86px;
}

.home-top-strip + .luxury-topbar + .header.is-scrolled {
  top: 46px;
}

body.admin-bar .header {
  top: 84px;
}

body.admin-bar .header.is-scrolled,
body.admin-bar .header.header--solid {
  top: 78px;
}

body.admin-bar .home-top-strip + .luxury-topbar + .header {
  top: 118px;
}

body.admin-bar .home-top-strip + .luxury-topbar + .header.is-scrolled {
  top: 78px;
}

.header-live-search {
  position: relative;
  display: flex;
  width: clamp(150px, 16vw, 225px);
  height: 38px;
  align-items: center;
  margin-inline-end: 4px;
  padding: 0 12px;
  border: 1px solid rgba(255, 228, 175, 0.26);
  border-radius: 999px;
  background: rgba(3, 37, 34, 0.42);
}

.header-live-search > svg,
.mobile-search-panel form > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: var(--gold-champagne);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.header-live-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  margin-inline-start: 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 0.72rem;
}

.header-live-search input::placeholder {
  color: rgba(255, 250, 241, 0.56);
}

.header-live-search__results {
  position: absolute;
  z-index: 25;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 166, 84, 0.35);
  border-radius: 15px;
  background: #073834;
  box-shadow: 0 20px 50px rgba(3, 37, 34, 0.28);
}

.header-live-search__result {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  color: var(--ivory);
  transition: background 0.2s ease;
}

.header-live-search__result:hover {
  background: rgba(255, 228, 175, 0.12);
}

.header-live-search__result img {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 9px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.header-live-search__result span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.header-live-search__result strong,
.header-live-search__result small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-live-search__result strong {
  font-size: 0.72rem;
}

.header-live-search__result small {
  color: rgba(255, 228, 175, 0.7);
  font-size: 0.6rem;
}

.partner-product-card__rating {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 12px;
  display: inline-flex !important;
  width: fit-content;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 3px 9px;
  border: 1px solid rgba(255, 218, 135, 0.52);
  border-radius: 999px;
  color: #e1b653 !important;
  background: rgba(3, 37, 34, 0.78);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  font-size: 0.66rem !important;
  direction: ltr;
}

.partner-product-card__rating b {
  color: #f0c65d;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.header-live-search__empty {
  padding: 14px;
  color: rgba(255, 250, 241, 0.74);
  font-size: 0.7rem;
  text-align: center;
}

.mobile-search-toggle,
.mobile-search-panel,
.mobile-tabs,
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .header-live-search {
    width: 150px;
  }

  .nav {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 80px;
  }

  .luxury-topbar {
    min-height: 32px;
    padding-inline: 14px;
  }

  .luxury-topbar__ticker > span:not(.luxury-topbar__pulse),
  .luxury-topbar__ticker small,
  .luxury-topbar__ticker time,
  .luxury-topbar__links a span {
    display: none;
  }

  .luxury-topbar__ticker {
    gap: 6px;
  }

  .luxury-topbar__links {
    gap: 13px;
  }

  .luxury-topbar__links svg {
    width: 17px;
    height: 17px;
  }

  .header,
  .header.is-scrolled,
  .header.header--solid,
  .home-top-strip + .luxury-topbar + .header,
  .home-top-strip + .luxury-topbar + .header.is-scrolled {
    top: 40px;
    width: calc(100% - 24px);
  }

  body.admin-bar .header,
  body.admin-bar .header.is-scrolled,
  body.admin-bar .header.header--solid,
  body.admin-bar .home-top-strip + .luxury-topbar + .header,
  body.admin-bar .home-top-strip + .luxury-topbar + .header.is-scrolled {
    top: 72px;
  }

  .header-live-search {
    display: none;
  }

  .mobile-search-toggle {
    display: grid;
  }

  .mobile-search-panel {
    position: fixed;
    z-index: 115;
    top: 116px;
    right: 12px;
    left: 12px;
    display: block;
  }

  body.admin-bar .mobile-search-panel {
    top: 148px;
  }

  .mobile-search-panel form {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(215, 166, 84, 0.35);
    border-radius: 16px;
    background: #073834;
    box-shadow: 0 18px 45px rgba(3, 37, 34, 0.25);
  }

  .mobile-search-panel input {
    width: 100%;
    min-width: 0;
    height: 48px;
    margin-inline: 9px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ivory);
  }

  .mobile-search-panel input::placeholder {
    color: rgba(255, 250, 241, 0.62);
  }

  .mobile-search-panel form > button {
    border: 0;
    background: transparent;
    color: var(--gold-champagne);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
  }

  .mobile-search-panel .header-live-search__results {
    top: calc(100% + 8px);
  }

  .mobile-tabs {
    position: fixed;
    z-index: 105;
    top: 111px;
    right: 0;
    left: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    padding: 8px 14px 10px;
    scrollbar-width: none;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.98), rgba(250, 247, 242, 0.9));
  }

  body.admin-bar .mobile-tabs {
    top: 143px;
  }

  .mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .mobile-tabs__item {
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid rgba(7, 56, 52, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--green-900);
    font-size: 0.68rem;
    white-space: nowrap;
    transition: 0.25s ease;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-tabs__item.is-active,
  .mobile-tabs__item:hover {
    border-color: rgba(215, 166, 84, 0.55);
    background: var(--green-900);
    color: var(--gold-champagne);
  }

  .mobile-tabs__item svg {
    width: 15px;
    height: 15px;
  }

  .home-feature-tabs__nav {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
  }

  .home-feature-tabs__tab {
    min-height: 48px;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 130;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 64px;
    align-items: center;
    padding: 6px;
    border: 1px solid rgba(255, 228, 175, 0.34);
    border-radius: 22px;
    background: rgba(7, 56, 52, 0.96);
    box-shadow: 0 16px 42px rgba(3, 37, 34, 0.28);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 48px;
    justify-items: center;
    gap: 3px;
    padding: 5px 2px;
    border: 0;
    background: transparent;
    color: rgba(255, 250, 241, 0.62);
    cursor: pointer;
    font-size: 0.58rem;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav a.is-active,
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button:hover {
    color: var(--gold-champagne);
  }

  .mobile-bottom-nav svg {
    width: 19px;
    height: 19px;
  }

  .mobile-bottom-nav b {
    position: absolute;
    top: 0;
    right: 50%;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-950);
    font-size: 0.55rem;
    transform: translateX(14px);
  }
}

/* Storefront search, sorting and filter controls */
.home-promo-slider {
  position: relative;
  max-width: 920px;
  margin: 18px auto 28px;
  padding: 0 18px;
}
.home-promo-slider__track {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(191, 145, 55, .45);
  border-radius: 22px;
  background: linear-gradient(120deg, #073834, #0c5149);
  box-shadow: 0 16px 35px rgba(3, 37, 34, .15);
}
.home-promo-slider__slide {
  display: none;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 30px;
  color: var(--ivory);
  text-decoration: none;
  text-align: center;
  font-size: 1.05rem;
}
.home-promo-slider__slide.is-active { display: flex; }
.home-promo-slider__image {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(226, 184, 91, .55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.home-promo-slider__text { max-width: 52ch; }
.home-promo-slider__slide code {
  padding: 8px 16px;
  border: 1px dashed var(--gold-500);
  border-radius: 10px;
  color: var(--gold-300);
  font-size: 1.1rem;
  letter-spacing: .08em;
}
.home-promo-slider__dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.home-promo-slider__dots i { width: 7px; height: 7px; border-radius: 50%; background: #b7c4bd; }
.home-promo-slider__dots i.is-active { background: var(--gold-500); }

/* Dedicated, full-size hero slider for the partner home page. */
.partner-page {
  padding-top: 104px;
}

.partner-home-slides {
  position: relative;
  width: min(1500px, calc(100vw - 48px));
  margin: 12px calc(16px - max(40px, (100vw - 1240px) / 2)) 20px 0;
  padding: 0;
}

.partner-home-slides .home-promo-slider__track {
  min-height: clamp(290px, 34vw, 560px);
  border: 0;
  border-radius: 16px;
  background: var(--green-950);
  box-shadow: 0 24px 70px rgba(3, 37, 34, .2);
}

@media (max-width: 600px) {
  .account-page--auth .auth-layout > .auth-intro {
    display: none;
  }

  .partner-workspace .partner-registration-layout > .auth-intro {
    display: none;
  }
}

.partner-home-slides .home-promo-slider__slide {
  position: relative;
  min-height: clamp(290px, 34vw, 560px);
  padding: 0;
  overflow: hidden;
}

.partner-home-slides .home-promo-slider__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.partner-home-slides .home-promo-slider__text {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  color: #fffdf5;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.35;
}

.partner-home-slides .home-promo-slider__text small {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-300);
  font-family: inherit;
  font-size: .36em;
  letter-spacing: .04em;
}

.hero--image-only {
  min-height: clamp(290px, 34vw, 560px);
  margin: 12px auto 20px;
  max-width: min(1500px, calc(100% - 32px));
  border-radius: 16px;
}

.hero--image-only .hero-slider-controls {
  right: 26px;
  bottom: 22px;
  transform: none;
}

.hero--image-only .hero-slider-controls button:not([data-hero-dot]) {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green-950);
  font-size: 1.4rem;
}

.hero--image-only .hero-slider-controls button[data-hero-dot] {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, .62);
}

.hero--image-only .hero-slider-controls button[data-hero-dot].is-active {
  width: 22px;
  background: var(--gold-400);
  box-shadow: none;
}

/* Editorial category banners below the home slider. */
.home-category-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  width: min(1386px, calc(100% - 34px));
  margin: 18px auto 34px;
  padding: 0;
  direction: rtl;
}

.home-category-tile {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: #342c27;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}

.home-category-tile img,
.home-category-tile__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-category-tile img {
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.home-category-tile__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .36));
  transition: background .35s ease;
}

.home-category-tile strong {
  position: relative;
  z-index: 2;
  padding: 16px;
  color: inherit;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}

.home-category-tile:hover img,
.home-category-tile:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.045);
}

.home-category-tile:hover .home-category-tile__shade,
.home-category-tile:focus-visible .home-category-tile__shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .48));
}

.home-category-tile:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .home-category-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(960px, calc(100% - 32px));
  }
}

@media (max-width: 700px) {
  .home-category-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 16px);
    margin: 12px auto 24px;
  }

  .home-category-tile strong { font-size: 1rem; }
}

.home-editorial-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 14px;
  width: min(1500px, calc(100% - 32px));
  min-height: clamp(430px, 47vw, 710px);
  margin: 18px auto 34px;
  padding: 0;
  direction: rtl;
}

.home-editorial-banner {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  background: #eee8e1;
  box-shadow: 0 16px 34px rgba(50, 35, 23, .08);
  color: #1d1a16;
  text-decoration: none;
}

.home-editorial-banner--tall {
  grid-row: span 2;
}

.home-editorial-banner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 252, 247, .04) 28%, rgba(255, 252, 247, .78) 100%);
  content: "";
  transition: background .35s ease;
}

.home-editorial-banner :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.home-editorial-banner--bracelet :is(img, video) { object-position: 42% center; }
.home-editorial-banner--ring :is(img, video) { object-position: 35% center; }
.home-editorial-banner--necklace :is(img, video) { object-position: 35% center; }

.home-editorial-banner:hover :is(img, video),
.home-editorial-banner:focus-visible :is(img, video) {
  transform: scale(1.045);
}

.home-editorial-banner:hover::before,
.home-editorial-banner:focus-visible::before {
  background: linear-gradient(90deg, rgba(255, 252, 247, .02) 24%, rgba(255, 252, 247, .88) 100%);
}

.home-editorial-banner:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}

.home-editorial-banner__view-products {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 10px;
  background: rgba(10, 48, 43, .84);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 10px));
  transition: opacity .22s ease, transform .22s ease;
}

@media (hover: hover), (any-hover: hover) {
  .home-editorial-banner:hover .home-editorial-banner__view-products,
  .home-editorial-banner:focus-visible .home-editorial-banner__view-products {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.home-editorial-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(55%, 360px);
  height: 100%;
  padding: clamp(22px, 3vw, 48px);
  text-align: right;
}

.home-editorial-banner__eyebrow {
  margin-bottom: 9px;
  color: #92733b;
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 700;
}

.home-editorial-banner__content strong {
  font-size: clamp(1.34rem, 2.1vw, 2.25rem);
  line-height: 1.45;
}

.home-editorial-banner__content small {
  margin-top: 8px;
  color: rgba(29, 26, 22, .74);
  font-size: clamp(.76rem, 1vw, .96rem);
  line-height: 1.8;
}

.home-editorial-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  padding: 9px 13px;
  border: 1px solid rgba(29, 26, 22, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .25);
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 700;
}

.home-editorial-banner__cta i {
  font-size: 1rem;
  font-style: normal;
  transition: transform .2s ease;
}

.home-editorial-banner:hover .home-editorial-banner__cta i,
.home-editorial-banner:focus-visible .home-editorial-banner__cta i {
  transform: translateX(-4px);
}

@media (max-width: 560px) {
  .hero--image-only { min-height: 230px; max-width: calc(100% - 16px); margin-top: 8px; }
}

@media (max-width: 700px) {
  .home-editorial-banners {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
    width: calc(100% - 16px);
    min-height: 0;
    margin: 12px auto 24px;
  }

  .home-editorial-banner,
  .home-editorial-banner--tall {
    min-height: 225px;
    grid-row: auto;
  }

  .home-editorial-banner--tall { min-height: 300px; }
  .home-editorial-banner__content { width: min(62%, 330px); padding: 26px; }
  .home-editorial-banner__view-products { display: none; }
}

@media (max-width: 560px) {
  .partner-page { padding-top: 88px; }
  .partner-home-slides { width: calc(100vw - 32px); margin: 8px -12px 20px 0; }
  .partner-home-slides .home-promo-slider__slide,
  .partner-home-slides .home-promo-slider__track { min-height: 230px; padding: 0; }
}

@media (max-width: 560px) {
  .home-promo-slider { margin: 12px auto 20px; padding: 0 10px; }
  .home-promo-slider__slide { min-height: 106px; flex-direction: column; gap: 10px; padding: 18px; font-size: .86rem; }
  .home-promo-slider__image { width: 58px; height: 58px; flex-basis: 58px; }
  .home-promo-slider__slide code { font-size: .9rem; }
}

.shop-toolbar {
  gap: 14px;
  align-items: stretch;
}

.shop-toolbar__controls {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.shop-search-form {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
}

.shop-search-form__field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 0 16px 0 46px;
  border: 1px solid rgba(7, 56, 52, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(7, 56, 52, 0.05);
}

.shop-search-form__field svg {
  position: absolute;
  left: 16px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--green-900);
  stroke-width: 1.6;
}

.shop-search-form__field input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
}

.shop-search-form__field input::placeholder {
  color: #8b958d;
}

.shop-sort {
  position: relative;
  z-index: 11;
  flex: 0 0 auto;
}

.shop-sort > summary,
.shop-filter-toggle {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(7, 56, 52, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--green-900);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  white-space: nowrap;
  list-style: none;
}

.shop-sort > summary::-webkit-details-marker {
  display: none;
}

.shop-sort > summary span {
  color: var(--gold-500);
  font-size: 1rem;
  line-height: 1;
}

.shop-sort[open] > summary,
.shop-filter-toggle:hover,
.shop-filter-toggle[aria-expanded="true"] {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--ivory);
}

.shop-sort__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 7px;
  border: 1px solid rgba(7, 56, 52, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(3, 37, 34, 0.18);
}

.shop-sort__menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.shop-sort__menu a:hover,
.shop-sort__menu a.is-active {
  background: rgba(255, 229, 176, 0.42);
  color: var(--green-900);
}

.shop-filter-toggle {
  border-color: rgba(183, 132, 38, 0.45);
  background: var(--gold-100);
}

.shop-filter-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.shop-clear-link {
  flex: 0 0 auto;
  color: var(--green-900);
  font-size: 0.65rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.shop-toolbar .product-result {
  flex: 0 0 auto;
  margin-right: auto;
  color: #7d877f;
  font-size: 0.68rem;
  white-space: nowrap;
}

.shop-filter-panel {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(7, 56, 52, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(3, 37, 34, 0.08);
}

.shop-filter-panel[hidden] {
  display: none !important;
}

.shop-filter-form {
  display: grid;
  gap: 17px;
  margin: 0;
}

.shop-filter-form__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shop-filter-form__grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.shop-range-control {
  gap: 8px !important;
}

.shop-range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-range-label output {
  color: var(--green-900);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shop-filter-form__grid label span,
.shop-filter-categories legend {
  color: #6e7d74;
  font-size: 0.64rem;
}

.shop-filter-form__grid select {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid rgba(7, 56, 52, 0.15);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.7rem;
}

.shop-filter-form__grid input[type="range"] {
  width: 100%;
  height: 5px;
  margin: 9px 0 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--green-900));
  accent-color: var(--green-900);
  cursor: pointer;
}

.shop-filter-categories {
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid rgba(7, 56, 52, 0.1);
}

.shop-filter-categories legend {
  padding: 0 0 9px;
}

.shop-filter-categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.shop-filter-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.69rem;
}

.shop-filter-category--child {
  padding-right: 16px;
  color: #66756d;
}

.shop-filter-category input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green-900);
}

.shop-filter-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-filter-form__actions .button {
  min-height: 42px;
  padding: 9px 22px;
  font-size: 0.7rem;
}

.shop-filter-reset {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #7d877f;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
}

.product-filters--quick {
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid rgba(7, 56, 52, 0.08);
}

@media (max-width: 860px) {
  .shop-toolbar__controls {
    flex-wrap: wrap;
  }

  .shop-search-form {
    flex-basis: 100%;
  }

  .shop-toolbar .product-result {
    margin-right: auto;
  }

  .shop-filter-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shop-toolbar {
    gap: 11px;
    padding-top: 10px;
  }

  .shop-toolbar__controls {
    gap: 8px;
  }

  .shop-sort > summary,
  .shop-filter-toggle {
    min-height: 43px;
    padding: 0 11px;
    border-radius: 11px;
    font-size: 0.66rem;
  }

  .shop-sort__menu {
    right: auto;
    left: 0;
    min-width: 175px;
  }

  .shop-clear-link {
    font-size: 0.6rem;
  }

  .shop-toolbar .product-result {
    flex-basis: 100%;
    margin-right: 0;
  }

  .shop-filter-panel {
    padding: 13px;
    border-radius: 13px;
  }

  .shop-filter-form__grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .shop-filter-categories__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 11px;
  }

  .shop-filter-category {
    font-size: 0.64rem;
  }

  .shop-filter-form__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .shop-filter-form__actions .button {
    width: 100%;
  }

  .product-filters--quick {
    gap: 6px;
  }
}

/* Phase 2 — مقصدهای پنج‌گانه خانه و تجربه لوکس موبایل */
.home-feature-tabs {
  padding-top: clamp(38px, 7vw, 92px);
  padding-bottom: clamp(44px, 8vw, 104px);
}

.home-feature-tabs__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.home-feature-tabs__heading h2 {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--emerald-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.25;
}

.home-feature-tabs__heading p {
  max-width: 430px;
  margin: 0;
  color: rgba(7, 56, 52, 0.68);
  font-size: 0.86rem;
  line-height: 2;
}

.home-feature-tabs__shell {
  overflow: hidden;
  border: 1px solid rgba(255, 228, 175, 0.44);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 228, 175, 0.12), transparent 32%),
    linear-gradient(135deg, #052a27, #073834 48%, #0b4b43);
  box-shadow: 0 24px 80px rgba(7, 56, 52, 0.2);
}

.home-feature-tabs__nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 228, 175, 0.2);
  scrollbar-width: none;
}

.home-feature-tabs__nav::-webkit-scrollbar {
  display: none;
}

.home-feature-tabs__tab {
  display: inline-flex;
  min-height: 54px;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: rgba(250, 247, 242, 0.66);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.5;
  transition:
    color 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms var(--ease);
}

.home-feature-tabs__tab:hover,
.home-feature-tabs__tab:focus-visible {
  color: var(--gold-champagne);
  border-color: rgba(255, 228, 175, 0.32);
  outline: 0;
}

.home-feature-tabs__tab.is-active {
  color: var(--emerald-deep);
  border-color: var(--gold-champagne);
  background: linear-gradient(135deg, var(--gold-champagne), #f2c875);
  box-shadow: 0 8px 26px rgba(255, 228, 175, 0.16);
}

.home-feature-tabs__tab-index {
  color: var(--gold-champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.home-feature-tabs__tab.is-active .home-feature-tabs__tab-index {
  color: var(--emerald-deep);
}

.home-feature-tabs__panels {
  padding: clamp(24px, 4vw, 52px);
}

.home-feature-tabs__panel[hidden] {
  display: none;
}

.home-feature-tabs__panel {
  display: grid;
  min-height: 370px;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  animation: feature-panel-enter 440ms var(--ease) both;
}

@keyframes feature-panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-feature-tabs__panel-copy {
  min-width: 0;
}

.home-feature-tabs__panel-copy .section-kicker {
  color: var(--gold-champagne);
}

.home-feature-tabs__panel-copy h3 {
  max-width: 580px;
  margin: 12px 0 14px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.35;
}

.home-feature-tabs__panel-copy > p {
  max-width: 580px;
  margin: 0 0 23px;
  color: rgba(250, 247, 242, 0.72);
  font-size: 0.84rem;
  line-height: 2.1;
}

.home-feature-tabs__panel-copy .button {
  margin-top: 22px;
}

.home-feature-tabs__visual {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 228, 175, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 228, 175, 0.22), transparent 27%),
    linear-gradient(145deg, rgba(255, 228, 175, 0.08), rgba(2, 29, 27, 0.72));
}

.home-feature-tabs__visual::before,
.home-feature-tabs__visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 228, 175, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.home-feature-tabs__visual::before {
  width: 78%;
  aspect-ratio: 1;
}

.home-feature-tabs__visual::after {
  width: 58%;
  aspect-ratio: 1;
}

.home-feature-tabs__visual img {
  position: relative;
  z-index: 1;
  width: min(90%, 390px);
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.24));
}

.home-feature-tabs__visual > span:not(.home-feature-tabs__visual-orbit) {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--gold-champagne);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.home-feature-tabs__visual-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  width: 160px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 228, 175, 0.65);
  border-radius: 50%;
  color: var(--gold-champagne);
  box-shadow:
    0 0 0 22px rgba(255, 228, 175, 0.06),
    0 0 0 48px rgba(255, 228, 175, 0.035),
    0 0 40px rgba(255, 228, 175, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.18em;
}

.home-feature-tabs__visual-orbit::before,
.home-feature-tabs__visual-orbit::after,
.home-feature-tabs__visual-orbit span {
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-champagne);
  box-shadow: 0 0 16px var(--gold-champagne);
}

.home-feature-tabs__visual-orbit::before {
  top: 12%;
  left: 19%;
}

.home-feature-tabs__visual-orbit::after {
  right: 12%;
  bottom: 21%;
}

.home-feature-tabs__visual-orbit span {
  top: 42%;
  right: 12%;
  width: 5px;
  height: 5px;
}

.home-feature-tabs__mini-products {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-feature-tabs__mini-products a {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 228, 175, 0.2);
  border-radius: 14px;
  color: rgba(250, 247, 242, 0.86);
  background: rgba(255, 228, 175, 0.06);
  font-size: 0.66rem;
  line-height: 1.6;
  transition:
    border-color 220ms var(--ease),
    transform 220ms var(--ease),
    background 220ms var(--ease);
}

.home-feature-tabs__mini-products a:hover {
  border-color: rgba(255, 228, 175, 0.62);
  background: rgba(255, 228, 175, 0.12);
  transform: translateY(-3px);
}

.home-feature-tabs__mini-products img {
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.home-feature-tabs__live-rate,
.home-feature-tabs__calculator {
  display: flex;
  max-width: 470px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 228, 175, 0.3);
  border-radius: 14px;
  color: rgba(250, 247, 242, 0.72);
  background: rgba(255, 228, 175, 0.06);
  font-size: 0.72rem;
}

.home-feature-tabs__live-rate strong,
.home-feature-tabs__calculator strong {
  color: var(--gold-champagne);
  font-size: 1.05rem;
}

.home-feature-tabs__calculator {
  align-items: stretch;
}

.home-feature-tabs__calculator label,
.home-feature-tabs__calculator > div {
  display: grid;
  flex: 1;
  gap: 7px;
}

.home-feature-tabs__calculator input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 228, 175, 0.34);
  border-radius: 9px;
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.16);
  font: inherit;
  direction: ltr;
  text-align: left;
}

.home-feature-tabs__calculator input:focus {
  border-color: var(--gold-champagne);
  outline: 2px solid rgba(255, 228, 175, 0.18);
}

.home-feature-tabs__articles {
  display: grid;
  max-width: 580px;
  gap: 8px;
}

.home-feature-tabs__articles a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 228, 175, 0.17);
  color: rgba(250, 247, 242, 0.9);
  font-size: 0.73rem;
}

.home-feature-tabs__articles a span {
  flex: 0 0 auto;
  color: var(--gold-champagne);
  font-size: 0.63rem;
}

.home-feature-tabs__benefits {
  display: grid;
  max-width: 520px;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(250, 247, 242, 0.88);
  font-size: 0.76rem;
}

.home-feature-tabs__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-feature-tabs__benefits li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid var(--gold-champagne);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 10px rgba(255, 228, 175, 0.5);
}

/* Hero تمام‌صفحه و مناسب swipe */
.hero--image-only {
  min-height: calc(100svh - 24px);
  touch-action: pan-y;
  user-select: none;
}

.hero--image-only .hero__art {
  overflow: hidden;
}

.hero--image-only .hero__art > img,
.hero--image-only .hero__art > .rg-responsive-picture > img {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: saturate(0.92) contrast(1.04);
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

.hero--image-only .hero__art > img.is-changing,
.hero--image-only .hero__art > .rg-responsive-picture > img.is-changing {
  transform: none;
}

/* چهار کارت اعتماد در موبایل هم دو ستونه می‌مانند */
@media (max-width: 650px) {
  .home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-trust__item {
    min-height: 126px;
    padding: 14px 10px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    text-align: center;
  }

  .home-trust__item strong {
    font-size: 0.72rem;
  }

  .home-trust__item div span {
    font-size: 0.61rem;
    line-height: 1.65;
  }
}

@media (max-width: 860px) {
  .home-feature-tabs__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-feature-tabs__heading p {
    max-width: 620px;
  }

  .home-feature-tabs__panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-feature-tabs__visual {
    order: -1;
    min-height: 245px;
  }

  .home-feature-tabs__visual img {
    height: 220px;
  }

  .home-feature-tabs__tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .home-feature-tabs {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .home-feature-tabs__shell {
    border-radius: 22px;
  }

  .home-feature-tabs__nav {
    padding: 8px;
  }

  .home-feature-tabs__tab {
    min-height: 47px;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.68rem;
  }

  .home-feature-tabs__tab-index {
    font-size: 0.74rem;
  }

  .home-feature-tabs__panels {
    padding: 19px 15px 22px;
  }

  .home-feature-tabs__panel {
    min-height: 0;
  }

  .home-feature-tabs__panel-copy h3 {
    font-size: 1.55rem;
  }

  .home-feature-tabs__panel-copy > p {
    margin-bottom: 18px;
    font-size: 0.75rem;
  }

  .home-feature-tabs__mini-products {
    gap: 6px;
  }

  .home-feature-tabs__mini-products a {
    padding: 7px;
    font-size: 0.58rem;
  }

  .home-feature-tabs__mini-products img {
    height: 58px;
  }

  .home-feature-tabs__live-rate,
  .home-feature-tabs__calculator {
    padding: 11px 12px;
    gap: 10px;
    font-size: 0.64rem;
  }

  .home-feature-tabs__live-rate strong,
  .home-feature-tabs__calculator strong {
    font-size: 0.83rem;
  }

  .home-feature-tabs__visual {
    min-height: 205px;
    border-radius: 20px;
  }

  .home-feature-tabs__visual img {
    height: 178px;
  }

  .home-feature-tabs__visual > span:not(.home-feature-tabs__visual-orbit) {
    right: 13px;
    bottom: 11px;
    font-size: 0.54rem;
  }

  .home-feature-tabs__visual-orbit {
    width: 122px;
    font-size: 0.73rem;
  }
}

/* Phase 3 — کارت‌های تصویری با نمای دوم و بج مشخصات */
.product-card__image-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-card__image-link .product-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 420ms var(--ease),
    transform 700ms var(--ease),
    filter 420ms ease;
}

.product-card__image-link .product-card__image--primary {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.product-card__image-link .product-card__image--secondary {
  z-index: 2;
  opacity: 0;
  transform: scale(1.035);
}

.product-card:hover .product-card__image-link .product-card__image--primary,
.product-card.is-touch-flipped .product-card__image-link .product-card__image--primary,
.partner-product-card.is-touch-flipped .product-card__image--primary {
  opacity: 0;
}

.product-card:hover .product-card__image-link .product-card__image--secondary,
.product-card.is-touch-flipped .product-card__image-link .product-card__image--secondary,
.partner-product-card.is-touch-flipped .product-card__image--secondary {
  opacity: 1;
  transform: scale(1);
}

.product-card__spec-badges {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 44px);
}

.product-card__spec-badges span,
.partner-product-card__spec-badges b {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 228, 175, 0.48);
  border-radius: 999px;
  color: var(--gold-champagne);
  background: rgba(3, 37, 34, 0.72);
  font-size: 0.62rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.product-card__label {
  display: block;
  margin-top: 7px;
  color: #9c6b20;
  font-size: 0.62rem;
}

.home-feature-tabs__live-card {
  display: grid;
  max-width: 470px;
  gap: 8px;
}

.home-feature-tabs__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-feature-tabs__assurance span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(255, 228, 175, 0.3);
  border-radius: 999px;
  color: rgba(250, 247, 242, 0.78);
  background: rgba(255, 228, 175, 0.05);
  font-size: 0.61rem;
}

.partner-product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  margin-top: 0 !important;
  background: var(--green-900);
}

.partner-product-card__media .product-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 420ms var(--ease), transform 700ms var(--ease);
}

.partner-product-card__media .product-card__image--primary {
  z-index: 1;
}

.partner-product-card__media .product-card__image--secondary {
  z-index: 2;
  opacity: 0;
  transform: scale(1.035);
}

.partner-product-card:hover .product-card__image--primary {
  opacity: 0;
}

.partner-product-card:hover .product-card__image--secondary {
  opacity: 1;
  transform: scale(1);
}

.partner-product-card__spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.partner-product-card__spec-badges b {
  position: static;
  min-height: 24px;
  color: var(--green-900);
  border-color: rgba(7, 56, 52, 0.2);
  background: rgba(255, 228, 175, 0.28);
  font-size: 0.58rem;
}

.partner-product-card__label {
  margin-top: 7px;
  color: #9c6b20 !important;
  font-size: 0.57rem !important;
}

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

  .product-card__media {
    height: auto;
    aspect-ratio: 0.82;
    border-width: 5px;
  }

  .product-card__badge {
    top: 14px;
    right: 14px;
    padding: 5px 8px;
    font-size: 0.56rem;
  }

  .product-card__spec-badges {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .product-card__spec-badges span {
    min-height: 23px;
    padding: 3px 6px;
    font-size: 0.52rem;
  }

  .product-card__info {
    display: block;
    padding: 13px 2px 10px;
  }

  .product-card__info span {
    font-size: 0.57rem;
  }

  .product-card__info h3 {
    margin-top: 2px;
    font-size: clamp(0.95rem, 3.5vw, 1.28rem);
  }

  .product-card__info p {
    margin-top: 6px;
    font-size: 0.62rem;
  }

  .product-card__meta {
    display: block;
    padding: 8px 2px;
    font-size: 0.55rem;
    line-height: 1.8;
  }

  .product-card__meta span {
    display: block;
  }

  .product-card__actions {
    display: block;
    padding-top: 5px;
  }

  .product-card__actions .add-cart-button {
    width: 100%;
    min-height: 40px;
    font-size: 0.6rem;
  }

  .product-card__actions .product-more,
  .product-card__quick {
    display: none;
  }

  .partner-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-product-card {
    padding: 6px 6px 12px;
  }

  .partner-product-card h3 {
    margin: 3px 0 5px;
    font-size: 0.9rem;
  }

  .partner-product-card span {
    margin-top: 8px;
    font-size: 0.53rem;
  }

  .partner-product-card strong {
    font-size: 0.59rem;
  }

  .partner-product-card__stock {
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    font-size: 0.52rem;
  }
}

@media (max-width: 420px) {
  .product-grid {
    gap: 15px 9px;
  }

  .product-card__media {
    aspect-ratio: 0.78;
  }

  .product-card__spec-badges {
    right: 8px;
    bottom: 8px;
  }

  .product-card__spec-badges span,
  .partner-product-card__spec-badges b {
    min-height: 21px;
    padding: 2px 5px;
    font-size: 0.48rem;
  }
}

/* Product card standard — adapted from artifact (10).html.
 * The card keeps the existing markup/data contract while adding a luxury
 * champagne-gold frame, emerald glass controls, depth and restrained motion.
 */
.product-card,
.partner-product-card {
  --rg-card-green: #073a30;
  --rg-card-green-deep: #03211b;
  --rg-card-cream: #ffefaf;
  --rg-card-px: 0;
  --rg-card-py: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 29px;
  background:
    conic-gradient(
      from 210deg,
      #8a6a2e,
      #c9a761,
      #eeddb4,
      #c2a058,
      #86672c,
      #cdad68,
      #f2e3bd,
      #b8963f,
      #7d5f27,
      #c5a25c,
      #ead8ab,
      #ab8a3d,
      #8a6a2e
    );
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 26px 50px rgba(0, 0, 0, 0.35),
    0 34px 70px -28px rgba(200, 164, 98, 0.34);
  transform: translateZ(0) rotateY(calc(var(--rg-card-px) * 1deg)) rotateX(calc(var(--rg-card-py) * -1deg));
  transform-style: preserve-3d;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.product-card::before,
.partner-product-card::before {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 3px;
  border-radius: 26px;
  background:
    linear-gradient(
      157deg,
      #f7ead0 0%,
      #e6cd9c 15%,
      #d3b177 32%,
      #c19f61 48%,
      #cdad6d 62%,
      #b7954f 78%,
      #a5823c 92%,
      #987534 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 235, 0.62),
    inset 0 -1px 0 rgba(72, 52, 16, 0.42),
    inset 0 -40px 60px rgba(96, 72, 26, 0.2),
    inset 0 40px 56px rgba(255, 248, 224, 0.13);
  pointer-events: none;
}

.product-card::after,
.partner-product-card::after {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 3px;
  border-radius: 26px;
  background:
    radial-gradient(
      75% 58% at calc(44% + var(--rg-card-px) * 30%) calc(22% + var(--rg-card-py) * 30%),
      rgba(255, 252, 240, 0.34) 0%,
      rgba(255, 246, 220, 0.1) 46%,
      transparent 78%
    ),
    radial-gradient(125% 105% at 50% 40%, transparent 58%, rgba(64, 44, 10, 0.22) 100%);
  mix-blend-mode: screen;
  opacity: 0.84;
  pointer-events: none;
  transition: background 0.4s ease-out, opacity 0.35s ease;
}

.rg-cards-sheen .product-card::after,
.rg-cards-sheen .partner-product-card::after {
  background:
    linear-gradient(
      104deg,
      transparent 8%,
      rgba(255, 252, 240, 0.12) 30%,
      rgba(255, 252, 240, 0.24) 38%,
      rgba(255, 252, 240, 0.08) 47%,
      transparent 66%
    ),
    radial-gradient(
      75% 58% at calc(44% + var(--rg-card-px) * 30%) calc(22% + var(--rg-card-py) * 30%),
      rgba(255, 252, 240, 0.34) 0%,
      rgba(255, 246, 220, 0.1) 46%,
      transparent 78%
    );
  filter: blur(7px);
}

.rg-cards-glow .product-card,
.rg-cards-glow .partner-product-card {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 26px 50px rgba(0, 0, 0, 0.35),
    0 30px 64px -28px rgba(200, 164, 98, 0.62),
    0 0 34px rgba(255, 228, 175, 0.13);
}

.rg-cards-frame-minimal .product-card,
.rg-cards-frame-minimal .partner-product-card {
  border-radius: 20px;
  background: linear-gradient(135deg, #987534, #f2e3bd 42%, #b8963f);
}

.rg-cards-frame-minimal .product-card::before,
.rg-cards-frame-minimal .partner-product-card::before,
.rg-cards-frame-minimal .product-card::after,
.rg-cards-frame-minimal .partner-product-card::after {
  border-radius: 17px;
}

.rg-cards-frame-velvet .product-card::before,
.rg-cards-frame-velvet .partner-product-card::before {
  background:
    linear-gradient(150deg, rgba(255, 239, 175, 0.9), rgba(120, 84, 35, 0.7) 22%, rgba(7, 58, 48, 0.96) 23%, rgba(3, 33, 27, 0.98));
}

.product-card > *,
.partner-product-card > * {
  position: relative;
  z-index: 1;
}

.product-card__media,
.partner-product-card__media {
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 3px 3px 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #14120d;
  box-shadow:
    0 0 0 1px rgba(255, 250, 235, 0.4),
    0 0 0 2px rgba(84, 60, 14, 0.26),
    0 14px 24px rgba(72, 52, 16, 0.36);
  transform: translateZ(14px);
}

.product-card__media::before,
.product-card__media::after {
  z-index: 3;
  width: 88px;
  height: 88px;
  border-color: rgba(255, 239, 175, 0.34);
}

.product-card__media::before {
  top: 15px;
  right: 15px;
}

.product-card__media::after {
  bottom: 15px;
  left: 15px;
}

.product-card__media::marker,
.partner-product-card__media::marker {
  display: none;
}

.product-card__image-link {
  border-radius: inherit;
}

.product-card__image-link::after,
.partner-product-card__media::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 3;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 26%, transparent 52%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), inset 0 3px 12px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.product-card__wash {
  z-index: 2;
  background:
    radial-gradient(circle at calc(45% + var(--rg-card-px) * 10%) calc(30% + var(--rg-card-py) * 10%), rgba(255, 239, 175, 0.26), transparent 44%),
    linear-gradient(140deg, transparent 55%, rgba(0, 0, 0, 0.23));
  mix-blend-mode: screen;
}

.product-card__badge,
.partner-product-card__stock {
  top: 16px;
  right: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--rg-card-cream);
  background: linear-gradient(160deg, rgba(9, 66, 54, 0.7), rgba(3, 33, 27, 0.82));
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px) saturate(160%);
}

.heart-button {
  top: 15px;
  left: 15px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(170%);
}

.heart-button:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.06);
}

.product-card__spec-badges {
  right: 17px;
  bottom: 17px;
  gap: 6px;
  max-width: calc(100% - 34px);
}

.product-card__spec-badges span,
.partner-product-card__spec-badges b {
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 239, 175, 0.58);
  color: var(--rg-card-cream);
  background: rgba(3, 37, 34, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.product-card__info {
  align-items: end;
  gap: 14px;
  margin: 0 8px;
  padding: 18px 8px 13px;
  border-bottom: 1px solid rgba(6, 45, 37, 0.2);
  transform: translateZ(10px);
}

.product-card__info span,
.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges) {
  color: rgba(6, 45, 37, 0.64);
}

.product-card__info h3,
.partner-product-card h3 {
  margin-top: 4px;
  color: var(--rg-card-green-deep);
  text-shadow: 0 1px 0 rgba(255, 250, 232, 0.38);
}

.product-card__info p,
.partner-product-card strong {
  color: var(--rg-card-green-deep);
  font-size: 0.92rem;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 250, 232, 0.36);
}

.product-card__meta {
  margin: 0 8px;
  padding: 11px 8px 7px;
  color: rgba(6, 45, 37, 0.66);
  border-bottom: 0;
  font-size: 0.66rem;
}

.product-card__breakdown,
.partner-product-card__breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 16px 9px;
  padding: 8px;
  border: 1px solid rgba(255, 250, 236, 0.42);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.26), rgba(255, 250, 236, 0.1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -2px 8px rgba(96, 72, 26, 0.14),
    0 5px 12px rgba(96, 72, 26, 0.16);
  backdrop-filter: blur(9px);
}

.product-card__breakdown > div,
.partner-product-card__breakdown > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 3px;
}

.product-card__breakdown dt,
.partner-product-card__breakdown dt {
  overflow: hidden;
  color: rgba(6, 45, 37, 0.62);
  font-size: 0.55rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card__breakdown dd,
.partner-product-card__breakdown dd {
  margin: 0;
  color: var(--rg-card-green);
  font-size: 0.56rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-card__rating {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  margin: 0 16px 5px;
  padding: 3px 9px;
  border: 1px solid rgba(7, 58, 48, 0.14);
  border-radius: 999px;
  color: #76501a;
  background: rgba(255, 250, 236, 0.23);
  font-size: 0.6rem;
}

.product-card__actions {
  gap: 8px;
  margin: 0 8px;
  padding: 8px 0 9px;
}

.add-cart-button,
.product-more {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 15px;
  box-shadow:
    0 10px 22px rgba(34, 24, 8, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -3px 10px rgba(0, 0, 0, 0.26);
}

.add-cart-button {
  background: linear-gradient(165deg, rgba(12, 84, 68, 0.82), rgba(3, 30, 25, 0.9));
  color: var(--rg-card-cream);
}

.add-cart-button:hover {
  background: linear-gradient(165deg, #0d604f, #03211b);
  color: #fff8df;
  box-shadow:
    0 16px 28px rgba(34, 24, 8, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 10px rgba(0, 0, 0, 0.26);
}

.product-more {
  min-width: 88px;
  border-color: rgba(255, 250, 236, 0.46);
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.3), rgba(255, 250, 236, 0.12));
  color: var(--rg-card-green);
}

.product-more:hover {
  border-color: var(--rg-card-green);
  background: var(--rg-card-green);
  color: var(--rg-card-cream);
}

.product-card .add-cart-button,
.product-card .product-more,
.product-card__quick,
.partner-product-card {
  position: relative;
  overflow: hidden;
}

.rg-card-ripple {
  position: absolute;
  z-index: 8;
  display: block;
  border-radius: 50%;
  background: rgba(255, 239, 175, 0.38);
  pointer-events: none;
  transform: scale(0);
  animation: rg-card-ripple 0.62s ease-out forwards;
}

@keyframes rg-card-ripple {
  to {
    opacity: 0;
    transform: scale(2.3);
  }
}

.product-card__quick {
  bottom: 20px;
  min-width: 158px;
  border-radius: 15px;
  color: var(--rg-card-cream);
  background: linear-gradient(165deg, rgba(12, 84, 68, 0.82), rgba(3, 30, 25, 0.9));
  box-shadow:
    0 10px 22px rgba(34, 24, 8, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -3px 10px rgba(0, 0, 0, 0.26);
}

.partner-product-card {
  padding: 3px 3px 13px;
}

.partner-product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  margin: 0;
}

.partner-product-card__stock {
  z-index: 4;
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
}

.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges),
.partner-product-card h3,
.partner-product-card strong,
.partner-product-card small {
  position: relative;
  z-index: 2;
  margin-right: 13px;
  margin-left: 13px;
}

.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges) {
  margin-top: 15px;
}

.partner-product-card h3 {
  margin-top: 4px;
  margin-bottom: 6px;
}

.partner-product-card__spec-badges {
  position: relative;
  z-index: 2;
  margin: 9px 13px 0;
}

.partner-product-card__label {
  display: block;
}

.partner-product-card strong {
  display: block;
  margin-top: 10px;
}

.partner-product-card small {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .rg-cards-3d .product-card:hover,
  .rg-cards-3d .partner-product-card:hover {
    transform: none;
  }

  .product-card:hover,
  .partner-product-card:hover {
    filter: saturate(1.04);
  }
}

/* Product cards stay perfectly stable on pointer hover. */
.product-card__media::before,
.product-card__media::after {
  display: none !important;
}

.product-card:hover,
.partner-product-card:hover {
  transform: none !important;
}

@media (max-width: 760px) {
  .product-card,
  .partner-product-card {
    border-radius: 23px;
    transform: none;
  }

  .product-card::before,
  .partner-product-card::before,
  .product-card::after,
  .partner-product-card::after {
    border-radius: 20px;
  }

  .product-card__media,
  .partner-product-card__media {
    aspect-ratio: 0.95;
    border-radius: 18px;
  }

  .product-card__info {
    margin: 0 5px;
    padding: 14px 7px 10px;
  }

  .product-card__meta {
    margin: 0 5px;
    padding: 8px 7px 5px;
  }

  .product-card__breakdown,
  .partner-product-card__breakdown {
    margin-right: 10px;
    margin-left: 10px;
    gap: 4px;
    padding: 6px;
  }

  .product-card__breakdown dt,
  .partner-product-card__breakdown dt {
    font-size: 0.49rem;
  }

  .product-card__breakdown dd,
  .partner-product-card__breakdown dd {
    font-size: 0.48rem;
  }

  .product-card__actions {
    margin: 0 5px;
  }

  .partner-product-card {
    padding-bottom: 10px;
  }

  .partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges),
  .partner-product-card h3,
  .partner-product-card strong,
  .partner-product-card small {
    margin-right: 10px;
    margin-left: 10px;
  }

  .partner-product-card__spec-badges {
    margin-right: 10px;
    margin-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .partner-product-card,
  .product-card::after,
  .partner-product-card::after {
    transform: none !important;
    transition: none !important;
  }
}

/* The featured homepage collection has an older, more-specific skin. Keep
 * the new artifact card as the single source of truth there as well. */
.collection--featured .product-card {
  padding: 3px;
  border: 0;
  border-radius: 29px;
  background:
    conic-gradient(
      from 210deg,
      #8a6a2e,
      #c9a761,
      #eeddb4,
      #c2a058,
      #86672c,
      #cdad68,
      #f2e3bd,
      #b8963f,
      #7d5f27,
      #c5a25c,
      #ead8ab,
      #ab8a3d,
      #8a6a2e
    );
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 26px 50px rgba(0, 0, 0, 0.35),
    0 34px 70px -28px rgba(200, 164, 98, 0.34);
}

.collection--featured .product-card__media {
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 3px 3px 0;
  border: 0;
  border-radius: 22px;
}

.collection--featured .product-card__info,
.collection--featured .product-card__meta,
.collection--featured .product-card__rating,
.collection--featured .product-card__actions {
  margin-right: 8px;
  margin-left: 8px;
}

.collection--featured .product-card__info {
  padding: 18px 8px 13px;
}

.collection--featured .product-card__meta {
  padding: 11px 8px 7px;
}

.collection--featured .product-card__actions {
  padding-top: 8px;
  padding-bottom: 9px;
}

/* Phase 5: mobile ergonomics and overflow guardrails. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-shell,
main,
.header,
.nav,
.mobile-tabs,
.mobile-bottom-nav {
  max-width: 100%;
}

.icon-button,
.menu-toggle {
  min-width: 48px;
  min-height: 48px;
}

.icon-button {
  width: 48px;
  height: 48px;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  padding: 12px;
}

@media (min-width: 861px) {
  .icon-button {
    width: 38px;
    height: 38px;
    min-width: 0;
    min-height: 0;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    min-width: 0;
    min-height: 0;
  }
}

/* Public catalog cards keep a square media frame and show the full product. */
body:not(.partner-workspace) .product-grid > .product-card .product-card__media {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  align-self: start !important;
}

body:not(.partner-workspace) .product-grid > .product-card .product-card__image-link .product-card__image,
body:not(.partner-workspace) .product-grid > .product-card:hover .product-card__image-link .product-card__image {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.mobile-search-panel {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transition:
    opacity 220ms var(--ease),
    transform 280ms var(--ease);
  will-change: opacity, transform;
}

.mobile-search-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 860px) {
  button,
  .button,
  .filter-button,
  .shop-sort__toggle,
  .shop-filter-toggle,
  .product-card__favorite,
  .add-cart-button,
  .heart-button {
    min-height: 48px;
  }

  .nav {
    z-index: 110;
    pointer-events: none;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    pointer-events: auto;
  }

  .mobile-tabs__item {
    min-height: 48px;
    padding-inline: 15px;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-height: 48px;
    padding: 7px 3px;
  }

  .mobile-search-panel form > button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
  }

  .home-feature-tabs__tab {
    min-height: 48px;
  }

  .hero,
  .commerce-page,
  .invoice-page,
  .product-page,
  .site-shell > main {
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-search-panel,
  .nav,
  .home-feature-tabs__tab,
  .home-feature-tabs__panel {
    transition: none !important;
    animation: none !important;
  }
}

/*
 * Artifact product-card standard.
 * The supplied champagne/emerald visual remains intact, while every product
 * card is physically stable under the mouse. Secondary images may crossfade,
 * but neither the card nor its image scales, tilts or shifts.
 */
.product-card,
.partner-product-card {
  transform: none !important;
  transform-style: flat;
  transition:
    box-shadow 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
  will-change: auto;
}

.product-card:hover,
.product-card:focus-within,
.partner-product-card:hover,
.partner-product-card:focus-within {
  transform: none !important;
}

.product-card__image-link .product-card__image,
.partner-product-card__media .product-card__image,
.product-card:hover .product-card__image-link .product-card__image,
.partner-product-card:hover .product-card__image {
  transform: none !important;
}

.product-card__media::before,
.product-card__media::after,
.partner-product-card__media::before,
.partner-product-card__media::after {
  display: none !important;
  content: none !important;
}

/* Other compact product links use the same stable hover behaviour. */
.popular-card,
.related-product,
.home-feature-tabs__mini-products a {
  transform: none !important;
}

.popular-card:hover,
.related-product:hover,
.home-feature-tabs__mini-products a:hover {
  transform: none !important;
}

.popular-card:hover .popular-card__media img,
.related-product:hover img,
.home-feature-tabs__mini-products a:hover img {
  transform: none !important;
}

/*
 * Artifact (11) product-card skin.
 * The supplied emerald card is the visual source of truth for public and
 * partner catalog cards. Existing product data/actions stay untouched.
 * Pointer tilt and image frame overlays are deliberately disabled.
 */
.product-card,
.partner-product-card {
  --rg-artifact-emerald: #073a30;
  --rg-artifact-emerald-dark: #03211b;
  --rg-artifact-gold: #ffd369;
  --rg-artifact-cream: #f7ead0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 2.5px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background:
    conic-gradient(
      from 210deg,
      #073a30,
      #145e4f,
      #2ed3b0,
      #135d4e,
      #073a30,
      #176b5a,
      #36ecc6,
      #125547,
      #063128,
      #145e4f,
      #22a488,
      #0d463b,
      #073a30
    ) !important;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.7),
    0 18px 36px -18px rgba(0, 0, 0, 0.8),
    0 0 45px 0 rgba(20, 94, 79, 0.35) !important;
  transform: none !important;
  transform-style: flat !important;
  transition:
    box-shadow 0.3s ease,
    filter 0.3s ease,
    opacity 0.35s ease !important;
}

.product-card::before,
.partner-product-card::before {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 2.5px;
  border-radius: 25.5px;
  background:
    linear-gradient(
      157deg,
      #0d3830 0%,
      #0a2e27 15%,
      #07241e 32%,
      #051c17 48%,
      #082a22 62%,
      #041a15 78%,
      #02120e 92%,
      #010c09 100%
    ) !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0, 0, 0, 0.6),
    inset 1px 0 2px rgba(255, 255, 255, 0.05),
    inset -1px 0 2px rgba(0, 0, 0, 0.4) !important;
  pointer-events: none;
}

.product-card::after,
.partner-product-card::after {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 2.5px;
  border-radius: 25.5px;
  background:
    radial-gradient(
      circle 220px at 50% 25%,
      rgba(46, 211, 176, 0.24) 0%,
      rgba(46, 211, 176, 0.08) 45%,
      transparent 70%
    ),
    radial-gradient(
      125% 105% at 50% 40%,
      transparent 58%,
      rgba(0, 0, 0, 0.42) 100%
    ) !important;
  mix-blend-mode: screen;
  opacity: 0.92;
  pointer-events: none;
}

.rg-cards-glow .product-card,
.rg-cards-glow .partner-product-card {
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.72),
    0 18px 36px -18px rgba(0, 0, 0, 0.82),
    0 0 52px 0 rgba(20, 94, 79, 0.58) !important;
}

.rg-cards-sheen .product-card::after,
.rg-cards-sheen .partner-product-card::after {
  background:
    linear-gradient(
      115deg,
      transparent 35%,
      rgba(255, 255, 255, 0.035) 43%,
      rgba(255, 255, 255, 0.12) 48%,
      rgba(255, 255, 255, 0.16) 50%,
      rgba(255, 255, 255, 0.05) 53%,
      transparent 60%
    ),
    radial-gradient(
      circle 220px at 50% 25%,
      rgba(46, 211, 176, 0.24) 0%,
      rgba(46, 211, 176, 0.08) 45%,
      transparent 70%
    ) !important;
  filter: blur(10px);
}

.product-card > *,
.partner-product-card > * {
  position: relative;
  z-index: 1;
}

.product-card__media,
.partner-product-card__media {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 19px !important;
  background: #061713 !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.product-card__media::before,
.product-card__media::after,
.partner-product-card__media::before,
.partner-product-card__media::after,
.product-card__image-link::after {
  display: none !important;
  content: none !important;
}

.product-card__wash {
  z-index: 2 !important;
  background:
    radial-gradient(
      circle 220px at 50% 25%,
      rgba(46, 211, 176, 0.2),
      rgba(46, 211, 176, 0.06) 45%,
      transparent 70%
    ),
    linear-gradient(140deg, transparent 55%, rgba(0, 0, 0, 0.28)) !important;
  mix-blend-mode: screen;
}

.product-card__image-link .product-card__image,
.partner-product-card__media .product-card__image,
.product-card:hover .product-card__image-link .product-card__image,
.partner-product-card:hover .product-card__image {
  transform: scale(1.02) !important;
  filter: none !important;
  transition: opacity 420ms ease, filter 420ms ease !important;
}

.product-card__badge,
.partner-product-card__stock {
  top: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
  padding: 5px 12px 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  color: var(--rg-artifact-emerald-dark) !important;
  background:
    linear-gradient(
      160deg,
      rgba(216, 180, 103, 0.9),
      rgba(165, 130, 60, 0.95)
    ) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  backdrop-filter: blur(12px);
}

.heart-button {
  top: 14px !important;
  left: 14px !important;
  z-index: 4 !important;
  width: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--rg-artifact-cream) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.heart-button:hover,
.heart-button:focus-visible {
  background: rgba(0, 0, 0, 0.5) !important;
  transform: none !important;
}

.product-card__spec-badges {
  right: 14px !important;
  bottom: 14px !important;
  z-index: 4 !important;
  gap: 6px !important;
}

.product-card__spec-badges span,
.partner-product-card__spec-badges b {
  min-height: 27px !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  color: var(--rg-artifact-cream) !important;
  background: rgba(0, 0, 0, 0.32) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  backdrop-filter: blur(10px);
}

.product-card__info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 17px 2px 0 !important;
  border: 0 !important;
  transform: none !important;
}

.product-card__info > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.product-card__info span,
.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges),
.partner-product-card__weight,
.product-card__label,
.partner-product-card__label {
  color: rgba(247, 234, 208, 0.64) !important;
  font-size: 0.68rem !important;
}

.product-card__info h3,
.partner-product-card h3 {
  margin: 0 !important;
  color: var(--rg-artifact-cream) !important;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  font-size: clamp(0.9rem, 1.8vw, 1.12rem) !important;
  font-weight: 900 !important;
  line-height: 1.65 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.product-card__info h3 a,
.partner-product-card h3 {
  color: inherit !important;
}

.product-card__info p,
.partner-product-card strong {
  align-self: flex-start;
  margin: 2px 0 0 !important;
  color: var(--rg-artifact-gold) !important;
  font-size: clamp(0.9rem, 1.9vw, 1.14rem) !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.product-card__meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  color: rgba(247, 234, 208, 0.7) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  font-size: 0.62rem !important;
}

.product-card__meta span {
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card__meta span + span {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card__breakdown,
.partner-product-card__breakdown {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.25) !important;
  box-shadow: none !important;
}

.product-card__breakdown > div,
.partner-product-card__breakdown > div {
  min-width: 0;
  padding: 3px 4px !important;
}

.product-card__breakdown dt,
.partner-product-card__breakdown dt {
  color: rgba(247, 234, 208, 0.58) !important;
  font-size: 0.54rem !important;
}

.product-card__breakdown dd,
.partner-product-card__breakdown dd {
  color: var(--rg-artifact-cream) !important;
  font-size: 0.56rem !important;
}

.product-card__rating,
.partner-product-card__rating {
  min-height: 28px;
  align-self: flex-start;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  color: var(--rg-artifact-gold) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  font-size: 0.62rem !important;
}

.product-card__rating small,
.partner-product-card__rating {
  color: rgba(247, 234, 208, 0.72) !important;
}

.product-card__actions {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 4px 0 1px !important;
}

.add-cart-button,
.product-more {
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
  transition: filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.add-cart-button {
  color: var(--rg-artifact-emerald-dark) !important;
  background:
    linear-gradient(165deg, #f7ead0 0%, #d3b177 45%, #b8963f 100%) !important;
  font-weight: 800 !important;
}

.add-cart-button:hover,
.add-cart-button:focus-visible {
  color: var(--rg-artifact-emerald-dark) !important;
  background:
    linear-gradient(165deg, #fff4dc 0%, #ddbd84 45%, #c6a653 100%) !important;
  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
  transform: none !important;
}

.product-more {
  min-width: 48px !important;
  width: 48px;
  color: var(--rg-artifact-gold) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

.product-more:hover,
.product-more:focus-visible {
  color: var(--rg-artifact-cream) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  transform: none !important;
}

.product-card__quick {
  right: 50% !important;
  bottom: 14px !important;
  border-radius: 14px !important;
  color: var(--rg-artifact-cream) !important;
  background: rgba(0, 0, 0, 0.58) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.product-card:hover,
.product-card:focus-within,
.partner-product-card:hover,
.partner-product-card:focus-within,
.product-card:hover .product-card__image-link img,
.partner-product-card:hover .product-card__image {
  transform: none !important;
}

.partner-product-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 15px !important;
  color: var(--rg-artifact-cream);
}

.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges),
.partner-product-card h3,
.partner-product-card strong,
.partner-product-card small {
  position: relative;
  z-index: 2;
  margin-right: 2px !important;
  margin-left: 2px !important;
}

.partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges) {
  margin-top: 8px !important;
}

.partner-product-card h3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.partner-product-card__spec-badges {
  position: relative;
  z-index: 2;
  margin: 3px 2px 0 !important;
}

.partner-product-card strong {
  display: block;
  margin-top: 3px !important;
}

.partner-product-card small {
  color: rgba(247, 234, 208, 0.65) !important;
  font-size: 0.62rem !important;
}

@media (max-width: 760px) {
  .product-card,
  .partner-product-card {
    border-radius: 23px !important;
    padding: 2px !important;
  }

  .product-card::before,
  .partner-product-card::before,
  .product-card::after,
  .partner-product-card::after {
    border-radius: 20.5px;
  }

  .product-card__media,
  .partner-product-card__media {
    border-radius: 17px !important;
  }

  .product-card__info {
    padding-top: 13px !important;
  }

  .product-card__meta {
    padding: 8px 8px !important;
    font-size: 0.56rem !important;
  }

  .product-card__breakdown,
  .partner-product-card__breakdown {
    padding: 7px !important;
  }

  .product-card__breakdown dt,
  .partner-product-card__breakdown dt {
    font-size: 0.48rem !important;
  }

  .product-card__breakdown dd,
  .partner-product-card__breakdown dd {
    font-size: 0.48rem !important;
  }

  .add-cart-button {
    font-size: 0.66rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .partner-product-card,
  .product-card *,
  .partner-product-card * {
    transition: none !important;
    animation: none !important;
  }
}

/* Compact product previews use the same artifact palette without changing
 * their existing compact layout. */
.popular-card,
.related-product,
.home-feature-tabs__mini-products a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(46, 211, 176, 0.48) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(
      157deg,
      #0d3830 0%,
      #0a2e27 28%,
      #051c17 58%,
      #010c09 100%
    ) !important;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  transform: none !important;
  transition: box-shadow 0.3s ease, filter 0.3s ease !important;
}

.popular-card:hover,
.popular-card:focus-visible,
.related-product:hover,
.related-product:focus-visible,
.home-feature-tabs__mini-products a:hover,
.home-feature-tabs__mini-products a:focus-visible {
  transform: none !important;
  filter: saturate(1.08) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(20, 94, 79, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.14) !important;
}

.popular-card__media,
.related-product img,
.home-feature-tabs__mini-products a img {
  background: #061713 !important;
}

.popular-card__media {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.popular-card__media img,
.related-product img,
.home-feature-tabs__mini-products a img {
  transform: none !important;
  filter: saturate(0.94) contrast(1.04);
  transition: filter 0.3s ease !important;
}

.popular-card:hover .popular-card__media img,
.related-product:hover img,
.home-feature-tabs__mini-products a:hover img {
  transform: none !important;
  filter: saturate(1.04) contrast(1.06) !important;
}

.popular-card__badge {
  color: var(--rg-artifact-emerald-dark) !important;
  background:
    linear-gradient(
      160deg,
      rgba(216, 180, 103, 0.9),
      rgba(165, 130, 60, 0.95)
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.popular-card__body {
  background: transparent !important;
}

.popular-card__category,
.popular-card__meta,
.related-product span,
.home-feature-tabs__mini-products a span {
  color: rgba(247, 234, 208, 0.64) !important;
}

.popular-card__body strong,
.related-product h3 {
  color: var(--rg-artifact-cream) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.popular-card__body b {
  color: var(--rg-artifact-gold) !important;
}

.related-product {
  padding: 8px !important;
}

.related-product img {
  border-radius: 13px !important;
}

:root {
  --rg-artifact-emerald: #073a30;
  --rg-artifact-emerald-dark: #03211b;
  --rg-artifact-gold: #ffd369;
  --rg-artifact-cream: #f7ead0;
}

/*
 * Final sizing pass:
 * keep desktop cards close to the supplied 392px reference width instead of
 * stretching two cards across the whole catalog, while retaining a compact
 * two-column mobile layout.
 */
.product-grid,
.partner-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 390px)) !important;
  justify-content: center !important;
  gap: 24px !important;
}

.product-card,
.partner-product-card {
  width: 100%;
  max-width: 390px;
}

/* The quick-details control lived inside the image and produced the
 * half-visible rounded frame seen on hover. Details remain available through
 * the stable action row below the card. */
.product-card__quick {
  display: none !important;
}

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

  .product-card,
  .partner-product-card {
    max-width: none;
  }
}

/*
 * Screenshot follow-up: compact desktop sizing and a hard removal of every
 * legacy overlay/frame that could leave a half-rounded rectangle over media.
 */
.product-grid,
.partner-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 350px)) !important;
  gap: 20px !important;
}

.product-card,
.partner-product-card {
  max-width: 350px !important;
}

.product-card__quick,
.product-card__media::before,
.product-card__media::after,
.partner-product-card__media::before,
.partner-product-card__media::after,
.product-card__image-link::before,
.product-card__image-link::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  box-shadow: none !important;
  content: none !important;
}

.product-card__image-link,
.partner-product-card__media {
  border: 0 !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

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

  .product-card,
  .partner-product-card {
    max-width: none !important;
  }
}

/*
 * Ratings sit directly below the media on the physical left side. Keeping
 * them outside the pricing/action flow prevents the cart button from being
 * pushed down by the review summary.
 */
.product-card__rating--under-media,
.partner-product-card__rating--under-media {
  display: flex !important;
  position: relative !important;
  z-index: 3 !important;
  align-self: auto !important;
  direction: ltr;
  width: max-content !important;
  max-width: 100%;
  margin: 8px auto 0 0 !important;
  padding: 4px 9px !important;
  min-height: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  color: var(--rg-artifact-gold) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: none !important;
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.product-card__rating--under-media span,
.product-card__rating--under-media small,
.partner-product-card__rating--under-media b {
  color: inherit !important;
}

.product-card__rating--under-media small {
  margin: 0 !important;
}

.product-card__rating--under-media {
  margin-bottom: -36px !important;
}

.product-detail__actions .product-detail__favorite {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 185px !important;
  min-height: 53px !important;
  aspect-ratio: auto !important;
  border-radius: 8px !important;
  transform: none !important;
}

.partner-product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.partner-product-card__actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px !important;
  gap: 8px !important;
  width: calc(100% - 16px);
  margin: auto 8px 0 !important;
  padding: 8px 0 0 !important;
}

.partner-product-card__actions .add-cart-button,
.partner-product-card__actions .product-more {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
}

/* Final drawer stacking: the panel owns the screen while it is open. */
.nav-backdrop {
  z-index: 134;
}

@media (max-width: 860px) {
  .nav {
    z-index: 140;
  }

  /* The drawer lives inside the header's stacking context. Lift that context
   * only while the drawer is open so the backdrop blurs the page—not the
   * drawer and its links. */
  body.is-nav-open .header {
    z-index: 140;
  }
}

body.is-nav-open .mobile-bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 20px));
}

/*
 * Final responsive media guard. The decorative card effects above use
 * transforms for desktop depth; on touch breakpoints they can project the
 * image past the card's clipping box. Keep the image in the measured media
 * box and use contain so the full jewellery piece is always visible.
 */
@media (max-width: 860px) {
  .product-card__media,
  .partner-product-card__media {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
  }

  .product-card__image-link,
  .partner-product-card__media-link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .product-card__image-link .product-card__image,
  .partner-product-card__media .product-card__image,
  .product-card:hover .product-card__image-link .product-card__image,
  .partner-product-card:hover .product-card__image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
}

/* A fixed desktop header must never cover the public home slider. */
@media (min-width: 861px) {
  .site-shell > main > .hero--image-only {
    margin-top: 145px !important;
    background-color: var(--green-950) !important;
    background-position: center !important;
    background-size: auto, cover !important;
  }

  .hero--image-only .hero__art > img,
  .hero--image-only .hero__art > .rg-responsive-picture > img {
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* Keep the home slider below the fixed header on every touch breakpoint. */
@media (max-width: 600px) {
  .site-shell > main > .hero--image-only {
    margin-top: 38px !important;
  }
}

@media (min-width: 601px) and (max-width: 860px) {
  .site-shell > main > .hero--image-only {
    margin-top: 74px !important;
  }
}

/* Touch layouts: remove the price/promotion bands that sit above the header. */
@media (max-width: 860px) {
  .site-shell > .home-top-strip,
  .site-shell > .luxury-topbar {
    display: none !important;
  }

  .header,
  .header.is-scrolled,
  .header.header--solid,
  .home-top-strip + .luxury-topbar + .header,
  .home-top-strip + .luxury-topbar + .header.is-scrolled {
    top: 0 !important;
  }

  body.admin-bar .header,
  body.admin-bar .header.is-scrolled,
  body.admin-bar .header.header--solid,
  body.admin-bar .home-top-strip + .luxury-topbar + .header,
  body.admin-bar .home-top-strip + .luxury-topbar + .header.is-scrolled {
    top: 46px !important;
  }
}

@media (max-width: 600px) {
  .site-shell > main > .hero--image-only {
    margin-top: 84px !important;
  }

  .mobile-search-panel {
    top: 84px !important;
  }

  body.admin-bar .mobile-search-panel {
    top: 130px !important;
  }
}

@media (min-width: 601px) and (max-width: 860px) {
  .site-shell > main > .hero--image-only {
    margin-top: 90px !important;
  }

  .mobile-search-panel {
    top: 90px !important;
  }

  body.admin-bar .mobile-search-panel {
    top: 136px !important;
  }
}

/* Home-slide artwork always fills its full banner frame. */
.hero--image-only {
  background-position: center !important;
  background-size: auto, cover !important;
}

.hero--image-only .hero__art > img,
.hero--image-only .hero__art > .rg-responsive-picture > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.home-hero-carousel {
  --home-banner-height: 400px;
  --home-banner-gap: 0px;
  --home-banner-width: 100%;
  display: block;
  width: 100%;
  margin: 0 auto 20px;
  padding-top: 145px;
  overflow: hidden;
}

.home-hero-carousel > .hero--image-only {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: var(--home-banner-height);
  min-height: var(--home-banner-height) !important;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  touch-action: pan-y pinch-zoom;
}

.home-hero-carousel .hero-slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-hero-carousel .hero-slider-track {
  display: flex;
  gap: var(--home-banner-gap);
  width: 100%;
  height: 100%;
  direction: rtl;
  will-change: transform;
}

.home-hero-carousel .hero-slider-panel {
  position: relative;
  display: block;
  flex: 0 0 var(--home-banner-width);
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  user-select: none;
  -webkit-user-select: none;
}

.home-hero-carousel .hero-slider-panel > .rg-responsive-picture,
.home-hero-carousel .hero-slider-panel img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-carousel .hero-slider-panel img {
  object-fit: cover;
  object-position: center;
}

.home-hero-carousel .hero-slider-controls {
  display: flex;
  right: 50%;
  bottom: 8px;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  transform: translateX(50%);
}

.home-hero-carousel .hero-slider-controls button[data-hero-dot] {
  position: relative;
  width: 16px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-hero-carousel .hero-slider-controls button[data-hero-dot]::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .3);
}

.home-hero-carousel .hero-slider-controls button[data-hero-dot].is-active {
  width: 28px;
  background: transparent;
  box-shadow: none;
}

.home-hero-carousel .hero-slider-controls button[data-hero-dot].is-active::after {
  width: 20px;
  background: #0c0c0c;
}

.home-hero-carousel .hero-slider-navigation {
  position: absolute;
  z-index: 6;
  right: 40px;
  bottom: 40px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity .2s ease;
}

.home-hero-carousel .hero-slider-navigation button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #c0c2c5;
  border-radius: 50%;
  background: #fff;
  color: #424750;
  cursor: pointer;
}

.home-hero-carousel .hero-slider-navigation svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.home-hero-carousel .hero-slider-pause {
  position: absolute;
  z-index: 7;
  top: 8px;
  right: 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #0c0c0c;
  opacity: 0;
  pointer-events: none;
}

.home-hero-carousel .hero-slider-pause:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.home-hero-carousel .hero--image-only:focus-within .hero-slider-navigation {
  opacity: 1;
}

.home-hero-carousel .hero--image-only:focus-visible,
.home-hero-carousel button:focus-visible,
.home-hero-carousel .hero-slider-panel:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: -3px;
}

@media (hover: hover) {
  .home-hero-carousel .hero--image-only:hover .hero-slider-navigation { opacity: 1; }
}

@media (max-width: 1023.98px) {
  .home-hero-carousel {
    --home-banner-height: 180px;
    --home-banner-gap: 8px;
  }
  .home-hero-carousel.has-multiple-slides { --home-banner-width: calc((100% - .8px) / 1.1); }
  .home-hero-carousel .hero-slider-panel { border-radius: 6px; }
  .home-hero-carousel .hero-slider-controls,
  .home-hero-carousel .hero-slider-navigation { display: none; }
}

@media (max-width: 600px) {
  .home-hero-carousel { padding-top: 84px; }
}

@media (min-width: 601px) and (max-width: 860px) {
  .home-hero-carousel { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-carousel .hero-slider-track,
  .home-hero-carousel .hero-slider-navigation { transition: none !important; }
}

/* Partner home slider: keep the first image completely below the fixed header. */
.partner-workspace .partner-page {
  padding-top: 134px !important;
}

@media (max-width: 860px) {
  .partner-workspace .partner-page {
    padding-top: 88px !important;
  }
}

@media (min-width: 601px) and (max-width: 860px) {
  .partner-workspace .partner-page {
    padding-top: 88px !important;
  }
}

/* WordPress admin bar adds 46px above the compact fixed header. */
body.admin-bar.partner-workspace .partner-page {
  padding-top: 166px !important;
}

@media (max-width: 860px) {
  body.admin-bar.partner-workspace .partner-page {
    padding-top: 134px !important;
  }
}

/* Match the public hero position on the partner home only. */
.partner-workspace .partner-page:has(> .partner-home-slides) {
  padding-top: 168px !important;
}

body.admin-bar.partner-workspace .partner-page:has(> .partner-home-slides) {
  padding-top: 200px !important;
}

@media (max-width: 860px) {
  .partner-workspace .partner-page:has(> .partner-home-slides) {
    padding-top: 76px !important;
  }

  body.admin-bar.partner-workspace .partner-page:has(> .partner-home-slides) {
    padding-top: 122px !important;
  }
}

/* Partner categories stay on one compact, touch-scrollable rail. */
.partner-workspace .partner-category-strip {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  margin-inline: 0 !important;
  padding: 0 0 4px !important;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.partner-workspace .partner-category-strip > .partner-category-chip,
.partner-workspace .partner-category-strip > .partner-category-group {
  flex: 0 0 auto !important;
  scroll-snap-align: start;
}

.partner-workspace .partner-category-strip > .partner-category-chip {
  min-width: 150px !important;
}

@media (max-width: 860px) {
  .partner-workspace .partner-category-strip {
    gap: 4px !important;
    row-gap: 0 !important;
    margin: 16px 0 !important;
  }

  .partner-workspace .partner-category-strip > .partner-category-chip {
    min-width: clamp(138px, 42vw, 150px) !important;
  }

  .partner-workspace .partner-category-strip > .partner-category-group {
    min-width: clamp(190px, 56vw, 205px) !important;
  }
}

/* Public mobile/tablet catalog contract: every card keeps a visible route to
 * its product page. Older experimental rules hid this control below 760px. */
@media (max-width: 860px) {
  .product-card > .product-card__actions,
  .partner-product-card > .partner-product-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 0.34fr) !important;
    gap: 8px !important;
    width: calc(100% - 16px) !important;
    margin: auto 8px 0 !important;
    padding: 10px 0 12px !important;
  }

  .product-card > .product-card__actions .add-cart-button,
  .product-card > .product-card__actions .product-more,
  .partner-product-card > .partner-product-card__actions .add-cart-button,
  .partner-product-card > .partner-product-card__actions .product-more {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .product-card > .product-card__actions .product-more,
  .partner-product-card > .partner-product-card__actions .product-more {
    padding-inline: 8px !important;
    white-space: nowrap;
    font-size: clamp(0.72rem, 2.7vw, 0.84rem) !important;
    text-decoration: none;
  }
}

/* The floating category rail duplicated navigation and created the white
 * sheet below the compact header. Primary mobile navigation stays in the
 * thumb-friendly bottom bar and drawer instead. */
@media (max-width: 860px) {
  .mobile-tabs {
    display: none !important;
  }
}

/* Tablet landscape is still a touch-first context. Keep editable controls
 * large enough to tap and prevent Safari's input-focus zoom. */
@media (max-width: 1024px) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  .home-discovery__form input,
  .home-feature-tabs__calculator input {
    min-height: 48px;
  }
}

/* Definitive narrow-phone card layout. This lives at the end of the
 * stylesheet so legacy two-column rules cannot shrink a jewelry card below a
 * readable touch-friendly width. Tablets keep their compact two-column view. */
@media (max-width: 600px) {
  .product-grid,
  .collection--featured .product-grid,
  .partner-product-grid,
  .related-products__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    gap: 16px !important;
  }

  .product-card,
  .partner-product-card {
    width: 100% !important;
    max-width: none !important;
  }

  /* Avoid partially clipped category cards in RTL scroll containers. */
  .category-row,
  .category-row.category-row--subcategories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 4px 0 12px;
  }

  .category-row__item,
  .category-row--subcategories .category-row__item {
    min-width: 0;
    min-height: 132px;
    flex: none;
    padding: 13px 10px;
  }

  .category-row__icon {
    width: 52px;
    height: 52px;
  }

  .category-row__title {
    font-size: 0.8rem;
  }

  .home-discovery__form input,
  .home-feature-tabs__calculator input,
  .product-weight-selector__pill {
    min-height: 48px;
  }

  /* Fixed controls no longer hide the destination of an in-page link. */
  main [id],
  .collection,
  .product-grid,
  .partner-product-grid,
  .related-products__grid {
    scroll-margin-top: 128px;
  }
}

@media (min-width: 601px) and (max-width: 860px) {
  .home-discovery__form input,
  .home-feature-tabs__calculator input,
  .product-weight-selector__pill {
    min-height: 48px;
  }
}

/* Mobile-first interaction and layout hardening (2026) */
:root {
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --touch-target: 48px;
}

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

body {
  font-size: 16px;
}

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

button,
input,
select,
textarea,
.button,
.icon-button,
.menu-toggle,
.nav a,
.mobile-bottom-nav a,
.mobile-bottom-nav button,
.mobile-tabs__item,
.heart-button,
.add-cart-button,
.product-more,
.nav-close {
  min-height: var(--touch-target);
}

button,
.button,
.icon-button,
.menu-toggle,
.nav a,
.mobile-bottom-nav a,
.mobile-bottom-nav button,
.mobile-tabs__item,
.heart-button,
.add-cart-button,
.product-more,
.nav-close {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:active,
.button:active,
.icon-button:active,
.menu-toggle:active,
.mobile-bottom-nav a:active,
.mobile-bottom-nav button:active,
.mobile-tabs__item:active,
.heart-button:active,
.add-cart-button:active,
.product-more:active,
.nav-close:active {
  transform: scale(0.95);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(215, 166, 84, 0.82);
  outline-offset: 3px;
}

.nav-backdrop {
  position: fixed;
  z-index: 124;
  inset: 0;
  background: rgba(3, 37, 34, 0.48);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s var(--ease-premium);
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  display: none;
}

/* Modern browsers select AVIF from image-set; older engines keep the URL
 * fallback assigned inline, so the luxury imagery never disappears. */
@supports (background-image: image-set(url("placeholder.avif") type("image/avif"), url("placeholder.png") type("image/png"))) {
  .intro {
    --intro-image-active: var(--intro-image-modern, var(--intro-image, none));
  }

  .hero {
    --hero-background-image-active: var(--hero-background-image-modern, var(--hero-background-image, none));
  }
}

@media (max-width: 860px) {
  :root {
    --container: calc(100% - 32px);
  }

  /* Safari keeps the viewport stable only when editable controls are 16px+. */
  input:not([type="range"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  body {
    padding-bottom: max(82px, env(safe-area-inset-bottom) + 76px);
  }

  .header__actions {
    gap: 4px;
  }

  .icon-button,
  .menu-toggle {
    width: var(--touch-target);
    height: var(--touch-target);
    padding: 10px;
  }

  .nav {
    position: fixed;
    z-index: 130;
    top: 0;
    right: 0;
    left: auto;
    display: flex;
    width: min(88vw, 380px);
    height: 100dvh;
    min-height: 100svh;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: max(96px, env(safe-area-inset-top) + 72px) 22px max(28px, env(safe-area-inset-bottom) + 18px);
    border-left: 1px solid rgba(255, 228, 175, 0.25);
    background:
      radial-gradient(circle at 20% 15%, rgba(255, 228, 175, 0.12), transparent 35%),
      linear-gradient(160deg, #0b4a43, #032522 74%);
    box-shadow: -24px 0 70px rgba(3, 37, 34, 0.28);
    opacity: 1;
    visibility: hidden;
    transform: translateX(100%);
    will-change: transform;
    transition:
      transform 0.42s var(--ease-premium),
      visibility 0s linear 0.42s;
  }

  .nav.is-open {
    visibility: visible;
    transform: translateX(0);
    transition:
      transform 0.42s var(--ease-premium),
      visibility 0s linear 0s;
  }

  .nav a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: rgba(255, 250, 241, 0.86);
    font-size: clamp(1rem, 4.6vw, 1.3rem);
    line-height: 1.6;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.active {
    border-color: rgba(255, 228, 175, 0.24);
    background: rgba(255, 228, 175, 0.1);
    color: var(--gold-champagne);
  }

  .nav-close {
    position: absolute;
    top: max(22px, env(safe-area-inset-top) + 12px);
    left: 16px;
    display: grid;
    width: var(--touch-target);
    height: var(--touch-target);
    place-items: center;
    border: 1px solid rgba(255, 228, 175, 0.25);
    border-radius: 50%;
    background: rgba(3, 37, 34, 0.52);
    color: var(--gold-champagne);
    cursor: pointer;
  }

  .nav-close span {
    position: absolute;
    width: 21px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .form-row,
  .account-form .form-row,
  .checkout-form .form-row,
  .commerce-form .form-row,
  .advanced-search,
  .partner-advanced-search {
    grid-template-columns: 1fr;
  }

  .form-field input,
  .form-field textarea,
  .form-field select,
  .referral-link input,
  .advanced-search input,
  .advanced-search select,
  .partner-advanced-search input,
  .partner-advanced-search select {
    min-height: var(--touch-target);
    font-size: 16px;
  }

  .account-shell {
    gap: 18px;
  }

  .account-sidebar {
    overflow-x: auto;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .account-sidebar::-webkit-scrollbar {
    display: none;
  }

  .account-sidebar nav {
    gap: 8px;
  }

  .account-sidebar a {
    min-width: max-content;
    border: 1px solid rgba(255, 228, 175, 0.14);
    border-radius: 12px;
  }

  .account-orders article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
  }

  .account-orders article .account-order__invoice {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .partner-product-grid,
  .product-grid,
  .related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .partner-product-card__actions .product-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .invoice-table-wrap {
    overflow: visible;
  }

  .invoice-table,
  .invoice-table thead,
  .invoice-table tbody,
  .invoice-table tfoot,
  .invoice-table tr,
  .invoice-table th,
  .invoice-table td {
    display: block;
  }

  .invoice-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .invoice-table tr {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(215, 166, 84, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
  }

  .invoice-table td {
    display: grid;
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    min-height: 40px;
    padding: 8px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .invoice-table td::before {
    color: var(--muted);
    content: "";
    font-size: 0.78rem;
    font-weight: 600;
  }

  .invoice-table td:nth-child(1)::before { content: "محصول"; }
  .invoice-table td:nth-child(2)::before { content: "عیار"; }
  .invoice-table td:nth-child(3)::before { content: "وزن"; }
  .invoice-table td:nth-child(4)::before { content: "تعداد"; }
  .invoice-table td:nth-child(5)::before { content: "قیمت طلا"; }
  .invoice-table td:nth-child(6)::before { content: "اجرت"; }
  .invoice-table td:nth-child(7)::before { content: "سود"; }
  .invoice-table td:nth-child(8)::before { content: "مالیات"; }
  .invoice-table td:nth-child(9)::before { content: "تخفیف محصول"; }
  .invoice-table td:nth-child(10)::before { content: "جمع"; }
}

@media (max-width: 520px) {
  .partner-product-grid,
  .product-grid,
  .related-products__grid {
    grid-template-columns: 1fr;
  }

  .account-orders article {
    grid-template-columns: 1fr;
  }

  .account-orders article .account-order__invoice {
    grid-column: auto;
  }

  .invoice-table td {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact the fixed header before its controls can collide. The account and
 * cart remain one tap away in the bottom bar, so the header stays readable. */
@media (max-width: 860px) {
  .header {
    grid-template-columns: minmax(48px, 1fr) auto;
    min-width: 0;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
  }

  .brand strong,
  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header__actions {
    flex: 0 0 auto;
    gap: 2px;
  }

  .header__actions .favorites-button,
  .header__actions .account-button {
    display: none;
  }

  .mobile-tabs {
    top: 128px;
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  body.admin-bar .mobile-tabs {
    top: 160px;
  }

  .mobile-tabs__item {
    scroll-snap-stop: always;
  }

  .mobile-bottom-nav__gold span {
    letter-spacing: -0.025em;
  }
}

@media (max-width: 600px) {
  .header,
  .header.is-scrolled,
  .header.header--solid,
  .home-top-strip + .luxury-topbar + .header,
  .home-top-strip + .luxury-topbar + .header.is-scrolled {
    width: calc(100% - 20px);
    height: 72px;
    padding-inline: 10px;
    border-radius: 18px;
  }

  .brand {
    width: 48px;
    min-width: 48px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span,
  .mobile-tabs {
    display: none;
  }

  .header__actions {
    gap: 0;
  }

  .mobile-bottom-nav {
    right: 6px;
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 6px;
    padding-inline: 3px;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    font-size: 0.53rem;
  }
}

/* The tablet category rail is intentionally hidden. Keep only the normal
 * banner breathing room; reserving its former height leaves a blank card
 * beneath the header. */
@media (min-width: 601px) and (max-width: 860px) {
  .site-shell > main > .hero--image-only {
    margin-top: 12px;
    background-position: center;
    background-size: contain;
    background-color: var(--green-900);
  }
}

@media (max-width: 600px) {
  .site-shell > main > .hero--image-only {
    margin-top: 38px;
  }
}

/* Keep the partner header on the same three-column layout as the public site. */
.partner-workspace .site-shell > .header {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.partner-workspace .site-shell > .header .nav {
  justify-self: start;
  gap: 34px;
  margin-inline-start: 74px;
}

.partner-workspace .site-shell > .header .header__actions {
  justify-self: end;
  gap: 14px;
}

.partner-account-card--profile {
  max-width: 880px;
}

.partner-account-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.partner-account-card__head h2 {
  margin: 5px 0 7px;
}

.partner-account-card__head p {
  margin: 0;
  color: var(--muted);
}

.partner-profile-form {
  padding-top: 22px;
  border-top: 1px solid rgba(3, 41, 18, .1);
}

.partner-profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.partner-account-nav__logout {
  color: #a1392e !important;
}

.account-content__heading--profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.account-content__heading--profile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.account-profile-status {
  padding: 7px 13px;
  border: 1px solid rgba(41, 125, 79, .3);
  border-radius: 999px;
  color: #28734a;
  font-size: .68rem;
  white-space: nowrap;
}

.account-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .account-content__heading--profile { flex-direction: column; }
  .account-form__actions .button { width: 100%; }
}

@media (max-width: 560px) {
  .partner-account-card__head { flex-direction: column; }
  .partner-profile-form__actions .button { width: 100%; }
}

/* Final banner-slider proportions for the public home page. */
.hero--image-only {
  min-height: clamp(290px, 34vw, 560px) !important;
  max-width: min(1500px, calc(100% - 32px));
  margin: 12px auto 20px;
  border-radius: 16px;
}

@media (max-width: 560px) {
  .hero--image-only {
    min-height: 230px !important;
    max-width: calc(100% - 16px);
    margin-top: 8px;
  }
}

/* Partner cards use the same static interaction model as shop cards. */
.partner-product-card {
  cursor: default !important;
}

/* Compact stock and discount badges stay on the left side of product media. */
.product-card__side-badges {
  position: absolute !important;
  z-index: 7 !important;
  top: 14px !important;
  right: auto !important;
  left: 14px !important;
  display: flex !important;
  width: auto !important;
  max-width: calc(100% - 28px);
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0 !important;
  pointer-events: none;
}

.product-card__side-badges em {
  display: inline-flex;
  width: auto;
  min-height: 27px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.product-card__stock-badge {
  background: rgba(142, 62, 52, 0.94);
}

.product-card__discount-badge {
  color: #17392f !important;
  background: linear-gradient(135deg, #ffe4a1, #d2a74e);
}

.product-card.has-side-badges .heart-button {
  top: auto !important;
  bottom: 14px !important;
}

.partner-product-card__media > .product-card__side-badges,
.product-detail__media > .product-detail__side-badges {
  position: absolute !important;
}

.product-card__price-stack,
.partner-product-card__price-stack,
.product-detail__price-stack,
.checkout-item__price {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.product-card__price-stack del,
.partner-product-card__price-stack del,
.product-detail__price-stack del,
.modal__price del,
.cart-item__price del,
.checkout-item__price del,
.invoice-table td del {
  color: rgba(247, 234, 208, 0.55);
  font-size: 0.68rem;
  text-decoration-thickness: 1.5px;
}

.product-card__price-stack p {
  margin: 0 !important;
}

.partner-product-card > .partner-product-card__price-stack {
  width: auto !important;
  margin: 3px 2px 0 !important;
}

.partner-product-card__price-stack strong {
  margin: 0 !important;
}

.product-detail__price-stack {
  align-items: flex-end;
}

.product-detail__price-stack del,
.modal__price del,
.cart-item__price del,
.checkout-item__price del,
.invoice-table td del {
  color: #9a7762;
}

.product-detail__discount-row strong,
.checkout-totals__discount strong {
  color: #8e4334 !important;
}

.product-price__discount {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #17392f;
  background: #efd188;
  font-weight: 800;
}

.cart-item__price strong,
.checkout-item__price strong,
.invoice-table td > strong {
  display: block;
}

.checkout-item__price {
  grid-column: 2;
  align-items: flex-end;
}

.checkout-item__price small {
  color: #8e4334;
  font-weight: 700;
}

.invoice-table td > del {
  display: block;
  margin-bottom: 3px;
}

.add-cart-button.is-disabled::after {
  content: "ناموجود" !important;
}

@media (max-width: 760px) {
  .product-card__side-badges {
    top: 9px !important;
    left: 9px !important;
    gap: 5px;
  }

  .product-card__side-badges em {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.57rem;
  }
}

.partner-product-card > * {
  pointer-events: auto;
}

/* Shop cards use a separate action row so the buttons do not touch the
 * card edges and the details control keeps a readable, stable width. */
.product-card > .product-card__actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 72px !important;
  gap: 8px !important;
  width: calc(100% - 16px) !important;
  margin: auto 8px 0 !important;
  padding: 8px 0 10px !important;
  align-items: stretch !important;
}

.product-card > .product-card__actions .add-cart-button,
.product-card > .product-card__actions .product-more {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
}

/* Keep partner catalog cards on the same desktop height as shop cards. */
@media (min-width: 761px) {
  .partner-product-card {
    height: 650px !important;
    min-height: 0 !important;
    gap: 3px !important;
    padding-bottom: 8px !important;
  }

  .partner-product-card > span:not(.partner-product-card__media):not(.partner-product-card__spec-badges) {
    margin-top: 4px !important;
  }

  .partner-product-card__breakdown {
    margin-bottom: 4px !important;
  }

  .partner-product-card small {
    margin-top: 2px !important;
    line-height: 1.35 !important;
  }
}

/* Compact social artwork leaves the left side of the footer free for trust
 * badges such as eNAMAD while keeping the two channels together on the right. */
.footer-social-banners {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 10px;
  direction: ltr;
}

.footer-social-banner {
  flex: 0 1 196px;
  min-height: 166px;
  width: 196px;
  overflow: visible;
}

.footer-social-banner__art,
.footer-social-banner--instagram .footer-social-banner__art,
.footer-social-banner--telegram .footer-social-banner__art {
  top: 50%;
  right: auto;
  left: 50%;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
}

.footer-social-banner__art img {
  object-position: center;
  opacity: 1;
  transition: transform .48s cubic-bezier(.2, .85, .25, 1), filter .48s ease;
  will-change: transform;
}

a.footer-social-banner:hover {
  transform: translateY(-5px);
}

a.footer-social-banner:hover .footer-social-banner__art img {
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .28));
  transform: scale(1.12) rotate(-3deg);
}

.footer-social-banner--telegram:hover .footer-social-banner__art img {
  transform: scale(1.13) rotate(4deg) translateY(-4px);
}

.footer-social-banner--instagram::before,
.footer-social-banner--instagram::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .84);
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px rgba(255, 97, 184, .42), 0 4px 10px rgba(218, 71, 184, .45);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.footer-social-banner--instagram::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.footer-social-banner--instagram:hover::before {
  opacity: 1;
  animation: rose-gold-instagram-orbit 1.65s linear infinite;
}

.footer-social-banner--instagram:hover::after {
  opacity: .9;
  animation: rose-gold-instagram-orbit-reverse 1.25s linear infinite;
}

@keyframes rose-gold-instagram-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(74px) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(74px) rotate(-360deg); }
}

@keyframes rose-gold-instagram-orbit-reverse {
  from { transform: translate(-50%, -50%) rotate(360deg) translateX(58px) rotate(-360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg) translateX(58px) rotate(0deg); }
}

@media (max-width: 760px) {
  .footer-social-banners {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
  }

  .footer-social-banner {
    flex: 1 1 0;
    min-height: 132px;
    width: auto;
    max-width: 174px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-banner__art img,
  .footer-social-banner--instagram::before,
  .footer-social-banner--instagram::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .partner-product-card {
    height: auto !important;
    min-height: 0 !important;
  }
}

.product-card__actions {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.28fr) !important;
  align-items: stretch !important;
}

.product-card__actions .product-more {
  width: 100% !important;
  min-width: 96px !important;
  padding-inline: 12px !important;
}

/* Balanced action proportions on the shop cards. */
.product-card__actions {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.28fr) !important;
  align-items: stretch !important;
}

.product-card__actions .product-more {
  width: 100% !important;
  min-width: 96px !important;
  padding-inline: 12px !important;
}

.product-card:has(> .product-card__rating--under-media) .product-card__info > div {
  padding-left: 105px;
}

.partner-product-card__rating--under-media {
  align-self: auto !important;
  margin: 8px auto 0 0 !important;
}

@media (max-width: 760px) {
  .product-card__rating--under-media,
  .partner-product-card__rating--under-media {
    margin-top: 6px !important;
    padding: 3px 7px !important;
    font-size: 0.54rem !important;
  }

  .product-card__rating--under-media {
    margin-bottom: -31px !important;
  }

  .product-card:has(> .product-card__rating--under-media) .product-card__info > div {
    padding-left: 76px;
  }

  .product-detail__thumbnails {
    right: 13px;
    bottom: 13px;
    max-width: calc(100% - 26px);
  }

  .product-detail__thumbnail {
    width: 48px;
    height: 48px;
  }

  .product-information {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 42px;
  }

  .product-information__card {
    padding: 23px 18px;
    border-radius: 16px;
  }

  .product-information__specs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-information__specs > div {
    min-height: 48px;
  }

  .product-information__copy {
    font-size: .78rem;
    line-height: 2.05;
  }
}

/* Product-detail layout based on the supplied product-page reference. */
.product-page {
  padding-top: 118px;
  background: #f7f4ee;
}

.product-detail {
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 14px 40px rgba(3, 37, 34, .08);
}

.product-detail--no-gallery {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.product-detail__media {
  min-height: 0;
  height: clamp(380px, 40vw, 480px);
  border: 1px solid rgba(7, 56, 52, .16);
  border-radius: 16px;
  background: var(--green-900);
}

.product-detail__media::before,
.product-detail__media::after {
  display: none;
}

.product-detail__media img,
.product-detail__media .product-detail__main-image {
  min-height: 0;
  object-fit: contain;
  padding: clamp(22px, 4vw, 46px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .24));
}

.product-detail__badge {
  top: 15px;
  right: 15px;
  left: auto;
  padding: 6px 14px;
  border-color: var(--gold-300);
  background: var(--green-900);
  font-weight: 700;
}

.product-detail__content {
  justify-content: flex-start;
  gap: 0;
  padding: 4px 0;
}

.product-detail__content h1 {
  margin: 7px 0 6px;
  font-family: inherit;
  font-size: clamp(1.75rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.product-detail__description {
  margin: 0 0 18px;
  font-size: .86rem;
  line-height: 2;
}

.product-detail__sku {
  display: block;
  margin-bottom: 16px;
  color: rgba(7, 56, 52, .55);
  font-size: .7rem;
}

.product-weight-selector {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.product-weight-selector > span {
  margin-bottom: 7px;
  font-weight: 700;
}

.product-size-selector {
  margin: 0 0 18px;
}

.product-size-selector > span {
  display: block;
  margin-bottom: 7px;
  color: var(--green-900);
  font-size: .8rem;
  font-weight: 700;
}

.product-weight-selector__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-weight-selector__pill {
  min-height: 40px;
  padding: 7px 16px;
  border: 1px solid rgba(7, 56, 52, .16);
  border-radius: 8px;
  color: var(--green-900);
  background: #faf8f5;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  transition: .2s ease;
}

.product-weight-selector__pill:hover,
.product-weight-selector__pill.is-selected {
  border-color: var(--green-900);
  color: var(--gold-300);
  background: var(--green-900);
}

.product-weight-selector__native {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.product-detail__specs {
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
}

.product-detail__rate {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 13px 16px 3px;
  border: 1px solid rgba(215, 166, 84, .48);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, rgba(7, 56, 52, .04), rgba(255, 229, 176, .3));
}

.product-detail__rate::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
  content: "";
}

.product-detail__pricing {
  margin-top: 0;
  border-right: 1px solid rgba(215, 166, 84, .48);
  border-left: 1px solid rgba(215, 166, 84, .48);
  background: rgba(7, 56, 52, .1);
}

.product-detail__total {
  margin-top: 0;
  padding: 12px 16px 16px;
  border: 1px solid rgba(215, 166, 84, .48);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(135deg, rgba(7, 56, 52, .04), rgba(255, 229, 176, .3));
}

.product-detail__total span,
.product-detail__total strong {
  color: var(--green-900);
}

.product-detail__total strong {
  font-size: 1.55rem;
}

.product-detail__actions {
  grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr);
  margin-top: 17px;
}

.product-detail__actions .button,
.product-detail__favorite {
  min-height: 53px;
  border-radius: 8px;
}

.product-detail__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 56, 52, .14);
}

.product-detail__trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green-900);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.65;
}

.product-detail__trust span::first-letter {
  color: #a2742f;
}

.product-detail__thumbnails {
  right: 15px;
  bottom: 15px;
}

.product-information,
.product-reviews,
.related-products {
  width: var(--container);
}

.product-information {
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-information__card .section-heading h2 {
  color: var(--green-900);
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.5;
}

.product-reviews {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-detail__media {
    height: min(72vw, 460px);
  }
}

@media (max-width: 600px) {
  .product-page {
    padding-top: 92px;
  }

  .product-detail {
    padding: 14px;
    border-radius: 18px;
  }

  .product-detail__media {
    height: auto;
    aspect-ratio: 1 / 1.05;
  }

  .product-detail__content {
    padding: 7px 3px 4px;
  }

  .product-detail__content h1 {
    font-size: 1.65rem;
  }

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

  .product-detail__specs > div {
    min-height: 51px;
  }

  .product-detail__pricing > div {
    padding: 10px 12px;
  }

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

  .product-detail__trust {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

/* Final control alignment overrides */
.product-detail__actions .product-detail__favorite {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 185px !important;
  min-height: 53px !important;
  aspect-ratio: auto !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  transform: none !important;
}

.partner-product-card__actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px !important;
  gap: 8px !important;
  width: calc(100% - 16px);
  margin: auto 8px 0 !important;
  padding: 8px 0 0 !important;
}

.partner-product-card__actions .add-cart-button,
.partner-product-card__actions .product-more {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
}

/* Final drawer stacking: the panel owns the screen while it is open. */
.nav-backdrop {
  z-index: 134;
}

@media (max-width: 860px) {
  .nav {
    z-index: 140;
  }
}

body.is-nav-open .mobile-bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 20px));
}

/* Dropdown: آبشده و سکه */
.nav-dropdown { position: relative; }

.nav-dropdown__toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  font: inherit;
  color: var(--gold-300);
}
.nav-dropdown__toggle:hover { color: var(--ivory); }

.nav-dropdown__chevron {
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.nav-dropdown__toggle[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--green-950);
  border: 1px solid rgba(212,160,80,0.2);
  border-radius: 8px;
  min-width: 170px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transform-origin: top center;
  transform: scaleY(0.9) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 999;
}
.nav-dropdown--open .nav-dropdown__menu {
  transform: scaleY(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown__menu a {
  display: block;
  padding: 9px 18px;
  color: var(--gold-300);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.88em;
  transition: background 150ms ease, color 150ms ease;
}
.nav-dropdown__menu a:hover {
  background: rgba(212,160,80,0.1);
  color: var(--ivory);
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown__menu,
  .nav-dropdown__chevron { transition: none; }
}

/* === تراز عمودی آیتمهای منوی اصلی === */
.nav > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    vertical-align: middle;
}

/* اگر داخل «آبشده و سکه» فلش یا آیکون داری */
.nav > a.nav-external-gold svg,
.nav > a.nav-external-gold span {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    margin-top: 2px;
}

 /* ===== Social icons – horizontal, 3 breakpoints ===== */
.rose-about .contact-social-column{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:14px;
}
.rose-about .contact-social-column .contact-info{
  flex:1 1 auto;
  min-width:0;          /* جلوگیری از فشرده شدن ظرف */
}

.rose-about .social-icons-stack{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;   /* دلیل اصلی عمودی شدن */
  align-items:center;
  justify-content:flex-start;
  width:100%;
  gap:18px;
  margin-top:10px;
}

.rose-about .social-icons-stack .social-icon-btn{
  flex:0 0 auto;
  width:48px; height:48px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:12px;
  background:oklch(96% 0.01 60);
  border:1px solid oklch(88% 0.02 60);
  text-decoration:none;
  transition:background .25s ease, transform .25s ease;
}
.rose-about .social-icons-stack .social-icon-btn:hover{
  background:oklch(92% 0.03 20);
  transform:translateY(-2px);
}
.rose-about .social-icons-stack .social-icon-btn img{
  display:block; width:28px; height:28px; object-fit:contain;
}

/* تبلت */
@media (max-width:1024px){
  .rose-about .social-icons-stack{gap:14px}
  .rose-about .social-icons-stack .social-icon-btn{width:46px;height:46px}
  .rose-about .social-icons-stack .social-icon-btn img{width:26px;height:26px}
}

/* موبایل */
@media (max-width:640px){
  .rose-about .contact-social-column{flex-direction:column;gap:8px}
  .rose-about .social-icons-stack{gap:12px;justify-content:center;margin-top:8px}
  .rose-about .social-icons-stack .social-icon-btn{width:44px;height:44px}
  .rose-about .social-icons-stack .social-icon-btn img{width:24px;height:24px}
}

/* موبایل باریک */
@media (max-width:380px){
  .rose-about .social-icons-stack{gap:10px}
  .rose-about .social-icons-stack .social-icon-btn{width:40px;height:40px}
  .rose-about .social-icons-stack .social-icon-btn img{width:22px;height:22px}
}

/* دایره‌ای کردن کارت‌های دسته‌بندی فروشگاه */
.category-row__item {
    border-radius: 50% !important;
    width: 140px !important;
    height: 140px !important;
    max-width: 100% !important;
    min-height: unset !important;
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

/* گرد کردن تصویر داخل کارت */
.category-row__icon,
.category-row__icon img {
    border-radius: 50% !important;
}

/* === اصلاح چیدمان دسته‌بندی‌ها: حذف فضای خالی اطراف کارت‌ها === */
.category-row,
.category-row--partner,
.category-row--subcategories {
  display: grid !important;
  grid-template-columns: repeat(4, 140px) !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: start !important;
  gap: 24px 12px !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .category-row,
  .category-row--partner,
  .category-row--subcategories {
    grid-template-columns: repeat(3, 140px) !important;
    gap: 20px 10px !important;
  }
}

@media (max-width: 600px) {
  .category-row,
  .category-row--partner,
  .category-row--subcategories {
    grid-template-columns: repeat(2, 140px) !important;
    gap: 16px 10px !important;
  }
}

/* Category labels remain below their circular images in both the public shop
 * and the partner workspace, leaving the category artwork unobstructed. */
.category-row__item {
  width: 140px !important;
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 9px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.category-row__icon {
  display: block;
  width: 140px !important;
  height: 140px !important;
  flex: 0 0 140px;
  overflow: hidden;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.09);
}

.category-row__icon img,
.category-row__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-row__title {
  position: static !important;
  display: block !important;
  width: 100%;
  min-height: 1.7em;
  padding: 0 4px !important;
  color: var(--green-900) !important;
  background: transparent !important;
  font-size: 0.86rem !important;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
  text-shadow: none !important;
}

.partner-workspace .category-row__title {
  color: var(--gold-300) !important;
}

/* Public-store categories use a compact two-row touch carousel on phones.
 * The partner workspace deliberately keeps its own category layout. */
@media (max-width: 600px) {
  .categories > .category-row--mobile-carousel {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 104px;
    grid-auto-flow: column;
    justify-content: start !important;
    align-items: start !important;
    gap: 14px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px 14px !important;
  }

  .categories > .category-row--mobile-carousel .category-row__item {
    width: 104px !important;
    min-width: 104px !important;
    scroll-snap-align: start;
  }

  .categories > .category-row--mobile-carousel .category-row__icon {
    width: 104px !important;
    height: 104px !important;
    flex-basis: 104px;
  }

  .categories > .category-row--mobile-carousel .category-row__title {
    font-size: 0.74rem !important;
    line-height: 1.55;
  }
}

/* Catalog cards: keep the complete card interaction, while presenting the
 * product image and its key purchase information side by side at every size. */
@media (min-width: 0) {
  .product-grid > .product-card {
    display: grid !important;
    direction: ltr;
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 12px;
    align-items: start;
    min-height: 0 !important;
    padding: 12px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(15, 32, 58, 0.09) !important;
  }

  .product-grid > .product-card::before,
  .product-grid > .product-card::after {
    display: none !important;
    content: none !important;
  }

  .product-grid > .product-card > * {
    direction: rtl;
    min-width: 0;
  }

  .product-grid > .product-card .product-card__media {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    min-height: clamp(146px, 22vw, 220px);
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 13px !important;
    background: #f1eee9 !important;
    box-shadow: none !important;
  }

  .product-grid > .product-card .product-card__image-link {
    height: 100%;
  }

  .product-grid > .product-card .product-card__wash,
  .product-grid > .product-card .product-card__spec-badges,
  .product-grid > .product-card .product-card__rating--under-media {
    display: none !important;
  }

  .product-grid > .product-card .heart-button {
    top: auto !important;
    bottom: 8px !important;
    left: 8px !important;
    width: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
  }

  .product-grid > .product-card .product-card__info {
    grid-column: 2;
    grid-row: 1;
    gap: 4px !important;
    min-height: 92px;
    padding: 0 !important;
  }

  .product-grid > .product-card .product-card__info > div,
  .product-grid > .product-card:has(> .product-card__rating--under-media) .product-card__info > div {
    gap: 2px;
    padding-left: 0 !important;
  }

  .product-grid > .product-card .product-card__info span,
  .product-grid > .product-card .product-card__label {
    color: #b38b43 !important;
    font-size: 0.66rem !important;
  }

  .product-grid > .product-card .product-card__info h3 {
    color: #10254a !important;
    font-size: clamp(0.9rem, 4vw, 1.05rem) !important;
    line-height: 1.55 !important;
    text-shadow: none !important;
  }

  .product-grid > .product-card .product-card__price-stack {
    gap: 1px !important;
  }

  .product-grid > .product-card .product-card__price-stack p {
    color: #c3943c !important;
    font-size: clamp(0.82rem, 3.5vw, 0.96rem) !important;
    line-height: 1.6;
    text-shadow: none !important;
  }

  .product-grid > .product-card .product-card__price-stack del {
    color: #8f99a7 !important;
  }

  .product-grid > .product-card .product-card__status {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
  }

  .product-grid > .product-card .product-card__status .product-card__badge,
  .product-grid > .product-card .product-card__status em {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    min-height: 23px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 0.59rem !important;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-shadow: none !important;
    white-space: nowrap;
  }

  .product-grid > .product-card .product-card__status .product-card__badge {
    color: #172746 !important;
    background: #e8dbc1 !important;
  }

  .product-grid > .product-card .product-card__status .product-card__stock-badge {
    color: #8a392d !important;
    background: #f8e5e1 !important;
  }

  .product-grid > .product-card .product-card__status .product-card__discount-badge {
    color: #765513 !important;
    background: #f6e7ba !important;
  }

  .product-grid > .product-card .product-card__meta {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
    align-self: end;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #172746 !important;
    background: transparent !important;
  }

  .product-grid > .product-card .product-card__meta span {
    width: auto;
    overflow: visible;
    padding: 5px 8px !important;
    border: 0 !important;
    border-radius: 8px;
    color: #172746;
    background: #f4f0e9;
    font-size: 0.64rem;
    line-height: 1.35;
    text-overflow: clip;
  }

  .product-grid > .product-card .product-card__meta span + span {
    border-right: 0 !important;
  }

  .product-grid > .product-card .product-card__breakdown {
    grid-column: 1 / -1;
    margin-top: 10px !important;
    border-color: #eee7da !important;
    color: #172746 !important;
    background: #fbfaf8 !important;
  }

  .product-grid > .product-card .product-card__breakdown dt {
    color: #8a8071 !important;
  }

  .product-grid > .product-card .product-card__breakdown dd {
    color: #172746 !important;
  }

  .product-grid > .product-card > .product-card__actions {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr) 84px !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  .product-grid > .product-card > .product-card__actions .add-cart-button,
  .product-grid > .product-card > .product-card__actions .product-more {
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    font-size: 0.73rem !important;
  }

  .product-grid > .product-card > .product-card__actions .product-more {
    min-width: 0 !important;
    color: #172746 !important;
    border-color: #ded6c7 !important;
    background: #fff !important;
  }
}

/* Leave a clear visual gap before the specification chips on touch devices. */
@media (max-width: 1050px) {
  .product-grid > .product-card .product-card__status {
    transform: translateY(-4px);
  }

  .live-gold-price {
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
    align-items: center !important;
    margin-top: 0 !important;
    padding: 10px 14px !important;
    overflow: hidden;
    border: 1px solid rgba(237, 200, 117, 0.32) !important;
    border-radius: 12px !important;
    background:
      radial-gradient(circle at 88% 50%, rgba(237, 200, 117, 0.16), transparent 31%),
      linear-gradient(118deg, #082b29 0%, #0d3932 56%, #092620 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 244, 216, 0.19),
      inset 0 -1px 0 rgba(0, 0, 0, 0.25),
      0 9px 20px rgba(3, 41, 18, 0.16) !important;
  }

  .live-gold-price::before,
  .live-gold-price__copy p,
  .live-gold-price__meta,
  .live-gold-price__value small {
    display: none !important;
  }

  .live-gold-price::after {
    position: absolute;
    z-index: 0;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 10px;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%);
    content: "";
    pointer-events: none;
  }

  .live-gold-price__mark {
    display: grid !important;
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    width: 34px !important;
    place-items: center;
    border: 1px solid rgba(237, 200, 117, 0.28);
    background: linear-gradient(145deg, rgba(237, 200, 117, 0.21), rgba(237, 200, 117, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 244, 216, 0.18), 0 4px 10px rgba(0, 0, 0, 0.16);
  }

  .live-gold-price__mark::after {
    display: none !important;
  }

  .live-gold-price__mark svg {
    width: 19px !important;
  }

  .live-gold-price__copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .live-gold-price__copy > span {
    display: none !important;
    align-items: center;
    gap: 4px;
    color: var(--gold-300) !important;
    font-size: 0.64rem !important;
    line-height: 1.35;
  }

  .live-gold-price__copy > span::after {
    display: inline-flex;
    align-items: center;
    min-height: 16px;
    padding: 1px 6px;
    border: 1px solid rgba(102, 213, 146, 0.28);
    border-radius: 999px;
    color: #8be6b1;
    background: rgba(40, 146, 100, 0.14);
    box-shadow: inset 0 1px 0 rgba(180, 255, 211, 0.12);
    content: "● زنده";
    font-size: 0.54rem;
    line-height: 1;
  }

  .live-gold-price.is-stale .live-gold-price__copy > span::after {
    border-color: rgba(237, 200, 117, 0.3);
    color: var(--gold-300);
    background: rgba(237, 200, 117, 0.12);
    content: "● با تأخیر";
  }

  .live-gold-price.is-unavailable .live-gold-price__copy > span::after {
    border-color: rgba(218, 130, 116, 0.32);
    color: #efaa9d;
    background: rgba(170, 67, 52, 0.18);
    content: "● نامعتبر";
  }

  .live-gold-price__copy h3 {
    display: block !important;
    margin: 1px 0 0 !important;
    overflow: hidden;
    color: var(--ivory) !important;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .live-gold-price__value {
    grid-column: 3 !important;
    grid-row: 1;
    min-width: 112px !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    border-right: 0 !important;
  }

  .live-gold-price__value > div {
    gap: 6px !important;
    line-height: 1.2;
  }

  .live-gold-price__value span {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.62rem !important;
  }

  .live-gold-price__value strong {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 600px) {
  .live-gold-price__value strong {
    font-size: 1rem !important;
  }
}

/* Touch layout follows the compact live-rate bar: title, amount and a gold
 * marker on one line, while retaining the storefront's green brand color. */
@media (max-width: 1050px) {
  .live-gold-price {
    display: flex !important;
    min-height: 60px;
    align-items: center !important;
    justify-content: center;
    gap: 7px !important;
    padding: 10px 14px !important;
    direction: rtl;
    background: linear-gradient(135deg, var(--green-900), var(--green-950)) !important;
  }

  .live-gold-price::after {
    display: none !important;
  }

  .live-gold-price__copy {
    display: contents;
  }

  .live-gold-price__copy > span {
    display: none !important;
  }

  .live-gold-price__copy h3 {
    order: 1;
    margin: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    white-space: nowrap;
  }

  .live-gold-price__copy h3::after {
    color: var(--gold-300);
    content: "نرخ هر گرم طلای ۱۸ عیار :";
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: clamp(0.78rem, 2.5vw, 0.96rem);
    font-weight: 700;
    line-height: 1.4;
  }

  .live-gold-price__value {
    order: 2;
    display: block !important;
    width: auto;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .live-gold-price__value > div {
    display: inline-flex;
    align-items: baseline;
    gap: 4px !important;
    direction: rtl;
    white-space: nowrap;
  }

  .live-gold-price__value strong {
    color: var(--ivory) !important;
    font-size: clamp(0.92rem, 3.1vw, 1.14rem) !important;
    font-weight: 800;
  }

  .live-gold-price__value span {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.67rem !important;
  }

  .live-gold-price__mark {
    order: 3;
    width: 8px !important;
    height: 8px;
    min-height: 8px;
    border: 0;
    border-radius: 50%;
    background: #66d592 !important;
    box-shadow: 0 0 0 4px rgba(102, 213, 146, 0.14) !important;
    animation: rg-live-rate-pulse 1.8s ease-in-out infinite;
  }

  .live-gold-price__mark svg {
    display: none;
  }
}

@keyframes rg-live-rate-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(102, 213, 146, 0.12); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(102, 213, 146, 0); transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .live-gold-price__mark {
    animation: none !important;
  }
}

/* Display the supplied mark only in the light main-content canvas. */
.site-shell > main {
  background-color: #fff !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("images/site-main-background-logo.webp");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover, clamp(230px, 32vw, 460px) auto;
  background-attachment: fixed, fixed;
}

/* Product collections previously painted an opaque ivory layer over the main canvas. */
.site-shell > main .collection {
  background-color: transparent;
  background-image: radial-gradient(circle at 90% 10%, rgba(255, 229, 176, 0.5), transparent 26%);
}

/* Keep the fixed watermark discreet and legible around the denser tablet/mobile UI. */
@media (max-width: 1050px) {
  .site-shell > main {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
      url("images/site-main-background-logo.webp");
    background-size: cover, clamp(190px, 42vw, 340px) auto;
  }
}

@media (max-width: 600px) {
  .site-shell > main {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
      url("images/site-main-background-logo.webp");
    background-position: center, center 52%;
    background-size: cover, clamp(150px, 56vw, 240px) auto;
  }
}

/* Home popular cards: retain the compact layout with a warm luxury-gold skin. */
.home-popular .popular-card {
  border-color: rgba(181, 142, 76, .28) !important;
  background:
    linear-gradient(145deg, #fffdf9 0%, #faf4e8 56%, #f0e1c5 100%) !important;
  box-shadow:
    0 14px 30px rgba(104, 76, 33, .08),
    inset 0 1px 1px rgba(255, 255, 255, .9) !important;
}

.home-popular .popular-card:hover,
.home-popular .popular-card:focus-visible {
  box-shadow:
    0 18px 35px rgba(104, 76, 33, .13),
    0 0 22px rgba(199, 158, 83, .12),
    inset 0 1px 1px rgba(255, 255, 255, .96) !important;
}

.home-popular .popular-card__media {
  background: #f6eddd !important;
  border-left-color: rgba(137, 104, 49, .12);
}

.home-popular .popular-card__badge {
  color: #5c431d !important;
  background: linear-gradient(160deg, #f5e6c4, #d7b36d) !important;
}

.home-popular .popular-card__category,
.home-popular .popular-card__meta {
  color: rgba(93, 75, 43, .7) !important;
}

.home-popular .popular-card__body strong {
  color: #47371e !important;
  text-shadow: none !important;
}

.home-popular .popular-card__body b {
  color: #9d762f !important;
}

/* Footer social cards: the QR area is intentionally blank until an image is
 * supplied from Store Settings in the WordPress admin. */
.footer-social-banners {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-bottom: 28px;
}

.footer-social-banner {
  position: relative;
  display: flex;
  min-height: 152px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  color: #fff;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}

a.footer-social-banner:hover {
  color: #fff;
  transform: translateY(-4px);
}

.footer-social-banner--instagram {
  background: linear-gradient(115deg, #3e465d 0%, #5b415e 50%, #9b3e79 100%);
  box-shadow: 0 16px 34px rgba(31, 20, 37, .25);
}

.footer-social-banner--telegram {
  background: linear-gradient(115deg, #157dbd 0%, #2ea8ee 56%, #7dd5ff 100%);
  box-shadow: 0 16px 34px rgba(11, 91, 145, .25);
}

.footer-social-banner__glow {
  position: absolute;
  z-index: -1;
  top: -70px;
  left: 22%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  filter: blur(2px);
}

.footer-social-banner__icon {
  position: absolute;
  right: 34px;
  width: 98px;
  height: 98px;
  color: rgba(255, 255, 255, .96);
  filter: drop-shadow(0 13px 13px rgba(0, 0, 0, .19));
}

.footer-social-banner--instagram .footer-social-banner__icon {
  color: #ffdb4f;
}

.footer-social-banner__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.footer-social-banner__label {
  margin-right: 156px;
  font-family: "Noto Naskh Arabic", Tahoma, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  text-shadow: 0 2px 9px rgba(0, 0, 0, .22);
}

.footer-social-banner__qr {
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, .72);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, .96);
  background-image: radial-gradient(rgba(39, 53, 80, .18) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .15);
  transform: translateY(-50%);
}

.footer-social-banner__qr.has-image {
  border-style: solid;
  background: #fff;
}

.footer-social-banner__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Contact details have been moved from the About page into the shared footer. */
.rgab-about-page > .contact {
  display: none;
}

.footer-contact-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  width: 100%;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 229, 176, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.footer-contact-panel__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
}

.footer-contact-panel__eyebrow {
  color: var(--gold-300);
  font-size: .75rem;
  font-weight: 700;
}

.footer-contact-panel__address {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
  line-height: 2;
}

.footer-contact-panel__actions {
  display: grid;
  gap: 9px;
}

.footer-contact-panel__actions a {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 203, 117, .28);
  border-radius: 9px;
  background: rgba(0, 0, 0, .18);
  color: #f6dc9c;
  font-size: .75rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.footer-contact-panel__actions a:hover {
  background: rgba(242, 203, 117, .16);
  color: #fff3d1;
}

.footer-contact-panel__map {
  min-height: 230px;
  overflow: hidden;
  border-radius: 13px;
  background: #dce5df;
}

.footer-contact-panel__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
}

.rgab-about-page .about-contact-showcase {
  padding: 64px max(24px, calc((100vw - 1100px) / 2));
  background: var(--rgab-green-950);
  border-top: 1px solid var(--rgab-border);
}

.rgab-about-page .about-contact-showcase .footer-contact-panel {
  margin-bottom: 24px;
}

/* Real 3D artwork replaces the earlier flat icon treatment. */
.footer-social-banners {
  direction: ltr;
}

.footer-social-banner {
  min-height: 178px;
}

.footer-social-banner--instagram {
  border-color: rgba(236, 128, 202, .16);
  background: linear-gradient(90deg, transparent 0%, rgba(85, 89, 104, .10) 22%, rgba(85, 89, 104, .5) 59%, rgba(118, 46, 100, .82) 100%);
}

.footer-social-banner--telegram {
  border-color: rgba(103, 202, 255, .18);
  background: linear-gradient(90deg, transparent 0%, rgba(28, 114, 170, .10) 22%, rgba(35, 143, 209, .46) 59%, rgba(38, 151, 223, .86) 100%);
}

.footer-social-banner__glow,
.footer-social-banner__icon {
  display: none;
}

.footer-social-banner__art {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.footer-social-banner__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: .96;
}

.footer-social-banner--instagram .footer-social-banner__art img {
  object-position: 58% center;
}

.footer-social-banner--telegram .footer-social-banner__art img {
  object-position: 62% center;
}

/* Let the surrounding footer/showcase be the actual banner background, so the
 * rendered apps read as free-floating 3D objects instead of boxed cards. */
.footer-social-banner,
.footer-social-banner--instagram,
.footer-social-banner--telegram {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-social-banner__art {
  width: 70%;
}

.footer-social-banner--instagram .footer-social-banner__art {
  right: 0;
}

.footer-social-banner--telegram .footer-social-banner__art {
  right: 18%;
}

.footer-social-banner__art {
  -webkit-mask-image: radial-gradient(ellipse 70% 78% at 58% 50%, #000 48%, transparent 84%);
  mask-image: radial-gradient(ellipse 70% 78% at 58% 50%, #000 48%, transparent 84%);
}

/* Keep QR codes on the outer edges instead of next to one another. */
.footer-social-banner--instagram .footer-social-banner__qr {
  right: auto;
  left: 18px;
}

.footer-social-banner--telegram .footer-social-banner__qr {
  right: 18px;
  left: auto;
}

.footer-social-banner__label {
  position: absolute;
}

.footer-social-banner--instagram .footer-social-banner__qr {
  right: 18px;
  left: auto;
}

.footer-social-banner--telegram .footer-social-banner__qr {
  right: auto;
  left: 18px;
}

@media (max-width: 760px) {
  .footer-contact-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .footer-contact-panel__map,
  .footer-contact-panel__map iframe {
    min-height: 190px;
  }

  .footer-social-banners {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .footer-social-banner {
    min-height: 132px;
  }

  .footer-social-banner__icon {
    right: 24px;
    width: 78px;
    height: 78px;
  }

  .footer-social-banner__label {
    margin-right: 122px;
    font-size: 1.1rem;
  }

  .footer-social-banner__qr {
    left: 15px;
    width: 88px;
    height: 88px;
  }

  .footer-social-banner--instagram .footer-social-banner__qr {
    right: auto;
    left: 14px;
  }

  .footer-social-banner--telegram .footer-social-banner__qr {
    right: 14px;
    left: auto;
  }
}

/* Keep the two QR slots at the outside edges on desktop; these declarations
 * intentionally come last because the original banner rules are directional. */
@media (min-width: 761px) {
  .footer-social-banner--instagram .footer-social-banner__qr {
    right: auto !important;
    left: 18px !important;
  }

  .footer-social-banner--telegram .footer-social-banner__qr {
    right: 18px !important;
    left: auto !important;
  }
}

@media (max-width: 760px) {
  .home-latest-guides__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-latest-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-latest-guides {
    padding-top: 8px;
    padding-bottom: 42px;
  }

  .home-latest-guides__grid {
    grid-template-columns: 1fr;
  }

  .home-latest-guide-card__body {
    min-height: 0;
  }
}

/* Final footer-social layout override: keep both 3D links compact and grouped
 * at the right edge; the remaining left space is intentionally free. */
.footer-social-banners {
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: flex-end !important;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.footer-social-banner {
  flex: 0 0 196px;
  width: 196px;
  min-height: 166px;
}

.footer-social-banner__art,
.footer-social-banner--instagram .footer-social-banner__art,
.footer-social-banner--telegram .footer-social-banner__art {
  top: 50%;
  right: auto;
  left: 50%;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
}

.footer-social-banner__art img {
  object-position: center;
  opacity: 1;
  transition: transform .48s cubic-bezier(.2, .85, .25, 1), filter .48s ease;
  will-change: transform;
}

a.footer-social-banner:hover {
  transform: translateY(-5px);
}

a.footer-social-banner:hover .footer-social-banner__art img {
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .28));
  transform: scale(1.12) rotate(-3deg);
}

.footer-social-banner--telegram:hover .footer-social-banner__art img {
  transform: scale(1.13) rotate(4deg) translateY(-4px);
}

@media (max-width: 760px) {
  .footer-social-banners {
    gap: 4px;
  }

  .footer-social-banner {
    flex: 1 1 0;
    width: auto;
    max-width: 174px;
    min-height: 132px;
  }
}

/* Instagram uses the supplied six-satellite 3D cluster rather than a single
 * static artwork.  The original hover scatter is retained at footer scale. */
.footer-social-banner--instagram {
  flex-basis: 230px;
  min-height: 220px;
  overflow: visible;
}

.footer-social-banner--instagram::before,
.footer-social-banner--instagram::after {
  display: none !important;
}

.rg-insta-cluster {
  position: relative;
  display: block;
  width: 220px;
  height: 220px;
  perspective: 1200px;
}

.rg-insta-cluster__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, .5) 0%, rgba(225, 48, 108, .3) 50%, transparent 75%);
  filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .6s cubic-bezier(.2, .9, .3, 1), height .6s cubic-bezier(.2, .9, .3, 1), filter .6s ease, background .6s ease, opacity .35s ease;
}

.rg-insta-cluster__body {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .85, .3, 1);
}

.rg-insta-cluster__main,
.rg-insta-cluster__sat {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.rg-insta-cluster__main {
  z-index: 20;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px !important;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6));
  transform: translateZ(50px) rotate(-2deg);
  transition: transform .6s cubic-bezier(.18, .9, .3, 1.25), filter .6s ease;
  animation: rg-insta-float-main 4s ease-in-out infinite alternate;
}

.rg-insta-cluster__sat {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
  transition: transform .7s cubic-bezier(.2, .9, .3, 1.3), filter .5s ease;
}

.rg-insta-cluster__sat--1 { width: 54px; height: 54px; margin: -86px 0 0 -76px !important; transform: translateZ(25px) rotate(-10deg); animation: rg-insta-drift-1 4.5s ease-in-out infinite alternate; }
.rg-insta-cluster__sat--2 { width: 52px; height: 52px; margin: -82px 0 0 34px !important; transform: translateZ(35px) rotate(12deg); animation: rg-insta-drift-2 4.1s ease-in-out infinite alternate; }
.rg-insta-cluster__sat--3 { width: 30px; height: 30px; margin: -24px 0 0 -98px !important; transform: translateZ(10px) rotate(-16deg); animation: rg-insta-drift-3 3.8s ease-in-out infinite alternate; }
.rg-insta-cluster__sat--4 { width: 48px; height: 48px; margin: 38px 0 0 -80px !important; transform: translateZ(20px) rotate(10deg); animation: rg-insta-drift-4 4.8s ease-in-out infinite alternate; }
.rg-insta-cluster__sat--5 { width: 28px; height: 28px; margin: 70px 0 0 -3px !important; transform: translateZ(-5px) rotate(-12deg); animation: rg-insta-drift-5 4.3s ease-in-out infinite alternate; }
.rg-insta-cluster__sat--6 { width: 52px; height: 52px; margin: 42px 0 0 34px !important; transform: translateZ(30px) rotate(8deg); animation: rg-insta-drift-6 4.6s ease-in-out infinite alternate; }

.footer-social-banner--instagram:hover .rg-insta-cluster__glow {
  width: 190px;
  height: 190px;
  filter: blur(34px);
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 220, 60, .75) 0%, rgba(255, 65, 140, .5) 50%, transparent 80%);
}

.footer-social-banner--instagram:hover .rg-insta-cluster__body { transform: rotateY(-8deg) rotateX(6deg); }
.footer-social-banner--instagram:hover .rg-insta-cluster__main { transform: translateZ(95px) scale(1.12) rotateY(-6deg); filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(255, 215, 0, .55)); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--1 { transform: translate3d(-18px, -18px, 60px) rotate(-22deg) scale(1.15); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--2 { transform: translate3d(20px, -18px, 75px) rotate(24deg) scale(1.18); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--3 { transform: translate3d(-22px, 0, 40px) rotate(-28deg) scale(1.22); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--4 { transform: translate3d(-20px, 19px, 50px) rotate(22deg) scale(1.16); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--5 { transform: translate3d(2px, 24px, 25px) rotate(-25deg) scale(1.25); }
.footer-social-banner--instagram:hover .rg-insta-cluster__sat--6 { transform: translate3d(22px, 20px, 70px) rotate(20deg) scale(1.18); }

@keyframes rg-insta-float-main { from { transform: translateZ(50px) translateY(0) rotate(-2deg); } to { transform: translateZ(50px) translateY(-7px) rotate(-1deg); } }
@keyframes rg-insta-drift-1 { from { transform: translateZ(25px) rotate(-10deg); } to { transform: translateZ(25px) rotate(-6deg) translate(-3px, -5px); } }
@keyframes rg-insta-drift-2 { from { transform: translateZ(35px) rotate(12deg); } to { transform: translateZ(35px) rotate(16deg) translate(4px, 6px); } }
@keyframes rg-insta-drift-3 { from { transform: translateZ(10px) rotate(-16deg); } to { transform: translateZ(10px) rotate(-11deg) translateY(-4px); } }
@keyframes rg-insta-drift-4 { from { transform: translateZ(20px) rotate(10deg); } to { transform: translateZ(20px) rotate(6deg) translate(-3px, 5px); } }
@keyframes rg-insta-drift-5 { from { transform: translateZ(-5px) rotate(-12deg); } to { transform: translateZ(-5px) rotate(-7deg) translateY(4px); } }
@keyframes rg-insta-drift-6 { from { transform: translateZ(30px) rotate(8deg); } to { transform: translateZ(30px) rotate(13deg) translate(3px, -5px); } }

@media (max-width: 760px) {
  .footer-social-banner--instagram {
    flex-basis: auto;
    min-height: 132px;
  }

  .rg-insta-cluster {
    transform: scale(.68);
    transform-origin: center;
  }
}

/* Responsive polish for the public home and About pages. */
@media (min-width: 761px) and (max-width: 1024px) {
  .rgab-about-page .about-contact-showcase {
    padding: 42px 28px calc(96px + env(safe-area-inset-bottom));
  }

  .footer-contact-panel {
    grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
    gap: 16px;
    padding: 18px;
  }

  .footer-social-banners {
    margin-bottom: 14px;
  }

  .home-editorial-banners {
    grid-template-rows: repeat(2, minmax(185px, 1fr));
    gap: 12px;
  }

  .home-latest-guides__grid,
  .home-trust__grid {
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .rgab-about-page .about-contact-showcase {
    padding: 28px 16px calc(94px + env(safe-area-inset-bottom));
  }

  .rgab-about-page .about-contact-showcase .footer-contact-panel,
  .footer-contact-panel {
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 15px;
  }

  .footer-contact-panel__details {
    align-items: stretch;
    padding: 4px 2px 0;
    text-align: center;
  }

  .footer-contact-panel__address {
    margin: 7px 0 12px;
    font-size: .78rem;
    line-height: 1.8;
  }

  .footer-contact-panel__actions {
    gap: 7px;
  }

  .footer-contact-panel__actions a {
    min-height: 42px;
    font-size: .78rem;
  }

  .footer-contact-panel__map,
  .footer-contact-panel__map iframe {
    min-height: 208px;
  }

  .footer-social-banners {
    gap: 8px;
    margin: 2px 0 0;
    padding: 4px 0;
  }

  .footer-social-banner {
    min-height: 146px;
  }

  .footer-social-banner--telegram {
    overflow: visible;
  }

  .footer-social-banner--telegram .footer-social-banner__art {
    width: 118%;
    height: 118%;
  }

  .home-editorial-banners {
    width: calc(100% - 32px);
    gap: 12px;
    margin: 14px auto 28px;
  }

  .home-editorial-banner,
  .home-editorial-banner--tall {
    min-height: 210px;
  }

  .home-editorial-banner--tall {
    min-height: 270px;
  }

  .home-editorial-banner__content {
    width: min(68%, 300px);
    padding: 20px;
  }

  .home-latest-guides {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-latest-guides__grid,
  .home-popular__grid {
    gap: 12px;
  }
}

@page {
  size: A4 portrait;
  margin: 9mm;
}

@media print {
  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .invoice-page {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .invoice-sheet {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .invoice-header,
  .invoice-rate {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .invoice-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .invoice-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .invoice-shipping,
  .invoice-grand-total {
    width: auto !important;
    min-width: 0 !important;
  }

  .invoice-table-wrap {
    width: 100% !important;
    overflow: visible !important;
  }

  .invoice-table,
  .invoice-table thead,
  .invoice-table tbody,
  .invoice-table tfoot,
  .invoice-table tr {
    display: table !important;
    width: 100% !important;
  }

  .invoice-table {
    table-layout: fixed !important;
    min-width: 0 !important;
    font-size: 7pt !important;
  }

  .invoice-table thead {
    display: table-header-group !important;
  }

  .invoice-table tbody {
    display: table-row-group !important;
  }

  .invoice-table tfoot {
    display: table-footer-group !important;
  }

  .invoice-table tr {
    display: table-row !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .invoice-table th,
  .invoice-table td {
    display: table-cell !important;
    min-width: 0 !important;
    padding: 4px 3px !important;
    font-size: 6.4pt !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .invoice-table td::before {
    content: none !important;
    display: none !important;
  }

  .invoice-table th:first-child,
  .invoice-table td:first-child {
    width: 20% !important;
    min-width: 0 !important;
  }

  .invoice-table td:first-child strong {
    font-size: 7pt !important;
  }

  .invoice-table td:first-child small,
  .invoice-table td small,
  .invoice-table td del {
    font-size: 5.8pt !important;
  }
}

@media screen and (max-width: 760px) {
  .invoice-table-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border: 1px solid rgba(3, 41, 18, 0.18);
    border-radius: 12px;
  }

  .invoice-table {
    display: table !important;
    width: 100% !important;
    min-width: 900px !important;
    table-layout: auto !important;
  }

  .invoice-table thead {
    display: table-header-group !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
  }

  .invoice-table tbody {
    display: table-row-group !important;
  }

  .invoice-table tfoot {
    display: table-footer-group !important;
  }

  .invoice-table tr {
    display: table-row !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .invoice-table th,
  .invoice-table td {
    display: table-cell !important;
    min-height: 0 !important;
    padding: 8px 6px !important;
    border: 1px solid rgba(3, 41, 18, 0.35) !important;
    font-size: 0.66rem !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }

  .invoice-table td::before {
    content: none !important;
    display: none !important;
  }

  .invoice-table th:first-child,
  .invoice-table td:first-child {
    min-width: 190px !important;
  }
}

@media (hover: hover), (any-hover: hover) {
  .product-card__media,
  .partner-product-card__media {
    overflow: hidden;
  }

  .product-card__image-link .rg-responsive-picture,
  .partner-product-card__media .rg-responsive-picture {
    display: block;
    transform: scale(1);
    transform-origin: center;
    transition: transform 420ms var(--ease);
    will-change: transform;
  }

  .product-card.has-secondary-image:hover .product-card__image-link .rg-responsive-picture:has(.product-card__image--secondary),
  .partner-product-card.has-secondary-image:hover .partner-product-card__media .rg-responsive-picture:has(.product-card__image--secondary) {
    transform: scale(1.1) !important;
  }

  .product-card:not(.has-secondary-image):hover .product-card__image-link .rg-responsive-picture:has(.product-card__image--primary),
  .partner-product-card:not(.has-secondary-image):hover .partner-product-card__media .rg-responsive-picture:has(.product-card__image--primary) {
    transform: scale(1.1) !important;
  }

  .product-card:not(.has-secondary-image):hover .product-card__image-link .product-card__image--primary,
  .partner-product-card:not(.has-secondary-image):hover .partner-product-card__media .product-card__image--primary {
    opacity: 1 !important;
  }

  .product-card:not(.has-secondary-image):hover .product-card__image-link .product-card__image--secondary,
  .partner-product-card:not(.has-secondary-image):hover .partner-product-card__media .product-card__image--secondary {
    opacity: 0 !important;
  }

  .product-card.has-secondary-image:hover .product-card__image-link .product-card__image--primary,
  .partner-product-card.has-secondary-image:hover .partner-product-card__media .product-card__image--primary {
    opacity: 0 !important;
  }

  .product-card.has-secondary-image:hover .product-card__image-link .product-card__image--secondary,
  .partner-product-card.has-secondary-image:hover .partner-product-card__media .product-card__image--secondary {
    opacity: 1 !important;
  }
}
