/* ============================================================
   home-v2.css — preview hero for /home-v2/ page only
   Scoped to .brv2-* prefixes to avoid colliding with existing CSS
   ============================================================ */

:root{
  --brv2-pink-1:#fff1f5;
  --brv2-pink-2:#ffe1ec;
  --brv2-pink-accent:#ff5fa2;
  --brv2-pink-deep:#d4357e;
  --brv2-ink:#1a1a23;
  --brv2-ink-soft:#4a4a55;
  --brv2-gold:#f5b342;
  --brv2-border:#ebd8e1;
}

/* ============ SLIM TRUST STRIP ============ */
.brv2-trust{
  display:flex;justify-content:space-around;gap:6px;
  padding:10px 10px;background:#fff;
  border-bottom:1px solid var(--brv2-border);
  font-size:11px;color:var(--brv2-ink-soft);text-align:center;
}
.brv2-trust-item{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.2;
}
.brv2-trust-item strong{color:var(--brv2-ink);font-size:13px;letter-spacing:-.2px}
.brv2-trust-item strong span{font-size:11px;color:#9d8390;font-weight:400}
.brv2-stars{color:var(--brv2-gold);font-size:11px;letter-spacing:1px;line-height:1}
.brv2-trust-label{font-size:11px;line-height:1.2}

/* ============ HERO ============ */
.brv2-hero{
  background:linear-gradient(180deg,var(--brv2-pink-1) 0%,var(--brv2-pink-2) 100%);
  padding:18px 16px 22px;
}
.brv2-hero-wrap{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:0}

/* Image */
.brv2-hero-imgwrap{position:relative;margin:0}
.brv2-hero-img{
  display:block;width:100%;aspect-ratio:1/1;border-radius:20px;overflow:hidden;
  background:#ffeaf1;
  box-shadow:0 8px 28px rgba(212,53,126,.18);
  text-decoration:none;
}
.brv2-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
.brv2-ribbon{
  position:absolute;top:14px;left:14px;z-index:2;
  background:rgba(255,255,255,.92);backdrop-filter:blur(6px);
  color:var(--brv2-pink-deep);font-size:11px;font-weight:700;letter-spacing:1px;
  padding:5px 11px;border-radius:99px;text-transform:uppercase;
}
.brv2-ribbon-r{
  position:absolute;bottom:10px;right:10px;z-index:2;
  background:var(--brv2-ink);color:#fff;font-size:10px;font-weight:700;
  padding:3px 8px;border-radius:99px;letter-spacing:.2px;
  line-height:1.2;
}

/* Shrink the .br-badge-sale on product cards to match the hero ribbon-r style.
   !important needed to override the base rule in main.css. */
.br-hp-card .br-badge-sale {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  letter-spacing: 0.2px !important;
  line-height: 1.2 !important;
  bottom: 8px !important;
  right: 8px !important;
  border-radius: 99px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
}

/* Copy */
.brv2-hero-copy{padding-top:14px}
.brv2-micro{
  margin:0 0 6px;color:var(--brv2-pink-deep);font-weight:700;font-size:12px;
  letter-spacing:1.2px;text-transform:uppercase;
}
.brv2-h1{
  font-family:Georgia,serif;font-size:26px;line-height:1.15;font-weight:700;
  color:var(--brv2-ink);margin:0 0 10px;letter-spacing:-.5px;
}
.brv2-h1 em{color:var(--brv2-pink-deep);font-style:normal}
.brv2-sub{
  font-size:14px;line-height:1.45;color:var(--brv2-ink-soft);
  margin:0 0 18px;
}

/* CTA */
.brv2-cta-row{display:flex;flex-direction:column;gap:10px}
.brv2-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:var(--brv2-ink);color:#fff;font-weight:700;font-size:15px;
  padding:15px 16px;border-radius:14px;text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  transition:transform .15s ease;
  text-align:center;
}
@media (hover: hover) { .brv2-cta:hover{transform:translateY(-1px);color:#fff} }
.brv2-cta-meta{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.brv2-pill{
  background:#fff;border:1px solid var(--brv2-border);padding:5px 11px;
  border-radius:99px;font-size:12px;color:var(--brv2-ink-soft);
  display:inline-flex;align-items:center;gap:4px;
}
.brv2-pill-price{font-weight:700;color:var(--brv2-ink)}
.brv2-pill-price del{color:#aaa;font-weight:400;margin-left:5px;font-size:11px}
.brv2-pill-price .woocommerce-Price-amount{font-weight:700}
.brv2-pill-price ins{text-decoration:none;color:var(--brv2-ink)}

/* ============ CATEGORY CAROUSEL ============ */
.brv2-cats{padding:24px 0 18px;background:#fff}
.brv2-cats-head{
  display:flex;align-items:baseline;justify-content:space-between;
  padding:0 18px 14px;
}
.brv2-cats-head h2{
  margin:0;font-family:Georgia,serif;font-size:22px;font-weight:700;letter-spacing:-.3px;color:var(--brv2-ink);
}
.brv2-cats-viewall{
  font-size:12px;color:var(--brv2-pink-deep);text-decoration:none;font-weight:600;
}
.brv2-cats-scroller{
  display:flex;gap:14px;overflow-x:auto;
  padding:2px 18px 18px;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;
}
.brv2-cats-scroller::-webkit-scrollbar{height:6px}
.brv2-cats-scroller::-webkit-scrollbar-thumb{background:#e8c8d6;border-radius:99px}
.brv2-cat-card{
  flex:0 0 70%;min-width:70%;scroll-snap-align:start;
  position:relative;display:block;border-radius:18px;overflow:hidden;
  text-decoration:none;color:#fff;aspect-ratio:4/5;
  box-shadow:0 6px 22px rgba(60,20,40,.12);
  transition:transform .2s,box-shadow .2s;
}
@media (hover: hover) { .brv2-cat-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(60,20,40,.18)} }
.brv2-cat-img{position:absolute;inset:0;background:#ffeaf1}
.brv2-cat-img img{width:100%;height:100%;object-fit:cover;display:block}
.brv2-cat-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:70%;
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.05) 30%,rgba(0,0,0,.65) 100%);
  pointer-events:none;
}
.brv2-cat-overlay{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:16px 18px 18px;color:#fff;
}
.brv2-cat-overlay h3{
  margin:0 0 6px;font-family:Georgia,serif;font-size:18px;line-height:1.15;font-weight:700;color:#fff;
}
.brv2-cat-overlay h3 span{color:var(--brv2-pink-1)}
.brv2-cat-meta{
  display:inline-block;font-size:12px;font-weight:600;letter-spacing:.5px;
  background:rgba(255,255,255,.92);color:var(--brv2-pink-deep);
  padding:5px 11px;border-radius:99px;text-transform:uppercase;
}

/* ============ DESKTOP ============ */
@media (min-width:880px){
  .brv2-trust{padding:14px 24px;gap:24px;font-size:12px}
  .brv2-trust-item{flex-direction:row;gap:10px;align-items:center}
  .brv2-trust-item strong{font-size:15px}
  .brv2-trust-label{text-align:left}

  .brv2-hero{padding:46px 40px 56px}
  .brv2-hero-wrap{
    display:grid;grid-template-columns:1.05fr 1fr;gap:54px;align-items:center;
  }
  .brv2-hero-imgwrap{margin:0}
  .brv2-hero-img{border-radius:24px;box-shadow:0 14px 44px rgba(212,53,126,.22)}
  .brv2-ribbon{font-size:12px;padding:6px 13px;top:20px;left:20px}
  .brv2-ribbon-r{font-size:13px;padding:7px 14px;top:20px;right:20px;bottom:auto}
  .brv2-hero-copy{padding:0 0 0 8px}
  .brv2-micro{font-size:13px;letter-spacing:1.5px;margin-bottom:14px}
  .brv2-h1{font-size:46px;line-height:1.1;margin-bottom:18px;letter-spacing:-1px}
  .brv2-sub{font-size:17px;line-height:1.5;margin-bottom:28px;max-width:480px}
  .brv2-cta-row{flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap}
  .brv2-cta{font-size:16px;padding:17px 26px}
  .brv2-cta-meta{justify-content:flex-start}
  .brv2-pill{padding:6px 12px;font-size:13px}

  /* Category carousel desktop */
  .brv2-cats{padding:48px 40px 36px;max-width:1280px;margin:0 auto}
  .brv2-cats-head{padding:0 0 24px}
  .brv2-cats-head h2{font-size:30px;letter-spacing:-.4px}
  .brv2-cats-head .brv2-cats-viewall{font-size:14px}
  .brv2-cats-scroller{padding:0 0 14px;gap:20px}
  .brv2-cat-card{flex:0 0 calc((100% - 60px) / 4);min-width:calc((100% - 60px) / 4);aspect-ratio:3/4}
  .brv2-cat-overlay{padding:22px 24px 24px}
  .brv2-cat-overlay h3{font-size:24px}
  .brv2-cat-meta{font-size:13px;padding:7px 14px}
}

/* === Hero CTA upgrade — pink commerce button + offer explanation === */
.brv2-offer-explain{
  background:#fff5f9;border-left:4px solid var(--brv2-pink-deep);
  padding:14px 18px;border-radius:0 10px 10px 0;
  margin:0 0 20px;
  font-size:15px;line-height:1.5;color:#3d2533;
}
.brv2-offer-explain p{margin:0 0 6px}
.brv2-offer-explain p:last-child{margin:0}
.brv2-offer-explain strong{color:var(--brv2-pink-deep)}
.brv2-offer-sub{font-size:13px;color:#555}

.brv2-cta-buy{
  background:#f472b6!important; /* --br-pink (matches product-page Add-to-Cart) */
  color:#fff!important;
  flex-direction:column!important;
  align-items:center;
  padding:14px 22px!important;
  border-radius:30px!important;
  box-shadow:0 6px 20px rgba(244,114,182,.35)!important;
  gap:2px!important;
  min-width:240px;
}
@media (hover: hover) {
  .brv2-cta-buy:hover{
    background:#db2777!important;
    color:#fff!important;
    transform:translateY(-1px);
  }
}
.brv2-cta-main{font-size:17px;font-weight:700;letter-spacing:.2px}
.brv2-cta-main::after{content:" \2192";font-weight:600}
.brv2-cta-price{font-size:14px;font-weight:600;opacity:.95}
.brv2-cta-price del{opacity:.65;font-weight:400;margin-left:6px;font-size:12px}
.brv2-pill .br-star-gold{color:#f5b731;letter-spacing:1px;margin-right:4px;font-style:normal}

@media (min-width:768px){
  .brv2-cta-main{font-size:19px}
  .brv2-cta-buy{padding:16px 28px!important;min-width:280px}
}

/* ============================================================
   ROSA — personal letter section (pattern interrupt)
   ============================================================ */
.br-rosa-letter{
  background:#fdfaf5; /* warm cream, NOT pink — magazine page feel */
  padding:60px 20px;
  border-top:1px solid #f0e7d8;
  border-bottom:1px solid #f0e7d8;
}
.br-rosa-wrap{
  max-width:880px;margin:0 auto;
  display:grid;grid-template-columns:1fr;gap:32px;align-items:start;
}
.br-rosa-photo{
  position:relative;
  width:200px;margin:0 auto;
}
.br-rosa-photo img{
  display:block;width:100%;height:auto;border-radius:50%;
  border:6px solid #fff;
  box-shadow:0 8px 24px rgba(60,40,30,.18);
  transform:rotate(-3deg);
}
.br-rosa-photo-tag{
  display:block;text-align:center;margin-top:14px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:13px;font-style:italic;color:#8a7560;letter-spacing:.3px;
}
.br-rosa-letter-body{
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;line-height:1.75;
  color:#3d3329;
}
.br-rosa-eyebrow{
  margin:0 0 4px;
  font-family:Georgia,serif;
  font-size:13px;font-style:italic;color:#a89378;
  letter-spacing:.5px;
}
.br-rosa-hi{
  margin:0 0 22px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:48px;font-weight:400;line-height:1;
  color:#2a221a;letter-spacing:-1px;
}
.br-rosa-letter-body p{margin:0 0 14px}
.br-rosa-letter-body strong{color:#2a221a;font-weight:700}
.br-rosa-sign{
  margin-top:20px!important;
  font-size:16px;color:#6e5b46;
}
.br-rosa-cta-row{
  display:flex;flex-direction:column;gap:12px;
  margin-top:28px;padding-top:24px;
  border-top:1px solid #ecdfcc;
}
.br-rosa-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 22px;border-radius:30px;
  font-family:system-ui,-apple-system,sans-serif;
  font-size:15px;font-weight:600;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.br-rosa-cta-wa{
  background:#25D366;color:#fff;
  box-shadow:0 4px 14px rgba(37,211,102,.3);
}
@media (hover: hover) {
  .br-rosa-cta-wa:hover{
    background:#1ebe5b;color:#fff;
    transform:translateY(-1px);
  }
}
.br-rosa-wa-icon{font-size:18px}
.br-rosa-cta-story{
  background:transparent;color:#6e5b46;
  border:1.5px solid #c4a883;
}
@media (hover: hover) {
  .br-rosa-cta-story:hover{
    background:#c4a883;color:#fff;
    transform:translateY(-1px);
  }
}

@media (min-width:768px){
  .br-rosa-letter{padding:80px 40px}
  .br-rosa-wrap{
    grid-template-columns:200px 1fr;
    gap:56px;
    align-items:start;
  }
  .br-rosa-photo{width:200px;position:sticky;top:30px}
  .br-rosa-photo img{transform:rotate(-3deg)}
  .br-rosa-letter-body{font-size:17px;line-height:1.8}
  .br-rosa-hi{font-size:56px}
  .br-rosa-cta-row{flex-direction:row;align-items:center;gap:16px}
}

/* Rosa credentials chips (proof anchors) */
.br-rosa-credentials{
  display:flex;flex-wrap:wrap;gap:8px;
  margin:18px 0 6px;
}
.br-rosa-cred-chip{
  font-family:system-ui,-apple-system,sans-serif;
  font-size:12px;font-weight:600;
  color:#6e5b46;background:#fff;
  border:1px solid #e6d6b9;
  padding:5px 11px;border-radius:99px;
  letter-spacing:.2px;
}

/* === Mobile tap-bug failsafe ===
   touch-action: manipulation removes the browser's 300ms double-tap delay
   and prevents simulated :hover on first tap for these tappable cards. */
.br-hp-card, .br-hp-card a,
.br-product-card, .br-product-card a,
.brv2-cat-card, .brv2-hero-img,
.brv2-cta-buy, .br-rosa-cta {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(244,114,182,0.12);
}

/* The hover overlay image should not intercept taps — the parent <a> owns the click. */
.br-hp-card .br-img-hover,
.br-product-card .br-img-hover { pointer-events: none; }
