/* ============================================================
   Z&F Perfume — Luxury Dark & Gold Stylesheet
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  --bg-primary:      #0a0a0a;
  --bg-secondary:    #111111;
  --bg-card:         #161616;
  --accent-gold:     #c9a84c;
  --accent-gold-dark:#a8872f;
  --accent-gold-light:#e2c97e;
  --text-primary:    #f5f0e8;
  --text-muted:      #9e9e9e;
  --border-subtle:   #2a2a2a;
  --font-heading:    'Playfair Display', serif;
  --font-body:       'Inter', sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --shadow-gold:     0 0 24px rgba(201, 168, 76, 0.3);
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       16px;
  --max-width:       1200px;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

input, textarea {
  font-family: var(--font-body);
}

/* ── 3. Typography ────────────────────────────────────────── */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
}

.text-gold  { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }

.subtitle {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 4. Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .subtitle {
  margin-bottom: 0.75rem;
}

.section-header .heading-lg,
.section-header .heading-xl {
  margin-bottom: 0.5rem;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1rem auto 0;
}

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 2.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gold);
  color: #0a0a0a;
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #0a0a0a;
  transform: translateY(-1px);
}

/* ── 6. Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background var(--transition-base), padding var(--transition-base),
              border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 0;
  border-bottom-color: var(--border-subtle);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
}

.navbar__link.active::after,
.navbar__link:hover::after {
  transform: scaleX(1);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar__cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.25rem;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__cart-btn:hover {
  color: var(--accent-gold);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-gold);
  color: #0a0a0a;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.cart-badge.hidden {
  display: none;
}

/* ── 7. Hero ──────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1c1404 0%, #0a0a0a 65%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  text-align: center;
  z-index: 1;
  max-width: 720px;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.hero__gold-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
  margin: 0 auto 2rem;
  opacity: 0.7;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 8. Featured Products Section ────────────────────────── */
.featured {
  padding: 6rem 0;
}

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

.featured__cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── 9. Product Cards ─────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-base), border-color var(--transition-base),
              box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: var(--shadow-gold);
}

.product-card__image {
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

/* Fallback when image fails */
.product-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 100%);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(201, 168, 76, 0.25);
  letter-spacing: 0.1em;
}

.product-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.product-card__notes {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.notes-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.notes-label {
  color: var(--accent-gold);
  font-weight: 500;
  min-width: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.notes-value {
  color: var(--text-muted);
  line-height: 1.4;
}

.product-card__btn {
  width: 100%;
  margin-top: auto;
}

/* ── 10. Product Grid ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* ── 11. Filter Tabs ──────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast),
              background var(--transition-fast);
}

.filter-tab:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0a0a;
}

/* ── 12. Toast Notifications ──────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--text-primary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease forwards;
}

.toast__icon {
  color: var(--accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

/* ── 13. Cart Page ────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.cart-empty {
  text-align: center;
  padding: 4rem 0;
}

.cart-empty__icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.cart-item__image {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  flex-shrink: 0;
}

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

.cart-item__details {}

.cart-item__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cart-item__price {
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  line-height: 1;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.1);
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  transition: color var(--transition-fast);
  align-self: flex-start;
}

.cart-item__remove:hover {
  color: var(--text-primary);
}

/* Order Summary */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.order-summary__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.summary-row--total {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.summary-row--total .summary-value {
  color: var(--accent-gold);
  font-size: 1.15rem;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 1rem 0;
}

/* ── 14. Checkout & Contact Forms ─────────────────────────── */
.checkout-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 1.75rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 1.1rem;
}

/* ── Payment Options ──────────────────────────────────────── */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
  font-size: 0.9rem;
  color: var(--text-primary);
  user-select: none;
}

.payment-option:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.04);
}

.payment-option input[type="radio"] {
  accent-color: var(--accent-gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.payment-option:has(input:checked) {
  border-color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.07);
}

.fawran-box {
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.fawran-box strong {
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Gift Option ──────────────────────────────────────────── */
.gift-toggle {
  display: block;
  cursor: pointer;
}

.gift-toggle input[type="checkbox"] {
  display: none;
}

.gift-toggle__box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background 0.2s;
}

.gift-toggle:hover .gift-toggle__box {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.04);
}

.gift-toggle input:checked ~ .gift-toggle__box {
  border-color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.07);
}

.gift-toggle__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.gift-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.gift-toggle__text strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.gift-toggle__text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gift-toggle__switch {
  width: 36px;
  height: 20px;
  background: var(--border-subtle);
  border-radius: 20px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s;
}

.gift-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.gift-toggle input:checked ~ .gift-toggle__box .gift-toggle__switch {
  background: var(--accent-gold);
}

.gift-toggle input:checked ~ .gift-toggle__box .gift-toggle__switch::after {
  transform: translateX(16px);
}

.gift-details-box {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 0.75rem;
  animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gift-details-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: #4a4a4a;
}

