/* ═══════════════════════════════════════════════════════════════
   Heavy Metal Fonts — single-product.css (v3)
   Layout: gallery (left) + sticky license buy card (right), info below.
   License model: Band / Label tier toggle + multi-select sub-licenses
   + Full Bundle, with a running subtotal.
   Relies on variables + shared components from homepage.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────────── */
.hmf-sp-crumb { padding:22px 32px 0; font-size:13px; color:var(--hmf-text-mute); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.hmf-sp-crumb a { color:var(--hmf-text-mute); text-decoration:none; transition:color .15s; }
.hmf-sp-crumb a:hover { color:var(--hmf-red-bright); }
.hmf-sp-crumb-current { color:var(--hmf-text); }

/* ── Layout: 2×2 grid — [title | rating] over [gallery | buy card] ── */
.hmf-sp-main { padding:24px 0 72px; }
.hmf-sp-layout { display:grid; grid-template-columns:1fr 400px; column-gap:44px; row-gap:20px; align-items:start; }
.hmf-sp-left { min-width:0; grid-column:1; }
.hmf-sp-buy  { grid-column:2; }

/* ══════════════════════════════════════════════════ HEADER (row 1, col 1) */
.hmf-sp-header { grid-column:1; align-self:end; margin:0; }
.hmf-sp-header-cat { font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--hmf-red-bright); margin-bottom:8px; }
.hmf-sp-header-title {
  font-family:var(--hmf-font-display); font-weight:400; text-transform:uppercase;
  font-size:clamp(40px,5.5vw,72px); line-height:1.02; color:var(--hmf-white); margin:0;
  text-shadow:0 0 46px rgba(200,31,60,.4), 0 4px 0 rgba(0,0,0,.6);
}

/* Rating / social-proof strip OUTSIDE the buy box (row 1, col 2) */
.hmf-sp-rating-top {
  grid-column:2; align-self:end; display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  padding:12px 16px; border-radius:var(--hmf-radius-sm);
  background:rgba(200,31,60,.08); border:1px solid var(--hmf-red-border);
}
.hmf-sp-rating-top-stars { color:var(--hmf-red-bright); font-size:16px; letter-spacing:1px; }
.hmf-sp-rating-top-score { font-size:16px; font-weight:800; color:var(--hmf-white); }
.hmf-sp-rating-top-count { font-size:12.5px; color:var(--hmf-text-dim); }
.hmf-sp-rating-top-dot { color:var(--hmf-text-mute); }
.hmf-sp-rating-top-owned { font-size:12.5px; color:var(--hmf-text); font-weight:600; }

