/* Baddiezinc — luxury wig storefront
 * Design tokens: onyx + 24k gold + ivory.
 * Original styling (no third-party CSS frameworks).
 */

:root {
  --bg:          #0A0A0A;
  --bg-soft:     #141414;
  --bg-elev:    #1C1C1C;
  --line:        #2A2A2A;
  --gold:        #D4AF37;
  --gold-deep:   #A88628;
  --gold-soft:   rgba(212,175,55,.16);
  --ivory:       #F5EFE6;
  --ivory-mute:  #C9C2B6;
  --rose:        #C28F88;
  --danger:      #E25C5C;
  --ok:          #6FCF7E;

  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --w-max: 1320px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 18px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ivory); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 600;
           letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: clamp(2.4rem, 6vw, 5.5rem) 0; }
.divider   { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); margin: 0; opacity: .6; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0; gap: 1.25rem;
}
.site-header .brand {
  display: inline-flex; align-items: center;
}
.site-header .brand .brand-logo { height: 52px; width: auto; }
.site-header .brand .b-mark { color: var(--gold); }
.site-header nav { display: flex; gap: 0; align-items: center; }
.site-header nav > a, .site-header nav .nav-drop > .nav-label {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem .85rem; cursor: pointer; white-space: nowrap; color: var(--ivory);
  background: none; border: none; font-family: inherit;
}
.site-header nav > a:hover, .site-header nav .nav-drop:hover > .nav-label { color: var(--gold); }
/* Dropdown container */
.nav-drop { position: relative; }
.nav-drop .nav-dd {
  display: none; position: absolute; top: 100%; left: 0;
  background: #000; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  min-width: 240px; padding: .5rem 0; z-index: 60;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.nav-drop:hover .nav-dd { display: block; }
.nav-dd a {
  display: block; padding: .55rem 1.2rem; font-size: .82rem; letter-spacing: .06em;
  color: var(--ivory-mute); white-space: nowrap;
}
.nav-dd a:hover { color: var(--gold); background: var(--bg-elev); }
.site-header .icons { display: flex; gap: 1rem; }
.site-header .icons button {
  background: none; border: 0; color: var(--ivory); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: .25rem;
}
.site-header .icons button:hover { color: var(--gold); }
.cart-count {
  display: inline-block; min-width: 1.2em; padding: 0 .35em;
  background: var(--gold); color: #1a1407; border-radius: 999px;
  font-size: .72rem; font-weight: 700; line-height: 1.4em; text-align: center;
}
.cart-count.hidden { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ivory); cursor: pointer; font-size: 1.4rem; }

