:root {
  --ink: #1b1714;
  --charcoal: #221d1a;
  --cream: #faf6f0;
  --cream-2: #f2eade;
  --gold: #c9a24b;
  --gold-deep: #a9822f;
  --logo-gold: #c79a2c;
  --near-black: #050302;
  --blush: #caa6a0;
  --line: #e8ddcf;
  --success: #3f7d4f;
  --danger: #b3453a;
  --shadow: 0 20px 40px -20px rgba(27, 23, 20, 0.35);
  --radius: 14px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: 0.01em; }
p { line-height: 1.6; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Announcement bar */
.announce {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
}

/* Nav */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1180px; margin: 0 auto; }
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: 0.03em; }
.brand span { color: var(--gold-deep); }
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; }
.nav-links a { text-decoration: none; opacity: 0.8; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--gold-deep); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn { position: relative; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 9px 18px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.cart-count { background: var(--gold-deep); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Brand mark (logo lockup) */
.brand-mark { display: flex; flex-direction: column; align-items: center; gap: 0; font-family: "Cinzel", serif; }
.brand-mark-row { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
.brand-mark-photo { width: clamp(64px, 9vw, 120px); height: clamp(64px, 9vw, 120px); border-radius: 50%; border: 4px solid var(--logo-gold); padding: 4px; box-sizing: border-box; background: var(--near-black); flex-shrink: 0; }
.brand-mark-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.brand-mark-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-mark-text .l1 { font-size: clamp(26px, 5.5vw, 54px); color: var(--logo-gold); letter-spacing: clamp(3px, 0.7vw, 5px); font-weight: 600; }
.brand-mark-text .l2 { font-size: clamp(10px, 2vw, 19px); color: var(--logo-gold); letter-spacing: clamp(5px, 1.8vw, 13px); font-weight: 500; margin-left: 3px; margin-top: 5px; }
.brand-mark-flourish { margin-top: -2px; width: clamp(190px, 32vw, 340px); }
.brand-mark-flourish svg { width: 100%; height: auto; display: block; }

/* Dark hero (home page) */
.hero-dark { position: relative; padding: 56px 24px 100px; text-align: center; background: linear-gradient(160deg, var(--near-black), #241d17 75%); overflow: hidden; }
.hero-dark::before, .hero-dark::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.25; z-index: 0; }
.hero-dark::before { width: 360px; height: 360px; background: var(--logo-gold); top: -140px; left: -100px; }
.hero-dark::after { width: 320px; height: 320px; background: var(--blush); bottom: -150px; right: -80px; }
.hero-dark .hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 34px auto 0; }
.hero-dark .eyebrow { color: var(--logo-gold); }
.hero-dark h1 { color: #fdf8ee; }
.hero-dark p.lead { color: #cfc4b5; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fdf8ee; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; color: var(--gold-deep); font-weight: 600; margin-bottom: 18px; }
.hero-inner h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; }
.hero-inner p.lead { margin: 20px auto 0; max-width: 520px; font-size: 17px; color: #55493f; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 600; }

/* Category landing tiles (home page) */
.category-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 0 0 100px; }
.category-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; padding: 32px; text-decoration: none; color: #fff; box-shadow: var(--shadow); transition: transform 0.25s; }
.category-tile:hover { transform: translateY(-4px); }
.category-tile.hair-tile { background: linear-gradient(160deg, #3a2f28, #caa6a0); }
.category-tile.clothes-tile { background: linear-gradient(160deg, #221d1a, #c9a24b); }
.category-tile.haircare-tile { background: linear-gradient(160deg, #4a3a1f, #d9b878); }
.category-tile.handbags-tile { background: linear-gradient(160deg, #2e2013, #b8895a); }
.category-tile-content .eyebrow { color: #fff; opacity: 0.8; margin-bottom: 8px; }
.category-tile-content h3 { font-size: 28px; color: #fff; }
.category-tile-content p { font-size: 14px; opacity: 0.85; margin: 8px 0 0; max-width: 320px; }
.category-tile-arrow { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* About teaser (home page) */
.about-teaser { padding: 0 0 100px; text-align: center; }
.about-teaser-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.about-teaser-card h2 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 14px; }
.about-teaser-card p { color: #6b5e50; margin-bottom: 22px; }

/* Sub-page hero (Hair / Clothes / About) */
.page-hero { position: relative; padding: 70px 24px 60px; text-align: center; overflow: hidden; }
.page-hero.hair-theme { background: radial-gradient(circle at 50% 0%, #fbf1ee, var(--cream) 70%); }
.page-hero.clothes-theme { background: radial-gradient(circle at 50% 0%, #fdf6e8, var(--cream) 70%); }
.page-hero.about-theme { background: radial-gradient(circle at 50% 0%, #fffaf2, var(--cream) 70%); }
.page-hero.handbags-theme { background: radial-gradient(circle at 50% 0%, #f6ecd9, var(--cream) 70%); }
.page-hero h1 { font-size: clamp(32px, 5vw, 46px); }
.page-hero p.lead { margin: 16px auto 0; max-width: 560px; font-size: 16px; color: #55493f; }
.crumb { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #8a7c6c; margin-bottom: 14px; }
.crumb a { text-decoration: none; color: #8a7c6c; }
.crumb a:hover { color: var(--gold-deep); }

/* Shop */
.shop { padding: 50px 0 100px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { justify-content: center; display: flex; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: #6b5e50; margin-top: 10px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-monogram { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 40px; color: #fff; }
.badge-featured { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.badge-out { position: absolute; inset: 0; background: rgba(27,23,20,0.55); color: #fff; display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); font-weight: 600; }
.product-name { font-family: var(--serif); font-size: 18px; }
.product-desc { font-size: 13px; color: #6b5e50; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-price { font-weight: 700; font-size: 16px; }
.add-btn { border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.add-btn:hover { background: var(--ink); color: #fff; }
.add-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.empty-note { text-align: center; color: #8a7c6c; padding: 40px 0; grid-column: 1 / -1; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(27,23,20,0.5); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--cream); z-index: 70; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; box-shadow: -30px 0 60px rgba(0,0,0,0.2); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 20px; }
.icon-btn { background: none; border: none; font-size: 20px; line-height: 1; padding: 4px; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item-thumb { width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--serif); }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: #6b5e50; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-row button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.remove-link { font-size: 12px; color: var(--danger); background: none; border: none; text-decoration: underline; padding: 0; }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cart-empty { text-align: center; color: #8a7c6c; padding: 60px 0; }

/* Checkout modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(27,23,20,0.55); z-index: 80; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%; padding: 32px; box-shadow: var(--shadow); }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal p.sub { color: #6b5e50; font-size: 14px; margin: 0 0 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; color: #55493f; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; }
.field textarea { resize: vertical; min-height: 70px; }
.radio-row { display: flex; gap: 16px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-size: 13px; text-transform: none; letter-spacing: 0; }
.form-error { background: #fbeceb; color: var(--danger); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.form-error.show { display: block; }
.pay-methods { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.pay-chip { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: #6b5e50; }

/* Reviews */
.reviews { padding: 90px 0; background: var(--charcoal); color: var(--cream); }
.reviews .section-head p { color: #cfc4b5; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 48px; }
.review-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; }
.stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review-comment { font-size: 14px; line-height: 1.6; color: #ece4d8; }
.review-meta { margin-top: 14px; font-size: 12px; color: #a99d8d; text-transform: uppercase; letter-spacing: 0.05em; }
.review-form { max-width: 560px; margin: 0 auto; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px; }
.review-form .field label { color: #cfc4b5; }
.review-form .field input, .review-form .field textarea, .review-form .field select { background: rgba(255,255,255,0.9); }
.star-picker { display: flex; gap: 6px; font-size: 26px; margin-bottom: 4px; }
.star-picker span { cursor: pointer; color: #6b5e50; }
.star-picker span.active { color: var(--gold); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* About page */
.story { padding: 20px 0 90px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-visual { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg, var(--charcoal), var(--gold-deep)); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.story-visual span { font-family: var(--serif); font-size: 96px; color: rgba(255,255,255,0.9); }
.story-text .eyebrow { margin-bottom: 14px; }
.story-text h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 18px; }
.story-text p { color: #55493f; margin-bottom: 16px; }
.story-quote { border-left: 3px solid var(--gold); padding-left: 18px; margin: 24px 0; font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--ink); }

.values { padding: 0 0 90px; background: var(--charcoal); padding-top: 80px; padding-bottom: 90px; color: var(--cream); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.value-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.value-icon { font-size: 30px; margin-bottom: 14px; }
.value-card h4 { color: var(--cream); font-size: 17px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: #cfc4b5; margin: 0; }

.about-cta { padding: 90px 0; text-align: center; }
.about-cta h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 16px; }
.about-cta p { color: #6b5e50; margin-bottom: 28px; }

/* Footer */
footer.site-footer { background: var(--ink); color: #cfc4b5; padding: 56px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 36px; }
.footer-grid h4 { color: var(--cream); font-size: 16px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 13px; color: #a99d8d; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { text-align: center; font-size: 12px; color: #7d7264; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; }
.admin-link { display: inline-block; margin-top: 8px; font-size: 10px; color: #5c5346; text-decoration: none; letter-spacing: 0.03em; }
.admin-link:hover { color: var(--gold); }

/* WhatsApp floating button */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 50; background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.25); text-decoration: none; font-size: 26px; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px; font-size: 13px; z-index: 90; opacity: 0; pointer-events: none; transition: all 0.25s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Order status page */
.status-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.status-card { max-width: 480px; width: 100%; background: #fff; border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow); }
.status-icon { font-size: 44px; margin-bottom: 12px; }
.status-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin: 12px 0 20px; }
.status-paid { background: #e5f3e8; color: var(--success); }
.status-pending { background: #faf1de; color: #9a6d1f; }
.status-other { background: #f1eae1; color: #6b5e50; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .footer-grid { flex-direction: column; }
  .category-tiles { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 240px; margin: 0 auto; }
}
