/* ============================================================
   Nency's Artistry — Premium Gift Studio (Light theme)
   ============================================================ */
:root {
  --bg: #faf7f1;
  --bg-soft: #f3ede2;
  --card: #ffffff;
  --line: rgba(43, 34, 51, 0.1);
  --text: #2b2233;
  --muted: #7d7286;
  --gold: #c9922b;
  --gold-2: #b57f1f;
  --rose: #e0557f;
  --wa: #1fbd5f;
  --grad: linear-gradient(120deg, var(--gold), var(--rose) 55%, #e6b04f);
  --radius: 22px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(90, 70, 30, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #fffdf6; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 100px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head__tag {
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
}
.section-head__sub { color: var(--muted); margin-top: 14px; max-width: 520px; margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
}
.btn .ic { width: 18px; height: 18px; fill: currentColor; }

.btn--gold {
  background: var(--grad);
  color: #fffdf6;
  box-shadow: 0 8px 26px rgba(201, 146, 43, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(224, 85, 127, 0.38); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.btn--wa {
  background: var(--wa);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(31, 189, 95, 0.35);
}
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(31, 189, 95, 0.42); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 241, 0.94);
  padding: 12px 0;
  box-shadow: 0 10px 34px rgba(90, 70, 30, 0.1);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.nav__logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fffdf6;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  transform: rotate(-8deg);
  box-shadow: 0 6px 18px rgba(201, 146, 43, 0.3);
}

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 11px 24px; font-size: 0.85rem; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; text-align: center; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  z-index: 1;
}
.hero__glow--one {
  width: 480px;
  height: 480px;
  background: rgba(232, 176, 75, 0.45);
  top: -120px;
  left: -100px;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero__glow--two {
  width: 420px;
  height: 420px;
  background: rgba(224, 85, 127, 0.35);
  bottom: -140px;
  right: -80px;
  animation: drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.15); }
}

.hero__eyebrow {
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero__sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 300;
  font-size: 1.05rem;
}

.hero__actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.hero__stats div { text-align: center; }
.hero__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold);
}
.hero__stats span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.hero__sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: sparkleFloat linear infinite;
}
@keyframes sparkleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translateY(-60vh) scale(0.4); opacity: 0; }
}

.hero__float { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 0.85rem; }
.float-card__icon { width: 34px; height: 34px; fill: var(--rose); flex-shrink: 0; }
.float-card small { color: var(--muted); font-size: 0.72rem; }
.float-card--a { top: 24%; left: 8%; animation-delay: 0s; }
.float-card--b { bottom: 20%; right: 8%; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span { font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold); }
.marquee__track i { color: var(--rose); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Filters + Product grid
   ============================================================ */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.chip {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip--active {
  background: var(--grad);
  color: #fffdf6;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(201, 146, 43, 0.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}
.product.show { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease, transform 0.5s ease; }
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(90, 70, 30, 0.16);
  border-color: rgba(201, 146, 43, 0.4);
}

.product__imgwrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.product__link { display: block; }
.product__imgwrap svg { width: 100%; height: 100%; display: block; transition: transform 0.6s ease; }
.product:hover .product__imgwrap svg { transform: scale(1.08) rotate(-1deg); }

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--grad);
  color: #fffdf6;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(201, 146, 43, 0.3);
}
.product__tag--hot {
  background: var(--rose);
  color: #fffdf6;
}

.product__body { padding: 20px 22px 24px; }
.product__cat { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.product__name { font-family: var(--font-serif); font-size: 1.25rem; margin: 6px 0 8px; }
.product__desc { color: var(--muted); font-size: 0.86rem; margin-bottom: 16px; min-height: 42px; }

.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); }
.product__price small { font-size: 0.8rem; color: var(--muted); font-family: var(--font-sans); }

.btn--wa-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn--wa-small .ic { width: 16px; height: 16px; fill: currentColor; }
.btn--wa-small:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(31, 189, 95, 0.35); }

/* ============================================================
   Features
   ============================================================ */
