/* =========================================================
   THE MAHOHA — PRODUCT BLURB + REVIEWS CAROUSEL v1  (2026-10-16)
   Styles only the elements created by the_mahoha_product_blurb_v1.js
   (#mh-blurb, #mh-reviews-strip, #mhr-lightbox). Nothing else.
   Variables use their own prefix --mhb-* (other files own --mh-*, --mhc-*, --mhk-*).
========================================================= */

:root{
  --mhb-burgundy:#74162c;
  --mhb-burgundy-deep:#541024;
  --mhb-plum:#2b1028;
  --mhb-wasabi:#d8f24a;
  --mhb-blush:#f7e9ec;
  --mhb-line:#ead9de;
  --mhb-muted:#7a6470;
  --mhb-ease:cubic-bezier(.16,1,.3,1);
}

/* ---------- blurb under the price ---------- */
#mh-blurb{
  margin:14px 0 6px;
  padding:16px 16px 14px;
  border:1px solid var(--mhb-line);
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,rgba(247,233,236,.7) 100%);
  box-shadow:0 10px 28px rgba(74,10,31,.06);
  text-align:start;
}

#mh-blurb .mhb-title{
  margin:0 0 10px;
  color:var(--mhb-burgundy);
  font-size:17px;
  font-weight:800;
  line-height:1.5;
}

#mh-blurb .mhb-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

#mh-blurb .mhb-chips li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border:1px solid var(--mhb-line);
  border-radius:999px;
  background:#fff;
  color:var(--mhb-plum);
  font-size:13.5px;
  font-weight:700;
  line-height:1.3;
}

#mh-blurb .mhb-chips li::before{
  content:"";
  width:7px;
  height:7px;
  flex:none;
  border-radius:50%;
  background:var(--mhb-wasabi);
  box-shadow:0 0 0 2px rgba(116,22,44,.18);
}

#mh-blurb .mhb-pack{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:48px;
  margin-top:12px;
  padding:0 16px;
  border:1.5px dashed var(--mhb-burgundy);
  border-radius:14px;
  background:rgba(255,255,255,.75);
  color:var(--mhb-burgundy);
  font:inherit;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:background .2s ease, transform .25s var(--mhb-ease);
}

#mh-blurb .mhb-pack-icon{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--mhb-burgundy);
  color:#fff;
  font-size:10px;
}

#mh-blurb .mhb-pack-arrow{
  animation:mhb-bob 1.6s ease-in-out infinite;
}

@media (hover:hover){
  #mh-blurb .mhb-pack:hover{
    background:var(--mhb-blush);
    transform:translateY(-1px);
  }
}

#mh-blurb .mhb-pack:focus-visible{
  outline:2px solid var(--mhb-burgundy);
  outline-offset:2px;
}

#mh-blurb .mhb-cod{
  margin:10px 0 0;
  color:var(--mhb-muted);
  font-size:12.5px;
  font-weight:600;
  text-align:center;
}

@keyframes mhb-bob{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(3px); }
}

/* packaging section: land below the header + short highlight after the jump */
#mh-packaging-video{ scroll-margin-top:90px; }
#mh-packaging-video.mhb-flash{ animation:mhb-flash 1.4s ease-out 1; }
@keyframes mhb-flash{
  0%{ box-shadow:0 0 0 0 rgba(216,242,74,.0); }
  25%{ box-shadow:0 0 0 6px rgba(216,242,74,.75); }
  100%{ box-shadow:0 0 0 0 rgba(216,242,74,0); }
}

/* ---------- reviews carousel ---------- */
#mh-reviews-strip{
  margin:28px 0;
  padding:22px 0 18px;
  border:1px solid var(--mhb-line);
  border-radius:24px;
  background:linear-gradient(160deg,#fff 0%,var(--mhb-blush) 100%);
  overflow:hidden;
}

#mh-reviews-strip .mhr-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:0 20px 14px;
}

#mh-reviews-strip .mhr-eyebrow{
  display:block;
  color:var(--mhb-burgundy);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}

#mh-reviews-strip .mhr-title{
  margin:4px 0 2px;
  color:var(--mhb-plum);
  font-size:clamp(20px,2.2vw,26px);
  font-weight:800;
  line-height:1.3;
}

#mh-reviews-strip .mhr-sub{
  margin:0;
  color:var(--mhb-muted);
  font-size:13.5px;
}

#mh-reviews-strip .mhr-nav{
  display:flex;
  gap:8px;
  flex:none;
}

#mh-reviews-strip .mhr-btn{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--mhb-line);
  border-radius:50%;
  background:#fff;
  color:var(--mhb-burgundy);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

#mh-reviews-strip .mhr-track{
  display:flex;
  gap:14px;
  padding:4px 20px 10px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:20px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
}
#mh-reviews-strip .mhr-track::-webkit-scrollbar{ display:none; }

#mh-reviews-strip .mhr-card{
  flex:0 0 clamp(170px,44vw,230px);
  aspect-ratio:728 / 1020;
  padding:0;
  border:1px solid var(--mhb-line);
  border-radius:18px;
  overflow:hidden;
  background:#1f1a1d;
  scroll-snap-align:start;
  cursor:zoom-in;
  box-shadow:0 10px 24px rgba(43,16,40,.10);
  transition:transform .3s var(--mhb-ease), box-shadow .3s var(--mhb-ease);
}

#mh-reviews-strip .mhr-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (hover:hover){
  #mh-reviews-strip .mhr-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 32px rgba(43,16,40,.16);
  }
}

#mh-reviews-strip :is(.mhr-card,.mhr-btn,.mhr-track):focus-visible{
  outline:2px solid var(--mhb-burgundy);
  outline-offset:2px;
}

@media (max-width:700px){
  #mh-reviews-strip{ border-radius:20px; margin:22px 0; }
  #mh-reviews-strip .mhr-nav{ display:none; }   /* swipe on phones */
  #mh-reviews-strip .mhr-head{ padding:0 16px 12px; }
  #mh-reviews-strip .mhr-track{ padding-inline:16px; scroll-padding-inline:16px; }
}

/* ---------- lightbox ---------- */
#mhr-lightbox{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:56px 16px 24px;
  background:rgba(20,8,16,.86);
}
#mhr-lightbox.is-open{ display:flex; }
#mhr-lightbox img{
  max-width:min(92vw,480px);
  max-height:86vh;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}
#mhr-lightbox .mhr-close{
  position:absolute;
  top:12px;
  inset-inline-end:12px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--mhb-plum);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
html.mhr-lock, html.mhr-lock body{ overflow:hidden!important; }

@media (prefers-reduced-motion:reduce){
  #mh-blurb .mhb-pack-arrow,
  #mh-packaging-video.mhb-flash{ animation:none; }
  #mh-reviews-strip .mhr-track{ scroll-behavior:auto; }
}
