/* ==========================================================================
   NAFIS AL MUSK — نفيس المسك
   Design System — Luxury Arabic Perfume House
   Signature element: "الخيط الذهبي" (the golden thread) — a thin curling
   line evoking rising oud smoke, used across hero, dividers and hovers.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Almarai:wght@300;400;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* Hide elements until Alpine.js initializes — prevents badge flash */
[x-cloak] {
  display: none !important;
}

:root {
  /* ---- brand palette (per brief) ---- */
  --ink: #000000;
  --gold: #D4AF37;
  --gold-dim: #a9852a;
  --gold-mist: rgba(212, 175, 55, .14);
  --gold-mist-strong: rgba(212, 175, 55, .28);
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --charcoal: #222222;
  --mist: #F3F3F3;

  /* derived neutrals for legibility only — used sparingly */
  --muted: #8d8d8d;
  --line: #e7e5e0;
  --shadow-color: 0 0% 0%;

  /* type */
  --f-display: 'Amiri', 'Cormorant Garamond', serif;
  --f-body: 'Almarai', 'Cormorant Garamond', sans-serif;

  /* rhythm */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --gap-section: clamp(64px, 10vw, 148px);

  --ease-lux: cubic-bezier(.22, .61, .19, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

::selection {
  background: var(--gold-mist-strong);
  color: var(--ink);
}

/* focus visibility (accessibility floor) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

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

@media (min-width:900px) {
  .container {
    padding-inline: 48px;
  }
}

section {
  padding-block: var(--gap-section);
}

/* ---------------- typography ---------------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--gold-dim);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: .005em;
}

.h-hero {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 2;
}

.h-section {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
}

.h-card {
  font-size: 22px;
  line-height: 1.3;
}

p {
  margin: 0;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #4a4a4a;
  font-weight: 300;
  max-width: 60ch;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {}

/* ---------------- golden thread divider (signature) ---------------- */
.thread {
  width: 100%;
  display: block;
  margin-block: 6px 0;
  color: var(--gold);
}

.thread path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-thread 2.4s var(--ease-lux) forwards;
}

@keyframes draw-thread {
  to {
    stroke-dashoffset: 0;
  }
}

.thread-divider {
  display: flex;
  justify-content: center;
  padding-block: 8px;
  opacity: .75;
}

.thread-divider svg {
  width: 140px;
  height: 34px;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .45s var(--ease-lux);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px var(--gold-mist-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dim);
  transform: translateY(-2px);
}

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

.btn-gold:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 11px 22px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .3s var(--ease-lux);
  position: relative;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dim);
}

/* ---------------- navigation ---------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  transition: all .5s var(--ease-lux);
  background: rgba(250, 250, 250, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav.scrolled {
  padding-block: 12px;
  background: rgba(250, 250, 250, 0.85);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #B8941F;
}

.brand-name small {
  display: block;
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 400;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 400;
}

.nav-links a {
  position: relative;
  padding-block: 4px;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  left: auto;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease-lux);
}

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

.nav-links a.active {
  color: var(--gold-dim);
}

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

.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@media (min-width:960px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-lux);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(84vw, 360px);
  background: var(--white);
  z-index: 160;
  transform: translateX(100%);
  transition: transform .5s var(--ease-lux);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .3);
}

.drawer.open {
  transform: translateX(0);
}

.drawer a {
  padding: 16px 4px;
  font-size: 19px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
}

.drawer-close {
  align-self: flex-start;
  margin-bottom: 12px;
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  /* RTL: use left instead of right */
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  direction: rtl;
}

.whatsapp-icon {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.3),
    0 8px 40px rgba(37, 211, 102, 0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.whatsapp-icon svg {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

/* Luxury gold ring accent */
.whatsapp-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

/* Tooltip label */
.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 1rem);
  /* RTL: label appears to the right of icon */
  background: #FFFFFF;
  color: #2C2416;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  /* RTL: arrow pointing left */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #FFFFFF;
}

/* Pulse ring animation */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  animation: whatsappPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Hover states */
.whatsapp-float:hover .whatsapp-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 30px rgba(37, 211, 102, 0.4),
    0 12px 50px rgba(37, 211, 102, 0.2);
}

