/* Fonts load from link tags in each page so CSS is not blocked on a Google Fonts import. */

:root {
  --navy: #0a1228;
  --navy-deep: #050810;
  --navy-mid: #141e38;
  --gold: #d4af37;
  --gold-light: #f0d878;
  --gold-bright: #ffe9a0;
  --gold-dim: #8a6f1f;
  --amber: #c4842d;
  --sand: #e0d2b8;
  --sand-soft: #f4ebd8;
  --ink: #f7f1e6;
  --muted: #9a917f;
  --line: rgba(212, 175, 55, 0.38);
  --glow: rgba(212, 175, 55, 0.45);
  --radius: 1.25rem;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-arabic: "Noto Naskh Arabic", "Noto Naskh Arabic", serif;
  --marble: url("../img/brand/marble.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(196, 132, 45, 0.06), transparent 50%),
    var(--navy-deep);
}

::selection {
  background: rgba(212, 175, 55, 0.4);
  color: #fff;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }
button { font-family: inherit; }

.wrap { width: min(1152px, calc(100% - 2rem)); margin: 0 auto; }
.page-shell { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.page-shell > main { flex: 1; position: relative; z-index: 1; }

/* Sticky bar must be on [data-header] (parent), not only .site-header */
[data-header] {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-top: env(safe-area-inset-top, 0);
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background: var(--marble) center/cover;
  mask-image: linear-gradient(180deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 10%, black 90%, transparent);
}

.font-display { font-family: var(--font-display); }
.font-arabic { font-family: var(--font-arabic); }

.text-gold-shine {
  background: linear-gradient(
    115deg,
    #8a6f1f 0%,
    #f0d878 28%,
    #d4af37 48%,
    #fff3c4 52%,
    #d4af37 62%,
    #f0d878 82%,
    #8a6f1f 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineShift 8s ease-in-out infinite;
}

@keyframes shineShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.gold-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.15),
    var(--gold-light),
    rgba(212, 175, 55, 0.15),
    transparent
  );
}

.ornament {
  display: block;
  margin-inline: auto;
  color: var(--gold);
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
}

/* —— Header —— */
.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.97), rgba(10, 18, 40, 0.92)),
    var(--marble) top/cover;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 0;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-link > span {
  min-width: 0;
}

.brand-link .brand-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
}

.brand-ar {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  line-height: 1;
}

.brand-en {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  position: relative;
  color: var(--sand);
  text-decoration: none !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: translateX(-50%);
  transition: width 0.35s ease;
  box-shadow: 0 0 8px var(--glow);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(180deg, #f0d878, #d4af37);
  color: var(--navy);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  background: linear-gradient(145deg, #e07a3a 0%, #c45c26 55%, #9a3f14 100%);
  color: #fff8f0 !important;
  border: 1px solid rgba(255, 210, 170, 0.45);
  box-shadow:
    0 0 18px rgba(196, 92, 38, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.25);
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.cart-btn:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 26px rgba(224, 122, 58, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.cart-btn--active {
  background: linear-gradient(145deg, #f0a060 0%, #e07a3a 50%, #c45c26 100%);
  box-shadow: 0 0 28px rgba(224, 122, 58, 0.55);
}

.cart-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.cart-count {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #0a1228;
  color: #f0d878;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  box-shadow: 0 0 0 2px #c45c26;
}

.mobile-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.15rem 0 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.mobile-nav .nav-link {
  flex: 1 1 0;
  text-align: center;
  padding: 0.35rem 0.25rem;
  font-size: 0.68rem;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .mobile-nav { display: none; }
  .site-header .inner { padding: 0.9rem 0; gap: 1rem; }
  .header-actions { gap: 0.75rem; }
}

/* —— Buttons —— */
.btn-gold,
button.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #f0d878 0%, #d4af37 42%, #a8861c 100%);
  color: #0a1228 !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  border: 1px solid rgba(255, 243, 196, 0.45);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 0 36px rgba(240, 216, 120, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.3);
}

.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-light) !important;
  text-decoration: none !important;
  letter-spacing: 0.06em;
  background: rgba(10, 18, 40, 0.35);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: #fff !important;
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.25);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0c1224 url("../img/brand/hero-lcp.jpg") center 35% / cover no-repeat;
  background-image: image-set(
    url("../img/brand/hero-lcp.webp") type("image/webp"),
    url("../img/brand/hero-lcp.jpg") type("image/jpeg")
  );
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.45), rgba(5, 8, 16, 0.28) 40%, var(--navy-deep)),
    rgba(5, 8, 16, 0.28);
}

