/* ============================================================
   PAPER BIRDS — ELEGANT MINIMALIST STYLESHEET
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  /* Palette */
  --bg:           #EDE7F6;
  --surface:      #F5F0FF;
  --charcoal:     #1C1C1C;
  --charcoal-mid: #4A4A4A;
  --charcoal-lt:  #8A8A8A;
  --rose:         #C4896A;        /* dusty rose / terracotta */
  --rose-light:   #DFB49A;
  --rose-pale:    #F5EDE7;
  --sage:         #7A9E87;        /* sage green */
  --sage-light:   #A8C4B0;
  --sage-pale:    #EBF2EE;
  --border:       #D8D6DE;
  --border-dark:  #C4C2CA;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --section: 7rem;

  /* Effects */
  --radius:     10px;
  --shadow-sm:  0 2px 12px rgba(28,28,28,.06);
  --shadow-md:  0 8px 32px rgba(28,28,28,.10);
  --shadow-lg:  0 20px 60px rgba(28,28,28,.13);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }

/* ── TYPOGRAPHY HELPERS ── */
.section-eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title em {
  font-style: italic;
  color: var(--rose);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--charcoal);
  color: var(--bg);
  padding: .85rem 2.2rem;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--rose);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(196,137,106,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--charcoal);
  padding: .85rem 2.2rem;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--bg);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-link:hover { color: var(--rose); border-color: var(--rose); }

/* ────────────────────────────────────────────
   PROMO BAR
──────────────────────────────────────────── */
.promo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #c8a8f0, #b898e8, #d4b8f8, #b898e8, #c8a8f0);
  background-size: 300% 100%;
  animation: promoShift 8s linear infinite;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

@keyframes promoShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.promo-bar-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: promoScroll 18s linear infinite;
}

@keyframes promoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.promo-bar-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #4a1a80;
  text-shadow: none;
}

.promo-bar-item strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  padding: 1rem 3rem;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  animation: birdFloat 3s ease-in-out infinite, birdGlow 3s ease-in-out infinite;
  filter: saturate(2) brightness(1.05);
  transition: transform .2s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.15) rotate(-8deg);
  animation-play-state: paused;
}

@keyframes birdFloat {
  0%   { transform: translateY(0px) rotate(0deg); }
  30%  { transform: translateY(-5px) rotate(-4deg); }
  60%  { transform: translateY(-3px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes birdGlow {
  0%   { box-shadow: 0 0 0px 0px rgba(236, 72, 153, 0); }
  40%  { box-shadow: 0 0 12px 4px rgba(236, 72, 153, 0.45); }
  100% { box-shadow: 0 0 0px 0px rgba(236, 72, 153, 0); }
}
.nav-logo-text {
  font-family: 'Parisienne', var(--serif);
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--charcoal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--charcoal);
  transition: var(--transition);
}
.cart-btn:hover { color: var(--rose); }

.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 30px;
}
.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--charcoal);
  transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ────────────────────────────────────────────
   CART DRAWER
──────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(28,28,28,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1001;
  width: min(400px, 95vw);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 40px rgba(28,28,28,.10);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
}
.cart-close {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--charcoal-lt);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
}
.cart-close:hover { color: var(--charcoal); border-color: var(--border-dark); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: .75rem;
  color: var(--charcoal-lt);
}
.cart-empty span { font-size: 2.5rem; }
.cart-empty p { font-size: .85rem; letter-spacing: .05em; }

.cart-list { display: flex; flex-direction: column; gap: 1rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  animation: slideIn .25s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.cart-item-color {
  width: 52px;
  height: 56px;
  border-radius: 6px;
  flex-shrink: 0;
}
.cart-item-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .88rem; font-weight: 500; color: var(--charcoal); margin-bottom: .2rem; }
.cart-item-price { font-size: .82rem; color: var(--rose); font-weight: 500; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}
.qty-btn {
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: .78rem;
  color: var(--charcoal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.qty-num { font-size: .82rem; font-weight: 500; min-width: 18px; text-align: center; }

.cart-item-remove {
  font-size: .7rem;
  color: var(--charcoal-lt);
  padding: .25rem;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--rose); }

.cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  margin-bottom: 1.25rem;
}
.cart-subtotal span:last-child {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: 0;
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--charcoal);
  color: var(--bg);
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-checkout:hover { background: var(--rose); }

.cart-note {
  text-align: center;
  font-size: .7rem;
  color: var(--charcoal-lt);
  margin-top: .85rem;
  letter-spacing: .04em;
}

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 118px;
  position: relative;
  overflow: hidden;
}