.features { background: var(--bg-soft); border-block: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 146, 43, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(201, 146, 43, 0.4); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.feature__icon svg { width: 26px; height: 26px; fill: var(--rose); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   About
   ============================================================ */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }

.about__visual { position: relative; }
.about__photo {
  background: var(--grad);
  border-radius: 34px;
  padding: 3px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
}
.about__photo-inner {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 46px;
  text-align: center;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.about__photo-inner svg.about__gift { width: 74px; height: 74px; fill: var(--rose); animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(224, 85, 127, 0.35)); }
.about__photo-inner p { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }

.about__badge {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.about__badge strong { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); display: block; }
.about__badge span { color: var(--muted); font-size: 0.8rem; }

.about__steps { list-style: none; margin: 30px 0 36px; display: grid; gap: 22px; }
.about__steps li { display: flex; gap: 18px; align-items: flex-start; }
.about__step-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #fffdf6;
  background: var(--grad);
  padding: 8px 12px;
  border-radius: 12px;
  flex-shrink: 0;
  transform: rotate(-4deg);
  box-shadow: 0 6px 16px rgba(201, 146, 43, 0.25);
}
.about__steps b { font-family: var(--font-serif); font-size: 1.05rem; }
.about__steps p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--bg-soft); border-block: 1px solid var(--line); }
.testi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.testi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
}
.testi:hover { transform: translateY(-6px); border-color: rgba(224, 85, 127, 0.4); }
.testi__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.testi > p { color: var(--muted); font-size: 0.95rem; font-style: italic; margin-bottom: 20px; }
.testi__user { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fffdf6;
  font-weight: 700;
}
.testi__user b { display: block; font-size: 0.95rem; }
.testi__user small { color: var(--muted); font-size: 0.78rem; }

/* ============================================================
   Contact / CTA
   ============================================================ */
.contact__card {
  position: relative;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 80px 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(90, 70, 30, 0.12);
}
.contact__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 50% -10%, rgba(224, 85, 127, 0.12), transparent 60%);
  pointer-events: none;
}
.contact__card > * { position: relative; z-index: 1; }
.contact__title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); margin: 8px 0 18px; }
.contact__card p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.contact__card .btn { margin-bottom: 14px; }
.contact__card small { display: block; color: var(--muted); opacity: 0.8; font-size: 0.8rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background: var(--card);
}
.footer__social a:hover { background: var(--grad); color: #fffdf6; border-color: transparent; transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 18px; color: var(--gold); }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.25s ease; }
.footer__col a:hover { color: var(--gold); transform: translateX(4px); }
.footer__note { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.footer__heart { width: 13px; height: 13px; fill: var(--rose); vertical-align: -2px; margin: 0 2px; }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(31, 189, 95, 0.45);
  transition: transform 0.3s ease;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.wa-float__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: ping 2s ease-out infinite;
  z-index: -1;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 50px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .hero__stats { gap: 34px; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(250, 247, 241, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    font-size: 1.2rem;
    transform: translateY(-105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 105;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { font-size: 1.3rem; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 110; }
}

@media (max-width: 520px) {
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .contact__card { padding: 56px 24px; }
  .about__photo-inner { padding: 30px; }
  .about__badge { right: 0; }
}

/* ============================================================
   Shop / product listing page
   ============================================================ */
.nav__links a.nav__link-active { color: var(--text); }
.nav__links a.nav__link-active::after { width: 100%; }

.page-head {
  padding: 150px 0 30px;
  text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(224, 85, 127, 0.08), transparent 60%),
    radial-gradient(40% 90% at 85% 20%, rgba(201, 146, 43, 0.09), transparent 60%);
}
.page-head__inner { display: flex; flex-direction: column; align-items: center; }
.page-head__inner .section-head__sub { max-width: 560px; }

.shop-toolbar {
  width: 100%;
  max-width: 900px;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 10px 30px rgba(90, 70, 30, 0.08);
}
.shop-search svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
  flex-shrink: 0;
}
.shop-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  padding: 8px 0;
}
.shop-search input::placeholder { color: var(--muted); }

.shop-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.shop-chips .chip { cursor: pointer; display: inline-block; }

.shop-count {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section--tight { padding-top: 50px; }

/* ============================================================
   Cart
   ============================================================ */
.product__foot-actions { display: flex; align-items: center; gap: 6px; }

.btn--add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--add-to-cart svg { width: 16px; height: 16px; fill: currentColor; }
.btn--add-to-cart:hover { background: var(--gold); color: #fffdf6; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201, 146, 43, 0.3); }
.btn--add-to-cart--added { background: var(--grad); color: #fffdf6; border-color: transparent; }

.card-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
}
.card-qty__btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.card-qty__btn:hover { background: var(--gold); color: #fffdf6; }
.card-qty__n {
  min-width: 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  line-height: 32px;
}

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}
.nav__cart svg { width: 20px; height: 20px; fill: currentColor; }
.nav__cart:hover { border-color: var(--gold); color: var(--gold); }
.nav__account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  transition: all 0.25s ease;
}
.nav__account svg { width: 20px; height: 20px; fill: currentColor; }
.nav__account:hover { border-color: var(--gold); color: var(--gold); }
.nav__cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--grad);
  color: #fffdf6;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.nav__cart-count[hidden] { display: none; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}
.cart-overlay.show { opacity: 1; visibility: visible; }

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  background: var(--bg);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(26, 22, 38, 0.18);
}
.cart.open { transform: translateX(0); }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.cart__head h3 { font-family: var(--font-serif); font-size: 1.4rem; }
.cart__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}
.cart__close svg { width: 18px; height: 18px; fill: currentColor; }
.cart__close:hover { border-color: var(--gold); color: var(--gold); }

