/* ============ True Scents Mini Co — design tokens ============ */
:root {
  --plum-deeper: #1C0E20;
  --plum-dark:   #2E1533;
  --plum-mid:    #4A2650;
  --plum-soft:   #6B3A73;
  --gold:        #C9A227;
  --gold-light:  #E6C766;
  --lilac:       #C9A0DC;
  --lilac-soft:  #E7D6F0;
  --cream:       #FBF6F2;
  --cream-alt:   #F3E6E9;
  --ink:         #241220;
  --ink-soft:    #5A4756;
  --white:       #ffffff;

  --font-script: 'Pinyon Script', cursive;
  --font-serif:  'Playfair Display', serif;
  --font-sans:   'Jost', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(46, 21, 51, 0.10);
  --shadow-card: 0 14px 34px rgba(46, 21, 51, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
section { position: relative; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--gold-light); }
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--plum-dark);
  margin-bottom: 1rem;
}
.section-title.center { text-align: center; }
.section-title-light { color: var(--white); }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 560px;
}
.section-sub.center { margin: 0 auto 2.8rem; text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--plum-deeper);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 39, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 246, 242, 0.4);
}
.btn-ghost:hover { background: rgba(251, 246, 242, 0.1); border-color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--plum-dark);
  border-color: var(--plum-mid);
}
.btn-outline:hover { background: var(--plum-dark); color: var(--cream); }
.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ============ Announcement bar ============ */
.announce-bar {
  background: var(--plum-deeper);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 1rem;
  font-weight: 500;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(46, 21, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.05rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--cream);
  white-space: nowrap;
}
.logo span {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.nav-links {
  display: flex;
  gap: 2.1rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(230, 199, 102, 0.20), transparent 42%),
    radial-gradient(ellipse at 50% 100%, var(--plum-mid), var(--plum-deeper) 70%);
}
.hero-ring {
  position: absolute;
  width: min(640px, 90vw);
  height: min(640px, 90vw);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(201, 160, 220, 0.22);
  border-radius: 50%;
}
.hero-sparkles { position: absolute; inset: 0; pointer-events: none; }
.hero-sparkles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(230, 199, 102, 0.7);
  animation: twinkle 3.2s ease-in-out infinite;
}
.hero-sparkles span:nth-child(1){ top:18%; left:20%; animation-delay: 0s;}
.hero-sparkles span:nth-child(2){ top:30%; left:78%; animation-delay: .4s;}
.hero-sparkles span:nth-child(3){ top:65%; left:14%; animation-delay: .8s;}
.hero-sparkles span:nth-child(4){ top:75%; left:85%; animation-delay: 1.2s;}
.hero-sparkles span:nth-child(5){ top:12%; left:55%; animation-delay: 1.6s;}
.hero-sparkles span:nth-child(6){ top:50%; left:90%; animation-delay: 2.0s;}
.hero-sparkles span:nth-child(7){ top:85%; left:48%; animation-delay: 2.4s;}
.hero-sparkles span:nth-child(8){ top:40%; left:8%;  animation-delay: 2.8s;}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 1.1rem;
}
.hero-logo .script {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  color: var(--lilac);
  text-shadow: 0 0 24px rgba(201, 160, 220, 0.45);
  line-height: 1;
}
.hero-sub-brand {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.6rem;
  padding-left: 0.5em; /* optically balance the letter-spacing */
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.hero-copy {
  color: rgba(251, 246, 242, 0.78);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ Trust bar ============ */
.trust-bar {
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.6rem;
  padding: 1.8rem 1.5rem;
  border-bottom: 1px solid var(--cream-alt);
}
.trust-item {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.trust-icon { font-size: 1rem; }

/* ============ Shop / product grid ============ */
.shop {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-alt);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.8rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}
.product-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--plum-dark);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.product-art {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 auto 1.2rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-alt);
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Product image gallery (swipeable) ---- */
.product-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 auto 1.2rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-alt);
}
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  display: block;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 14, 32, 0.55);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.gallery-arrow:hover { background: rgba(28, 14, 32, 0.8); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(251, 246, 242, 0.65);
  box-shadow: 0 0 4px rgba(28, 14, 32, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gallery-dot.active { background: var(--gold); transform: scale(1.25); }

.product-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--plum-dark);
  margin-bottom: 0.5rem;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1rem;
  min-height: 3.3em;
}
.product-price {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
}
.product-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem;
}

/* ============ About ============ */
.about { background: var(--cream-alt); padding: 6rem 1.5rem; }
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.about-text p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.1rem; font-size: 1rem; }
.about-visual {
  position: relative;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--plum-dark);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Wholesale ============ */
.wholesale {
  background: radial-gradient(ellipse at 50% 0%, var(--plum-mid), var(--plum-deeper) 75%);
  padding: 6rem 1.5rem;
}
.wholesale-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.wholesale-proof {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  margin: 0 auto 2.2rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  display: block;
}
.wholesale-copy {
  color: rgba(251, 246, 242, 0.78);
  line-height: 1.7;
  margin-bottom: 2.4rem;
  font-size: 1.02rem;
}
.wholesale-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.wholesale-terms li {
  background: rgba(251, 246, 242, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--radius);
  padding: 1.3rem 1rem;
}
.wholesale-terms strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.wholesale-terms span { color: var(--cream); font-size: 0.94rem; font-weight: 500; }

/* ============ Footer ============ */
.footer { background: var(--plum-deeper); color: var(--cream); padding: 4.5rem 1.5rem 1.5rem; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(251, 246, 242, 0.12);
}
.logo-footer { font-size: 1.5rem; margin-bottom: 0.4rem; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: rgba(251,246,242,0.6); font-size: 0.95rem; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
}
.footer-col p { font-size: 0.9rem; color: rgba(251,246,242,0.75); margin-bottom: 0.5rem; line-height: 1.6; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(251,246,242,0.45);
}
.footer-sample-note { font-style: italic; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-sparkles span { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { height: 260px; order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--plum-dark);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  }
  .wholesale-terms { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.2rem 1.8rem; justify-content: flex-start; }
  .hero { padding: 5rem 1.2rem 4rem; }
}

/* ============ Shopping bag (WhatsApp cart) ============ */
.cart-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--plum-deeper);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.cart-toggle:hover { transform: translateY(-3px); }
.cart-toggle-icon { font-size: 1.5rem; line-height: 1; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--plum-dark);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(28, 14, 32, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 220;
  width: min(400px, 90vw);
  height: 100%;
  background: var(--cream);
  box-shadow: -12px 0 40px rgba(28, 14, 32, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  background: var(--plum-dark);
  color: var(--cream);
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
}
.cart-close {
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3rem;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty { color: var(--ink-soft); text-align: center; padding: 2rem 0; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--cream-alt);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600;
  color: var(--plum-dark);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.cart-item-price { font-size: 0.82rem; color: var(--gold); font-family: var(--font-serif); }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--cream-alt);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}
.cart-qty button {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--plum-dark);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.cart-qty button:hover { background: var(--cream-alt); }
.cart-qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}
.cart-item-remove:hover { color: #B3261E; }
.cart-footer {
  padding: 1.3rem 1.5rem;
  border-top: 1px solid var(--cream-alt);
  background: var(--white);
}
.cart-note { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.9rem; text-align: center; }
.btn.is-disabled { opacity: 0.5; pointer-events: none; }