.whatsapp-float:hover .whatsapp-icon::before {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-tooltip {
    display: none;
    /* Hide tooltip on mobile for cleaner look */
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-pulse {
    animation: none;
    opacity: 0;
  }

  .whatsapp-float,
  .whatsapp-icon,
  .whatsapp-tooltip {
    transition: none;
  }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #FAF7F2 0%, #F5F0E8 50%, #F0EBE0 100%);
  direction: rtl;
}

/* Subtle paper texture */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Floating mist threads */
.hero-mist {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mist-thread {
  fill: none;
  stroke: #D4AF37;
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.25;
  filter: blur(1px);
  animation: drift 20s ease-in-out infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  33% {
    transform: translateX(30px) translateY(-15px);
  }

  66% {
    transform: translateX(-20px) translateY(10px);
  }
}

/* Gold dust particles */
.gold-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gold-dust span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #D4AF37;
  border-radius: 50%;
  opacity: 0;
  animation: float 15s infinite;
}

.gold-dust span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.gold-dust span:nth-child(2) {
  left: 20%;
  top: 60%;
  animation-delay: 2s;
}

.gold-dust span:nth-child(3) {
  left: 35%;
  top: 30%;
  animation-delay: 4s;
}

.gold-dust span:nth-child(4) {
  left: 50%;
  top: 80%;
  animation-delay: 1s;
}

.gold-dust span:nth-child(5) {
  left: 65%;
  top: 40%;
  animation-delay: 3s;
}

.gold-dust span:nth-child(6) {
  left: 75%;
  top: 70%;
  animation-delay: 5s;
}

.gold-dust span:nth-child(7) {
  left: 85%;
  top: 25%;
  animation-delay: 2.5s;
}

.gold-dust span:nth-child(8) {
  left: 90%;
  top: 55%;
  animation-delay: 4.5s;
}

.gold-dust span:nth-child(9) {
  left: 15%;
  top: 85%;
  animation-delay: 1.5s;
}

.gold-dust span:nth-child(10) {
  left: 45%;
  top: 15%;
  animation-delay: 3.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* Layout */
.hero-inner {
  position: relative;
  z-index: 2;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Typography */
.hero-copy {
  text-align: right;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #A0937D;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  padding-right: 1.5rem;
}

.eyebrow::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #D4AF37;
  border-radius: 50%;
  opacity: 0.8;
}

.h-hero {
  font-family: 'Amiri', 'Scheherazade', 'Noto Naskh Arabic', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 2;
  color: #2C2416;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.hero-accent {
  color: #B8941F;
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  opacity: 0.5;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #6B5D4D;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #C9A227 0%, #D4AF37 50%, #B8941F 100%);
  color: #FFF;
  border: none;
  box-shadow: 0 4px 20px rgba(180, 148, 31, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(180, 148, 31, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #6B5D4D;
  border: 1.5px solid #D4C4A8;
}

.btn-ghost:hover {
  border-color: #B8941F;
  color: #B8941F;
  background: rgba(180, 148, 31, 0.04);
}

/* Visual side */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-mark {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 10px 30px rgba(180, 148, 31, 0.15));
  animation: gentlePulse 6s ease-in-out infinite;
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #A0937D;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInUp 2s ease-out 1s both;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #D4AF37, transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .hero-copy {
    text-align: center;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .lede {
    margin: 0 auto 2rem;
  }

  .eyebrow {
    padding-right: 0;
    padding-top: 1.5rem;
  }

  .eyebrow::before {
    right: 50%;
    top: 0;
    transform: translateX(50%);
  }

  .hero-mark {
    max-width: 280px;
  }
}

/* Luxury Shimmer Button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d4af37 0%, #fef08a 50%, #b8860b 100%);
  color: #0f0e0c !important;
  font-weight: 800;
  box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.5);
  border: none;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer-swipe 3.5s infinite;
}

@keyframes shimmer-swipe {
  0% {
    left: -100%;
  }

  30%,
  100% {
    left: 100%;
  }
}

.btn-shimmer:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(212, 175, 55, 0.7);
}

.hero-ctas .btn-ghost {
  backdrop-filter: blur(4px);
}

.hero-ctas .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* Floating Luxury Hero Showcase */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.hero-card-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

.hero-badge-float {
  position: absolute;
  top: -18px;
  right: 20px;
  background: rgba(18, 16, 13, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.hero-card-img-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-glow {
  position: absolute;
  inset: 10px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.85);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.95;
  }
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  margin-top: 10px;
}

.hero-stat-item b {
  display: block;
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
}

.hero-stat-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .18em;
  z-index: 2;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------------- product cards ---------------- */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}

@media (max-width:768px) {
  .grid-products {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-product {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .55s var(--ease-lux), box-shadow .55s var(--ease-lux), border-color .55s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .22);
  border-color: transparent;
}

.card-media {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--mist), #ebe8e0);
  overflow: hidden;
}

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

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

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 3;
}

.badge-soldout {
  background: rgba(180, 30, 30, .88);
  color: #fff;
  backdrop-filter: blur(4px);
}

.card-product.is-soldout .card-quickadd {
  display: none;
}

.card-product.is-soldout .card-media img {
  filter: grayscale(35%);
}

.fav-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all .3s var(--ease-lux);
  color: var(--charcoal);
  z-index: 3;
}

