/* ==========================================================================
   Wamoma GrillMaster — Presell (pre1)
   Values matched to Figma (file DFSfrbyLmpYgCU9wuso4LT, node 601:9 / 601:562)
   ========================================================================== */

:root {
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --font-cond: "Barlow", var(--font-body);

  --black: #000;
  --ink: #1a1a1a;
  --muted: #777;

  --green: #50794d; /* brand green */
  --green-deep: #0e350b;

  --yellow-btn: #ffdc32; /* CTA buttons */
  --gold: #f5b50a; /* star rating */
  --hl: #f8ff32; /* headline highlight */

  --alert-icon-bg: #ffe38a;
  --alert-bg: #fff8e2;
  --alert-text: #58523e;

  --badge-red: #f3330d;
  --line: #e2e2e2;
  --card-border: #bdbdbd;
  --footer-bg: #3a3a3a;
  --footer-text: #808080;

  --content: 1160px;
  --article: 712px;
  --sidebar: 311px;
}

/* Reset ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html,
body {
  overscroll-behavior-y: none;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  background: var(--white, #fff);
}
img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: calc(var(--content) + 32px);
  margin: 0 auto;
  padding: 0 16px;
}
.hide-mobile {
  display: block;
}
.show-mobile {
  display: none;
}

/* ==========================================================================
   Top nav bar (601:425 — 73px tall)
   ========================================================================== */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 73px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 34.5px;
  width: auto;
  display: block;
}
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Open Sans", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #414141;
}
.topbar__right img {
  width: 36px;
  height: auto;
  border-radius: 2px;
}

/* ==========================================================================
   Alert bar (601:387)
   ========================================================================== */
.alert-bar {
  background: #fff;
}
.alert {
  display: flex;
  align-items: stretch;
  margin: 14px 0;
  min-height: 60px;
  background: var(--alert-bg);
  border-radius: 0;
}
.alert__icon {
  flex: 0 0 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--alert-icon-bg);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #4a3c10;
}
.alert__text {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--alert-text);
  line-height: 1.2;
}
.alert__text .show-mobile {
  display: none;
}

/* ==========================================================================
   Layout — article + sticky sidebar
   ========================================================================== */
main {
  flex: 1;
  width: 100%;
}
.layout {
  display: flex;
  align-items: stretch; /* sidebar stretches → card can stick */
  gap: 137px; /* Figma: article 712 + gap 137 + sidebar 311 = 1160 */
  padding: 24px 16px 540px;
}
.article {
  flex: 1 1 auto;
  min-width: 0;
  max-width: var(--article);
}
.sidebar {
  flex: 0 0 var(--sidebar);
  width: var(--sidebar);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: #000;
  margin-bottom: 14px;
}

/* Headline (601:12 — 39px / 46px Bold) */
.headline {
  font-size: 39px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 20px;
}
.headline .mark {
  background: var(--hl);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 4px;
}

/* Byline (601:16 — Roboto 15px #777) */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  /* padding-bottom: 16px;
  border-bottom: 1px solid var(--line); */
  font-size: 15px;
  color: var(--muted);
  flex-wrap: wrap;
}
.byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.byline__meta {
  flex: 1 1 auto;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.byline__meta .stars {
  font-size: 14px;
}
.byline__read {
  margin-left: auto;
  white-space: nowrap;
}
.byline--mob {
  display: none;
}

/* Stars */
.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
}
.stars--lg {
  font-size: 22px;
}