/* ══════════════════════════════════════════════════ GALLERY */
.hmf-sp-gallery { margin-bottom:20px; }
.hmf-sp-stage {
  position:relative; aspect-ratio:3/2; border-radius:var(--hmf-radius); overflow:hidden;
  border:1px solid var(--hmf-glass-border);
  background:var(--hmf-glass);
  -webkit-backdrop-filter:blur(var(--hmf-blur)) saturate(150%); backdrop-filter:blur(var(--hmf-blur)) saturate(150%);
  box-shadow:0 12px 40px rgba(0,0,0,.45);
}
.hmf-sp-badge {
  position:absolute; top:14px; left:14px; z-index:4;
  background:linear-gradient(135deg, var(--hmf-red-bright), var(--hmf-red-dark)); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:6px 12px; border-radius:999px;
  box-shadow:0 6px 16px var(--hmf-red-glow);
}
.hmf-sp-slide { position:absolute; inset:0; opacity:0; transition:opacity .4s ease; }
.hmf-sp-slide.active { opacity:1; z-index:1; }
.hmf-sp-slide img { width:100%; height:100%; object-fit:cover; }
.hmf-sp-slide-art {
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:6% 8%; text-align:center;
  background:radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200,31,60,.22), transparent 60%), linear-gradient(160deg,#1a0c0c,#080505);
}
.hmf-sp-slide-art--pangram { background:radial-gradient(ellipse 80% 70% at 50% 50%, rgba(120,10,30,.35), transparent 60%), linear-gradient(160deg,#170b0b,#060404); }
.hmf-sp-slide-art--album   { background:radial-gradient(circle at 50% 30%, rgba(200,31,60,.28), transparent 55%), linear-gradient(160deg,#1d0d0d,#050303); }
.hmf-sp-slide-art--poster  { background:linear-gradient(135deg,#2a0f14,#070404); }
.hmf-sp-slide-label { font-size:12px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:var(--hmf-red-bright); }
.hmf-sp-slide-big {
  font-family:var(--hmf-font-display); font-weight:400; text-transform:uppercase; color:var(--hmf-white);
  font-size:clamp(26px,4.5vw,58px); line-height:1.08; word-break:break-word; text-shadow:0 0 30px rgba(200,31,60,.4);
}
.hmf-sp-slide-art--pangram .hmf-sp-slide-big { font-size:clamp(20px,3vw,40px); line-height:1.2; }
.hmf-sp-slide-small { font-family:var(--hmf-font-display); font-weight:400; text-transform:uppercase; color:var(--hmf-text-dim); font-size:clamp(13px,1.6vw,22px); }
.hmf-sp-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.28);
  background:rgba(8,4,4,.82); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.55);
  transition:border-color .15s, background .15s, transform .15s;
}
.hmf-sp-arrow:hover { border-color:var(--hmf-red-bright); background:var(--hmf-red-bright); transform:translateY(-50%) scale(1.06); }
.hmf-sp-arrow--prev { left:14px; } .hmf-sp-arrow--next { right:14px; }
/* Single image — no navigation needed */
.hmf-sp-gallery.is-single .hmf-sp-arrow,
.hmf-sp-gallery.is-single .hmf-sp-thumbs { display:none; }

.hmf-sp-thumbs { display:flex; gap:12px; margin-top:14px; flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; scrollbar-color:var(--hmf-red-border) transparent; }
.hmf-sp-thumbs::-webkit-scrollbar { height:6px; }
.hmf-sp-thumbs::-webkit-scrollbar-thumb { background:var(--hmf-red-border); border-radius:999px; }
.hmf-sp-thumb {
  flex:0 0 auto; width:130px; height:88px; border-radius:var(--hmf-radius-sm); overflow:hidden; cursor:pointer; padding:0;
  border:2px solid var(--hmf-glass-border); background:var(--hmf-glass);
  display:flex; align-items:center; justify-content:center; transition:border-color .15s, transform .15s;
}
.hmf-sp-thumb:hover { transform:translateY(-2px); border-color:var(--hmf-red-border); }
.hmf-sp-thumb img { width:100%; height:100%; object-fit:cover; }
.hmf-sp-thumb span { font-family:var(--hmf-font-display); color:var(--hmf-text-dim); font-size:32px; }
.hmf-sp-thumb.active { border-color:var(--hmf-red-bright); box-shadow:0 0 14px var(--hmf-red-glow); }

/* ── File info chips ─────────────────────────────────────────── */
.hmf-sp-fileinfo { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:22px; }
.hmf-sp-fileinfo-item {
  padding:14px 16px; border-radius:var(--hmf-radius-sm); border:1px solid var(--hmf-glass-border); background:var(--hmf-glass);
  display:flex; flex-direction:column; gap:4px;
}
.hmf-sp-fileinfo-k { font-size:11px; color:var(--hmf-text-mute); text-transform:uppercase; letter-spacing:.06em; }
.hmf-sp-fileinfo-v { font-size:13px; font-weight:700; color:var(--hmf-white); }

/* ── Rating ──────────────────────────────────────────────────── */
.hmf-sp-ratingbar { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-bottom:22px; font-size:14px; }
.hmf-sp-stars { color:var(--hmf-red-bright); letter-spacing:1px; }
.hmf-sp-ratingbar strong { color:var(--hmf-white); }
.hmf-sp-ratingbar-muted, .hmf-sp-ratingbar-dot { color:var(--hmf-text-mute); }

/* ── Info cards ──────────────────────────────────────────────── */
.hmf-sp-card {
  padding:26px; border-radius:var(--hmf-radius); margin-bottom:20px;
  background:var(--hmf-glass);
  -webkit-backdrop-filter:blur(var(--hmf-blur)) saturate(150%); backdrop-filter:blur(var(--hmf-blur)) saturate(150%);
  border:1px solid var(--hmf-glass-border); box-shadow:0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
}
.hmf-sp-card-h { font-size:clamp(19px,2vw,26px); line-height:1.25; margin:8px 0 14px; text-shadow:0 0 24px rgba(200,31,60,.25); }
.hmf-sp-desc-text { font-size:15px; line-height:1.75; color:var(--hmf-text-dim); }
.hmf-sp-desc-text p { margin:0 0 14px; }

.hmf-sp-included { margin-top:18px; padding-top:18px; border-top:1px solid var(--hmf-glass-border); }
.hmf-sp-included-h { display:block; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--hmf-text-mute); margin-bottom:12px; }
.hmf-sp-included ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hmf-sp-included li { display:flex; align-items:flex-start; gap:8px; font-size:13.5px; color:var(--hmf-text); }
.hmf-sp-included svg { color:var(--hmf-red-bright); flex-shrink:0; margin-top:2px; }

/* Type tester */
.hmf-sp-tester-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.hmf-sp-tester-head .hmf-eyebrow { margin-bottom:0; }
.hmf-sp-tester-size { display:flex; align-items:center; gap:10px; min-width:180px; }
.hmf-sp-tester-size input[type="range"] { flex:1; accent-color:var(--hmf-red-bright); }
.hmf-sp-tester-size span { font-size:12px; color:var(--hmf-text-mute); min-width:44px; text-align:right; }
.hmf-sp-tester-input { width:100%; background:rgba(0,0,0,.3); border:1px solid var(--hmf-glass-border); border-radius:var(--hmf-radius-sm); padding:12px 15px; color:var(--hmf-white); font-family:var(--hmf-font-body); font-size:14px; margin-bottom:16px; }
.hmf-sp-tester-input:focus { outline:none; border-color:var(--hmf-red-border); }
.hmf-sp-tester-box { min-height:120px; display:flex; align-items:center; justify-content:center; text-align:center; padding:20px; border-radius:var(--hmf-radius-sm); background:rgba(0,0,0,.28); overflow:hidden; }
.hmf-sp-tester-box span { font-family:var(--hmf-font-display); font-weight:400; color:var(--hmf-white); text-transform:uppercase; line-height:1.15; word-break:break-word; text-shadow:0 0 24px rgba(200,31,60,.32); }

/* Character set */
.hmf-sp-charset { margin-top:14px; padding:22px; border-radius:var(--hmf-radius-sm); background:rgba(0,0,0,.22); overflow-x:auto; }
.hmf-sp-charset-row { font-family:var(--hmf-font-display); font-weight:400; color:var(--hmf-white); font-size:clamp(22px,3vw,38px); letter-spacing:.03em; white-space:nowrap; line-height:1.5; text-shadow:0 0 18px rgba(200,31,60,.22); }
.hmf-sp-charset-row--dim { color:var(--hmf-text-dim); font-size:clamp(15px,2vw,24px); text-shadow:none; }

/* Reviews */
.hmf-sp-review { display:flex; gap:14px; padding:16px 0; border-top:1px solid var(--hmf-glass-border); }
.hmf-sp-review:first-of-type { border-top:none; padding-top:8px; }
.hmf-sp-review strong { color:var(--hmf-white); display:inline-block; margin-right:8px; }
.hmf-sp-review-stars { color:var(--hmf-red-bright); font-size:12px; }
.hmf-sp-review p { margin:6px 0 0; font-size:13.5px; line-height:1.6; color:var(--hmf-text-dim); }

/* ══════════════════════════════════════════════════ BUY CARD */
.hmf-sp-buy { position:sticky; top:96px; }
.hmf-sp-buy-card {
  padding:22px; border-radius:var(--hmf-radius);
  background:var(--hmf-glass-2);
  -webkit-backdrop-filter:blur(var(--hmf-blur)) saturate(160%); backdrop-filter:blur(var(--hmf-blur)) saturate(160%);
  border:1px solid var(--hmf-glass-border);
  box-shadow:0 16px 50px rgba(0,0,0,.5), 0 0 40px rgba(200,31,60,.1), inset 0 1px 0 rgba(255,255,255,.06);
}
/* Prominent rating / social proof strip at top of buy card */
.hmf-sp-buy-rating {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:16px; padding:12px 14px;
  border-radius:var(--hmf-radius-sm); background:rgba(200,31,60,.08); border:1px solid var(--hmf-red-border);
}
.hmf-sp-buy-rating-stars { color:var(--hmf-red-bright); font-size:16px; letter-spacing:1px; }
.hmf-sp-buy-rating-score { font-size:16px; font-weight:800; color:var(--hmf-white); }
.hmf-sp-buy-rating-count { font-size:12.5px; color:var(--hmf-text-dim); }
.hmf-sp-buy-rating-dot { color:var(--hmf-text-mute); }
.hmf-sp-buy-rating-owned { font-size:12.5px; color:var(--hmf-text); font-weight:600; flex-basis:100%; }

.hmf-sp-buy-head { padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--hmf-glass-border); }
.hmf-sp-buy-cat { font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--hmf-red-bright); margin-bottom:5px; }
.hmf-sp-buy-name { font-family:var(--hmf-font-display); font-weight:400; text-transform:uppercase; font-size:28px; color:var(--hmf-white); line-height:1; margin-bottom:8px; }
.hmf-sp-buy-byline { font-size:12px; color:var(--hmf-text-mute); }