.cart__status {
  margin: 0;
  padding: 10px 24px;
  background: rgba(31, 189, 95, 0.12);
  color: #1a8f4a;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(31, 189, 95, 0.2);
}
.cart__status[hidden] { display: none; }

.cart__view { flex: 1; display: flex; flex-direction: column; overflow-y: auto; min-height: 0; }
.cart__view--checkout { display: block; }

.cart__items { padding: 8px 24px; }
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--grad);
  color: #fffdf6;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { display: block; font-size: 0.95rem; line-height: 1.35; }
.cart-item__cat { display: block; color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-top: 2px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; }
.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-item__qty-n { min-width: 20px; text-align: center; font-weight: 600; }
.cart-item__price { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold); font-weight: 700; white-space: nowrap; }
.cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.cart-item__remove svg { width: 17px; height: 17px; fill: currentColor; }
.cart-item__remove:hover { color: #d64545; background: rgba(214, 69, 69, 0.08); }

.cart__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}
.cart__empty svg { width: 52px; height: 52px; fill: var(--line); }
.cart__empty[hidden] { display: none; }

.cart__foot {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.cart__foot[hidden] { display: none; }
.cart__subtotal { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cart__subtotal span { color: var(--muted); }
.cart__subtotal b { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); }
.cart__subtotal--total { margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.cart__checkout-btn { width: 100%; justify-content: center; }
.cart__note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.cart__form-title { font-family: var(--font-serif); font-size: 1.2rem; margin: 20px 0 4px; }
.cart__guest { text-align: center; padding: 18px 4px 8px; }
.cart__guest svg { width: 40px; height: 40px; fill: var(--gold); margin-bottom: 10px; }
.cart__guest h4 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 8px; }
.cart__guest p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.cart__guest-alt { margin-top: 10px !important; }

.cart__foot form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin: 14px 0 6px;
}
.cart__foot form label .req { color: #d64545; }
.cart__foot form input,
.cart__foot form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cart__foot form textarea { resize: vertical; min-height: 70px; }
.cart__foot form input:focus,
.cart__foot form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 146, 43, 0.15);
}
.cart__foot form .btn--wa .ic { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 520px) {
  .cart { width: 100%; }
  .cart__head { padding: 16px 18px; }
  .cart__head h3 { font-size: 1.25rem; }
  .cart__status { padding: 10px 18px; }
  .cart__items { padding: 6px 18px; }
  .cart__foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .cart-item { gap: 12px; }
  .cart-item__thumb { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; }
  .cart-item__row { flex-wrap: wrap; gap: 8px; }
  .cart-item__price { margin-left: auto; }
  .cart-qty-btn { width: 30px; height: 30px; }
  .cart__foot form input { font-size: 16px; }
  .cart__foot form textarea { font-size: 16px; }
}

@media (max-width: 721px) {
.nav__cart { width: 40px; height: 40px; }
.nav__account { width: 40px; height: 40px; }
}

/* ============================================================
   Auth pages
   ============================================================ */