.form-input:focus {
  border-color: var(--accent-gold);
}

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

textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

/* ── 15. Newsletter ───────────────────────────────────────── */
.newsletter {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0;
  text-align: center;
}

.newsletter__form {
  display: flex;
  max-width: 460px;
  margin: 2rem auto 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.newsletter__form:focus-within {
  border-color: var(--accent-gold);
}

.newsletter__input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: var(--bg-primary);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter__input::placeholder {
  color: #4a4a4a;
}

.newsletter__btn {
  border-radius: 0;
  flex-shrink: 0;
}

/* ── 16. Footer ───────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
}

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

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 260px;
}

.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer__links li + li {
  margin-top: 0.7rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  color: var(--text-muted);
}

.social-icon:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Product Modal ───────────────────────────────────────── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-modal.open {
  opacity: 1;
  pointer-events: all;
}

.product-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.product-modal__panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
  max-height: 88vh;
}

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

.product-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
}

.product-modal__close:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--accent-gold);
}

.product-modal__image {
  overflow: hidden;
  background: #1a1a1a;
}

.product-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal__details {
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
}

.product-modal__category {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.product-modal__name {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--text-primary);
}

.product-modal__price {
  color: var(--accent-gold);
  font-size: 1.25rem;
  font-weight: 500;
}

.product-modal__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.product-modal__notes {
  border-top: 1px solid rgba(212,175,55,0.15);
  padding-top: 1rem;
}

.product-modal__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-modal__actions .btn {
  flex: 1;
}

/* ── Cart Confirm Dialog ─────────────────────────────────── */
.cart-confirm {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-confirm.open {
  opacity: 1;
  pointer-events: all;
}

.cart-confirm__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.cart-confirm__panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
}

.cart-confirm.open .cart-confirm__panel {
  transform: translateY(0) scale(1);
}

.cart-confirm__check {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-gold);
  font-size: 1.4rem;
}

.cart-confirm__msg {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.cart-confirm__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.cart-confirm__actions {
  display: flex;
  gap: 0.75rem;
}

.cart-confirm__actions .btn {
  flex: 1;
}

@media (max-width: 640px) {
  .product-modal__panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .product-modal__image {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
  .product-modal__details {
    padding: 1.5rem;
  }
}

/* ── 17. About Page ───────────────────────────────────────── */
.page-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  text-align: center;
}

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

.brand-story__text p + p {
  margin-top: 1.1rem;
}

.brand-story__image {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-story__monogram {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent-gold);
  opacity: 0.25;
  letter-spacing: 0.1em;
  user-select: none;
}

.values-section {
  background: var(--bg-secondary);
}

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

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.value-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-4px);
}

.value-card__icon {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-section {
  max-width: 680px;
  margin: 0 auto;
}

/* ── 18. Shop Page Header ─────────────────────────────────── */
.shop-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
}

/* ── 19b. Navbar Logo Sub-label ───────────────────────────── */
.navbar__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}

.navbar__logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

.navbar__logo-sub {
  font-size: 0.52rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

/* ── 20. Page Loader ──────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.18em;
  animation: loaderPulse 0.9s ease forwards;
}

.page-loader__sub {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderPulse 0.9s ease 0.15s both;
}

.page-loader__bar {
  width: 60px;
  height: 1px;
  background: var(--border-subtle);
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
}

.page-loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gold);
  animation: loaderBar 0.8s ease forwards;
  transform-origin: left;
}

@keyframes loaderPulse {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loaderBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── 21. Hero Entrance Animations ────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes goldLineGrow {
  from { height: 0; opacity: 0; }
  to   { height: 70px; opacity: 0.7; }
}

.hero-anim {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim--1 { animation-delay: 0.3s; }
.hero-anim--2 { animation-delay: 0.55s; }
.hero-anim--3 { animation-delay: 0.75s; }
.hero-anim--4 { animation-delay: 1.0s; }
.hero-anim--5 { animation-delay: 1.25s; }

.hero__gold-line.hero-anim {
  animation: goldLineGrow 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.55s;
}

/* ── 22. Hero Watermark ───────────────────────────────────── */
.hero__watermark {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 20vw, 20rem);
  color: var(--accent-gold);
  opacity: 0.028;
  letter-spacing: 0.04em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  font-weight: 700;
}

/* ── 23. Marquee Strip ────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: rgba(201, 168, 76, 0.04);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__item {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  padding: 0 3rem;
  white-space: nowrap;
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee__dot {
  width: 3px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 24. Scroll Reveal ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Gold divider animates width */
.gold-divider.reveal {
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gold-divider.reveal.visible {
  transform: scaleX(1);
  opacity: 1;
}

/* ── 19. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

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

  .featured__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .order-summary {
    position: static;
  }

  .brand-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

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

  .cart-item {
    grid-template-columns: 70px 1fr auto;
    gap: 0.85rem;
  }

  .newsletter__form {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .newsletter__btn {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
}
