/* ============================================================
   NAUSHAD COSMETICS — "Counter" Classic Light-Pink Design System
   Palette: #fdf1f3 (Blush Pink), #ffffff (Cream White),
            #c9974b (Antique Gold), #3a1e27 (Deep Maroon Ink),
            #d88fa3 (Rose)
   ============================================================ */

:root {
  --ink: #3a1e27;
  --ink-soft: #5c2f3d;
  --pink: #fdf1f3;
  --pink-dim: #f7dbe3;
  --white: #fffaf9;
  --gold: #c9974b;
  --gold-soft: #e0b276;
  --rose: #d88fa3;
  --sage: #7c9473;
  --mute: #8a6270;
  --line: rgba(201, 151, 75, 0.28);
  --shadow-main: 0 12px 30px rgba(216, 143, 163, 0.28);
  --transition-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--pink);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* ---------- Animated Classic Pink Background ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}

body::before {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(216, 143, 163, 0.45), rgba(216, 143, 163, 0) 70%);
  animation: driftRoseGlow 24s ease-in-out infinite alternate;
}

body::after {
  width: 560px;
  height: 560px;
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(201, 151, 75, 0.35), rgba(201, 151, 75, 0) 70%);
  animation: driftGoldGlow 28s ease-in-out infinite alternate;
}

@keyframes driftRoseGlow {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(90px, 70px) scale(1.18); }
  100% { transform: translate(-50px, 120px) scale(0.92); }
}

@keyframes driftGoldGlow {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-80px, -60px) scale(1.12); }
  100% { transform: translate(60px, -100px) scale(0.9); }
}

body {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(216, 143, 163, 0.22), transparent 70%),
    radial-gradient(circle at 12% 30%, rgba(201, 151, 75, 0.14), transparent 55%),
    radial-gradient(circle at 88% 70%, rgba(216, 143, 163, 0.18), transparent 55%);
  background-attachment: fixed;
  animation: haziePulse 16s ease-in-out infinite;
}

@keyframes haziePulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.04); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement Bar ---------- */
.announce {
  background: linear-gradient(90deg, #c9974b, var(--gold-soft), #f0cf9a, #c9974b);
  background-size: 200% 100%;
  color: var(--ink);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(216, 143, 163, 0.25);
  animation: shimmerBar 10s linear infinite;
}

@keyframes shimmerBar {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 249, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1220px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(201, 151, 75, 0.12);
  box-shadow: inset 0 0 8px rgba(201, 151, 75, 0.25);
  animation: goldRingPulse 4.5s ease-in-out infinite;
}

@keyframes goldRingPulse {
  0%, 100% { box-shadow: inset 0 0 8px rgba(201,151,75,0.25), 0 0 0 rgba(201,151,75,0); }
  50%      { box-shadow: inset 0 0 16px rgba(201,151,75,0.45), 0 0 12px rgba(201,151,75,0.3); }
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.brand-name em {
  color: var(--rose);
  font-style: italic;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-links a {
  opacity: 0.85;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--rose);
}

/* ---------- Search Bar (Classic) ---------- */
.search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 160px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 8px 16px;
  transition: all 0.25s var(--transition-smooth);
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 151, 75, 0.22);
}

.search-box svg {
  width: 17px;
  height: 17px;
  color: var(--rose);
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  color: var(--ink);
  width: 100%;
}

.search-box input::placeholder {
  color: var(--mute);
}

.search-clear {
  border: none;
  background: transparent;
  color: var(--mute);
  font-size: 1rem;
  line-height: 1;
  padding: 2px;
  display: none;
}

.search-clear.show { display: block; }

.search-filter-btn {
  position: relative;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.search-filter-btn svg { width: 17px; height: 17px; }
.search-filter-btn:hover { color: var(--rose); }
.search-filter-btn.active { color: var(--gold); }

.filter-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.filter-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(58, 30, 39, 0.16);
  padding: 18px;
  display: none;
  z-index: 60;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.filter-panel.show { display: grid; }

.filter-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin-bottom: 6px;
}