.auth { padding: 90px 0 110px; }
.auth__inner { max-width: 460px; margin: 0 auto; }
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: 0 24px 60px rgba(26, 22, 38, 0.07);
}
.auth-card__title { font-family: var(--font-serif); font-size: 1.7rem; margin: 10px 0 8px; }
.auth-card__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.auth-alert {
  background: #fdecec;
  border: 1px solid #f3c6c6;
  color: #b23a3a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.auth-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
.auth-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 146, 43, 0.15); }
.auth-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.auth-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.auth-form__submit { width: 100%; margin-top: 22px; padding: 14px; }
.auth-card__alt { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.auth-card__alt a { color: var(--gold); font-weight: 600; }
.auth-pwrow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-forgot { font-size: 0.82rem; font-weight: 500; color: var(--gold); margin-top: 16px; display: inline-block; }
.auth-forgot:hover { text-decoration: underline; }
.auth-hint { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 6px; }

/* ============================================================
   Account page
   ============================================================ */
.account { padding: 90px 0 110px; }
.account__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.account__head h1 { font-family: var(--font-serif); font-size: 2rem; }
.account__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 26px; align-items: start; }
.account-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.account-card h2 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 6px; }
.account-card > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.account-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.account-form input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-family: var(--font-sans); font-size: 0.92rem; color: var(--text); outline: none; }
.account-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 146, 43, 0.15); }
.account-form .btn { margin-top: 18px; }
.account-form .divider { height: 1px; background: var(--line); margin: 22px 0; }
.account__head-user { display: flex; align-items: center; gap: 16px; }
.account__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8b86a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  flex: none;
}
.account__meta { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.account__security { list-style: none; margin: 8px 0 0; }
.account__security li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--muted); padding: 7px 0; line-height: 1.5; }
.account__security svg { width: 17px; height: 17px; fill: var(--gold); flex: none; margin-top: 2px; }
.account__note { font-size: 0.8rem; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 14px; line-height: 1.5; }
.order-details { margin: 10px 0 18px; }
.order-details summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.order-details summary:hover { text-decoration: underline; }
.order-details__body { margin-top: 10px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.order-details__body p { font-size: 0.85rem; color: var(--muted); margin: 4px 0; line-height: 1.6; }
.order-details__body p b { color: var(--text); }

/* Order tracking timeline */
.order-track {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.order-track__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.order-track__head > div { display: flex; align-items: center; gap: 10px; }
.order-track__number { font-size: 1rem; }
.order-track__date { font-size: 0.8rem; color: var(--muted); }

.order-track__cancelled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fdecec;
  border-radius: 10px;
  color: #b23a3a;
  font-size: 0.88rem;
  font-weight: 500;
}
.order-track__cancelled svg { width: 20px; height: 20px; fill: #b23a3a; flex-shrink: 0; }

.order-track__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 8px;
  margin-bottom: 16px;
}
.order-track__steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}

.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.track-step__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}
.track-step__dot svg { width: 14px; height: 14px; fill: #fffdf6; }

.track-step--done .track-step__dot {
  background: var(--wa);
  border-color: var(--wa);
}
.track-step--active .track-step__dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 146, 43, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

.track-step__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}
.track-step--done .track-step__label { color: var(--wa); }
.track-step--active .track-step__label { color: var(--gold); }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(201, 146, 43, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(201, 146, 43, 0.08); }
}

.status-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}
.status-badge--pending, .status-badge--unpaid { background: #fdf3e3; color: #9a6a14; }
.status-badge--confirmed { background: #e7eefd; color: #2f5cb0; }
.status-badge--dispatched { background: #f1e7fd; color: #7a4fb0; }
.status-badge--delivered, .status-badge--paid { background: #e8f8ee; color: #126b3a; }
.status-badge--cancelled { background: #fdecec; color: #b23a3a; }
.status-badge--refunded { background: #f3f0ec; color: #8a7f94; }
.account-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.account-empty svg { width: 46px; height: 46px; fill: #d8d2c6; margin-bottom: 14px; }

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

/* ============================================================
   Product detail page
   ============================================================ */
.pd-head { padding-bottom: 10px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span:last-child { color: var(--text); font-weight: 500; }

.product-detail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.product-detail__media {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(26, 22, 38, 0.08);
}
.product-detail__media svg { width: 100%; height: auto; display: block; }
.product-detail__media .product__tag { position: absolute; top: 18px; left: 18px; }

.product-detail__cat { color: var(--gold); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.product-detail__name { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 16px; }
.product-detail__price { font-size: 1.7rem; font-weight: 700; color: var(--rose); margin-bottom: 20px; }
.product-detail__desc { color: var(--muted); line-height: 1.8; font-size: 0.98rem; margin-bottom: 26px; }

.product-detail__perks { list-style: none; padding: 0; margin: 0 0 30px; }
.product-detail__perks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}
.product-detail__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z"/></svg>') center / contain no-repeat;
}

.product-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.product-detail__actions .btn--lg { padding: 15px 30px; font-size: 0.98rem; }
.btn--lg { font-weight: 600; }
.product-detail__note { color: var(--muted); font-size: 0.86rem; }
.product-detail__note a { color: var(--gold); font-weight: 600; }

@media (max-width: 820px) {
.product-detail__grid { grid-template-columns: 1fr; gap: 34px; }
}