/* ── Responsive nav breakpoints ──────────────────────────── */
/* Large desktop: full nav visible */
/* Mid desktop (1200px): shrink font + padding */
@media (max-width: 1200px) {
  .site-header nav > a, .site-header nav .nav-drop > .nav-label {
    font-size: .72rem; padding: .5rem .55rem;
  }
  .site-header .brand .brand-logo { height: 42px; }
}
/* Tablet (1024px): further compress */
@media (max-width: 1024px) {
  .site-header nav > a, .site-header nav .nav-drop > .nav-label {
    font-size: .68rem; padding: .5rem .4rem; letter-spacing: .04em;
  }
  .site-header .brand .brand-logo { height: 38px; }
  .site-header .bar { padding: .6rem 0; gap: .75rem; }
}
/* Switch to hamburger (820px) */
@media (max-width: 820px) {
  .site-header nav { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header .bar { padding: .7rem 0; flex-wrap: nowrap; gap: 0; }
  .menu-toggle { margin-right: 0; }
  .site-header .brand { flex: 1; justify-content: center; margin: 0 .5rem; }
  .site-header .brand .brand-logo { height: 72px; }
  .site-header .icons { margin-left: auto; gap: .7rem; }
  /* Search right next to hamburger */
  .icon-search-mobile {
    display: inline-flex; align-items: center;
    background: transparent !important; border: 0; color: #fff !important;
    cursor: pointer; padding: 0; margin: 0;
  }
  .icon-search-mobile:hover { color: var(--gold) !important; }
  .site-header .icons .icon-search { display: none; }
}
/* Small mobile (540px): compact header */
@media (max-width: 540px) {
  .site-header .brand .brand-logo { height: 66px; }
  .site-header .icons { gap: .6rem; }
  .site-header .bar { gap: 0 !important; }
}
/* Tiny mobile (375px): minimal */
@media (max-width: 375px) {
  .site-header .brand .brand-logo { height: 58px; }
  .site-header .icons button { font-size: .85rem; }
  .site-header .bar { gap: 0 !important; }
}

.site-header .announcement {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: #1a1407; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; text-align: center; padding: .35rem 0; font-weight: 600;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 72vh; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(180deg, #0A0A0A, #161616);
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero p  { max-width: 52ch; margin: 1rem auto 1.6rem; color: var(--ivory-mute); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; font-family: var(--sans); font-weight: 600;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  border-radius: var(--r-sm); cursor: pointer; transition: .15s ease;
}
.btn:hover { background: var(--gold); color: #1a1407; }
.btn-primary {
  background: var(--gold); color: #1a1407; border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-deep); border-color: var(--gold-deep); color: #1a1407;
}
.btn-block { display: flex; width: 100%; }
.btn-ghost { border-color: var(--line); color: var(--ivory); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--gold); }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── Product card ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; transition: .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold-deep); box-shadow: var(--shadow-1); }
.card .ph { aspect-ratio: 4/5; background: var(--bg-elev); position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .ribbon {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--gold); color: #1a1407;
  padding: .2rem .55rem; font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; border-radius: 2px;
}
.card .body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card .title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.card .price { color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.card .compare { color: var(--ivory-mute); text-decoration: line-through; font-size: .85rem; margin-left: .5em; }
.card .meta { font-size: .78rem; color: var(--ivory-mute); }

/* ── PDP ────────────────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 1.5rem; } }
.gallery { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; }
.gallery .thumbs { display: flex; flex-direction: column; gap: .5rem; max-height: 580px; overflow-y: auto; }
.gallery .thumbs img { width: 80px; height: 100px; object-fit: cover; cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gallery .thumbs img.active { border-color: var(--gold); }
.gallery .main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .thumbs { flex-direction: row; max-height: none; overflow-x: auto; }
}

.pdp .price { font-size: 1.6rem; color: var(--gold); }
.option { display: flex; flex-direction: column; gap: .4rem; margin: 1rem 0; }
.option label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-mute); }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
.swatch {
  padding: .55rem 1rem; border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--ivory); cursor: pointer; font-size: .85rem; border-radius: var(--r-sm); transition: .15s;
}
.swatch:hover { border-color: var(--gold); }
.swatch.active { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.swatch[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.tabs { border-top: 1px solid var(--line); margin-top: 2rem; }
.tabs .tab-bar { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.tabs .tab { padding: 1rem 0; cursor: pointer; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-mute); border-bottom: 2px solid transparent; }
.tabs .tab.active { color: var(--gold); border-color: var(--gold); }
.tab-panel { display: none; padding: 1.5rem 0; }
.tab-panel.active { display: block; }

.sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0; padding: .75rem var(--gutter);
  background: rgba(10,10,10,.96); border-top: 1px solid var(--gold-deep); z-index: 40;
  display: none;
}
@media (max-width: 720px) { .sticky-buy { display: flex; gap: .75rem; align-items: center; } }
.sticky-buy .price { color: var(--gold); font-weight: 700; }

/* ── Cart / drawer ──────────────────────────────────────────────────────── */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; display: none;
}
.drawer-backdrop.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw);
  background: var(--bg-soft); border-left: 1px solid var(--line); z-index: 91;
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .head { display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer .body { flex: 1; overflow: auto; padding: 1rem 1.25rem; }
.drawer .foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 70px 1fr auto; gap: .75rem; padding: .75rem 0;
             border-bottom: 1px solid var(--line); }