/* subtle background texture / gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 75% 40%, rgba(196,137,106,.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 600px at 15% 70%, rgba(122,158,135,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  padding: 4rem 3rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--rose);
  font-size: 1em;
}
.hero-title span {
  font-size: 1em;
  font-style: normal;
  color: var(--charcoal);
}

.hero-body {
  font-size: .95rem;
  color: var(--charcoal-mid);
  max-width: 400px;
  line-height: 1.85;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* hero visual — abstract product cards */
.hero-visual {
  position: relative;
  height: 480px;
}

.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) !important;
}

.hc-color { width: 100%; border-radius: 8px; }

.hc1 { width: 150px; top: 30px; right: 60px; }
.hc1 .hc-color { height: 95px; }
.hc1 { animation: floatA 7s ease-in-out infinite; }

.hc2 { width: 135px; top: 190px; right: 20px; }
.hc2 .hc-color { height: 85px; }
.hc2 { animation: floatB 8s ease-in-out infinite 1.2s; }

.hc3 { width: 140px; top: 320px; right: 90px; }
.hc3 .hc-color { height: 80px; }
.hc3 { animation: floatA 6.5s ease-in-out infinite .5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* SVG birds */
.hero-bird {
  position: absolute;
  top: 10px; left: 10px;
  width: 200px;
  filter: drop-shadow(0 6px 18px rgba(196,137,106,.25));
  animation: floatB 9s ease-in-out infinite;
}
.hero-bird2 {
  position: absolute;
  bottom: 80px; left: 40px;
  width: 160px;
  filter: drop-shadow(0 6px 18px rgba(122,158,135,.25));
  animation: floatA 7.5s ease-in-out infinite reverse;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--charcoal-lt);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.2s both;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--charcoal-lt), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .8; }
  50%       { transform: scaleY(.5); opacity: .3; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ────────────────────────────────────────────
   MARQUEE
──────────────────────────────────────────── */
.marquee-bar {
  background: var(--charcoal);
  padding: .9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee 24s linear infinite;
}
.marquee-track span {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250,248,245,.55);
  font-weight: 400;
}
.marquee-track span:nth-child(even) { color: var(--rose-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────
   SHOP
──────────────────────────────────────────── */
.shop {
  padding: var(--section) 0;
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 2.5rem;
  gap: 1.8rem;
}

/* ── CATEGORY FILTER TABS ─────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  width: 100%;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem 1.1rem .52rem .85rem;
  border-radius: 50px;
  border: 1.5px solid #e8e2f4;
  background: #fff;
  color: #7a7090;
  font-size: .78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(180,160,220,.08);
}

.ft-icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}

.ft-label {
  letter-spacing: .01em;
}

.filter-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #f9d0e8, #e0c0f8);
  opacity: 0;
  transition: opacity .22s;
}

.filter-tab:hover {
  border-color: #d8a0e8;
  color: #8030c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200,120,240,.18);
}
.filter-tab:hover .ft-icon {
  transform: scale(1.25) rotate(-5deg);
}
.filter-tab:hover::before { opacity: .18; }

.filter-tab.active {
  background: linear-gradient(135deg, #e060a0, #9040e0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(180,60,180,.30);
  transform: translateY(-2px);
}
.filter-tab.active::before { opacity: 0; }
.filter-tab.active .ft-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(255,255,255,.6));
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-img {
  height: 210px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.product-card:hover .product-img-bg { transform: scale(1.04); }

.product-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ── PRODUCT IMAGE CAROUSEL ── */
.pc-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.pc-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.pc-slide.active { opacity: 1; }
.pc-arr {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.75);
  border: none;
  border-radius: 50%;
  width: 26px; height: 26px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}
.pc-arr-l { left: 6px; }
.pc-arr-r { right: 6px; }
.pc-carousel:hover .pc-arr { opacity: 1; }
.pc-arr:hover { background: rgba(255,255,255,.95); }
.pc-dots {
  position: absolute;
  bottom: 7px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
  z-index: 2;
}
.pc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.pc-dot.active { background: #fff; transform: scale(1.25); }

/* ── VARIANT SELECTOR (color / design picker on product card) ── */
.product-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: #faf8fc;
  border-top: 1px solid var(--border);
  max-height: 100px;
  overflow-y: auto;
}
.variant-thumb {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
  transition: border-color .18s, transform .15s;
  flex-shrink: 0;
}
.variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.variant-thumb:hover { border-color: #d090e0; transform: scale(1.08); }
.variant-thumb.active { border-color: #e060a0; box-shadow: 0 0 0 2px rgba(224,96,160,.25); }

.selected-variant-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  color: #8a5090;
  font-weight: 500;
  padding: 2px 0 5px;
  letter-spacing: .01em;
}
.variant-dot { font-size: .55rem; color: #e060a0; line-height: 1; }

.cart-item-variant {
  font-size: .7rem;
  color: #9070b0;
  font-weight: 400;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

.product-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  padding: .28rem .75rem;
  border-radius: 2px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.badge-new  { background: var(--charcoal); color: var(--bg); }
.badge-best { background: var(--rose); color: #fff; }
.badge-sale { background: var(--sage); color: #fff; }

.product-wishlist {
  position: absolute;
  top: .85rem; right: .85rem;
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--charcoal-lt);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.product-wishlist:hover { color: var(--rose); border-color: var(--rose-light); background: #fff; }
.product-wishlist.active { color: var(--rose); }

.product-info {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--charcoal-lt);
  margin-bottom: .4rem;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.product-desc {
  font-size: .78rem;
  color: var(--charcoal-lt);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
}
.product-price .old-price {
  font-size: .78rem;
  font-family: var(--sans);
  text-decoration: line-through;
  color: var(--charcoal-lt);
  font-weight: 400;
  margin-left: .35rem;
}
.add-to-cart {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: transparent;
  transition: var(--transition);
}
.add-to-cart:hover {
  background: var(--charcoal);
  color: var(--bg);
  border-color: var(--charcoal);
}
.add-to-cart svg { width: 13px; height: 13px; }

/* ────────────────────────────────────────────
   FEATURE STRIP
──────────────────────────────────────────── */
.features {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.features-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.feature-icon {
  font-size: 1.6rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.feature-item h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal);
}
.feature-item p {
  font-size: .78rem;
  color: var(--charcoal-lt);
  line-height: 1.65;
  max-width: 180px;
}

/* ────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────── */
.about {
  padding: var(--section) 0;
  background: var(--surface);
}

.about-grid {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}

/* visual stack */
.about-visual { display: flex; justify-content: center; }
.about-stack { position: relative; width: 300px; height: 360px; }

.about-block {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ab1 { top: 0; left: 0; transform: rotate(-3.5deg); background: transparent !important; box-shadow: none !important; overflow: visible; }
.about-logo-block {
  width: 180px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff0f7, #fce4f1);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.about-logo-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.ab2 {
  top: 70px; left: 90px;
  transform: rotate(4deg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: 10px; left: -10px;
  background: var(--charcoal);
  color: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  padding: .55rem 1.3rem;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: .04em;
}

/* text side */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.about-text .section-eyebrow {
  font-size: .9rem;
  letter-spacing: .22em;
}
.about-text .section-title {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}
.about-text p {
  font-size: .95rem;
  color: var(--charcoal-mid);
  line-height: 1.9;
}
.about-text em { font-style: italic; color: var(--rose); }

.about-stats {
  display: flex;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.stat span {
  font-size: .68rem;
  color: var(--charcoal-lt);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────
   TESTIMONIALS
──────────────────────────────────────────── */
.testimonials {
  padding: var(--section) 0;
  background: var(--bg);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-featured {
  border-color: var(--rose-light);
  background: var(--rose-pale);
  transform: scale(1.02);
}
.testi-featured:hover { transform: scale(1.02) translateY(-4px); }

.testi-stars {
  font-size: .8rem;
  color: var(--rose);
  letter-spacing: .08em;
}
.testi-card > p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal-mid);
  line-height: 1.8;
  flex: 1;
}
.testi-card > p::before {
  content: '\201C';
  color: var(--rose-light);
  font-size: 1.6rem;
  line-height: 0;
  vertical-align: -.4em;
  margin-right: 2px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .84rem; color: var(--charcoal); font-weight: 500; }
.testi-author span  { font-size: .72rem; color: var(--charcoal-lt); }

/* ────────────────────────────────────────────
   NEWSLETTER
──────────────────────────────────────────── */
.newsletter {
  padding: 6rem 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(196,137,106,.07);
  pointer-events: none;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nl-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--bg);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.nl-text h2 em { font-style: italic; color: var(--rose-light); }
.nl-text p {
  font-size: .88rem;
  color: rgba(250,248,245,.55);
  line-height: 1.8;
}

.nl-input-wrap {
  display: flex;
  gap: .75rem;
  margin-bottom: .75rem;
}
.nl-input-wrap input {
  flex: 1;
  padding: .9rem 1.2rem;
  background: rgba(250,248,245,.07);
  border: 1px solid rgba(250,248,245,.15);
  border-radius: 2px;
  font-size: .85rem;
  color: var(--bg);
  outline: none;
  transition: border-color var(--transition);
}
.nl-input-wrap input::placeholder { color: rgba(250,248,245,.35); }
.nl-input-wrap input:focus { border-color: var(--rose-light); }

.nl-input-wrap .btn-primary {
  background: var(--rose);
  flex-shrink: 0;
}
.nl-input-wrap .btn-primary:hover {
  background: var(--rose-light);
  box-shadow: 0 6px 20px rgba(196,137,106,.4);
}

.nl-legal {
  font-size: .68rem;
  color: rgba(250,248,245,.3);
  letter-spacing: .05em;
}

/* ────────────────────────────────────────────
   CONTACT
──────────────────────────────────────────── */
.contact {
  padding: var(--section) 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-text > p {
  font-size: .9rem;
  color: var(--charcoal-mid);
  line-height: 1.85;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .84rem;
  color: var(--charcoal-mid);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail span { font-size: .95rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  padding: .9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: .88rem;
  color: var(--charcoal);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--rose-light);
  box-shadow: 0 0 0 3px rgba(196,137,106,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--charcoal-lt); font-size: .84rem; }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.footer {
  background: #141414;
  color: rgba(250,248,245,.6);
  padding: 5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(250,248,245,.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: .75rem;
}
.footer-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  flex-shrink: 0;
  filter: saturate(2.2) brightness(1.05) contrast(1.1);
  animation: birdFloat 3s ease-in-out infinite, birdGlowFooter 3s ease-in-out infinite;
}
@keyframes birdGlowFooter {
  0%   { box-shadow: 0 0 0px 0px rgba(236, 72, 153, 0); }
  40%  { box-shadow: 0 0 16px 6px rgba(236, 72, 153, 0.5); }
  100% { box-shadow: 0 0 0px 0px rgba(236, 72, 153, 0); }
}
.footer-logo span {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: .02em;
}
.footer-brand > p {
  font-size: .82rem;
  line-height: 1.75;
  color: rgba(250,248,245,.4);
  max-width: 250px;
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: .65rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250,248,245,.06);
  border: 1px solid rgba(250,248,245,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,245,.45);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250,248,245,.85);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-col a {
  font-size: .82rem;
  color: rgba(250,248,245,.4);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--rose-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .72rem;
  color: rgba(250,248,245,.25);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a { color: rgba(250,248,245,.25); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(250,248,245,.6); }

/* ────────────────────────────────────────────
   TOAST
──────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--charcoal);
  color: var(--bg);
  padding: .85rem 1.75rem;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .05em;
  box-shadow: 0 8px 30px rgba(28,28,28,.2);
  opacity: 0;
  pointer-events: none;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section: 5rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding: 4rem 2rem; }
  .hero-body { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 260px; }
  .hero-bird { left: 50%; transform: translateX(-70%); }
  .hero-bird2 { left: 50%; transform: translateX(5%); }
  .hc1 { right: auto; left: 50%; transform: translateX(20px); }
  .hc2 { right: auto; left: 50%; transform: translateX(-170px); }
  .hc3 { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: .9rem 1.5rem; }
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250,248,245,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
    z-index: 800;
    position: fixed;
    transform: none;
    left: 0;
  }
  .nav-links.open { max-height: 280px; }
  .nav-links a {
    padding: 1.1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: .8rem;
  }
  .nav-hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero-inner { padding: 3rem 1.5rem 2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nl-input-wrap { flex-direction: column; }
  .testi-featured { transform: none; }
  .testi-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
  :root { --section: 4rem; }
  .container { padding: 0 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .filter-tab { font-size: .74rem; padding: .46rem .9rem .46rem .72rem; }
  .about-stats { gap: 1.75rem; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1rem; }
}

/* ── CONTACT POPUP ── */
.contact-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99990;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.contact-popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.contact-popup {
  background: #f8f4ff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(112,48,160,.2);
  transform: translateY(14px);
  transition: transform .25s ease;
}
.contact-popup-overlay.open .contact-popup { transform: none; }
.contact-popup-x {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #9a8ab0;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background .15s;
}
.contact-popup-x:hover { background: #ede8f8; color: #3d2060; }
.contact-popup-icon { font-size: 2.4rem; margin-bottom: 10px; }
.contact-popup h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #2a1a4a;
  margin-bottom: 4px;
}
.contact-popup > p {
  font-size: .85rem;
  color: #9a8ab0;
  margin-bottom: 22px;
}
.contact-popup-details { display: flex; flex-direction: column; gap: 10px; }
.contact-popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid #e8e0f8;
  border-radius: 12px;
  padding: 13px 16px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  gap: 10px;
}
.contact-popup-row:hover { border-color: #c080e0; background: #fdf8ff; }
.contact-popup-label { font-size: .8rem; color: #9a8ab0; font-weight: 500; white-space: nowrap; }
.contact-popup-val { font-size: .78rem; color: #3d2060; font-weight: 600; word-break: keep-all; white-space: nowrap; text-align: right; }

/* Footer shop button */
.footer-shop-btn {
  display: inline-block;
  margin-top: 6px;
  padding: .55rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: var(--transition);
}
.footer-shop-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ============================================================
   SUBSCRIBER SIGN-IN / SIGN-UP
   ============================================================ */

/* Nav button */
#subNavBtnWrap {
  display: flex;
  align-items: center;
}
.sub-nav-btn {
  background: transparent;
  border: 1.5px solid var(--border-dark);
  border-radius: 30px;
  padding: .35rem .9rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.sub-nav-btn:hover { background: var(--rose-pale); border-color: var(--rose-light); color: var(--charcoal); }
.sub-nav-signed {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem .3rem .35rem;
  background: linear-gradient(135deg, #fce8f3, #ede8fc);
  border-color: #e0b8d8;
}
.sub-nav-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e060a0, #9040e0);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sub-nav-name { font-size: .76rem; font-weight: 600; color: #7030a0; }

/* Account dropdown */
.sub-account-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(28,28,28,.14);
  min-width: 220px;
  overflow: hidden;
  animation: subMenuIn .18s ease;
}
@keyframes subMenuIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.sub-acc-info {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-acc-info strong { font-size: .88rem; color: var(--charcoal); }
.sub-acc-info span   { font-size: .76rem; color: var(--charcoal-lt); }
.sub-acc-discount {
  margin-top: 8px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #fce8f3, #ede8fc);
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  color: #7030a0;
  text-align: center;
}
.sub-acc-signout {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--charcoal-mid);
  cursor: pointer;
  transition: background .15s;
}
.sub-acc-signout:hover { background: #fafafa; }

/* Modal overlay */
.sub-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  padding: 16px;
  opacity: 0;
  transition: opacity .28s ease;
}
.sub-modal-overlay.open { opacity: 1; }

.sub-modal {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(12px);
  transition: transform .28s ease;
  box-shadow: 0 24px 80px rgba(28,28,28,.2);
}
.sub-modal-overlay.open .sub-modal { transform: none; }

.sub-modal-x {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--charcoal-lt);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.sub-modal-x:hover { background: #f0f0f0; color: var(--charcoal); }

.sub-modal-brand {
  text-align: center;
  margin-bottom: 20px;
}
.sub-modal-logo { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 8px; }
.sub-modal-brand h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.sub-modal-brand p { font-size: .78rem; color: var(--charcoal-lt); }

/* Tabs */
.sub-tabs {
  display: flex;
  gap: 0;
  background: #f5f0fc;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}
.sub-tab {
  flex: 1;
  padding: .5rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--charcoal-lt);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sub-tab.active {
  background: #fff;
  color: #7030a0;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(112,48,160,.12);
}

/* Perk banner */
.sub-perk {
  background: linear-gradient(135deg, #fce8f3, #ede8fc);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .81rem;
  color: #5a1a80;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Form */
.sub-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.sub-form-group label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--charcoal-mid);
}
.sub-input {
  padding: .55rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--charcoal);
  background: #fafafa;
  outline: none;
  transition: border-color .2s, background .2s;
}
.sub-input:focus {
  border-color: #c080e0;
  background: #fff;
}
.sub-error {
  font-size: .78rem;
  color: #d03060;
  min-height: 18px;
  margin-bottom: 4px;
}
.sub-btn {
  width: 100%;
  padding: .7rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #e060a0, #9040e0);
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  margin-top: 4px;
}
.sub-btn:hover   { opacity: .9; transform: translateY(-1px); }
.sub-btn:active  { transform: none; }
.sub-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Guest link */
.sub-modal-guest {
  text-align: center;
  font-size: .76rem;
  color: var(--charcoal-lt);
  margin-top: 16px;
}
.sub-modal-guest a { color: #9040e0; text-decoration: underline; }

/* Checkout discount row */
.pbc-discount-row span:first-child { color: #30a060; font-weight: 500; }


/* Product grid loading spinner */
.pb-products-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  width: 100%;
}
.pb-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f0d0e8;
  border-top-color: #e060a0;
  border-radius: 50%;
  animation: pb-spin .7s linear infinite;
  display: inline-block;
}
@keyframes pb-spin { to { transform: rotate(360deg); } }