/* Tier selector — radio-style option cards (deliberately NOT button-like,
   so it doesn't compete with the Buy CTA). */
.hmf-sp-tier-label { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--hmf-text-mute); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.hmf-sp-tier-hint { font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:none; color:var(--hmf-red-bright); background:rgba(200,31,60,.1); border:1px solid var(--hmf-red-border); padding:2px 7px; border-radius:999px; }
.hmf-sp-tier-toggle { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:16px; background:none; border:none; padding:0; }
.hmf-sp-tier-tab {
  display:flex; align-items:center; gap:10px; text-align:left; padding:12px 13px; cursor:pointer;
  border-radius:var(--hmf-radius); border:1.5px solid var(--hmf-glass-border); background:rgba(0,0,0,.2);
  transition:border-color .18s, background .18s;
}
.hmf-sp-tier-tab:hover { border-color:var(--hmf-red-border); }
.hmf-sp-tier-radio {
  flex-shrink:0; width:18px; height:18px; border-radius:50%; border:2px solid var(--hmf-glass-border);
  position:relative; transition:border-color .18s;
}
.hmf-sp-tier-tab.active { border-color:var(--hmf-red-bright); background:rgba(200,31,60,.07); }
.hmf-sp-tier-tab.active .hmf-sp-tier-radio { border-color:var(--hmf-red-bright); }
.hmf-sp-tier-tab.active .hmf-sp-tier-radio::after {
  content:''; position:absolute; inset:3px; border-radius:50%; background:var(--hmf-red-bright);
}
.hmf-sp-tier-tab-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.hmf-sp-tier-tab-name { font-size:13px; font-weight:700; color:var(--hmf-white); }
.hmf-sp-tier-tab-sub { font-size:10.5px; color:var(--hmf-text-mute); }