.filter-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--white);
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.filter-actions button {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 18px;
  cursor: pointer;
}

#filterClearBtn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
#filterClearBtn:hover { border-color: var(--rose); color: var(--rose); }

#filterApplyBtn {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
}
#filterApplyBtn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

@media (max-width: 640px) {
  .filter-panel { grid-template-columns: 1fr; }
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-main);
  max-height: 380px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-results.show { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--pink-dim);
  transition: background 0.15s ease;
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover {
  background: var(--pink-dim);
}

.search-result-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pink-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-thumb svg { width: 22px; height: 22px; color: var(--rose); }

.search-result-info { min-width: 0; flex: 1; }

.search-result-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: 0.7rem;
  color: var(--mute);
}

.search-result-price {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  flex-shrink: 0;
}

.search-empty {
  padding: 18px 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--mute);
}

.search-active-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.search-active-banner.show { display: flex; }

.search-active-banner button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 16px;
}

.nav-cta {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 151, 75, 0.3);
}

.nav-share {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-share svg { width: 16px; height: 16px; }

.nav-share:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--pink-dim);
}

.nav-share.copied { border-color: var(--sage); color: var(--sage); }

.nav-wishlist {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-wishlist svg { width: 17px; height: 17px; }

.nav-wishlist:hover { border-color: var(--rose); color: var(--rose); background: var(--pink-dim); }

.nav-wishlist.has-items svg { fill: var(--rose); stroke: var(--rose); }

.wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ---------- Wishlist panel item cards ---------- */
.wishlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.wishlist-item:last-child { border-bottom: none; }

.wishlist-item .wi-media {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f7dbe3, #fdf1f3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.wishlist-item .wi-media img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-item .wi-media svg { width: 55%; height: 55%; }

.wishlist-item .wi-info { flex: 1; min-width: 0; }
.wishlist-item .wi-name { font-weight: 700; font-size: 0.86rem; color: var(--ink); line-height: 1.3; }
.wishlist-item .wi-price { font-size: 0.8rem; color: var(--gold); font-weight: 700; margin-top: 3px; }

.wishlist-item .wi-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

.wi-buy-btn {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gold);
  border-radius: 14px;
  padding: 6px 12px;
  white-space: nowrap;
}
.wi-buy-btn:hover { background: var(--gold-soft); }

.wi-remove-btn {
  font-size: 0.7rem;
  color: var(--mute);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}
.wi-remove-btn:hover { color: #b3413a; }

.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--mute);
}
.wishlist-empty svg { width: 48px; height: 48px; color: var(--line); margin-bottom: 14px; }


.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

.nav-mobile {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.35s var(--transition-smooth);
}

.nav-mobile.open { max-height: 480px; }

.nav-mobile-inner {
  padding: 12px 24px 22px;
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  padding: 13px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .nav-cta { margin-top: 16px; text-align: center; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(52px, 9vw, 84px) 24px clamp(44px, 7vw, 64px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

/* Hero background video: the vintage-TV clip plays behind the hero copy only,
   tinted with the same blush/gold veil so the "Counter" look stays intact. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--pink);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: translate(-50%, -50%) scale(1.03);
  filter: saturate(1.08) brightness(1.02) contrast(1.02);
  animation: heroVideoReveal 1.8s var(--transition-smooth) both;
}

@keyframes heroVideoReveal {
  from { opacity: 0; transform: translate(-50%, -50%) scale(1.14); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

/* Blush + gold veil over the footage — keeps text legible and matches
   the existing "Counter" palette instead of looking like a raw video. */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253, 241, 243, 0.90) 0%, rgba(253, 241, 243, 0.68) 34%, rgba(253, 241, 243, 0.72) 66%, rgba(253, 241, 243, 0.94) 100%),
    radial-gradient(circle at 50% 22%, rgba(216, 143, 163, 0.22), transparent 62%),
    radial-gradient(circle at 85% 85%, rgba(201, 151, 75, 0.2), transparent 55%);
  animation: veilShimmer 12s ease-in-out infinite;
}