.hero-glow-ring {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240, 216, 120, 0.22) 0%,
    rgba(212, 175, 55, 0.08) 35%,
    transparent 68%
  );
  filter: blur(8px);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 44rem;
  padding: 6rem 1rem 4rem;
}

.hero-fade {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFade 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-fade .brand-mark {
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 28px rgba(240, 216, 120, 0.55));
}

.hero-fade .ornament {
  margin: 1.75rem 0;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-ar {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  margin: 0;
}

.hero-brand {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--sand-soft);
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--sand);
  line-height: 1.65;
  font-size: 1.05rem;
}

h1.hero-headline {
  font-weight: 500;
}

.seo-faq {
  display: grid;
  gap: 0.75rem;
}

.seo-faq__item {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(8, 14, 32, 0.45);
  padding: 0.85rem 1rem;
}

.seo-faq__item summary {
  cursor: pointer;
  color: var(--gold-light);
  font-weight: 600;
}

.seo-faq__item p {
  margin: 0.7rem 0 0;
  color: var(--sand);
  line-height: 1.6;
}

.guide-prose h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.45rem;
}

.guide-prose p,
.guide-prose li {
  color: var(--sand);
  line-height: 1.65;
}

.guide-prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* —— Sections —— */
.section { padding: 5rem 0; position: relative; }
.section-fade { animation: sectionFade 0.9s ease both; }

@keyframes sectionFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
}
.section-head .ornament { margin-top: 1.25rem; }

.trust-strip {
  border-block: 1px solid rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.06), transparent),
    linear-gradient(180deg, rgba(10, 18, 40, 0.95), rgba(5, 8, 16, 0.98));
}

.trust-grid {
  display: grid;
  gap: 2rem;
  padding: 2.75rem 0;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-grid p {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--sand);
}

.how-section {
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  padding: 5rem 0;
  overflow: hidden;
}

.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: var(--marble) center/cover;
}

.how-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.88);
}

.how-section .wrap { position: relative; z-index: 1; }

.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step-tile {
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(20, 30, 56, 0.75), rgba(5, 8, 16, 0.88)),
    var(--marble) center/cover;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.step-tile:hover {
  border-color: rgba(240, 216, 120, 0.55);
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.18);
  transform: translateY(-4px);
}

.step-tile .n {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.step-tile h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.step-tile p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* —— Cards —— */
.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .grid-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.perfume-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(180deg, rgba(20, 30, 56, 0.88), rgba(5, 8, 16, 0.96)),
    var(--marble) center/cover;
  overflow: hidden;
  color: inherit;
  transition: border-color 0.35s ease, transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow:
    0 0 0 1px rgba(240, 216, 120, 0.05) inset,
    0 14px 36px rgba(0, 0, 0, 0.35);
}

.perfume-card .card-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
  flex: 1;
}

.perfume-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0);
  transition: box-shadow 0.4s ease;
}

.perfume-card:hover {
  border-color: rgba(240, 216, 120, 0.75);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(240, 216, 120, 0.15) inset,
    0 0 40px rgba(212, 175, 55, 0.22),
    0 22px 48px rgba(0, 0, 0, 0.45);
}

.perfume-card:hover::after {
  box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.12);
}

.perfume-card .card-media-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 30, 56, 0.45), rgba(5, 8, 16, 0.75)),
    var(--marble) center/cover;
}

.perfume-card .card-media-wrap picture {
  position: absolute;
  inset: 0;
  display: block;
}

.perfume-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.55rem;
  transition: transform 0.7s ease;
  box-sizing: border-box;
}

.perfume-card:hover .card-media {
  transform: scale(1.03);
}

.perfume-card .card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 16, 0.95));
  pointer-events: none;
}

.perfume-card .card-frame {
  position: absolute;
  inset: 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(240, 216, 120, 0.18);
  pointer-events: none;
}

.perfume-card .card-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1rem 1.15rem;
  z-index: 1;
}

.perfume-card .family {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.perfume-card h3 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.perfume-card .price {
  margin-top: 0.35rem;
  color: var(--gold-light);
  font-weight: 600;
}

.perfume-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(5, 8, 16, 0.8);
  color: var(--sand);
  backdrop-filter: blur(6px);
}

