/* =====================================================================
   Queens Fable — three switchable design styles
   data-theme="royal"   : dark black & gold luxury boutique
   data-theme="minimal" : light cream, airy modern
   data-theme="classic" : white + maroon offer-driven store
   ===================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
}

/* ---------- theme palettes ---------- */
html[data-theme="royal"] {
  --bg: #14100c;
  --bg-alt: #1f1913;
  --card: #1f1913;
  --text: #f3e9d8;
  --text-soft: #a89878;
  --accent: #c9a86a;
  --accent-ink: #14100c;
  --border: #3a2f22;
  --hero-overlay: rgba(20, 16, 12, 0.72);
}
html[data-theme="minimal"] {
  --bg: #faf7f4;
  --bg-alt: #f0e9e1;
  --card: #ffffff;
  --text: #3d3630;
  --text-soft: #8a7a6d;
  --accent: #3d3630;
  --accent-ink: #faf7f4;
  --border: #e5dbd2;
  --hero-overlay: rgba(250, 247, 244, 0.55);
}
html[data-theme="classic"] {
  --bg: #ffffff;
  --bg-alt: #fdf2f6;
  --card: #ffffff;
  --text: #333333;
  --text-soft: #777777;
  --accent: #7a2748;
  --accent-ink: #ffffff;
  --border: #eeeeee;
  --hero-overlay: rgba(122, 39, 72, 0.45);
}
html[data-theme="taasha"] {
  --bg: #ffffff;
  --bg-alt: #fafaf8;
  --card: #ffffff;
  --text: #474747;
  --text-soft: #8a8a8a;
  --accent: #202020;
  --accent-ink: #ffffff;
  --border: #e8e8e8;
  --hero-overlay: rgba(255, 255, 255, 0.45);
  --font-head: 'Cormorant', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.4s, color 0.4s;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- offer strip (Classic only) ---------- */
.offer-strip {
  display: none;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 7px 16px;
}
html[data-theme="classic"] .offer-strip { display: block; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1120px; margin: 0 auto; flex-wrap: wrap; gap: 10px;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.45rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
html[data-theme="minimal"] .brand { letter-spacing: 1px; text-transform: none; }
.nav ul { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-soft); transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--accent); }
html[data-theme="minimal"] .nav a { text-transform: none; letter-spacing: 0.3px; font-size: 0.95rem; }
html[data-theme="classic"] .nav a.active { border-bottom: 2px solid var(--accent); padding-bottom: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-inner { position: relative; z-index: 1; padding: 60px 24px; max-width: 720px; }
.hero .kicker {
  font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
html[data-theme="minimal"] .hero .kicker { color: var(--text-soft); }
.hero h1 {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin-bottom: 14px;
}
html[data-theme="royal"] .hero h1, html[data-theme="royal"] .hero .sub { color: #f3e9d8; }
html[data-theme="classic"] .hero h1, html[data-theme="classic"] .hero .sub, html[data-theme="classic"] .hero .kicker { color: #ffffff; }
.hero .sub { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 28px; }
html[data-theme="classic"] .hero .sub { color: #ffe9f1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; font-family: var(--font-body);
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 32px; border: 1px solid var(--accent);
  color: var(--accent); background: transparent; transition: all 0.25s;
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { opacity: 0.88; }
html[data-theme="minimal"] .btn { border-radius: 3px; letter-spacing: 0.5px; text-transform: none; font-size: 0.95rem; }
html[data-theme="classic"] .btn { border-radius: 4px; }

/* ---------- sections ---------- */
section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker { font-size: 0.75rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent); }
html[data-theme="minimal"] .section-head .kicker { color: var(--text-soft); }
.section-head h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 6px; }
.section-alt { background: var(--bg-alt); }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end;
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span {
  position: relative; z-index: 1; width: 100%; padding: 10px 14px;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
}
html[data-theme="minimal"] .cat-tile { border-radius: 8px; }
html[data-theme="minimal"] .cat-tile span { text-transform: none; letter-spacing: 0.3px; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); }
html[data-theme="minimal"] .product-card { border-radius: 10px; }
html[data-theme="classic"] .product-card { border-radius: 6px; }
html[data-theme="classic"] .product-card:hover { box-shadow: 0 8px 22px rgba(122, 39, 72, 0.12); }
.product-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px;
}
.product-info { padding: 16px; text-align: center; }
.product-info .p-cat { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); }
.product-info h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; margin: 5px 0 8px; }
.price { color: var(--accent); font-size: 1rem; font-weight: 500; }
html[data-theme="minimal"] .price { color: var(--text); }
.mrp { display: none; color: var(--text-soft); text-decoration: line-through; font-weight: 400; font-size: 0.85rem; margin-left: 6px; }
html[data-theme="classic"] .mrp { display: inline; }
.p-order {
  display: inline-block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
html[data-theme="minimal"] .p-order { text-transform: none; letter-spacing: 0.3px; font-size: 0.88rem; }

/* ---------- filter tabs (collections) ---------- */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-bar button {
  font-family: var(--font-body); cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-soft);
  font-size: 0.82rem; letter-spacing: 1px; padding: 8px 18px; transition: all 0.2s;
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html[data-theme="minimal"] .filter-bar button { border-radius: 20px; }
html[data-theme="classic"] .filter-bar button { border-radius: 4px; }

/* ---------- story / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
html[data-theme="minimal"] .split img { border-radius: 12px; }
.split h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.9rem; margin-bottom: 16px; }
.split p { color: var(--text-soft); margin-bottom: 14px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.perk { padding: 26px 18px; border: 1px solid var(--border); background: var(--card); }
html[data-theme="minimal"] .perk { border-radius: 10px; }
.perk .p-ico { font-size: 1.7rem; color: var(--accent); }
.perk h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; margin: 10px 0 6px; }
.perk p { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-list .c-ico { color: var(--accent); font-size: 1.25rem; margin-top: 2px; }
.contact-list strong { display: block; font-weight: 500; letter-spacing: 0.5px; }
.contact-list span { color: var(--text-soft); font-size: 0.92rem; }
.contact-form label { display: block; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 6px; color: var(--text-soft); }
.contact-form input, .contact-form textarea {
  width: 100%; margin-bottom: 18px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- footer ---------- */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 46px 0 90px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: 1px; margin-bottom: 12px; color: var(--accent); }
