/* ==========================================================================
   CoolTech Shop: styles
   Brand tokens follow cooltechpk.com: red accent, maroon headings,
   yellow hero highlight, light grey sections, near-black footer, Poppins.
   ========================================================================== */

:root {
  --red: #e30613;          /* primary (slightly deeper than the main site's #ff0000 for readable white text) */
  --red-dark: #b5000d;
  --red-tint: #fdecec;
  --maroon: #800000;       /* headings */
  --yellow: #ffe500;       /* hero highlight */
  --sun: #f5c518;          /* logo sun */
  --blue: #2457a6;         /* logo waves, used for waterproofing */
  --blue-tint: #e9f0fb;
  --green-wa: #16be45;     /* WhatsApp */

  --ink: #1b1b1f;
  --muted: #5d6270;
  --line: #e2e4ea;
  --bg: #ffffff;
  --bg-soft: #ebecf1;      /* main site light section */
  --bg-card: #f5f6f9;
  --footer: #252525;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .18);

  --font: 'Poppins', Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid rgba(227, 6, 19, .45); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 12px 24px;
  border: 1px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--red);
  color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .3px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--wa { background: var(--green-wa); border-color: var(--green-wa); }
.btn--wa:hover { background: #119a37; border-color: #119a37; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 15px 30px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--footer); color: rgba(255, 255, 255, .85); font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar i { color: var(--yellow); margin-right: 6px; }
.topbar__right { display: flex; gap: 18px; }
.topbar .show-sm { display: none; }

/* ---------- Authenticity notice (fake sellers) ---------- */
.auth-strip { background: var(--yellow); color: var(--ink); font-size: 13px; }
.auth-strip__inner { margin: 0 auto; padding-top: 8px; padding-bottom: 8px; text-align: center; line-height: 1.45; }
.auth-strip i { color: var(--red); margin-right: 4px; }
.auth-strip a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: 4px; }
@media (max-width: 760px) { .auth-strip__more { display: none; } .auth-strip { font-size: 12.5px; } }