.perfume-card .badge--hot {
  background: linear-gradient(90deg, #f0d878, #d4af37);
  color: var(--navy);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
}

.perfume-card .badge--stock {
  background: rgba(10, 18, 40, 0.72);
  color: var(--gold-light);
  border: 1px solid rgba(240, 216, 120, 0.35);
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.card-meta-row .stock-line {
  font-size: 0.72rem;
  color: var(--muted);
}

.card-body {
  padding-bottom: 0.35rem !important;
}

.card-actions {
  padding: 0.65rem 0.75rem 0.85rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.card-add {
  width: 100%;
  padding: 0.55rem 0.75rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* PDP */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none !important;
}
.back-link:hover { color: var(--gold-light); }

.pdp { margin-top: 0.5rem; gap: 2.5rem; }
.pdp-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.pdp-title {
  margin: 0.4rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
}
.pdp-rating { margin: 0.6rem 0 0; color: var(--sand); font-size: 0.92rem; }
.pdp-rating .stars, .stars { color: var(--gold-light); }
.pdp-ornament { margin: 1.1rem 0; }
.pdp-ornament .ornament { margin-inline: 0; }

.pdp-specs { margin: 0; }
.pdp-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.95rem;
}
.pdp-specs dt { color: var(--muted); }
.pdp-specs dd { margin: 0; }
.pdp-specs .price-dd {
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 600;
}
.pdp-specs .price-dd span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.pdp-desc {
  margin: 1.4rem 0 0;
  color: var(--sand);
  line-height: 1.7;
}
.pdp-cta { margin-top: 1.75rem; }
.pdp-contact { margin-top: 2rem; }
.pdp-contact h2 { margin: 0 0 0.5rem; font-size: 1.6rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.pdp-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 420px);
  max-height: min(78vh, 640px);
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    linear-gradient(180deg, rgba(20, 30, 56, 0.35), rgba(5, 8, 16, 0.5)),
    var(--marble) center/cover;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.12);
  cursor: zoom-in;
}
.pdp-main picture {
  display: contents;
}
.pdp-main img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 600px);
  object-fit: contain;
  object-position: center;
  display: block;
}
.pdp-frame {
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(240, 216, 120, 0.22);
  pointer-events: none;
}
.pdp-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.pdp-thumb {
  position: relative;
  width: 4rem;
  height: 5rem;
  padding: 0.2rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  opacity: 0.72;
  cursor: pointer;
  background: rgba(10, 18, 40, 0.85);
  flex-shrink: 0;
}
.pdp-thumb.is-active {
  border-color: var(--gold-light);
  opacity: 1;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Fullscreen image lightbox */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.img-lightbox[hidden] {
  display: none !important;
}
.img-lightbox__inner {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  cursor: default;
  line-height: 0;
}
.img-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #0a1228;
}
.img-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(10, 18, 40, 0.95);
  color: var(--gold-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.img-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(10, 18, 40, 0.92);
  color: var(--gold-light);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.img-lightbox__nav--prev {
  left: max(0.75rem, env(safe-area-inset-left));
}
.img-lightbox__nav--next {
  right: max(0.75rem, env(safe-area-inset-right));
}
.img-lightbox__nav[hidden] {
  display: none !important;
}
.img-lightbox__close:focus-visible,
.img-lightbox__nav:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .pdp-main {
    min-height: 280px;
    max-height: min(70vh, 520px);
    padding: 0.5rem;
  }
  .pdp-main img {
    max-height: min(62vh, 460px);
  }
  .img-lightbox {
    padding: 0.5rem 3.25rem;
  }
  .img-lightbox__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
  .img-lightbox__nav--prev { left: 0.35rem; }
  .img-lightbox__nav--next { right: 0.35rem; }
}