@keyframes veilShimmer {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.92; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 6px 16px;
  background: rgba(201, 151, 75, 0.1);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.12;
  margin: 0 auto;
  max-width: 840px;
  color: var(--ink);
}

.hero h1 em { color: var(--rose); font-style: italic; font-weight: 500; }

.hero p {
  max-width: 580px;
  margin: 20px auto 0;
  color: var(--mute);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--gold);
  transition: all 0.3s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-soft);
  box-shadow: 0 10px 25px rgba(201, 151, 75, 0.35);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 30px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: rgba(216, 143, 163, 0.08);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 48px);
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat { text-align: center; min-width: 80px; }

.stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.65rem;
  color: var(--rose);
  font-weight: 600;
}

.stat span {
  font-size: 0.68rem;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Section Headers & Controls ---------- */
.section { padding: clamp(48px, 7vw, 72px) 0 12px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0;
  color: var(--ink);
}

.section-head p {
  color: var(--mute);
  font-size: 0.9rem;
  margin: 6px 0 0;
  max-width: 480px;
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--mute);
  background: var(--white);
  padding: 8px 18px;
  border-radius: 18px;
  transition: all 0.25s ease;
}

.filter-btn:hover { border-color: var(--gold); color: var(--rose); }

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- Product Grid & Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  padding-bottom: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--rose);
  box-shadow: var(--shadow-main);
}

.card-media {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pink-dim);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.card:hover .card-media img { transform: scale(1.08); }

.icon-tile {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f7dbe3, #fdf1f3);
}

.icon-tile svg { width: 64px; height: 64px; }

.btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(58, 30, 39, 0.15);
  transition: transform 0.25s var(--transition-smooth), background 0.25s ease;
}

.btn-wishlist svg {
  width: 17px;
  height: 17px;
  color: var(--ink-soft);
  transition: all 0.25s ease;
}

.btn-wishlist:hover { transform: scale(1.12); }
.btn-wishlist:hover svg { color: var(--rose); }

.btn-wishlist.active svg {
  fill: var(--rose);
  stroke: var(--rose);
}

.btn-wishlist.pulse svg { animation: heartPop 0.4s var(--transition-smooth); }

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.tag-new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 2;
}

.tag-brand {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 250, 249, 0.9);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 2;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(4px);
}

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.card-cat {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.card-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.35;
  min-height: 44px;
  color: var(--ink);
}

.card-desc { font-size: 0.83rem; color: var(--mute); line-height: 1.55; margin: 0; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: auto;
  padding-top: 6px;
}

.stars { color: var(--gold); letter-spacing: 1px; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }

.price {
  font-family: 'Fraunces', serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
}

.price-was { font-size: 0.8rem; color: var(--mute); text-decoration: line-through; }

.card-actions { display: flex; gap: 10px; margin-top: 14px; }

.btn-order {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 20px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-order:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  box-shadow: 0 4px 15px rgba(201, 151, 75, 0.35);
}

.btn-share {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-share svg { width: 17px; height: 17px; }

.btn-share:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--pink-dim);
  transform: translateY(-2px);
}

.btn-share.copied {
  border-color: var(--sage);
  color: var(--sage);
  background: rgba(124, 148, 115, 0.1);
}

.card.no-match { display: none !important; }
.card.highlight {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 151, 75, 0.35) !important;
}

.section.no-results { display: none; }

/* Shelf Divider */
.shelf {
  height: 20px;
  margin: 12px 0 44px;
  background-image: radial-gradient(circle at 12px 0, transparent 11px, var(--pink) 11.5px);
  background-size: 24px 20px;
  background-repeat: repeat-x;
  border-top: 1px solid var(--line);
  opacity: 0.9;
}

