/* ==========================================================================
   NADA FACES — Design System
   Makeup & Personal Care
   ========================================================================== */

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

:root {
  /* Color — predominantly pink & gold, deep saturation */
  --ivory: #FDF3F6;
  --ivory-deep: #F6D2DE;       /* richer, more saturated pink for section backgrounds */
  --blush: #DE5C87;            /* primary pink, vivid */
  --blush-pale: #F1B9CD;
  --blush-deep: #A8305A;
  --blush-mid: #E77FA0;
  --gold: #BF8B2E;
  --gold-light: #E4BE72;
  --gold-foil: linear-gradient(135deg, #F0D394 0%, #BF8B2E 45%, #8C6423 100%);
  --espresso: #34101E;         /* deep wine-black, primary text */
  --espresso-soft: #6B2038;
  --wine: #841E42;
  --wine-deep: #4A0F26;
  --white: #FFFFFF;
  --line: rgba(132, 30, 66, 0.16);
  --line-gold: rgba(191, 139, 46, 0.45);
  --page-bg: linear-gradient(180deg, #F2A9C4 0%, #F7D5E2 260px, #FDF3F6 520px);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 520px; /* mobile-first canvas, scales up via media queries */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px -12px rgba(43, 30, 26, 0.18);
  --shadow-card: 0 4px 18px -6px rgba(43, 30, 26, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  background-color: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Brandmark: "Nada" italic + "Faces" upright, one word ---------- */
.brandmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--wine-deep);
  white-space: nowrap;
}
.brandmark-faces {
  font-style: normal;
  font-weight: 500;
  color: var(--espresso);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--espresso);
  margin: 0;
  line-height: 1.08;
}

h1 { font-size: 40px; font-style: italic; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }

p { line-height: 1.6; color: var(--espresso-soft); margin: 0; }

/* ---------- Layout shell ---------- */
.shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}

@media (min-width: 900px) {
  .shell { max-width: 1080px; padding: 0 40px; }
}

/* ---------- Top bar / announcement ---------- */
.announce {
  background: var(--espresso);
  color: var(--ivory-deep);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 40px 9px 12px;
  position: relative;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
}
.announce.is-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}
.announce span.accent { color: var(--gold-light); }
.announce-close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--ivory-deep);
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.75;
}
.announce-close:hover { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 242, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 6px 18px -10px rgba(43,30,26,0.25); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-logo { font-size: 24px; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--espresso);
}
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--wine);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-links { display: none; }

@media (min-width: 900px) {
  .nav-logo { font-size: 27px; }
  .nav-links {
    display: flex;
    gap: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .nav-links a { opacity: 0.75; transition: opacity 0.2s; }
  .nav-links a:hover { opacity: 1; color: var(--wine); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--espresso);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--wine-deep); }

.btn-gold {
  background: var(--gold-foil);
  color: var(--espresso);
  box-shadow: var(--shadow-card);
}
.btn-gold:hover { filter: brightness(1.06); }

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

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 11px; }

/* ---------- Hero: full-bleed carousel with overlaid copy ---------- */
.hero-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 76vh;
  min-height: 460px;
  max-height: 680px;
  overflow: hidden;
  background: var(--espresso);
}

.hero-carousel { position: absolute; inset: 0; }

.jewel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 1.4s ease;
}
.jewel-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.jewel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  /* Hero photos are headshots framed with the face in the upper two-thirds.
     Shifting the focal point up keeps the whole face clear of the text
     overlay anchored at the bottom, pushing shoulders/background into the
     area that gets cropped or covered instead. */
  object-position: 50% 15%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(0deg, rgba(52,16,30,0.94) 0%, rgba(52,16,30,0.65) 18%, rgba(52,16,30,0.06) 36%),
    linear-gradient(180deg, rgba(52,16,30,0.3) 0%, rgba(52,16,30,0) 18%);
}

.hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding-bottom: 34px;
  text-align: center;
}
.eyebrow-on-dark { color: var(--gold-light); }
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ivory);
  font-size: 32px;
  line-height: 1.1;
  margin-top: 4px;
}
.tagline-on-dark {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(253,243,246,0.82);
  margin-top: 8px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(253,243,246,0.6);
  color: var(--ivory);
}
.btn-outline-light:hover { background: rgba(253,243,246,0.14); }

.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 16px;
  z-index: 4;
  justify-content: center;
}

.jewel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.jewel-dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(253,243,246,0.4);
  padding: 0;
  transition: all 0.25s ease;
}
.jewel-dots button.active { width: 20px; border-radius: 4px; background: var(--gold-light); }

@media (min-width: 900px) {
  .hero-bleed { height: 88vh; max-height: 760px; }
  .hero-overlay { text-align: left; padding-bottom: 64px; }
  .hero-title { font-size: 56px; }
  .tagline-on-dark { text-align: left; margin-left: 0; }
  .hero-cta-row { justify-content: flex-start; }
}

/* ---------- Category chips ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 18px 6px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FEF9FA;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--espresso-soft);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.chip.active, .chip:hover {
  border-color: var(--gold);
  background: var(--blush-mid);
  color: var(--white);
}

/* ---------- Section heads ---------- */
.section { padding: 34px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head .see-all {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wine);
  border-bottom: 1px solid var(--wine);
  padding-bottom: 2px;
}

/* ---------- Product grid & cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.card-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  background: var(--blush-pale);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
}
.card-tag.sale { background: var(--wine); }

.card-wish {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.card-wish svg { width: 15px; height: 15px; }

.card-body { padding: 12px 12px 14px; }
.card-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--espresso);
  margin-top: 3px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
}
.card-price { font-weight: 800; font-size: 14.5px; }
.card-price-old {
  font-size: 12px;
  color: var(--espresso-soft);
  text-decoration: line-through;
  opacity: 0.6;
}
.card-cta {
  margin-top: 10px;
  width: 100%;
  padding: 9px;
  border-radius: 999px;
  border: 1px solid var(--espresso);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.card-cta:hover { background: var(--espresso); color: var(--ivory); }
.card-cta[disabled] { opacity: 0.4; cursor: not-allowed; border-style: dashed; }

/* ---------- Placeholder card (web-sourced, no photo yet) ---------- */
.card-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blush-pale), var(--ivory-deep));
  padding: 16px;
  text-align: center;
}
.card-media.placeholder .ph-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  padding: 14px 10px;
  width: 100%;
}
.card-media.placeholder .ph-note {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  margin-top: 8px;
}

/* ---------- Story strip ---------- */
.story {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-foil);
  opacity: 0.08;
}
.story h2 { color: var(--ivory); font-style: italic; position: relative; }
.story p { color: rgba(251,246,240,0.75); margin-top: 10px; max-width: 46ch; position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer ul li a:hover { color: var(--wine); }

.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: var(--espresso); color: var(--ivory); }

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 18px 0 76px;
  font-size: 11.5px;
  color: var(--espresso-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.footer-bottom .staff-login-link {
  font-weight: 600;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom .staff-login-link:hover { color: var(--wine-deep); }

@media (min-width: 900px) {
  .footer-bottom { padding-bottom: 18px; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 18px; right: 18px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(37,211,102,0.55);
  z-index: 200;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ---------- Payment badges ---------- */
.pay-badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pay-badge {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
}
.pay-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.pay-badge.airtel .dot { background: #E4002B; }
.pay-badge.mtn { opacity: 0.55; }
.pay-badge.mtn .dot { background: #FFCB05; }
.pay-badge.mtn::after { content: 'Soon'; font-size: 9px; text-transform: uppercase; color: var(--espresso-soft); margin-left: 2px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
