/* ============================================
   AL MAJD — Luxury Arabian Perfumes
   Core Stylesheet
   ============================================ */

/* --- TOKENS --- */
:root {
  --black:       #0a0a0a;
  --black-soft:  #111111;
  --black-card:  #161616;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    #8a6e2f;
  --white:       #f8f5f0;
  --white-dim:   #c8c0b0;
  --white-faint: #1e1c18;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;

  --radius:      2px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 4px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);

  --header-h:    72px;
  --announce-h:  38px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
em { font-style: italic; color: var(--gold-light); }

/* --- CONTAINERS --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.9em 2.2em;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(248,245,240,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(248,245,240,0.05);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-full { width: 100%; text-align: center; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: var(--transition);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
  justify-self: center;
}
.logo-ar {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.logo-en {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--white-dim);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-self: start;
}
.main-nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  justify-self: end;
  position: relative;
  transition: color var(--transition);
}
.cart-btn:hover { color: var(--gold); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}
.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  justify-self: start;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0a0a0a 0%,
    #1a1208 40%,
    #0f0c05 70%,
    #0a0a0a 100%
  );
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.8) 100%);
}

/* Decorative gold lines */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold-dim);
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white-dim);
  margin-bottom: 3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--white-dim);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInUp 2s 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  padding: 5rem 0;
  background: var(--black-soft);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.pillar-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.pillar h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.pillar p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  margin-bottom: 1rem;
  font-weight: 300;
}

.section-subtitle {
  color: var(--white-dim);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* ============================================
   COLLECTION / PRODUCTS
   ============================================ */
.collection {
  padding: 7rem 0;
  background: var(--black);
}

.filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5em 1.4em;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* PRODUCT CARD */
.product-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1408, #0f0c05);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold-dim);
}
.product-img-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}
.product-img-placeholder .placeholder-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 100px;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.product-volume {
  font-size: 0.72rem;
  color: var(--white-dim);
  margin-bottom: 0.8rem;
}

.product-notes {
  font-size: 0.72rem;
  color: var(--white-dim);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}

.product-old-price {
  font-size: 0.8rem;
  color: var(--white-dim);
  text-decoration: line-through;
  margin-left: 0.3rem;
}

.add-to-cart-btn {
  padding: 0.5em 1em;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: var(--transition);
}
.add-to-cart-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================
   STORY
   ============================================ */
.story {
  padding: 8rem 0;
  background: var(--black-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.story-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a1408, #0f0c05);
  border: 1px solid rgba(201,168,76,0.15);
}

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

.story-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold-dim);
  opacity: 0.3;
}

/* Show placeholder when no-img class is added */
.story-img-frame.no-img img { display: none; }
.story-img-frame.no-img .story-img-placeholder { opacity: 0.3; }

/* Gold accent lines */
.story-img-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(201,168,76,0.2);
  pointer-events: none;
  z-index: -1;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.story-text p {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.8;
}

/* ============================================
   INGREDIENTS
   ============================================ */
.ingredients {
  padding: 8rem 0;
  background: var(--black);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.ingredient {
  padding: 3rem;
  border: 1px solid rgba(201,168,76,0.07);
  transition: var(--transition);
}
.ingredient:hover {
  background: var(--black-card);
  border-color: rgba(201,168,76,0.2);
}

.ingredient-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.ingredient h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
}

.ingredient p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 8rem 0;
  background: var(--black-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,0.1);
  background: var(--black-card);
  border-radius: var(--radius);
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}

.testimonial p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial cite {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 8rem 0;
  background: var(--black);
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.contact-inner p {
  color: var(--white-dim);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-newsletter h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--white-dim);
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  border: 1px solid rgba(201,168,76,0.2);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  color: var(--white);
}
.newsletter-form input::placeholder { color: var(--white-dim); }

.newsletter-form button {
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--white-dim);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--black-soft);
  border-left: 1px solid rgba(201,168,76,0.15);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cart-header h2 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}
.cart-close {
  color: var(--white-dim);
  font-size: 1.1rem;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--white); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--white-dim);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-top: 2rem;
}

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

.cart-item-img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
}

.cart-item-info { display: flex; flex-direction: column; gap: 0.2rem; }
.cart-item-name { font-family: var(--font-serif); font-size: 1rem; }
.cart-item-vol { font-size: 0.72rem; color: var(--white-dim); }
.cart-item-price { font-size: 0.9rem; color: var(--gold); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-item-qty button {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-item-qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-item-qty span { font-size: 0.85rem; min-width: 16px; text-align: center; }

.cart-remove {
  color: var(--white-dim);
  font-size: 0.75rem;
  transition: color var(--transition);
}
.cart-remove:hover { color: #e05050; }

.cart-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
}
.cart-subtotal span:last-child {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
}

.cart-note {
  font-size: 0.72rem;
  color: var(--white-dim);
  text-align: center;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(8px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(900px, 95vw);
  max-height: 90vh;
  background: var(--black-soft);
  border: 1px solid rgba(201,168,76,0.2);
  z-index: 301;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.product-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--white-dim);
  font-size: 1.2rem;
  z-index: 10;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--white); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.modal-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 450px;
  background: linear-gradient(135deg, #1a1408, #0f0c05);
  position: relative;
  overflow: hidden;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold-dim);
  opacity: 0.3;
}

.modal-details {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.modal-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.15;
}

.modal-volume {
  font-size: 0.8rem;
  color: var(--white-dim);
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.8;
  flex: 1;
}

.modal-notes-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.modal-notes-text {
  font-size: 0.82rem;
  color: var(--white-dim);
  font-style: italic;
}

.modal-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ============================================
   ORDER CONFIRMATION PAGE
   ============================================ */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.confirmation-card {
  text-align: center;
  max-width: 560px;
  padding: 4rem 3rem;
  border: 1px solid rgba(201,168,76,0.2);
  background: var(--black-card);
}

.confirmation-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.confirmation-card h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.confirmation-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-img-frame { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; --announce-h: 32px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: calc(var(--announce-h) + var(--header-h));
    left: 0;
    right: 0;
    background: var(--black-soft);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }

  .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }

  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { min-height: 280px; }
  .modal-details { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .products-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 2rem; }
  .confirmation-card { padding: 2.5rem 1.5rem; }
}