.fav-btn:hover,
.fav-btn.active {
  color: var(--gold-dim);
  transform: scale(1.08);
}

.card-quickadd {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  transform: translateY(140%);
  opacity: 0;
  transition: all .45s var(--ease-lux);
}

.card-product:hover .card-quickadd {
  transform: translateY(0);
  opacity: 1;
}

.card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-cat {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
}

.card-name {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.card-price {
  font-weight: 800;
  font-size: 17px;
}

.card-price small {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
}

/* ---------------- category cards ---------------- */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-lux);
}

.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .05) 60%);
}

.cat-card:hover img {
  transform: scale(1.09);
}

.cat-card-body {
  position: relative;
  z-index: 2;
  padding: 26px;
  width: 100%;
}

.cat-card-body h3 {
  color: var(--white);
  font-size: 24px;
}

.cat-card-body span {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .05em;
}

/* ---------------- glass panel / why-us ---------------- */
.panel-glass {
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .15);
}

.feature {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-lux), box-shadow .5s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .18);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-mist);
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 19px;
}

.feature p {
  color: #555;
  font-size: 14.5px;
}

/* ---------------- about ---------------- */
.about-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width:900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--ink);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- best sellers slider ---------------- */
.slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  margin: 0 -24px;
  padding-inline: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.slider::-webkit-scrollbar {
  height: 6px;
}

.slider::-webkit-scrollbar-thumb {
  background: var(--gold-mist-strong);
  border-radius: 99px;
}

.slider .card-product {
  min-width: 270px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.slider-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 24px;
}

/* ---------------- testimonials ---------------- */
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi p {
  font-size: 16px;
  color: #3a3a3a;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  font-weight: 800;
}

/* ============ CTA BANNER LIGHT THEME ============ */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #F5F0E8 0%, #FAF7F2 100%);
  direction: rtl;
}

.cta-banner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #FDFBF7 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    0 20px 60px rgba(44, 36, 22, 0.06),
    0 4px 12px rgba(44, 36, 22, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
  text-align: center;
}

/* Decorative ornaments (small gold lines) */
.cta-ornament {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  opacity: 0.6;
}

.cta-ornament.top {
  top: 2rem;
}

.cta-ornament.bottom {
  bottom: 2rem;
}

/* Eyebrow */
.cta-banner .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B8941F;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding: 0 1.5rem;
}

.cta-banner .eyebrow::before,
.cta-banner .eyebrow::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.4rem;
  color: #D4AF37;
  opacity: 0.7;
}

.cta-banner .eyebrow::before {
  right: 0;
}

.cta-banner .eyebrow::after {
  left: 0;
}

/* Heading */
.cta-banner .h-section {
  font-family: 'Amiri', 'Scheherazade', 'Noto Naskh Arabic', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: #2C2416;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

/* Body text */
.cta-banner p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #6B5D4D;
  margin: 0 auto 2.5rem;
  max-width: 480px;
}

/* Button — matches hero primary button exactly */
.cta-banner .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #C9A227 0%, #D4AF37 50%, #B8941F 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(180, 148, 31, 0.25);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(180, 148, 31, 0.35);
}

.cta-banner .btn-primary svg {
  transition: transform 0.3s ease;
}

.cta-banner .btn-primary:hover svg {
  transform: translateX(-4px);
}

/* Background glow effect */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle geometric pattern overlay */
.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8941F' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-banner-inner {
    padding: 3rem 1.5rem;
  }

  .cta-ornament {
    width: 40px;
  }
}

/* ---------------- footer ---------------- */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
  padding-block: 72px 28px;
}

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

@media (min-width:800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand .brand-name {
  color: var(--white);
}

footer h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}

footer a {
  display: block;
  padding-block: 7px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .6);
  transition: color .3s;
}

footer a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer-social a:hover {
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom>span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ---------------- breadcrumb / page header ---------------- */
.page-header {
  padding-block: 150px 40px;
  background: linear-gradient(180deg, var(--mist), var(--bg));
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

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

/* ---------------- filters / products page ---------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  background: var(--white);
  transition: all .3s var(--ease-lux);
}

.chip:hover {
  border-color: var(--gold);
}

.chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  min-width: 220px;
}

.search-box input {
  border: none;
  outline: none;
  background: none;
  width: 100%;
  font-size: 14px;
}

.select-sort {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
}

/* ---------------- product detail ---------------- */
.pd-grid {
  display: grid;
  gap: 56px;
}

@media (min-width:960px) {
  .pd-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pd-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--mist);
  position: relative;
  cursor: zoom-in;
}

.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.pd-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.pd-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .6;
  transition: all .3s;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--gold);
  opacity: 1;
}

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

.pd-cat {
  color: var(--muted);
  font-size: 13px;
}