/* ---------- Trust Strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 56px 0;
}

.trust-item { text-align: center; padding: 0 10px; }
.trust-item svg { width: 32px; height: 32px; color: var(--rose); margin-bottom: 12px; }

.trust-item h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--ink);
}

.trust-item p { font-size: 0.8rem; color: var(--mute); margin: 0; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 64px;
  background: var(--white);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 36px; }

.footer-brand p {
  color: var(--mute);
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 290px;
  margin-top: 16px;
}

.footer h5 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.85rem; color: var(--mute); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--rose); }

.footer-bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 22px;
  border-radius: 25px;
  box-shadow: 0 8px 24px rgba(216, 143, 163, 0.35);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--transition-smooth);
  z-index: 1000;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Responsive Styles ---------- */
@media (max-width: 980px) {
  .search-wrap { order: 3; max-width: 100%; flex: 1 1 100%; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .announce { font-size: 0.7rem; padding: 8px 10px; }
  .nav-inner { padding: 12px 18px; }
  .brand-name { font-size: 1.05rem; }
  .hero { padding: 44px 18px 36px; }
  .hero-video { object-position: center 22%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(253, 241, 243, 0.94) 0%, rgba(253, 241, 243, 0.8) 30%, rgba(253, 241, 243, 0.82) 68%, rgba(253, 241, 243, 0.96) 100%),
      radial-gradient(circle at 50% 20%, rgba(216, 143, 163, 0.2), transparent 60%);
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions a { width: 100%; }
  .hero-stats { gap: 20px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .filters { width: 100%; }
  .filter-btn { flex: 1 1 auto; text-align: center; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card-media { height: 40vw; max-height: 200px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  body::before { width: 340px; height: 340px; filter: blur(70px); }
  body::after  { width: 300px; height: 300px; filter: blur(70px); }
}

@media (max-width: 400px) {
  .hero-stats { gap: 18px 22px; }
  .stat { min-width: 60px; }
  .trust { grid-template-columns: 1fr; }
}

/* ---------- Compact mobile product grid (Blinkit/Zepto-style) ----------
   At phone widths, switch every product grid to 4 tight columns with
   minimal, icon-driven cards so browsing feels like a native shopping
   app instead of a stretched desktop layout. */
@media (max-width: 520px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .card {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }

  .card-media {
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
    border-radius: 12px 12px 0 0;
  }

  .card-media .icon-tile svg { width: 55%; height: 55%; }
  .card-media .tag-brand, .card-media .tag-new { display: none; }

  .card-body { padding: 8px 7px 9px; gap: 2px; }
  .card-cat { display: none; }

  .card-body h3 {
    font-size: 0.68rem;
    line-height: 1.25;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.7em;
  }

  .card-desc, .card-meta { display: none; }

  .price-row { margin-top: 3px; gap: 4px; flex-wrap: wrap; }
  .price { font-size: 0.82rem; }
  .price-was { font-size: 0.62rem; }

  .card-actions { margin-top: 7px; gap: 5px; }

  .btn-order {
    padding: 7px 4px;
    font-size: 0;
    border-radius: 10px;
    gap: 0;
  }
  .btn-order::after {
    content: '+ Buy';
    font-size: 0.62rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 800;
  }

  .btn-share {
    width: 28px;
    height: 28px;
  }
  .btn-share svg { width: 12px; height: 12px; }
}

/* Video-off fallback state — JS adds this class when autoplay video is
   paused/removed (data saver, reduced motion, or playback failure) so the
   hero still looks intentional using the poster frame + gold gradient. */
.hero.video-off .hero-video { display: none; }
.hero.video-off .hero-media {
  background:
    linear-gradient(160deg, rgba(216, 143, 163, 0.35), rgba(201, 151, 75, 0.22)),
    url('hero-poster.jpg') center 25% / cover no-repeat;
}
.hero.video-off .hero-veil { opacity: 1; animation: none; }

@media (prefers-reduced-motion: reduce) {
  .card, .card-media img, .btn-primary, .nav-mobile, .toast, .hero-video {
    transition: none !important;
  }
  body::before, body::after,
  .announce, .brand-mark, body,
  .hero-video, .hero-veil {
    animation: none !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}