/* Hero (601:460 — 712 x 400.5) */
.hero {
  margin: 22px 0;
  overflow: hidden;
  background: #000;
  position: relative;
  aspect-ratio: 712 / 400;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* As seen on */
.seen-on {
  text-align: center;
  margin: 26px 0 10px;
}
.seen-on__label {
  font-family: "Open Sans", var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
  margin-bottom: 14px;
}
.seen-on__media {
  display: block;
}
.seen-on__media img {
  display: inline-block;
  width: 100%;
  max-width: 720px;
  height: auto;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 10px 0 26px;
}

/* Intro */
.intro {
  font-size: 18px;
  color: var(--ink);
}
.intro p + p {
  margin-top: 16px;
}

/* ==========================================================================
   Reason sections (image left 315 / copy right) — 601:39 etc.
   ========================================================================== */
.reason {
  display: grid;
  grid-template-columns: 315px 1fr;
  gap: 32px;
  align-items: start;
  margin: 42px 0;
}
.reason__media {
  position: relative;
}
.reason__media .photo {
  width: 100%;
  aspect-ratio: 315 / 290;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background: #d7d7d7;
  display: block;
}
.reason__label {
  /* 601:53/54 — green, 19px, white */
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  padding: 16px 10px;
  border-radius: 0 0 8px 8px;
}
.reason__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.reason__title {
  /* 601:41 — 28px / 35px Bold */
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 28px;
  line-height: 35px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.reason__num {
  color: var(--black);
  font-weight: 700;
  flex-shrink: 0;
}
.reason__body {
  font-size: 17px;
  color: #2c2c2c;
}
.reason__body + .reason__body {
  margin-top: 16px;
}

/* Before / after split (section 5) */
.ba {
  position: relative;
  aspect-ratio: 315 / 290;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.ba .ba__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__label {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}
.ba__label--before {
  left: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.ba__label--after {
  right: 14px;
  background: var(--green);
  padding: 5px 12px;
  border-radius: 4px;
}

/* Testimonial (601:154 — centered, 17px) */
.quote {
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote .stars {
  display: block;
  margin-bottom: 10px;
}
.quote .stars svg {
  display: inline-block;
}
.quote p {
  font-size: 17px;
  color: #1a1a1a;
  max-width: 640px;
  margin: 0 auto;
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
   Comparison table (601:510) — green GrillMaster column, no checkmarks
   ========================================================================== */
.compare {
  margin: 52px 0;
}
.compare__title {
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 90px;
  max-width: 400px;
  margin-inline: auto;
}
.ctable {
  width: 100%;
  border-collapse: collapse;
}
.ctable th,
.ctable td {
  padding: 14px 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
}
.ctable thead th {
  border-bottom: none;
  padding-bottom: 0;
}
.ctable .feat {
  font-weight: 600;
  color: var(--black);
  width: 33%;
}
.ctable col.col-gm {
  width: 34%;
}
.ctable .gm-col {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-bottom: none;
}
.ctable .gm-head {
  background: var(--green);
  color: #fff;
  text-align: center;
  vertical-align: top;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 0 14px 14px;
  position: relative;
}
.ctable .gm-head img {
  display: block;
  width: 207px;
  height: auto;
  margin: -122px auto 0;
  position: relative;
  z-index: 2;
}
.ctable .gm-head span {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  display: block;
  margin-top: -15px;
}
.ctable .reg-head {
  text-align: center;
  vertical-align: bottom;
  padding: 0 14px 14px;
}
.ctable .reg-head img {
  display: block;
  width: 163px;
  height: auto;
  margin: 0 auto 14px;
}
.ctable .reg-head span {
  display: block;
  font-weight: 700;
  color: #2c2c2c;
  font-size: 16px;
}
.ctable td.reg {
  color: #000;
  text-align: center;
}
.ctable .feat,
.ctable td.reg,
.ctable .gm-col {
  border-top: 1px solid #b2b2b2;
}
.ctable .ctable__foot .gm-col {
  height: 26px;
}
.ctable tr:last-child td {
  border-bottom: none;
}
.ctable tr:last-child .gm-col {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.ctable .feat.last,
.ctable td.reg:last-child {
  border-bottom: 1px solid #b2b2b2;
}
/* ==========================================================================
   Promo CTA card (601:193 — green, product image flush right)
   ========================================================================== */
.promo {
  display: grid;
  grid-template-columns: 53% 47%; /* Figma: green panel 376 / image 334 of 710 */
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin: 46px 0;
  align-items: stretch;
  min-height: 440px;
}
.promo__content {
  padding: 23px 20px 15px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo__title {
  font-size: 34px;
  line-height: 37px;
  font-weight: 700;
  margin-bottom: 16px;
}
.promo__body {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 18px;
}
.promo__save {
  /* 601:205/206 — white box, black text, centered */
  background: #fff;
  color: #1a1a1a;
  border-radius: 6px;
  padding: 10px;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}
.promo__save-red {
  color: #dd2020;
  font-weight: 700;
}
.promo__risk {
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin-top: 14px;
}
.promo__media {
  align-self: stretch;
}
.promo__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom CTA bar (601:289 — green, white centered text, no image) */
.cta-bar {
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 30px 28px;
  text-align: center;
  margin: 46px 0;
}
.cta-bar__save {
  font-size: 20px;
  line-height: 26px;
  max-width: 470px;
  margin: 0 auto 18px;
}
.cta-bar .btn-cta {
  max-width: 416px;
  margin: 0 auto;
  min-height: 70px;
}
.cta-bar__risk {
  font-size: 14px;
  margin-top: 14px;
}

/* CTA button — yellow #ffdc32 / black, Roboto (601:225/279/317) */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--yellow-btn);
  color: #1a1a1a;
  font-family: "Roboto", var(--font-body);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.2;
  min-height: 50px;
}
.btn-cta:hover {
  filter: brightness(0.97);
}

/* ==========================================================================
   More reviews (601:288)
   ========================================================================== */
.reviews {
  margin: 52px 0 20px;
}
.reviews__title {
  /* 601:318 — 32px Bold center */
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 16px;
}
.review {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.review:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.review .stars {
  margin-bottom: 8px;
}
.review__head {
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
  margin-bottom: 6px;
}
.review__body {
  font-size: 16px;
  color: #2c2c2c;
}
.review__body cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: #000;
}

/* ==========================================================================
   Sticky sidebar card (601:236)
   ========================================================================== */
.sticky-card {
  position: sticky;
  top: 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 0px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.sticky-card__media {
  position: relative;
  background: #fff;
}
.sticky-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.sticky-card__badge {
  /* 50% OFF */
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--badge-red);
  color: #fff;
  text-align: center;
  line-height: 1;
  padding: 7px 9px;
  border-radius: 6px;
  transform: rotate(8deg);
}
.sticky-card__badge b {
  display: block;
  font-size: 18px;
  font-weight: 800;
}
.sticky-card__badge span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.sticky-card__body {
  padding: 16px 16px 20px;
  text-align: center;
}
.sticky-card__rating {
  /* 601:248 — Open Sans Bold, UPPERCASE */
  font-family: "Open Sans", var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 10px 0 16px;
}
.sticky-card__rating .stars {
  display: block;
  margin-bottom: 8px;
}
.sticky-card__rating .stars svg {
  display: inline-block;
}
.sticky-card__rating-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}
.sticky-card__rating-sub {
  font-size: 12px;
  font-weight: 700;
  color: #9a9a9a;
  margin-top: 3px;
}
.sticky-card__features {
  list-style: none;
  text-align: left;
  margin-top: 16px;
  display: grid;
  gap: 11px;
}
.sticky-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: #1a1a1a;
}
.sticky-card__features svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--black);
}

/* ==========================================================================
   Footer (601:33 — #3a3a3a, disclaimer Open Sans 14px #808080)
   ========================================================================== */
footer {
  background: var(--footer-bg);
  margin-top: auto;
  padding: 46px 16px;
}
.footer__inner {
  max-width: 1068px;
  margin: 0 auto;
  text-align: center;
  font-family: "Open Sans", var(--font-body);
  color: var(--footer-text);
}
.footer__top {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer__top a {
  color: var(--footer-text);
  text-decoration: underline;
}
.footer__disclaimer {
  font-size: 13px;
  line-height: 1.7;
}
.footer__dmca {
  width: 130px;
  height: auto;
  margin: 22px auto 0;
}

/* Sticky CTA — mobile only; hidden until the .cta-trigger is reached */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(130%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.mobile-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-cta .btn-cta {
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  body {
    font-size: 17px;
  }
  .hide-mobile {
    display: none;
  }
  .show-mobile {
    display: block;
  }

  .byline--desk {
    display: none;
  }
  .byline--mob {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 14px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 8px;
    margin-bottom: 23px;
  }
  .byline--mob .byline__meta {
    flex: 1 1 auto;
    min-width: 0;
  }
  .byline--mob .byline__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }
  .byline--mob .byline__read {
    margin-left: 0;
  }
  .byline--mob + hr.rule {
    display: none;
  }

  .layout {
    flex-direction: column;
    gap: 0;
    padding: 0 16px 720px;
  }
  .article {
    max-width: none;
    width: 100%;
  }
  .sidebar {
    display: none;
  }

  .alert__text .hide-mobile {
    display: none;
  }
  .alert__text .show-mobile {
    display: block;
  }

  .headline {
    font-size: 32px;
    line-height: 1.25;
  }

  .seen-on__media img {
    max-width: 380px;
  }

  .reason {
    display: flex;
    flex-direction: column;
    margin: 32px 0;
    gap: 8px;
  }
  /* Flatten the copy wrapper so title / media / body can be reordered:
     mobile stacking order = title → media → text */
  .reason > div:not(.reason__media) {
    display: contents;
  }
  .reason__title {
    order: 1;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .reason__media {
    order: 2;
    max-width: 420px;
    margin: 0 auto 16px;
    width: 100%;
  }
  .reason__body {
    order: 3;
  }

  .promo {
    display: flex;
    flex-direction: column;
    /* Full-bleed: cancel the .layout 16px side padding, drop rounded corners */
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
  /* Flatten content so order = title (green) → image → body/box/button/risk */
  .promo__content {
    display: contents;
  }
  .promo__title {
    order: 1;
    /* font-size: 26px; */
    line-height: 1.2;
    text-align: center;
    margin: 0;
    padding: 24px 41px 16px;
  }
  .promo__media {
    order: 2;
    height: 280px;
  }
  .promo__body {
    order: 3;
    font-size: 17px;
    margin: 0;
    padding: 18px 20px 0;
  }
  .promo__save {
    order: 4;
    margin: 16px 20px 0;
  }
  .promo .btn-cta {
    order: 5;
    width: auto;
    margin: 16px 20px 0;
  }
  .promo__risk {
    order: 6;
    margin: 14px 20px 18px;
  }

  .compare__title {
    /* font-size: 22px; */
    margin-bottom: 56px;
  }
  .ctable th,
  .ctable td {
    padding: 10px 8px;
    font-size: 16px;
  }
  .ctable .gm-head img {
    width: 140px;
    max-width: none;
    margin: 0;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
  }
  .ctable .reg-head img {
    width: 82px;
  }
  .ctable .gm-head span {
    margin-top: 0;
    font-size: 18px;
  }
  .ctable .reg-head span {
    font-size: 14px;
  }

  .reviews__title {
    font-size: 28px;
    line-height: 1.25;
  }

  /* Bottom CTA bar full-bleed (edge to edge), square corners */
  .cta-bar {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    padding: 28px 18px;
  }

  .mobile-cta {
    display: block;
    padding: 10px 14px;
  }
  .mobile-cta .btn-cta {
    font-size: 20px;
    padding: 14px 18px;
  }
}

@media (max-width: 420px) {
  .seen-on__media img {
    max-width: 300px;
  }
  .topbar__right {
    font-size: 12px;
    max-width: 156px;
  }
  .brand__logo {
    height: 30px;
  }
  .hero {
    margin-inline: -16px;
  }
  .alert__icon {
    flex: 0 0 26px;
    width: 26px;
  }
  .breadcrumb {
    font-size: 13px;
  }
  .ctable .gm-head {
    position: relative;
    vertical-align: bottom;
  }
  .review__body {
    font-size: 18px;
  }
  .review__body cite {
    display: inline-block;
    margin-top: 0;
    font-size: 14px;
    color: #000;
  }
  .review__head {
    margin-top: 4px;
  }
  .cta-bar__save {
    font-size: 20px;
  }
  .btn-cta {
    padding: 10px 62px;
  }
}