.pd-name {
  font-size: clamp(28px, 3vw, 40px);
  margin-block: 8px 12px;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pd-price {
  font-size: 28px;
  font-weight: 800;
  margin-block: 6px 22px;
}

.pd-price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-inline-start: 6px;
}

.pd-desc {
  color: #4a4a4a;
  margin-bottom: 26px;
}

.size-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.size-pill {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  transition: all .3s var(--ease-lux);
  background: var(--white);
}

.size-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.size-pill:hover {
  border-color: var(--gold);
}

.size-pill--soldout {
  opacity: .75;
  background: var(--mist);
  border-color: rgba(180, 30, 30, .2);
  color: var(--text-muted);
}

.size-pill--soldout.active {
  background: rgba(180, 30, 30, .1);
  color: rgb(180, 30, 30);
  border-color: rgba(180, 30, 30, .6);
}

.size-pill--soldout:hover {
  border-color: rgba(180, 30, 30, .5);
}

.size-pill-tag {
  font-size: 11px;
  background: rgba(180, 30, 30, .15);
  color: rgb(180, 30, 30);
  padding: 2px 6px;
  border-radius: 999px;
  margin-right: 6px;
  font-weight: 600;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 18px;
}

.qty-stepper button:hover {
  color: var(--gold-dim);
}

.qty-stepper span {
  width: 44px;
  text-align: center;
  font-weight: 700;
}

.pd-actions {
  display: flex;
  gap: 14px;
  flex-direction: column;
  margin-block: 28px;
}

@media (min-width:768px) {
  .pd-actions {
    flex-direction: row;
  }
}


.pd-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 8px 30px;
}

.pd-meta-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: #444;
  align-items: flex-start;
}

.pd-meta-list li::before {
  content: '—';
  color: var(--gold);
}

.stock-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #3a7d44;
}

.stock-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a7d44;
}

.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-block: 60px 30px;
}

.tab-btn {
  padding-bottom: 16px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-inline: none;
}

.tab-btn.active {
  color: var(--ink);
  border-color: var(--gold);
}

.tab-panel {
  display: none;
  color: #444;
}

.tab-panel.active {
  display: block;
}

/* ---------------- cart ---------------- */
.cart-layout {
  display: grid;
  gap: 40px;
}

@media (min-width:960px) {
  .cart-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--mist);
}

.cart-item-name {
  font-family: var(--f-display);
  font-size: 18px;
}

.cart-item-meta {
  font-size: 13px;
  color: var(--muted);
  margin-block: 6px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.remove-link {
  font-size: 13px;
  color: #b23;
}

.remove-link:hover {
  text-decoration: underline;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 110px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding-block: 10px;
  font-size: 15px;
  color: #444;
}

.summary-row.total {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 18px;
}

.promo-row {
  display: flex;
  gap: 10px;
  margin-block: 18px;
}

.promo-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.empty-state {
  text-align: center;
  padding-block: 80px;
}

.empty-state .icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto 0;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--muted);
}

/* ---------------- checkout ---------------- */
.checkout-layout {
  flex-direction: column-reverse;
  gap: 48px;
}

@media (min-width:960px) {
  .checkout-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .checkout-layout .summary-card {
    position: sticky;
  }
}

.checkout-layout .summary-card {
  position: static;
}

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

@media (min-width:600px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 13.5px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  background: var(--white);
  transition: border-color .3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.field-error {
  color: #b23;
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}

.field.invalid input,
.field.invalid select {
  border-color: #b23;
}

.field.invalid .field-error {
  display: block;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 20px;
}

.pay-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.pay-opt input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.success-panel {
  text-align: center;
  padding-block: 60px;
}

.success-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold-mist);
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* skeleton loading */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-lux), transform .8s var(--ease-lux);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* toast component */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.toast-info {
  background: rgba(15, 23, 42, 0.92);
  color: var(--white);
}

.toast-warning,
.toast-error {
  background: rgba(153, 27, 27, 0.94);
  color: #fef2f2;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.toast-success {
  background: rgba(20, 83, 45, 0.94);
  color: #f0fdf4;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-icon {
  flex-shrink: 0;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Slot & Drop Animations */
.slot-item.drop-rejected {
  animation: shake-error 0.5s cubic-bezier(.36, .07, .19, .97) both;
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.slot-item.drag-over-invalid {
  border-color: #ef4444 !important;
  background: #fff1f2 !important;
  cursor: not-allowed !important;
  transform: scale(0.97) !important;
}

@keyframes shake-error {

  10%,
  90% {
    transform: translate3d(-2px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(4px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-6px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(6px, 0, 0);
  }
}

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

.mt-0 {
  margin-top: 0 !important;
}

.hide {
  display: none !important;
}