.foot-grid p, .foot-grid a { color: var(--text-soft); font-size: 0.9rem; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a:hover { color: var(--accent); }
.copyright { text-align: center; color: var(--text-soft); font-size: 0.8rem; margin-top: 36px; letter-spacing: 1px; }

/* ---------- style switcher (the "tab") ---------- */
.style-switcher {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 4px;
  background: rgba(30, 30, 30, 0.92); color: #ddd;
  padding: 6px 10px; border-radius: 30px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-size: 0.8rem;
}
.style-switcher .sw-label { padding: 0 6px; letter-spacing: 1px; color: #999; }
.style-switcher button {
  font-family: var(--font-body); cursor: pointer; border: none; border-radius: 20px;
  background: transparent; color: #ccc; padding: 7px 16px; font-size: 0.8rem;
  letter-spacing: 0.5px; transition: all 0.2s;
}
.style-switcher button:hover { color: #fff; }
.style-switcher button.active { background: #c9a86a; color: #14100c; font-weight: 500; }

/* ---------- Taasha style: white, Cormorant headings, sharp + quiet ---------- */
html[data-theme="taasha"] .brand { letter-spacing: 2px; }
html[data-theme="taasha"] .nav a { font-size: 0.8rem; letter-spacing: 1px; }
html[data-theme="taasha"] .section-head h2 { font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
html[data-theme="taasha"] .hero h1 { color: #202020; font-weight: 700; }
html[data-theme="taasha"] .hero .sub { color: #474747; }
html[data-theme="taasha"] .hero .kicker { color: #8a8a8a; }
html[data-theme="taasha"] .product-card { border: none; }
html[data-theme="taasha"] .product-info h3 {
  font-family: var(--font-body); text-transform: uppercase;
  font-size: 0.88rem; letter-spacing: 1.5px; font-weight: 600;
}
html[data-theme="taasha"] .price { color: #333333; font-weight: 600; }
html[data-theme="taasha"] .p-order { letter-spacing: 2px; font-weight: 600; }
html[data-theme="taasha"] .cat-tile span {
  background: rgba(255, 255, 255, 0.88); color: #202020; text-align: center;
  font-size: 0.78rem; letter-spacing: 2px;
}
html[data-theme="taasha"] .perk { border: none; background: transparent; }
html[data-theme="taasha"] .perk h3 { font-family: var(--font-body); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; font-weight: 600; }

.best-price { display: none; font-size: 0.78rem; color: #6d8a5b; margin-top: 3px; }
html[data-theme="taasha"] .best-price { display: block; }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 18px; right: 18px; z-index: 100;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