.scent-block { margin-top: 2rem; }
.scent-block h2 { margin: 0 0 1rem; font-size: 1.6rem; }
.scent-layers { display: grid; gap: 0.9rem; }
.scent-layer {
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(10, 18, 40, 0.55);
  padding: 1rem;
}
.scent-layer__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.scent-num {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0d878, #d4af37);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}
.scent-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.note-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.note-chip {
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.3rem 0.75rem;
  font-size: 0.88rem;
  color: var(--sand);
}

.reviews-block { margin-top: 3rem; }
.reviews-block h2 { margin: 0; font-size: 1.8rem; }
.review-card p { margin: 0.45rem 0 0; color: var(--sand); }

.admin-images {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.admin-image-item {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(5, 8, 16, 0.55);
}
.admin-image-item.is-main {
  border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.admin-image-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.admin-image-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
}
.admin-image-actions .btn-ghost {
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
}

/* —— Panels / forms —— */
.panel,
.contact-panel {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(10, 18, 40, 0.8), rgba(5, 8, 16, 0.92)),
    var(--marble) center/cover;
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.contact-link {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.contact-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.map-section {
  margin-top: 0.5rem;
}

.map-section--compact .section-head {
  margin-bottom: 1rem;
}

.map-embed {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 18, 40, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: min(52vh, 420px);
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.map-section--compact .map-embed iframe {
  height: min(42vh, 340px);
}

.filters { display: grid; gap: 0.85rem; margin-bottom: 1.75rem; }
.filters-row { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: end; }

.filter-tab {
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--sand);
  background: rgba(10, 18, 40, 0.45);
}

.filter-tab[data-active="true"] {
  background: linear-gradient(145deg, #f0d878, #d4af37);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.filter-tab[data-active="false"]:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

.admin-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.slug-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.admin-input,
textarea.admin-input,
.filters select,
.filters input,
select.admin-input {
  width: 100%;
  background: rgba(15, 22, 44, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 0.75rem;
  color: var(--ink);
  padding: 0.75rem 1rem;
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color-scheme: dark;
}

/* Native dropdown list — dark bg so light text stays readable */
select.admin-input option,
.filters select option,
.phone-field__country option {
  background-color: #0f162c;
  color: #f7f1e6;
}

.admin-input:focus,
textarea.admin-input:focus,
select.admin-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid .full { grid-column: 1 / -1; }

.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Honeypot — off-screen, not display:none (bots often skip those) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.phone-field {
  display: grid;
  gap: 0.45rem;
}

.phone-field__combo {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 0.75rem;
  background: rgba(15, 22, 44, 0.95);
  overflow: hidden;
}

.phone-field__prefix {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.35rem 0.55rem 0.35rem 0.75rem;
  background: rgba(212, 175, 55, 0.12);
  border-right: 1px solid rgba(212, 175, 55, 0.3);
  min-width: 0;
}

.phone-field__prefix-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1;
}

.phone-field__country {
  width: 100%;
  min-width: 0;
  border: 0;
  background-color: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.15rem 0 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  color-scheme: dark;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) calc(50% + 2px), calc(100% - 5px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.1rem;
}

.phone-field__national {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 1rem;
  outline: none;
}

.phone-field__combo:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.phone-field__hint {
  margin: 0;
  font-size: 0.78rem;
}

@media (max-width: 520px) {
  .phone-field__combo {
    grid-template-columns: minmax(7rem, 8.5rem) minmax(0, 1fr);
  }
}
.lead { color: var(--muted); margin: 0 0 1.5rem; }

.pdp {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 860px) {
  .pdp { grid-template-columns: 1.05fr 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

.pdp-gallery {
  border-radius: var(--radius);
  overflow: visible;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(180deg, rgba(20, 30, 56, 0.5), rgba(5, 8, 16, 0.9)),
    var(--marble) center/cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 0.65rem;
}

.pdp-gallery > .pdp-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.notes { display: grid; gap: 0.85rem; }
.notes .layer {
  border-left: 2px solid rgba(212, 175, 55, 0.45);
  padding-left: 0.9rem;
}
.notes h4 { margin: 0 0 0.2rem; color: var(--gold-light); font-size: 0.95rem; }
.notes p { margin: 0; color: var(--sand); font-size: 0.92rem; }

.cart-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.cart-line--product {
  align-items: stretch;
  gap: 1rem;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none !important;
}

.cart-product:hover .cart-product__name {
  color: var(--gold-light);
  text-decoration: underline;
}

.cart-thumb {
  width: 72px;
  height: 92px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(10, 18, 40, 0.6);
  flex-shrink: 0;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.cart-product:hover .cart-thumb {
  border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.cart-product__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cart-product__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.cart-line__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
}

.cart-line__sum {
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.qty-picker {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  max-width: 220px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-input {
  width: 4.5rem !important;
  text-align: center;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(10, 18, 40, 0.55);
  color: var(--gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}
.qty-btn:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.qty-max { font-size: 0.78rem; }

.city-ac {
  position: relative;
}

.city-ac__list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background:
    linear-gradient(160deg, rgba(10, 18, 40, 0.98), rgba(5, 8, 16, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.city-ac__list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--sand);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font: inherit;
}

.city-ac__list button:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
}

.map-frame {
  width: 100%;
  height: 520px;
  border: 0;
  background: #fff;
  display: block;
}

.map-shell {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10, 18, 40, 0.8), rgba(5, 8, 16, 0.92)),
    var(--marble) center/cover;
}

.map-shell__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.7rem 1rem;
}

.selected-banner {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  font-size: 0.95rem;
  line-height: 1.4;
}

.boxnow-map-wrap {
  padding: 0;
}

.boxnow-help {
  margin: 0;
  padding: 0.85rem 1.1rem 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.boxnow-frame {
  width: 100%;
  height: min(65vh, 520px);
  min-height: 420px;
  background: #fff;
  position: relative;
}

.boxnow-frame iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  border: 0 !important;
  display: block;
}

/* Fullscreen popup host — must live on <body>, never clipped */
#boxnow-popup-host {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}

#boxnow-popup-host iframe {
  pointer-events: auto;
  z-index: 100000;
}

.boxnow-map-wrap .map-shell__foot {
  padding: 1rem 1.1rem 1.15rem;
}

.boxnow-map-wrap .map-shell__foot .btn-gold {
  width: auto;
  min-width: min(100%, 280px);
}

@media (max-width: 700px) {
  .map-frame {
    height: min(65vh, 480px);
  }
}

.map-shell .head {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.map-shell .head h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--gold-light);
}

.map-shell .head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: var(--marble) center/cover;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.92);
}

.site-footer .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3.5rem 0;
  text-align: center;
}

.site-footer .brand-ar { font-size: 1.15rem; }
.site-footer .brand-en {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-links a {
  color: var(--sand);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-legal-note {
  max-width: 36rem;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal-body {
  margin-top: 1.5rem;
  color: var(--sand);
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal-body h2 {
  margin: 1.6rem 0 0.55rem;
  color: var(--gold-light);
  font-size: 1.15rem;
  font-family: var(--font-display);
}

.legal-body ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.legal-body a {
  color: var(--gold-light);
}

.legal-check {
  color: var(--sand);
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-check a {
  color: var(--gold-light);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  padding: 1rem;
  background: rgba(5, 8, 16, 0.96);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--sand);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner__inner a {
  color: var(--gold-light);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.25rem;
  text-align: center;
  color: var(--sand);
  background: rgba(10, 18, 40, 0.85);
}

.map-consent p {
  margin: 0;
  max-width: 28rem;
}

/* —— Desk —— */
.desk-login, .desk-app { max-width: 1100px; margin: 2rem auto; padding: 0 1rem 3rem; }
.desk-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.desk-nav button {
  border: 1px solid rgba(212,175,55,0.3);
  background: transparent;
  color: var(--sand);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.desk-nav button[aria-current="true"] {
  background: rgba(212,175,55,0.18);
  color: var(--gold-light);
}
.desk-list { display: grid; gap: 0.75rem; }
.desk-item {
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(10,18,40,0.55);
}

.desk-orders {
  display: grid;
  gap: 1rem;
}

.orders-toolbar {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.orders-toolbar__row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .orders-toolbar__row {
    grid-template-columns: 1.4fr 0.9fr 0.85fr 0.85fr;
    align-items: end;
  }
  .orders-toolbar__row--pdf {
    grid-template-columns: 0.85fr 0.85fr auto 1fr;
  }
}

.orders-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.orders-field--grow {
  min-width: 0;
}

.orders-pdf-hint {
  margin: 0;
  font-size: 0.82rem;
  align-self: end;
  padding-bottom: 0.35rem;
}

.order-card {
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.15rem;
  background:
    linear-gradient(165deg, rgba(16, 26, 52, 0.92), rgba(8, 12, 24, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.order-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.order-card__id {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.order-card__when {
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  white-space: nowrap;
}

.order-badge--new { border-color: rgba(120, 170, 255, 0.55); color: #b9d0ff; background: rgba(80, 120, 220, 0.16); }
.order-badge--confirmed { border-color: rgba(212, 175, 55, 0.55); color: var(--gold-light); background: rgba(212, 175, 55, 0.16); }
.order-badge--shipped { border-color: rgba(120, 210, 180, 0.55); color: #b8f0dc; background: rgba(40, 140, 110, 0.18); }
.order-badge--done { border-color: rgba(140, 220, 140, 0.5); color: #c8f0c8; background: rgba(50, 140, 70, 0.18); }
.order-badge--cancelled { border-color: rgba(230, 120, 120, 0.55); color: #f5b0b0; background: rgba(160, 50, 50, 0.18); }
.order-badge--fake { border-color: rgba(230, 90, 90, 0.7); color: #ffc0c0; background: rgba(140, 30, 30, 0.35); }

.order-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  align-items: flex-start;
}

.btn-danger,
button.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  border: 1px solid rgba(200, 70, 70, 0.75);
  background: rgba(120, 30, 30, 0.55);
  color: #ffd0d0;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-danger:hover {
  background: rgba(160, 40, 40, 0.75);
  border-color: rgba(230, 100, 100, 0.9);
  color: #fff;
}

.ip-bans-panel {
  margin-bottom: 1rem;
}

.ip-bans-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ip-bans-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(8, 14, 32, 0.45);
}

.ip-bans-list__ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--gold-light);
}

.order-card__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .order-card__grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

.order-card__block h4 {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.order-card__name {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-weight: 600;
}

.order-card__block p {
  margin: 0.15rem 0;
  font-size: 0.92rem;
}

.order-meta,
.order-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.order-meta li,
.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--sand);
}

.order-meta li span:first-child,
.order-items li span:last-child {
  color: var(--muted);
}

.order-card__total {
  margin: 0.65rem 0 0;
  text-align: right;
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 700;
}

.order-card__notes {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.9rem;
  color: var(--sand);
}

.order-card__info {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.order-card__info textarea.admin-input {
  min-height: 4.5rem;
  resize: vertical;
  width: 100%;
}

.order-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.order-card__status {
  display: grid;
  gap: 0.35rem;
  min-width: min(220px, 100%);
  flex: 1 1 180px;
}

.order-card__actions .btn-gold,
.order-card__actions .btn-danger {
  flex: 0 0 auto;
  white-space: nowrap;
}

.order-warn {
  color: #f5a8a8;
}

.desk-pager__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.desk-pager__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.desk-pager__btns .btn-ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.desk-pager__meta {
  font-size: 0.88rem;
}

.desk-toasts {
  position: fixed;
  z-index: 1000;
  top: 1.1rem;
  right: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.desk-toast {
  pointer-events: auto;
  padding: 0.85rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(160deg, rgba(10, 18, 40, 0.97), rgba(5, 8, 16, 0.98));
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.desk-toast.is-in {
  opacity: 1;
  transform: translateY(0);
}

.desk-toast.is-out {
  opacity: 0;
  transform: translateY(-6px);
}

.desk-toast--ok {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--gold-light);
}

.desk-toast--err {
  border-color: rgba(245, 168, 168, 0.55);
  color: #f5a8a8;
}

/* —— Responsive polish —— */
@media (max-width: 899px) {
  .hero {
    min-height: min(92vh, 820px);
    min-height: min(92svh, 820px);
  }

  .hero-content {
    padding: 5.5rem 0.75rem 3.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .how-section {
    padding: 3.25rem 0;
  }

  .map-frame {
    height: min(420px, 70vh);
  }

  .cart-line--product {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-line__right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-actions .btn-gold,
  .contact-actions .btn-outline,
  .cta-row .btn-gold,
  .cta-row .btn-outline {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1152px, calc(100% - 1.25rem));
  }

  .brand-ar {
    font-size: 0.95rem;
  }

  .brand-en {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .brand-link .brand-mark {
    width: 38px;
    height: 38px;
  }

  .cart-btn {
    padding: 0.5rem 0.7rem;
  }

  .cart-btn__label {
    display: none;
  }

  .lang-switch button {
    padding: 0.38rem 0.55rem;
  }

  .hero-brand {
    letter-spacing: 0.16em;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .grid-cards {
    gap: 0.7rem;
  }

  .perfume-card .card-body {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .filters-row {
    gap: 0.45rem;
  }

  .panel,
  .contact-panel {
    padding: 1rem;
  }

  .desk-toasts {
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .mobile-nav .nav-link {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    padding-top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .text-gold-shine,
  .hero-glow-ring,
  .hero-fade,
  .section-fade,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