/* Scope + limits */
.hmf-sp-scope { display:none; margin-bottom:18px; padding:14px 16px; border-radius:var(--hmf-radius-sm); background:rgba(200,31,60,.06); border:1px solid var(--hmf-red-border); }
.hmf-sp-scope.active { display:block; }
.hmf-sp-scope-title { font-size:13px; font-weight:700; color:var(--hmf-white); margin-bottom:10px; }
.hmf-sp-scope-limits { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; }
.hmf-sp-scope-limits li { display:flex; align-items:flex-start; gap:8px; font-size:12.5px; color:var(--hmf-text-dim); }
.hmf-sp-scope-limits svg { color:var(--hmf-red-bright); flex-shrink:0; margin-top:1px; }

/* Bundle option */
.hmf-sp-bundle {
  position:relative; display:flex; gap:12px; cursor:pointer; margin-bottom:14px;
  padding:15px; border-radius:var(--hmf-radius); border:1.5px solid var(--hmf-red-border);
  background:radial-gradient(ellipse 90% 80% at 100% 0%, rgba(200,31,60,.14), transparent 60%), rgba(0,0,0,.2);
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.hmf-sp-bundle:hover { border-color:var(--hmf-red-bright); }
.hmf-sp-bundle.active { border-color:var(--hmf-red-bright); box-shadow:0 0 0 1px var(--hmf-red-bright), 0 10px 26px rgba(200,31,60,.25); background:rgba(200,31,60,.1); }
.hmf-sp-bundle input { position:absolute; opacity:0; pointer-events:none; }
.hmf-sp-bundle-check, .hmf-sp-sub-check {
  flex-shrink:0; width:20px; height:20px; border-radius:6px; border:2px solid var(--hmf-glass-border);
  margin-top:1px; position:relative; transition:border-color .2s, background .2s;
}
.hmf-sp-bundle.active .hmf-sp-bundle-check, .hmf-sp-sub.active .hmf-sp-sub-check { border-color:var(--hmf-red-bright); background:var(--hmf-red-bright); }
.hmf-sp-bundle.active .hmf-sp-bundle-check::after, .hmf-sp-sub.active .hmf-sp-sub-check::after {
  content:''; position:absolute; left:6px; top:2px; width:5px; height:10px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg);
}
.hmf-sp-bundle-body { flex:1; min-width:0; }
.hmf-sp-bundle-top { display:flex; align-items:center; gap:8px; }
.hmf-sp-bundle-name { font-size:14.5px; font-weight:800; color:var(--hmf-white); }
.hmf-sp-bundle-tag { font-size:9px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#fff; background:linear-gradient(135deg, var(--hmf-red-bright), var(--hmf-red-dark)); padding:3px 8px; border-radius:999px; }
.hmf-sp-bundle-desc { display:block; font-size:12px; color:var(--hmf-text-dim); margin:3px 0 8px; }
.hmf-sp-bundle-prices { display:flex; align-items:baseline; gap:8px; }
.hmf-sp-bundle-price { font-size:18px; font-weight:800; color:var(--hmf-red-bright); }
.hmf-sp-bundle-full { font-size:13px; color:var(--hmf-text-mute); }
.hmf-sp-bundle-save { font-size:11px; font-weight:700; color:#8ff0b0; background:rgba(46,204,113,.12); padding:2px 8px; border-radius:999px; }

/* "or" divider */
.hmf-sp-or { display:flex; align-items:center; gap:12px; margin:6px 0 14px; }
.hmf-sp-or::before, .hmf-sp-or::after { content:''; flex:1; height:1px; background:var(--hmf-glass-border); }
.hmf-sp-or span { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--hmf-text-mute); }

/* Sub-license rows */
.hmf-sp-subs { display:flex; flex-direction:column; gap:9px; margin-bottom:18px; }
.hmf-sp-sub {
  position:relative;
  padding:13px 14px; border-radius:var(--hmf-radius); border:1.5px solid var(--hmf-glass-border); background:rgba(0,0,0,.2);
  transition:border-color .18s, background .18s, opacity .18s;
}
.hmf-sp-sub:hover { border-color:var(--hmf-red-border); }
.hmf-sp-sub.active { border-color:var(--hmf-red-bright); background:rgba(200,31,60,.07); }
.hmf-sp-sub-main { display:flex; gap:11px; cursor:pointer; align-items:flex-start; padding-right:26px; }
.hmf-sp-sub-main input { position:absolute; opacity:0; pointer-events:none; }
.hmf-sp-sub-ic { flex-shrink:0; color:var(--hmf-red-bright); display:flex; margin-top:1px; }
.hmf-sp-sub-body { flex:1; min-width:0; }
.hmf-sp-sub-top { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.hmf-sp-sub-name { font-size:13.5px; font-weight:700; color:var(--hmf-white); }
.hmf-sp-sub-price { font-size:14px; font-weight:800; color:var(--hmf-red-bright); flex-shrink:0; }
.hmf-sp-sub-desc { display:block; font-size:11.5px; line-height:1.45; color:var(--hmf-text-mute); margin-top:3px; }
/* When bundle is on, subs look included */
.hmf-sp-buy-card.bundle-on .hmf-sp-sub { opacity:.5; pointer-events:none; }
.hmf-sp-buy-card.bundle-on .hmf-sp-sub .hmf-sp-sub-price { color:var(--hmf-text-mute); }

/* Per-license "more info" toggle + expandable detail panel */
.hmf-sp-sub-info {
  position:absolute; top:12px; right:12px; z-index:2; width:22px; height:22px; padding:0;
  border-radius:50%; border:1px solid var(--hmf-glass-border); background:rgba(0,0,0,.25); color:var(--hmf-text-mute);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:color .15s, border-color .15s, background .15s;
}
.hmf-sp-sub-info:hover, .hmf-sp-sub-info[aria-expanded="true"] { color:var(--hmf-red-bright); border-color:var(--hmf-red-border); background:rgba(200,31,60,.12); }
.hmf-sp-sub-detail { margin-top:12px; padding-top:12px; border-top:1px dashed var(--hmf-glass-border); }
.hmf-sp-sub-detail[hidden] { display:none; }
.hmf-sp-sub-detail-h { margin:0 0 8px; font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--hmf-text-mute); }
.hmf-sp-sub-detail ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.hmf-sp-sub-detail li { display:flex; align-items:flex-start; gap:7px; font-size:12px; line-height:1.5; color:var(--hmf-text-dim); }
.hmf-sp-sub-detail li svg { color:#8ff0b0; flex-shrink:0; margin-top:2px; }
.hmf-sp-sub-detail-not { margin:8px 0 0; font-size:11px; line-height:1.5; color:var(--hmf-text-mute); font-style:italic; }

/* Summary */
.hmf-sp-summary { padding:14px 0; border-top:1px solid var(--hmf-glass-border); margin-bottom:14px; }
.hmf-sp-summary-nudge {
  display:flex; align-items:center; gap:7px; margin-bottom:12px; padding:9px 12px; border-radius:var(--hmf-radius-sm);
  background:rgba(46,204,113,.1); border:1px solid rgba(46,204,113,.3); font-size:12px; color:#8ff0b0; cursor:pointer;
}
.hmf-sp-summary-row { display:flex; align-items:center; justify-content:space-between; font-size:14px; color:var(--hmf-text-dim); margin-bottom:8px; }
.hmf-sp-summary-total { font-size:16px; color:var(--hmf-white); margin-bottom:0; padding-top:8px; border-top:1px solid var(--hmf-glass-border); }
.hmf-sp-summary-total strong { font-size:24px; font-weight:800; color:var(--hmf-red-bright); }

/* Buttons */
.hmf-sp-add { width:100%; justify-content:center; font-size:15px; padding:16px; margin-bottom:12px; }
.hmf-sp-add:disabled { opacity:.5; cursor:not-allowed; filter:grayscale(.4); }
.hmf-sp-guarantee { display:flex; align-items:center; gap:8px; justify-content:center; margin-bottom:16px; font-size:12px; color:var(--hmf-text-dim); text-align:center; }
.hmf-sp-guarantee svg { color:var(--hmf-red-bright); flex-shrink:0; }

.hmf-sp-ent-nudge {
  display:block; padding:14px; border-radius:var(--hmf-radius-sm); text-decoration:none; margin-bottom:12px;
  background:rgba(0,0,0,.25); border:1px solid var(--hmf-glass-border); transition:border-color .15s;
}
.hmf-sp-ent-nudge:hover { border-color:var(--hmf-red-border); }
.hmf-sp-ent-nudge span { display:block; font-size:12px; color:var(--hmf-text-dim); line-height:1.5; margin-bottom:4px; }
.hmf-sp-ent-nudge strong { font-size:13px; color:var(--hmf-red-bright); }

.hmf-sp-compare-link { display:block; text-align:center; font-size:12.5px; color:var(--hmf-text-mute); text-decoration:none; }
.hmf-sp-compare-link:hover { color:var(--hmf-red-bright); }

/* ══════════════════════════════════════════════════ STICKY MOBILE CTA */
.hmf-sp-sticky {
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:998;
  padding:12px 18px; align-items:center; justify-content:space-between; gap:14px;
  background:rgba(8,4,4,.92); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); border-top:1px solid var(--hmf-glass-border);
}
.hmf-sp-sticky strong { display:block; font-size:13px; color:var(--hmf-white); }
.hmf-sp-sticky span { font-size:13px; color:var(--hmf-red-bright); font-weight:700; }
.hmf-sp-sticky .hmf-btn { padding:11px 18px; font-size:13px; white-space:nowrap; }

/* ══════════════════════════════════════════════════ CHECKOUT MODAL */
.hmf-modal { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:20px; }
.hmf-modal[hidden] { display:none; }
.hmf-modal-overlay { position:absolute; inset:0; background:rgba(4,2,2,.72); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); opacity:0; transition:opacity .25s ease; }
.hmf-modal.open .hmf-modal-overlay { opacity:1; }
.hmf-modal-card {
  position:relative; width:100%; max-width:860px; max-height:92vh; overflow-y:auto;
  border-radius:20px; padding:36px;
  background:linear-gradient(160deg, #1a0c0c, #0b0606);
  border:1px solid var(--hmf-glass-border);
  box-shadow:0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(200,31,60,.12);
  transform:translateY(16px) scale(.98); opacity:0; transition:transform .28s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}

/* Two-column checkout: order details (left) + form/payment (right) */
.hmf-modal-grid { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.hmf-modal-col-left { min-width:0; }
.hmf-modal-col-right { min-width:0; }
@media (min-width: 721px) {
  .hmf-modal-col-left { border-right:1px solid var(--hmf-glass-border); padding-right:32px; }
}
@media (max-width: 720px) {
  .hmf-modal-card { max-width:520px; padding:28px; }
  .hmf-modal-grid { grid-template-columns:1fr; gap:0; }
  .hmf-modal-col-left { margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid var(--hmf-glass-border); }
}
.hmf-modal.open .hmf-modal-card { transform:translateY(0) scale(1); opacity:1; }
.hmf-modal-close {
  position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--hmf-glass-border); background:rgba(0,0,0,.3); color:var(--hmf-text-dim);
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:color .15s, border-color .15s;
}
.hmf-modal-close:hover { color:var(--hmf-white); border-color:var(--hmf-red-border); }
.hmf-modal-body .hmf-eyebrow { justify-content:flex-start; margin-bottom:16px; }
.hmf-modal-h { font-family:var(--hmf-font-display); font-weight:400; text-transform:uppercase; font-size:26px; color:var(--hmf-white); margin:0 0 6px; line-height:1.05; }
.hmf-modal-sub { font-size:13px; color:var(--hmf-text-mute); margin:0; }

/* Product header: image + name + quick facts */
.hmf-modal-product { display:flex; gap:16px; align-items:center; margin-bottom:16px; }
.hmf-modal-product-img {
  flex-shrink:0; width:80px; height:80px; border-radius:16px; overflow:hidden;
  border:1px solid var(--hmf-glass-border); background:radial-gradient(ellipse 90% 80% at 50% 0%, rgba(200,31,60,.25), transparent 60%), linear-gradient(160deg,#1a0c0c,#080505);
  display:flex; align-items:center; justify-content:center;
}
.hmf-modal-product-img img { width:100%; height:100%; object-fit:cover; }
.hmf-modal-product-specimen { font-family:var(--hmf-font-display); font-size:36px; color:var(--hmf-red-bright); text-transform:uppercase; text-shadow:0 0 20px rgba(200,31,60,.4); }
.hmf-modal-product-info { min-width:0; flex:1; }
.hmf-modal-product-cat { display:block; font-size:10.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--hmf-red-bright); margin-bottom:5px; }
.hmf-modal-product-info .hmf-modal-h { font-size:24px; }
.hmf-modal-product-meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:11.5px; color:var(--hmf-text-mute); margin-top:6px; }
.hmf-modal-product-dot { opacity:.5; }