.auth-notice { padding: 56px 0; background: var(--bg-soft); }
.auth-notice__card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 30px 32px; border-radius: var(--radius-lg);
  background: #fff; border: 2px solid var(--red); box-shadow: var(--shadow-sm);
}
.auth-notice__icon {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font-size: 26px;
}
.auth-notice h2 { color: var(--maroon); font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; margin-bottom: 10px; }
.auth-notice p { color: #3b3f48; }
.auth-notice__warning {
  display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px;
  padding: 14px 16px; border-radius: var(--radius); background: #fff3b0; border: 1px solid #f0d36b;
}
.auth-notice__warning i { color: #b38600; font-size: 20px; margin-top: 2px; }
.auth-notice__warning p { margin: 0; color: var(--ink); }
.auth-notice__cta { font-weight: 700; color: var(--ink) !important; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px; }
.auth-notice__cta i { color: #138a3a; margin-right: 8px; }
.auth-notice__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.auth-notice__disclaimer { margin: 0; font-size: 13.5px; color: var(--muted) !important; font-style: italic; }
@media (max-width: 640px) {
  .auth-notice { padding: 40px 0; }
  .auth-notice__card { flex-direction: column; gap: 14px; padding: 22px 18px; }
  .auth-notice__icon { width: 48px; height: 48px; font-size: 20px; }
  .auth-notice__actions .btn { flex: 1 1 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.brand__text strong span { color: var(--red); }
.brand__text small { font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a i { font-size: 10px; margin-left: 3px; opacity: .6; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; font-size: 13px; font-weight: 600;
}
.cart-btn:hover { background: var(--red-dark); color: #fff; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: #fff; color: var(--red); font-size: 12px; font-weight: 700;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 18px; cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .main-nav a:last-child { border-bottom: 0; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .topbar .hide-sm { display: none; }
  .topbar .show-sm { display: inline; }
  .topbar__inner { font-size: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand__text strong { font-size: 18px; }
  .cart-btn .cart-label { display: none; }
  .header__inner { gap: 12px; min-height: 66px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #1a1a1a url('https://cooltechpk.com/images/bg_1.jpg') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .7) 45%, rgba(10, 10, 12, .35) 100%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding: 88px 20px 96px;
}
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 300; line-height: 1.12; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); font-weight: 500; }
.hero__lead { font-size: 16.5px; max-width: 540px; color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.hero__points i { color: var(--yellow); margin-right: 6px; }

.hero__visual { position: relative; height: 380px; }
.hero__visual img {
  position: absolute; bottom: 0; height: auto;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .5));
}
.hero__visual .b1 { width: 46%; left: 27%; bottom: 14px; z-index: 3; }
.hero__visual .b2 { width: 38%; left: 0; bottom: 0; z-index: 2; transform: rotate(-6deg); }
.hero__visual .b3 { width: 38%; right: 0; bottom: 0; z-index: 2; transform: rotate(6deg); }
.hero__badge {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--red); color: #fff; box-shadow: var(--shadow);
  font-size: 11px; font-weight: 500; line-height: 1.25; letter-spacing: .5px; text-transform: uppercase;
}
.hero__badge strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: 0; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 20px 56px; }
  .hero__visual { height: 260px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero__badge { width: 92px; height: 92px; font-size: 9.5px; }
  .hero__badge strong { font-size: 24px; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 11px; letter-spacing: 2.5px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-head { background: var(--bg-soft); padding: 34px 0 30px; }
.page-head h1 { color: var(--maroon); font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: #b1b5bf; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.subheading {
  display: block; margin-bottom: 8px;
  color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.section-head h2, .section-title { color: var(--maroon); font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; }
.section-head p { color: var(--muted); margin: 0; }

@media (max-width: 560px) { .section { padding: 60px 0; } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -42px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 22px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red); font-size: 18px;
}
.trust__item h3 { font-size: 14.5px; margin: 0 0 2px; }
.trust__item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 960px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust { margin-top: -28px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item { padding: 16px 18px; }
}

/* ---------- Filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.filter-chip {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--red); color: var(--red); }
.filter-chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

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

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.product-card__media {
  position: relative; display: grid; place-items: center; height: 230px; padding: 20px;
  background: radial-gradient(circle at 50% 60%, #fff 0%, var(--bg-card) 70%);
}
/* --img-scale shrinks smaller packs (products.js imageScale) so sizes look true to life */
.product-card__media img { max-height: calc(190px * var(--img-scale, 1)); width: auto; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
/* Smaller packs stand on the same baseline as full-size buckets instead of floating mid-card */
.product-card__media[style*="--img-scale"] img { align-self: end; }
.product-card__flag {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: var(--radius-sm);
  background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product-card h3 { font-size: 18px; margin: 8px 0 4px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--red); }
.product-card__tagline { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.product-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.product-card__badges li { padding: 3px 9px; border-radius: var(--radius-sm); background: var(--bg-card); font-size: 11.5px; font-weight: 500; color: #3b3f48; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }

.price { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.price-was { margin-left: 4px; font-size: .72em; font-weight: 500; color: var(--muted); text-decoration-thickness: 1.5px; white-space: nowrap; }

/* ---------- Offers ---------- */
.sale-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 3px 10px; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 4px 10px -4px rgba(227, 6, 19, .6);
}
.offer-note { margin: -4px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--red); }
.offer-note i { margin-right: 6px; }
.offer-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
}
.save-line { margin: 2px 0 6px; font-size: 14px; font-weight: 600; color: #138a3a; }
.save-line i { margin-right: 6px; }
.line-save { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: #138a3a; }
.summary__row--save { color: #138a3a; font-weight: 600; font-size: 14px; padding-top: 2px; }

.offer-banner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 0 0 56px; padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(100deg, var(--red-dark) 0%, var(--red) 60%, #ff3b2f 100%); color: #fff;
  box-shadow: 0 14px 30px -18px rgba(227, 6, 19, .8);
}
.offer-banner__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--radius-sm);
  background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.offer-banner__text { flex: 1 1 280px; margin: 0; font-size: 15px; }
.offer-banner__text strong { color: var(--yellow); font-size: 17px; }
.offer-banner__bonus { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.offer-banner__bonus i { color: var(--yellow); margin-right: 8px; }

.offer-note--bonus { color: #8a6100; }

/* "Recommended for…" line (products.js recommendedFor) */
.rec-note { margin: -4px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--blue); line-height: 1.45; }
.rec-note i { margin-right: 6px; }
.rec-line {
  display: inline-flex; align-items: flex-start; gap: 8px;
  margin: -8px 0 16px; padding: 7px 12px; border-radius: var(--radius-sm);
  background: var(--blue-tint); color: var(--blue); font-size: 14px; font-weight: 600; line-height: 1.45;
}
.rec-line i { margin-top: 3px; }
.rec-line + .usage-note { margin-top: -6px; }
.usage-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: -6px 0 18px; padding: 12px 14px; border-radius: var(--radius);
  background: #fff8e1; border: 1px solid #f3dc8f; color: #4a3d00; font-size: 14px; line-height: 1.5;
}
.usage-note i { color: #b38600; margin-top: 3px; }
.usage-note p { margin: 0; color: inherit; }
.compare .partial { color: #9a6b00; font-weight: 600; }
.offer-note + .offer-note--bonus { margin-top: -8px; }
.bonus-box {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 4px 0 22px; padding: 14px 16px; border-radius: var(--radius);
  background: #fff8d6; border: 1px solid #f3e19a; color: #4a3d00; font-size: 14px; line-height: 1.5;
}
.bonus-box > i { font-size: 20px; color: var(--red); margin-top: 2px; }
.bonus-box strong { display: block; font-size: 15px; color: var(--ink); }
.cart-line__bonus { margin: -6px 0 10px; font-size: 12.5px; font-weight: 600; color: #8a6100; }
.cart-line__note { margin: -6px 0 10px; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.cart-line__bonus + .cart-line__note { margin-top: -8px; }
.qty-hint { margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.variants-wrap { border: 0; padding: 0; margin: 0 0 20px; }
@media (max-width: 560px) {
  .offer-banner { margin-bottom: 40px; padding: 16px 18px; gap: 12px; }
  .offer-banner .btn { width: 100%; }
}
.price small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }

.chip {
  display: inline-block; align-self: flex-start;
  padding: 2px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
}
.chip--heat { background: var(--red-tint); color: var(--red-dark); }
.chip--water { background: var(--blue-tint); color: var(--blue); }
.chip--heat-water { background: linear-gradient(90deg, var(--red-tint), var(--blue-tint)); color: #5a1f6b; }
.chip--insulation { background: #fff6cc; color: #7a5b00; }

.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Compare table ---------- */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--footer); color: #fff; font-weight: 600; font-size: 14px; }
.compare thead th:first-child { width: 170px; }
.compare thead th a { color: #fff; }
.compare thead th a:hover { color: var(--yellow); }
.compare tbody th { font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; background: var(--bg-card); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare .yes { color: #138a3a; font-weight: 600; }
.compare .no { color: #a0a4ad; }
.compare td { white-space: nowrap; }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 1; }
@media (max-width: 700px) {
  .compare { min-width: 0; font-size: 13px; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare thead th:first-child { width: 110px; }
  .compare tbody th { font-size: 11px; letter-spacing: .4px; }
  .compare thead th { white-space: nowrap; }
}
.meter { display: flex; align-items: center; gap: 10px; }
.meter__bar { flex: 1; max-width: 110px; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--red)); }

/* ---------- Roof area guide ---------- */
.roof-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.roof-guide > * { min-width: 0; }
.roof-guide__notes { list-style: none; margin: 36px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 760px) { .roof-guide__notes { grid-template-columns: 1fr; } }
.roof-guide__notes li { display: flex; gap: 12px; font-size: 14.5px; color: #3b3f48; line-height: 1.55; }
.roof-guide__notes i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red-tint); color: var(--red); font-size: 14px; }
.roof-guide__notes strong { color: var(--ink); }
.roof-guide__fine { font-size: 13px; font-style: italic; margin: 0; }
.roof-table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: center; }
.roof-table th, .roof-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.roof-table thead th { background: var(--footer); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.3; }
.roof-table thead th small { display: block; font-weight: 400; font-size: 11.5px; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .5px; }
.roof-table tbody th { font-weight: 700; color: var(--ink); background: var(--bg-card); }
.roof-table td:last-child { background: #fff6b8; font-weight: 700; color: var(--ink); }
.roof-table thead th:last-child { background: var(--red); }
.roof-table tbody tr:last-child th, .roof-table tbody tr:last-child td { border-bottom: 0; }
.roof-table tbody tr:hover th, .roof-table tbody tr:hover td { filter: brightness(.97); }
@media (max-width: 900px) { .roof-guide { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .roof-table { font-size: 14px; } .roof-table th, .roof-table td { padding: 10px 8px; } }

/* Pack calculator */
.calc {
  padding: 24px; border-radius: var(--radius); background: #fff;
  border: 2px solid var(--red); box-shadow: var(--shadow);
}
.calc__title { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--maroon); margin-bottom: 16px; }
.calc__title i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 16px; }
.calc__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: var(--radius); background: var(--bg-card); }
.calc__mode {
  padding: 9px 10px; border: 0; border-radius: var(--radius-sm); background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.calc__mode[aria-pressed="true"] { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.calc__field { margin-bottom: 14px; }
.calc__field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.calc__field select, .calc__field input[type="number"] {
  width: 100%; padding: 11px 12px; border: 1px solid #d3d6de; border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: 14.5px; color: var(--ink);
}
.calc__field select:focus, .calc__field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .14); }
.calc__check { display: flex !important; align-items: center; gap: 8px; margin: 10px 0 0 !important; font-weight: 500 !important; color: var(--muted); cursor: pointer; }
.calc__check input { width: 16px; height: 16px; accent-color: var(--red); }
.calc__result { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; }
.calc__empty { margin: 0; color: var(--muted); }
.calc__empty i { color: var(--red); margin-right: 8px; }
.calc__for { margin-bottom: 10px; color: #3b3f48; }
.calc__lines { list-style: none; margin: 0 0 8px; padding: 0; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--bg-card); }
.calc__lines li + li { margin-top: 6px; }
.calc__lines strong { color: var(--red); }
.calc__covers { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.calc__total strong { font-size: 20px; color: var(--ink); }
.calc__total small { color: var(--muted); }
.calc__save, .calc__bonus, .calc__note { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; }
.calc__save { color: #138a3a; }
.calc__bonus { color: #8a6100; }
.calc__note { color: var(--blue); }
.calc__save i, .calc__bonus i, .calc__note i { margin-right: 6px; }
.calc__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.calc__actions .btn { flex: 1 1 140px; }
@media (max-width: 560px) { .calc { padding: 18px 16px; } .calc__mode { font-size: 12px; } }

.guide-link { margin: -14px 0 20px; font-size: 13px; color: var(--muted); }
.guide-link i { color: var(--red); margin-right: 6px; }
.guide-link a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding: 32px 26px 28px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute; top: -18px; left: 26px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(227, 6, 19, .7);
}
.step__icon { font-size: 26px; color: var(--maroon); margin: 6px 0 14px; }
.step h3 { font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff8d6; border: 1px solid #f3e19a; color: #4a3d00; font-size: 14px;
}
.notice i { color: #b38600; font-size: 18px; margin-top: 2px; }
.notice p { margin: 0; }
.notice p + p { margin-top: 4px; }
.notice--info { background: var(--blue-tint); border-color: #c9d9f3; color: #1d3561; }
.notice--info i { color: var(--blue); }
.notice--error { background: var(--red-tint); border-color: #f5c2c5; color: #6b0007; }
.notice--error i { color: var(--red); }

/* ---------- Stats band ---------- */
.stats { background: var(--red); color: #fff; padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 600; line-height: 1.1; }
.stat span { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
@media (max-width: 700px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 30px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 600; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red); font-size: 18px; font-weight: 500;
}
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--red); }
.faq .faq__body { padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--footer); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 20px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 500; margin: 0 0 4px; }
.cta-band h2 em { font-style: normal; color: var(--yellow); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .7); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; padding: 64px 20px 40px; }
.site-footer h2 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact i { color: var(--red); width: 16px; margin-top: 5px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #fff;
}
.social a:hover { background: var(--red); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--green-wa); color: #fff; font-size: 13px; font-weight: 500;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45);
}
.wa-float i { font-size: 22px; }
.wa-float:hover { color: #fff; background: #119a37; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 40px);
  padding: 14px 16px 14px 18px; border-radius: var(--radius);
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .25s;
}
.toast.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.toast i { color: #48d17a; font-size: 18px; }
.toast a { color: var(--yellow); font-weight: 600; white-space: nowrap; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* The frame keeps a fixed shape; the image is laid over it so tall images can't stretch the frame.
   --gpad is the breathing room around cut-out images; --img-scale shrinks smaller packs from the bottom. */
.gallery__main {
  --gpad: 32px;
  position: relative; aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 60%, #fff 0%, var(--bg-card) 72%);
  border: 1px solid var(--line);
}
.gallery__main > img {
  position: absolute; inset: var(--gpad); width: calc(100% - 2 * var(--gpad)); height: calc(100% - 2 * var(--gpad));
  object-fit: contain;
  transform: scale(var(--img-scale, 1)); transform-origin: 50% 100%;
}
.gallery__main[style*="--img-scale"] > img { object-position: 50% 100%; }
.gallery__main.is-photo { overflow: hidden; background: #fff; }
.gallery__main.is-photo > img { inset: 0; width: 100%; height: 100%; object-position: 50% 50%; transform: none; }
.gallery__main .shine { z-index: 1; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  width: 76px; height: 76px; padding: 6px; border-radius: var(--radius);
  border: 2px solid var(--line); background: var(--bg-card); cursor: pointer;
}
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--red); }

.product__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.product__info h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; margin: 10px 0 6px; }
.product__tagline { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 6px; }
.product__price .price { font-size: 30px; color: var(--red); white-space: nowrap; }
.product__price .per { color: var(--muted); font-size: 14px; }
.product__delivery-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.field-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; border: 0; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant > span {
  position: relative;
  display: inline-flex; flex-direction: column; padding: 10px 16px; border-radius: var(--radius);
  border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.3;
  transition: border-color .15s, background .15s;
}
.variant > span small { font-size: 12px; font-weight: 500; color: var(--muted); }
.variant .price-was { font-size: 11px; }
.variant__off {
  position: absolute; top: -10px; right: -8px;
  padding: 1px 7px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal;
}
.variant:hover > span { border-color: #c7cad3; }
.variant input:checked + span { border-color: var(--red); background: var(--red-tint); }
.variant input:focus-visible + span { outline: 3px solid rgba(227, 6, 19, .35); outline-offset: 2px; }
.variant-hint { font-size: 13px; color: var(--muted); margin: -12px 0 22px; }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.buy-row .btn { flex: 1 1 180px; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.qty button { width: 40px; border: 0; background: transparent; font-size: 16px; cursor: pointer; color: var(--ink); }
.qty button:hover { color: var(--red); }
.qty input {
  width: 52px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg button { width: 46px; }
.qty--lg input { width: 60px; height: 48px; }

.info-list { list-style: none; margin: 0 0 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-card); font-size: 14px; }
.info-list li { display: flex; gap: 12px; }
.info-list li + li { margin-top: 10px; }
.info-list i { color: var(--red); width: 18px; margin-top: 4px; text-align: center; }

.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.highlights li { display: flex; gap: 10px; font-size: 14.5px; }
.highlights i { color: #138a3a; margin-top: 4px; }

.product-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.product-details h2 { color: var(--maroon); font-size: 24px; font-weight: 500; }
.product-details h3 { font-size: 18px; margin-top: 28px; }
.product-details p { color: #3b3f48; }
.quote { margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--sun); background: #fffbe6; font-weight: 500; font-style: italic; }
.howto-videos { margin: 0 0 22px; }
.howto-videos--multi { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 18px; max-width: 620px; }
.product-details > * { min-width: 0; } /* let wide content (videos, tables) shrink instead of widening the page */
@media (max-width: 560px) {
  .howto-videos--multi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .howto-videos--multi figcaption { font-size: 12px; }
}
.howto-video { margin: 0; max-width: 440px; }
.howto-videos--multi .howto-video { max-width: 300px; }
.howto-videos:not(.howto-videos--multi) .howto-video--custom { max-width: 320px; } /* single vertical video */
.howto-video video {
  display: block; width: 100%; aspect-ratio: var(--video-ratio, 1 / 1); background: #000;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.howto-video figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.howto-video figcaption i { color: var(--red); }
.info-list a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.how-to { margin: 0; padding: 0; list-style: none; counter-reset: how; }
.how-to li { position: relative; padding-left: 44px; margin-bottom: 14px; color: #3b3f48; }
.how-to li::before {
  counter-increment: how; content: counter(how);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red); font-weight: 700; font-size: 13px;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 44%; color: var(--muted); font-weight: 500; background: var(--bg-card); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .product, .product-details { grid-template-columns: 1fr; gap: 32px; }
  .gallery__main { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .highlights { grid-template-columns: 1fr; }
  .gallery__main { aspect-ratio: auto; height: 300px; --gpad: 20px; }
}

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line__img { width: 88px; height: 88px; padding: 8px; border-radius: var(--radius); background: var(--bg-card); display: grid; place-items: center; }
.cart-line__img img { max-height: 100%; width: auto; object-fit: contain; }
.cart-line__name { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.cart-line__name:hover { color: var(--red); }
.cart-line__meta { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cart-line__controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--red); }
.cart-line__total { font-weight: 700; font-size: 16px; text-align: right; white-space: nowrap; }

.summary {
  position: sticky; top: 96px;
  padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line);
}
.summary h2 { font-size: 18px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.summary__row span:last-child { text-align: right; }
.summary__row--muted { color: var(--muted); font-size: 13.5px; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 700; }
.summary__note { font-size: 12.5px; color: var(--muted); margin: 14px 0 18px; line-height: 1.55; }
.summary .btn + .btn { margin-top: 10px; }
.summary__items { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.summary__items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 13.5px; }
.summary__items .thumb { position: relative; width: 52px; height: 52px; border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; padding: 4px; border: 1px solid var(--line); }
.summary__items .thumb img { max-height: 100%; width: auto; }
.summary__items .thumb b {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--muted); color: #fff; font-size: 11px; display: grid; place-items: center;
}
.summary__items small { display: block; color: var(--muted); }

.empty-state { text-align: center; padding: 70px 20px; background: var(--bg-card); border-radius: var(--radius-lg); }
.empty-state > i { font-size: 44px; color: #c2c6cf; margin-bottom: 16px; }
.empty-state h2 { font-size: 22px; }
.empty-state p { color: var(--muted); }
.empty-state__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout-layout .summary { order: -1; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr; padding: 16px; gap: 14px; }
  .cart-line__img { width: 64px; height: 64px; }
  .cart-line__total { grid-column: 2; text-align: left; }
}

/* ---------- Checkout form ---------- */
.checkout-form { display: grid; gap: 28px; }
.form-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-card h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-card h2 .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d3d6de; border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field__error { display: none; margin-top: 5px; font-size: 12.5px; color: var(--red-dark); }
.field.has-error .field__error { display: block; }
.field__hint { margin-top: 5px; font-size: 12.5px; color: var(--muted); }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-size: 14px; font-weight: 600;
}
.radio-card span i { color: var(--red); font-size: 18px; margin-bottom: 4px; }
.radio-card span small { font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1.4; }
.radio-card input:checked + span { border-color: var(--red); background: var(--red-tint); }
.radio-card input:focus-visible + span { outline: 3px solid rgba(227, 6, 19, .35); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 640px) {
  .form-grid, .radio-cards { grid-template-columns: 1fr; }
  .form-card { padding: 20px 18px; }
}

.success {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 48px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.success:focus { outline: none; }
.success__icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e5f7ec; color: #138a3a; font-size: 34px; }
.success h2 { color: var(--maroon); font-size: 28px; font-weight: 500; }
.success__ref { display: inline-block; margin: 6px 0 20px; padding: 6px 14px; border-radius: var(--radius-sm); background: var(--bg-card); font-weight: 700; letter-spacing: 1px; }
.success .info-list { text-align: left; margin-top: 24px; }
.success__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 560px) { .success { padding: 36px 20px; } }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Top pick (the product marked featured: true): shine, glow and spotlight
   ========================================================================== */
:root { --gold: #f5c518; --gold-light: #ffe680; }

/* Diagonal light sweep over an image; the parent must be position: relative. */
.shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.shine::after {
  content: ''; position: absolute; top: -60%; left: -75%; width: 45%; height: 220%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .15) 35%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, .15) 65%, transparent 100%);
  transform: rotate(12deg);
  animation: shine-sweep 3.6s ease-in-out infinite;
}
@keyframes shine-sweep { 0% { left: -75%; } 45%, 100% { left: 135%; } }

/* Featured product card: gold/red gradient border, soft pulsing glow, ribbon */
.product-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold), var(--red) 50%, var(--gold)) border-box;
  animation: featured-glow 2.8s ease-in-out infinite;
}
.product-card--featured:hover { border-color: transparent; }
@keyframes featured-glow {
  0%, 100% { box-shadow: 0 10px 28px -14px rgba(227, 6, 19, .45); }
  50% { box-shadow: 0 0 0 5px rgba(245, 197, 24, .22), 0 18px 42px -14px rgba(227, 6, 19, .6); }
}
.featured-ribbon {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--red-dark), var(--red) 50%, var(--red-dark));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.featured-ribbon i { color: var(--gold-light); }
.product-card--featured .product-card__media { background: radial-gradient(circle at 50% 60%, #fff8dc 0%, #fdf1c7 45%, #f7f3ea 75%); }
.product-card--featured .product-card__media img { filter: drop-shadow(0 14px 18px rgba(227, 6, 19, .25)); }
.product-card--featured h3 a { color: var(--red-dark); }

/* Header menu link */
.main-nav a.nav-top-pick {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); font-weight: 700;
  border-radius: 999px; padding: 8px 14px;
  box-shadow: 0 4px 14px -6px rgba(245, 197, 24, .9);
}
.main-nav a.nav-top-pick i { color: var(--red); font-size: 11px; margin: 0; opacity: 1; }
.main-nav a.nav-top-pick:hover { color: var(--ink); filter: brightness(1.05); }
@media (max-width: 960px) {
  .main-nav a.nav-top-pick { align-self: flex-start; margin: 10px 0 6px; border-bottom: 0; padding: 10px 16px; }
}

/* Gold button */
.btn--gold {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: var(--gold); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(245, 197, 24, .9);
}
.btn--gold:hover { background: linear-gradient(135deg, #fff0a8, var(--gold-light)); border-color: var(--gold-light); color: var(--ink); }

/* Home page spotlight */
.spotlight-section { padding-top: 64px; padding-bottom: 8px; }
.spotlight {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 22% 55%, rgba(245, 197, 24, .28), transparent 42%),
    linear-gradient(120deg, #17171b 0%, #3b0a0e 55%, var(--maroon) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(128, 0, 0, .8);
}
.spotlight::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  border: 1px solid rgba(245, 197, 24, .35);
}
.spotlight__media { position: relative; display: grid; place-items: center; min-height: 320px; }
.spotlight__glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 128, .55) 0%, rgba(245, 197, 24, .18) 45%, transparent 70%);
  animation: spot-pulse 3s ease-in-out infinite;
}
@keyframes spot-pulse { 50% { transform: scale(1.08); opacity: .8; } }
.spotlight__media img {
  position: relative; max-height: 330px; width: auto;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55));
  animation: spot-float 4.5s ease-in-out infinite;
}
@keyframes spot-float { 50% { transform: translateY(-10px); } }
.spotlight__media .shine { inset: 8% 18%; border-radius: 24px; }
.spotlight__off {
  position: absolute; top: 4px; right: 6%;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--red); color: #fff; border: 3px solid var(--gold);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 1;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .6);
  transform: rotate(-8deg);
}
.spotlight__off strong { display: block; font-size: 28px; letter-spacing: 0; margin-bottom: 2px; }
.spotlight__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.spotlight__tag i { color: var(--red); }
.spotlight h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; margin: 14px 0 8px; color: #fff; }
.spotlight__lead { color: rgba(255, 255, 255, .82); font-size: 15.5px; max-width: 560px; }
.spotlight__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.spotlight__stats li { padding: 12px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.spotlight__stats strong { display: block; color: var(--gold-light); font-size: 20px; line-height: 1.2; }
.spotlight__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.spotlight__packs { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.spotlight__packs li { display: flex; flex-direction: column; }
.spotlight__packs li > span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, .65); }
.spotlight__packs strong { font-size: 24px; color: #fff; }
.spotlight__packs .price-was { color: rgba(255, 255, 255, .55); }
.spotlight__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 10px; padding: 28px 22px; }
  .spotlight__media { min-height: 250px; }
  .spotlight__media img { max-height: 240px; }
  .spotlight__off { width: 80px; height: 80px; right: 4%; }
  .spotlight__off strong { font-size: 22px; }
}
@media (max-width: 560px) {
  .spotlight-section { padding-top: 48px; }
  .spotlight__stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .spotlight__stats li { padding: 10px 8px; }
  .spotlight__stats strong { font-size: 15px; }
  .spotlight__stats span { font-size: 11px; }
  .spotlight__ctas .btn { flex: 1 1 100%; }
}

/* Compare table column */
.compare th.is-featured, .compare td.is-featured { background: #fff8dc; }
.compare thead th.is-featured { background: linear-gradient(180deg, var(--red), var(--red-dark)); }
.compare__tag {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 4px; padding: 2px 8px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.compare__tag + a { display: block; }

/* Product page: pill and shine on the featured product */
.top-pick-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}
.top-pick-pill i { color: var(--red); }
.gallery__main--featured { border: 2px solid var(--gold); background: radial-gradient(circle at 50% 60%, #fff8dc 0%, #fdf1c7 45%, #f7f3ea 75%); }
.gallery__main--featured.is-photo { background: #fff; }

/* Upgrade suggestion on other product pages, and the cart recommendation */
.upsell, .recommend {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 22px; padding: 14px 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, #fffbea, #fff3c4); border: 1px solid #f0d77a; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.upsell:hover { color: var(--ink); box-shadow: 0 12px 26px -14px rgba(184, 134, 11, .8); transform: translateY(-2px); }
.upsell__img {
  position: relative; flex: none; width: 64px; height: 64px; border-radius: var(--radius);
  display: grid; place-items: center; background: #fff; padding: 4px;
}
.upsell__img img { max-height: 100%; width: auto; }
.upsell__body, .recommend__body { display: flex; flex-direction: column; gap: 2px; flex: 1; font-size: 13.5px; line-height: 1.45; }
.upsell__body strong, .recommend__body strong { font-size: 15px; }
.upsell__tag { display: inline-flex; align-items: center; gap: 5px; color: #9a6b00; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.upsell__tag i { color: var(--red); }
.upsell__arrow { color: var(--red); font-size: 18px; }
.recommend { margin: 16px 0 0; }
.recommend__price { font-weight: 700; color: var(--ink); }
.recommend__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
@media (max-width: 560px) {
  .recommend { flex-wrap: wrap; }
  .recommend__actions { flex-direction: row; width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