.line-item img { width: 70px; height: 88px; object-fit: cover; border-radius: var(--r-sm); }
.line-item .li-meta { font-size: .82rem; color: var(--ivory-mute); }
.qty { display: inline-flex; align-items: center; gap: .35rem; }
.qty button { background: var(--bg-elev); border: 1px solid var(--line); color: var(--ivory);
              width: 28px; height: 28px; border-radius: var(--r-sm); cursor: pointer; }
.qty input { width: 38px; background: transparent; border: 1px solid var(--line); color: var(--ivory);
             text-align: center; padding: .25rem; border-radius: var(--r-sm); }

.free-ship-bar {
  background: var(--bg-elev); padding: .55rem .75rem; border-radius: var(--r-sm);
  font-size: .8rem; color: var(--ivory-mute); margin-bottom: .75rem;
}
.free-ship-bar .progress { height: 4px; background: var(--line); border-radius: 999px; margin-top: .35rem; overflow: hidden; }
.free-ship-bar .progress > div { height: 100%; background: var(--gold); transition: width .3s; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
input, select, textarea {
  width: 100%; padding: .75rem .9rem; background: var(--bg-elev); color: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--r-sm); font-family: inherit; font-size: .95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft);
}
label.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
label.field span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-mute); }

/* ── Filters ────────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; gap: .75rem; flex-wrap: wrap; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem;
}
.filter-bar select { width: auto; min-width: 160px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; margin-top: 4rem;
  background: var(--bg-soft);
}
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--gold); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: .25rem 0; font-size: .9rem; color: var(--ivory-mute); }
footer .legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
                 display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
                 font-size: .8rem; color: var(--ivory-mute); }

/* ── Promo banner ───────────────────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: #1a1407; padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.promo-banner h2 { color: #1a1407; font-family: var(--serif); }

/* ── Utility ────────────────────────────────────────────────────────────── */
.muted { color: var(--ivory-mute); }
.gold { color: var(--gold); }
.center { text-align: center; }

/* Minimum 12px on mobile for accessibility (Apple HIG + WCAG) */
@media (max-width: 820px) {
  .eyebrow { font-size: max(.72rem, 12px); }
  .card .meta, .li-meta { font-size: max(.82rem, 12px); }
  footer .legal { font-size: max(.8rem, 12px); }
  .cart-count { font-size: max(.72rem, 12px); }
}
.hidden { display: none !important; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft), var(--bg-elev), var(--bg-soft));
            background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.flash { padding: .75rem 1rem; border-radius: var(--r-sm); margin: 1rem 0; }
.flash.ok    { background: rgba(111,207,126,.1); border: 1px solid var(--ok); color: var(--ok); }
.flash.err   { background: rgba(226,92,92,.1);  border: 1px solid var(--danger); color: var(--danger); }

/* ── Mobile nav drawer ──────────────────────────────────────────────────── */
.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; display: none;
}
.mobile-nav-backdrop.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw);
  background: #000; border-right: 1px solid var(--line); z-index: 81;
  transform: translateX(-100%); transition: transform .25s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mn-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line);
  background: #000;
}
.mobile-nav .mn-head .brand { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; }
.mobile-nav .mn-head .brand .b-mark { color: var(--gold); }
.mobile-nav .mn-head .mn-close {
  background: none; border: 0; color: var(--ivory); font-size: 1.5rem; cursor: pointer; padding: 0;
}
.mobile-nav .mn-links { flex: 1; padding: 1rem 0; }
.mobile-nav .mn-links a {
  display: block; padding: .85rem 1.5rem; font-size: 1rem; letter-spacing: .1em;
  text-transform: uppercase; border-bottom: 1px solid var(--line); color: var(--ivory);
}
.mobile-nav .mn-links a:hover, .mobile-nav .mn-links a:active { color: var(--gold); background: var(--bg-elev); }
.mobile-nav .mn-foot {
  padding: 1rem 1.25rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ivory-mute);
}
.mobile-nav .mn-foot a { color: var(--gold); }
/* Collapsible sections in mobile nav */
.mn-section { border-bottom: 1px solid var(--line); }
.mn-toggle {
  display: block; width: 100%; padding: .85rem 1.5rem; font-size: 1rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ivory);
  background: none; border: none; text-align: left; cursor: pointer;
  font-family: inherit;
}
.mn-toggle:hover { color: var(--gold); background: var(--bg-elev); }
.mn-sub { display: none; padding: 0 0 .5rem; }
.mn-section.open .mn-sub { display: block; }
.mn-section.open .mn-toggle { color: var(--gold); }
.mn-sub a {
  padding: .55rem 1.5rem .55rem 2.5rem !important;
  font-size: .88rem !important; color: var(--ivory-mute) !important;
  border-bottom: none !important;
}
.mn-sub a:hover { color: var(--gold) !important; }
/* Mobile nav responsive tweaks */
@media (max-width: 375px) {
  .mobile-nav .mn-links a { font-size: .88rem; padding: .7rem 1.2rem; }
  .mn-toggle { font-size: .88rem; padding: .7rem 1.2rem; }
  .mn-sub a { padding: .45rem 1.2rem .45rem 2rem !important; font-size: .82rem !important; }
  .mobile-nav .mn-head { padding: .8rem 1rem; }
  .mobile-nav .mn-head .brand-logo { height: 36px !important; }
}