/* Tier badge */
.hmf-modal-tier-badge {
  display:inline-flex; align-items:center; gap:6px; padding:6px 13px; border-radius:999px;
  background:rgba(200,31,60,.12); border:1px solid var(--hmf-red-border); color:var(--hmf-red-bright);
  font-size:11.5px; font-weight:800; letter-spacing:.02em; margin-bottom:16px;
}

/* Scarcity strip: reservation timer + demand signal */
.hmf-modal-scarcity {
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  padding:12px 15px; margin-bottom:16px; border-radius:var(--hmf-radius-sm);
  background:linear-gradient(135deg, rgba(255,159,10,.12), rgba(200,31,60,.08)); border:1px solid rgba(255,159,10,.35);
}
.hmf-modal-scarcity-timer { display:flex; align-items:center; gap:7px; font-size:12.5px; color:#ffb84d; font-weight:700; }
.hmf-modal-scarcity-timer svg { flex-shrink:0; }
.hmf-modal-scarcity-timer strong { font-variant-numeric:tabular-nums; color:#ffcf80; }
.hmf-modal-scarcity-sold { font-size:11.5px; color:var(--hmf-text-dim); }
.hmf-modal-scarcity-sold strong { color:var(--hmf-white); font-weight:800; }

/* Form section labels */
.hmf-modal-form-section-label {
  font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--hmf-text-mute);
  margin:2px 0 -2px;
}
.hmf-modal-optional { text-transform:none; font-weight:500; color:var(--hmf-text-mute); letter-spacing:0; }

.hmf-modal-summary { display:flex; flex-direction:column; gap:8px; padding:16px; border-radius:var(--hmf-radius-sm); background:rgba(0,0,0,.28); border:1px solid var(--hmf-glass-border); margin-bottom:14px; }
.hmf-modal-line { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13.5px; color:var(--hmf-text-dim); }
.hmf-modal-line span:last-child { font-weight:700; color:var(--hmf-white); }
.hmf-modal-total-row { display:flex; align-items:center; justify-content:space-between; padding:0 4px 18px; font-size:15px; color:var(--hmf-text); }
.hmf-modal-total-row strong { font-size:26px; font-weight:800; color:var(--hmf-red-bright); }

.hmf-modal-form { margin-bottom:18px; display:flex; flex-direction:column; gap:12px; }
.hmf-modal-form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hmf-modal-form .hmf-field { display:flex; flex-direction:column; gap:6px; }
.hmf-modal-form label { font-size:12px; font-weight:600; color:var(--hmf-text-dim); }
.hmf-modal-form label span { color:var(--hmf-red-bright); }
.hmf-modal-form input, .hmf-modal-form select {
  width:100%; background:rgba(0,0,0,.3); border:1px solid var(--hmf-glass-border); border-radius:var(--hmf-radius-sm);
  padding:11px 13px; color:var(--hmf-white); font-family:var(--hmf-font-body); font-size:14px; transition:border-color .15s;
}
.hmf-modal-form input:focus, .hmf-modal-form select:focus { outline:none; border-color:var(--hmf-red-border); box-shadow:0 0 0 3px rgba(200,31,60,.15); }
.hmf-modal-form input.hmf-invalid { border-color:#ff7676; }
.hmf-modal-form select {
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a7a7a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center;
}
.hmf-modal-form select:invalid, .hmf-modal-form select option[value=""] { color:var(--hmf-text-mute); }
.hmf-modal-form select option { background:#1a0c0c; color:var(--hmf-white); }
.hmf-modal-email-err { font-size:12px; color:#ff9d9d; margin:2px 0 0; }

/* What's included in this license (modal, left column) */
.hmf-modal-included { margin-bottom:16px; padding:14px 15px; border-radius:var(--hmf-radius-sm); background:rgba(46,204,113,.06); border:1px solid rgba(46,204,113,.28); }
.hmf-modal-included[hidden] { display:none; }
.hmf-modal-included-h { display:flex; align-items:center; gap:7px; font-size:12px; font-weight:800; letter-spacing:.03em; color:#8ff0b0; margin-bottom:10px; }
.hmf-modal-included-h svg { flex-shrink:0; }
.hmf-modal-inc-group { padding-top:9px; margin-top:9px; border-top:1px dashed rgba(255,255,255,.08); }
.hmf-modal-inc-group:first-child { padding-top:0; margin-top:0; border-top:none; }
.hmf-modal-inc-name { font-size:12.5px; font-weight:700; color:var(--hmf-white); margin-bottom:5px; }
.hmf-modal-inc-group ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.hmf-modal-inc-group li { position:relative; padding-left:16px; font-size:11.5px; line-height:1.45; color:var(--hmf-text-dim); }
.hmf-modal-inc-group li::before { content:''; position:absolute; left:2px; top:6px; width:5px; height:5px; border-radius:50%; background:#8ff0b0; }

/* ══════════════════════════════════════════════════ LIVE SALES TOAST */
.hmf-livesale {
  position:fixed; right:22px; bottom:22px; z-index:9500; width:320px; max-width:calc(100vw - 44px);
  display:flex; align-items:flex-start; gap:12px; padding:14px 40px 14px 14px;
  border-radius:14px; background:linear-gradient(150deg,#1c0d0d,#0c0707);
  border:1px solid var(--hmf-glass-border); box-shadow:0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(200,31,60,.12);
  opacity:0; transform:translateY(16px); transition:opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1); pointer-events:none;
}
.hmf-livesale[hidden] { display:none; }
.hmf-livesale.show { opacity:1; transform:translateY(0); pointer-events:auto; }
.hmf-livesale-ic {
  flex-shrink:0; width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  color:#fff; background:linear-gradient(135deg,var(--hmf-red-bright),var(--hmf-red-dark)); box-shadow:0 6px 16px var(--hmf-red-glow);
}
.hmf-livesale-body { flex:1; min-width:0; }
.hmf-livesale-line { margin:0 0 4px; font-size:13px; line-height:1.4; color:var(--hmf-text); }
.hmf-livesale-line strong { color:var(--hmf-white); font-weight:700; }
.hmf-livesale-line .hmf-livesale-prod { color:var(--hmf-red-bright); font-weight:700; }
.hmf-livesale-meta { margin:0; font-size:11px; color:var(--hmf-text-mute); display:flex; align-items:center; gap:5px; }
.hmf-livesale-meta svg { color:#8ff0b0; }
.hmf-livesale-close {
  position:absolute; top:8px; right:10px; background:none; border:none; color:var(--hmf-text-mute);
  font-size:20px; line-height:1; cursor:pointer; padding:2px 6px; transition:color .15s;
}
.hmf-livesale-close:hover { color:var(--hmf-white); }
@media (max-width: 640px) { .hmf-livesale { right:12px; left:auto; bottom:76px; width:300px; } }

.hmf-modal-pay { min-height:48px; margin-bottom:16px; }
.hmf-paypal-buttons { position:relative; z-index:1; }
.hmf-modal-paypal-missing { font-size:12.5px; line-height:1.6; color:var(--hmf-text-mute); text-align:center; padding:14px; border-radius:var(--hmf-radius-sm); background:rgba(0,0,0,.25); border:1px dashed var(--hmf-glass-border); margin:0; }

.hmf-modal-trust { display:flex; gap:18px; justify-content:center; }
.hmf-modal-trust span { display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--hmf-text-mute); }
.hmf-modal-trust svg { color:var(--hmf-red-bright); }

/* Success view */
.hmf-modal-success { text-align:center; padding:14px 0; }
.hmf-modal-success-ic {
  width:64px; height:64px; margin:0 auto 18px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#8ff0b0; background:rgba(46,204,113,.12); border:1px solid rgba(46,204,113,.35);
}
.hmf-modal-success .hmf-modal-h { margin-bottom:10px; }
.hmf-modal-success .hmf-btn { margin-top:20px; justify-content:center; }

/* ══════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 1080px) {
  .hmf-sp-layout { grid-template-columns:1fr; row-gap:20px; }
  .hmf-sp-header, .hmf-sp-rating-top, .hmf-sp-left, .hmf-sp-buy { grid-column:1; }
  .hmf-sp-rating-top { align-self:auto; }
  .hmf-sp-buy { position:static; }
  .hmf-sp-buy-card { max-width:560px; margin:0 auto; }
}
@media (max-width: 640px) {
  .hmf-sp-crumb { padding:16px 20px 0; font-size:12px; }
  .hmf-sp-main { padding:16px 0 96px; }
  .hmf-sp-fileinfo { grid-template-columns:1fr 1fr; }
  .hmf-sp-included ul { grid-template-columns:1fr; }
  .hmf-sp-card { padding:20px; }
  .hmf-sp-sticky { display:flex; }
}