/* ── Zelle payment info box ────────────────────────────────────────────── */
.zelle-info {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.25rem; margin-top: .5rem;
}
.zelle-info .zelle-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #6D1ED4; color: #fff; padding: .25rem .75rem;
  border-radius: var(--r-sm); font-weight: 700; font-size: .9rem; margin-bottom: .75rem;
}
.zelle-info .zelle-detail { padding: .35rem 0; font-size: .95rem; }
.zelle-info .zelle-detail .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ivory-mute); }

/* ── Payment method selector ───────────────────────────────────────────── */
.pay-methods { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pay-methods label {
  flex: 1; min-width: 100px; display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  transition: .15s;
}
.pay-methods label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.pay-methods input[type=radio] { width: auto; accent-color: var(--gold); }

/* Stripe / Square element wrappers */
#stripe-card, #square-card-container {
  padding: .75rem .9rem; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 48px;
}

/* ── TikTok LIVE badge (announcement bar) ──────────────────────────────── */
.announcement { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.tt-live-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #E25C5C; color: #fff; padding: .15rem .6rem;
  border-radius: 999px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  animation: livePulse 1.6s ease-in-out infinite;
}
.tt-live-badge:hover { background: #c53030; color: #fff; }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,92,92,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(226,92,92,0); }
}

/* ── Social cards (homepage section) ───────────────────────────────────── */
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.8rem 2.5rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-soft); transition: .2s ease; text-align: center;
  min-width: 200px;
}
.social-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,175,55,.12);
}
.social-card .sc-icon { color: var(--gold); }
.social-card .sc-label { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.social-card .sc-handle { font-size: .82rem; color: var(--ivory-mute); }
.social-card .sc-cta {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-top: .25rem;
}

/* ── Footer social bar ─────────────────────────────────────────────────── */
footer .social-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line);
  margin-top: 2rem;
}
footer .social-icons { display: flex; gap: .75rem; }
footer .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ivory-mute); transition: .15s;
}
footer .social-icons a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Social feed (homepage comment cards) ──────────────────────────────── */
.sf-feed {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem 0 1rem; -webkit-overflow-scrolling: touch;
}
.sf-feed::-webkit-scrollbar { height: 4px; }
.sf-feed::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.sf-card {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem;
  text-decoration: none; color: var(--ivory); transition: .2s ease; min-height: 120px;
}
.sf-card:hover { border-color: var(--gold-deep); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.sf-head { display: flex; align-items: center; gap: .5rem; font-size: .78rem; }
.sf-platform { display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.sf-platform.tiktok { background: rgba(255,255,255,.08); color: var(--ivory); }
.sf-platform.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; }
.sf-user { font-weight: 600; color: var(--gold); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.sf-ago { margin-left: auto; color: var(--ivory-mute); font-size: .72rem; flex-shrink: 0; }
.sf-text { font-size: .88rem; line-height: 1.45; color: var(--ivory); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; }
.sf-likes { font-size: .75rem; color: var(--rose); }
@media (max-width: 540px) { .sf-card { flex: 0 0 260px; } }
