:root {
  --white: #ffffff;
  --yellow: #FFC90E;
  --green: #52CB9D;
  --darkblue: #19154C;
  --grey: #5C6B73;
  --darkgrey: #373534;
  --lightyellow: #FFDB60;

  /* one knob for page width */
  --wrap: 82vw;
  /* consistent left/right margin for all sections */
}

/* GLOBAL RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--darkblue);
  background: var(--white);
}

/* a reusable container — same width everywhere */
.container,
.nav-wrap,
.beer-wrapper,
.why-wrap {
  width: min(var(--wrap), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   HEADER
===================== */
.site-header {
  background: var(--yellow);
  box-shadow: 0 0.2vh 0 rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  padding: 1.5vh 0;
  display: flex;
  align-items: center;
  gap: 2vw;
}

/* Logo */
.brand img {
  height: 6vw;
  width: auto;
  display: block;
}

/* Navigation links */
.main-nav {
  flex: 1;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2.5vw;
}

.main-nav a {
  text-decoration: none;
  color: var(--darkblue);
  font-weight: 500;
  font-size: 1.3vw;
  letter-spacing: 0.05vw;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3vh;
}

/* Cart button */
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6vw;
  padding: 1.8vh 1.2vw;
  background: var(--green);
  color: black;
  border: none;
  border-radius: 0.6vw;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.3vw;
}

.cart-btn:hover {
  filter: brightness(0.95);
}

.cart-ico {
  width: 1.3vw;
  height: 1.3vw;
  color: var(--white);
}

/* =====================
   REMOVE GLOBAL SQUEEZE
===================== */
.content {
  /* stop constraining or adding side padding */
  margin: 0;
  padding: 0;
  max-width: none;
}

/* =====================
   BEER HERO (full-width yellow band)
===================== */
.beer-hero {
  background: var(--yellow);
  /* full width band */
  margin: 0;
  /* no outer gaps */
  padding: 6vh 0 10vh;
  /* vertical space only */
}

.beer-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3%;
}

/* Left side */
.beer-info {
  flex: 1 1 45%;
}

.beer-title {
  font-size: 7vw;
  font-weight: 500;
  color: var(--darkblue);
  margin: 0;
  line-height: 1;
}

.beer-subtitle {
  font-size: 2.5vw;
  color: var(--green);
  margin: 1vh 0 3vh 0;
  font-weight: 500;
  font-family: serif;
}

.beer-desc {
  font-size: 1.2vw;
  line-height: 1.6;
  max-width: 80%;
  margin-bottom: 4vh;
  color: var(--darkblue);
}

/* Quick facts */
.quick-facts {
  background: var(--lightyellow);
  padding: 3vh 2.5vw;
  width: 80%;
  /* border: 1px solid rgba(0, 0, 0, 0.08); */
  border-radius: 16px;
  /* box-shadow: none; */
}

.quick-facts h3 {
  font-size: 1.6vw;
  color: var(--green);
  margin: 0 0 1.5vh 0;
  font-weight: 700;
  font-family: serif;
}

.facts-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1vw;
  padding: 0.8vh 0;
  /* border-top: 0.1vh solid rgba(0, 0, 0, 0.08); */
}

.facts-row:first-of-type {
  border-top: none;
}

/* Right side */
.beer-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.beer-image img {
  width: 115%;
  height: auto;
  border-radius: 60px;
}

/* =====================
   WHY SIXDOT
===================== */
.why {
  background: var(--white);
  /* page stays white below hero */
  width: 100%;
  padding: 8vh 0;
  /* vertical space only, sides handled by container */
  margin: 0;
}

.why-title {
  margin: 0 0 2vh 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.05vw;
  color: var(--darkblue);
}

.why-intro {
  max-width: 100%;
  margin: 0 0 4vh 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--darkblue);
}

/* Cards grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
  align-items: stretch;
}

.why-card {
  background: #ffffff;
  padding: 2.4vh 2vw;
  outline: 1px solid rgba(0, 0, 0, 0.06);
  /* keeps width steady vs border */
  border: none;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.why-icon {
  width: clamp(36px, 3vw, 56px);
  height: auto;
  margin: 0 0 1.6vh 0;
}

.why-card h3 {
  margin: 0 0 1vh 0;
  font-size: 1.25vw;
  font-weight: 800;
  color: var(--darkblue);
}

.why-card p {
  margin: 0;
  font-size: 1.0vw;
  line-height: 1.6;
  color: var(--grey);
  flex: 1 1 auto;
}


/* ===== Price + Add to cart ===== */
.buy-row {
  margin-top: 4vh;
}

.price-value {
  font-size: 3.6vw;
  /* big price like the reference */
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2vh;
  color: var(--darkgrey);
}

.buy-controls {
  display: flex;
  align-items: center;
  gap: 1.2vw;
}

/* Quantity */
.qty-label {
  font-size: 1.8vw;
  margin-right: .6vw;
  color: var(--darkgrey);
}

.qty-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.qty-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 1.1vw;
  padding: 1.2vh 2.4vw 1.2vh 1vw;
  border: 1px solid rgba(0, 0, 0, .25);
  background: var(--white);
  color: var(--darkblue);
  border-radius: 0.6vw;
  cursor: pointer;
}

/* Add to cart button */
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: .6vw;
  padding: 1.4vh 1.4vw;
  background: var(--green);
  color: black;
  border: none;
  border-radius: 0.6vw;
  font-size: 1.1vw;
  font-weight: 700;
  cursor: pointer;
}

.add-btn:hover {
  filter: brightness(.96);
}

.add-ico {
  width: 1.2vw;
  height: 1.2vw;
  display: block;
  color: currentColor;
}

/* ===== Idea section scaffold (matches your site’s spacing) ===== */
.idea {
  background: #ffffff;
  padding: 8vh 0;
  width: 100%;
}

.idea-wrap {
  width: 82vw;
  margin: 0 auto;
}

.idea-title {
  margin: 0 0 2vh;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: .12vw;
  color: var(--darkblue);
}

.idea-intro {
  max-width: 80%;
  font-size: 1.05vw;
  line-height: 1.7;
  margin: 0 0 4vh;
  color: var(--darkblue);
}

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3vw;
  align-items: start;
}

.idea-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 2.2vh;
}

.idea-list>li {
  list-style: decimal;
  font-size: 1.5rem;
}

.idea-list > li::marker {
  font-weight: 800;
  color: var(--darkblue);
}

.idea-list h3 {
  margin: 0 0 .6vh;
  font-size: 1.15vw;
  font-weight: 800;
  color: var(--darkblue);
}

.idea-list p {
  margin: 0;
  font-size: .95vw;
  line-height: 1.6;
  color: var(--grey);
}

/* ==== Before/After v2: no distortion ===== */
.ba2 {
  --pos: 50%;
  /* split position */
  position: relative;
  max-width: 100%;
  background: #e8e8e8;
  border-radius: 1.2vw;
  /* set to 0 if you want square */
  overflow: hidden;
}

/* Base image defines the height of the container */
.ba2__base {
  display: block;
  width: 100%;
  height: auto;
  /* natural aspect ratio */
  user-select: none;
}

/* AFTER layer covers the base exactly */
.ba2__after {
  position: absolute;
  inset: 0;
  /* reveal only the left portion according to --pos */
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* same scaling as the base to avoid skew */
  background: transparent;
  /* if your image has transparency */
  user-select: none;
  pointer-events: none;
}

/* Invisible range over the whole control */
.ba2__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

/* Divider & handle */
.ba2__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  transform: translateX(-50%);
  width: 2px;
  background: rgba(0, 0, 0, .35);
  pointer-events: none;
}

.ba2__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2vw;
  height: 2vw;
  min-width: 22px;
  min-height: 22px;
  background: var(--white);
  color: var(--darkblue);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1vw;
  font-weight: bold;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.ba2__handle::before {
  content: "<>";

}

/* =====================
   NUTRITION FACTS
===================== */
.nutrition {
  background: var(--white);
  padding: 8vh 0;
}

.nutrition-wrap {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
}

.nutrition-title {
  font-size: 2.8vw;
  font-weight: 800;
  letter-spacing: 0.05vw;
  color: var(--darkblue);
  margin: 0 0 4vh 0;
}

.nutrition-box {
  background: var(--yellow);
  border-radius: 60px;
  padding: 4vh 4vw;
  /* box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.1); */
}

.nutrition-left {
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
}

.nutrition-left h3 {
  font-size: 1.4vw;
  font-weight: 700;
  color: var(--darkblue);
  margin: 0 0 1vh 0;
}

.nutrition-left h4 {
  font-size: 1.1vw;
  font-weight: 700;
  color: var(--darkblue);
  margin: 2vh 0 1vh 0;
}

.nutrition-item {
  display: flex;
  justify-content: space-between;
  font-size: 1vw;
  color: var(--darkblue);
  letter-spacing: 0.02vw;
  /* border-bottom: 0.05vw solid rgba(0, 0, 0, 0.05); */
  padding-bottom: 0.3vh;
}

.nutrition-item span:first-child {
  font-weight: 400;
}

.nutrition-value {
  font-weight: 500;
}

.ingredients {
  font-size: 0.95vw;
  letter-spacing: 0.05vw;
  color: var(--darkblue);
  text-transform: uppercase;
  margin: 1vh 0 0;
  line-height: 1.6;
}

/* ===== Try/Buy section ===== */
.shops {
  background: #ffffff;
  /* same cream as “idea” section */
  padding: 8vh 0;
  width: 100%;
}

.shops-wrap {
  width: 82vw;
  margin: 0 auto;
}

.shops-title {
  margin: 0 0 4vh 0;
  font-size: 2.8vw;
  font-weight: 900;
  letter-spacing: 0.12vw;
  color: var(--darkblue);
}

/* grid */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
}

/* card */
.shop-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 0.9vw;
  box-shadow: 0 0.6vh 1.4vh rgba(0, 0, 0, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-img {
  width: 100%;
  height: 28vh;
  /* visual balance; scales with viewport */
  object-fit: cover;
  display: block;
}

.shop-body {
  padding: 2.2vh 1.8vw 2.4vh;
  display: flex;
  flex-direction: column;
  gap: 1.6vh;
}

.shop-name {
  margin: 0;
  font-size: 1.3vw;
  font-weight: 800;
  color: var(--darkblue);
}

.shop-meta {
  margin: 0;
  font-size: 1vw;
  color: var(--grey);
}

.shop-copy {
  font-size: 0.98vw;
  line-height: 1.6;
  color: var(--darkblue);
}

.shop-link {
  color: var(--darkblue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* button */
.shop-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 1.2vh 1.2vw;
  background: var(--green);
  color: black;
  text-decoration: none;
  font-weight: 700;
  font-size: 1vw;
  border-radius: 0.6vw;
  transition: filter .15s ease;
}

.shop-btn:hover {
  filter: brightness(.95);
}

.shops p {
  color: var(--grey);
}

/* =====================
   EXPLORE OTHER BEERS
===================== */
.explore {
  background: #ffffff;
  /* same tone as previous cream sections */
  padding: 8vh 0 10vh;
  text-align: center;
}

.explore-wrap {
  width: 82vw;
  margin: 0 auto;
}

.explore-title {
  font-size: 2.8vw;
  font-weight: 900;
  letter-spacing: 0.05vw;
  color: var(--darkblue);
  margin: 0 0 6vh 0;
}

.explore-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5vh;
}

.explore-image img {
  width: 85%;
  height: auto;
  max-width: 1000px;
  display: block;
}

.explore-btn {
  display: inline-block;
  padding: 1.4vh 2.2vw;
  background: var(--green);
  color: black;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1vw;
  border-radius: 0.6vw;
  transition: filter 0.15s ease;
}

.explore-btn:hover {
  filter: brightness(0.95);
}


/* ===== Footer (feedback) ===== */
:root {
  /* soft paper for inputs (kept separate from --lightyellow so you can tune independently) */
  --paper: #FFF7CF;
}

.feedback {
  background: var(--darkblue);
  color: var(--white);
  width: 100%;
  padding: 8vh 0 9vh;
}

.feedback-wrap {
  width: min(var(--wrap), 1200px);
  margin: 0 auto;
  text-align: center;
}

.feedback-title {
  margin: 0 0 1.2vh 0;
  font-size: 3.0vw;
  /* big headline like screenshot */
  /* font-weight:  ; */
  letter-spacing: 0.25vw;
  /* spaced letters */
}

.feedback-sub {
  margin: 0 0 5vh 0;
  font-size: 1.05vw;
  opacity: .9;
}

.feedback-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2vh;
  justify-items: stretch;
}

/* Inputs */
.fb-input,
.fb-textarea {
  width: 100%;
  background: var(--paper);
  color: var(--darkblue);
  border: 0;
  border-radius: 12px;
  /* chunky rounded corners */
  padding: 2.2vh 1.2vw;
  font-size: 1.05vw;
  box-shadow: 0 0 0 0.2vw rgba(0, 0, 0, 0.06) inset;
}

.fb-textarea {
  min-height: 24vh;
  resize: vertical;
}

/* Button */
.fb-btn {
  justify-self: center;
  display: inline-block;
  padding: 1.8vh 2.6vw;
  background: var(--green);
  color: black;
  border: 0;
  border-radius: 0.6vw;
  font-weight: 700;
  font-size: 1.05vw;
  cursor: pointer;
  box-shadow: 0 .6vh 1.2vh rgba(0, 0, 0, .12);
}

.fb-btn:hover {
  filter: brightness(.95);
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   RESPONSIVE: light + simple
   =========================== */

/* helpful base tweaks that scale well */
.brand img {
  height: clamp(48px, 10vw, 96px);
}

.main-nav a {
  font-size: clamp(14px, 1.3vw, 18px);
}

.cart-ico,
.add-ico {
  display: block;
  width: 26px;
  /* will be overridden by your media queries */
  height: auto;
  /* preserve PNG aspect ratio */
  object-fit: contain;
  /* prevents distortion */
  vertical-align: middle;
}


/* --- Laptops / narrow desktops --- */
@media (max-width: 1200px) {
  :root {
    --wrap: 90vw;
  }

  .why-wrap,
  .idea-wrap,
  .shops-wrap,
  .explore-wrap {
    width: var(--wrap);
  }

  .quick-facts {
    width: 90%;
  }
}

/* --- Tablets / small laptops --- */
@media (max-width: 992px) {

  /* header can wrap cleanly */
  .nav-wrap {
    flex-wrap: wrap;
    gap: 2vh 4vw;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4vw;
  }

  .cart-btn {
    order: 3;
  }

  /* hero stacks */
  .beer-wrapper {
    flex-direction: column;
    gap: 5vh;
  }

  .beer-info,
  .beer-image {
    flex: 1 1 100%;
  }

  .beer-image img {
    width: 100%;
  }

  .beer-desc {
    max-width: 100%;
    font-size: clamp(14px, 1.6rem, 18px);
  }

  .quick-facts {
    width: 100%;
  }

  .price-value {
    font-size: clamp(28px, 8vw, 48px);
  }

  .qty-label {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .qty-select,
  .add-btn {
    font-size: clamp(14px, 3.3vw, 18px);
  }

  /* why cards -> single column */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3vh;
  }

  .why-card h3 {
    font-size: clamp(16px, 3.6vw, 22px);
  }

  .why-card p {
    font-size: clamp(14px, 3.2vw, 18px);
  }

  /* idea: stack text over slider */
  .idea-grid {
    grid-template-columns: 1fr;
  }

  .idea-intro {
    max-width: 100%;
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .idea-list h3 {
    font-size: clamp(16px, 3.6vw, 20px);
  }

  .idea-list p {
    font-size: clamp(14px, 3.2vw, 18px);
  }

  /* nutrition */
  .nutrition-title {
    font-size: clamp(22px, 6vw, 36px);
  }

  .nutrition-left h3 {
    font-size: clamp(16px, 4vw, 22px);
  }

  .nutrition-left h4 {
    font-size: clamp(14px, 3.6vw, 20px);
  }

  .nutrition-item {
    font-size: clamp(14px, 3.4vw, 18px);
  }

  .ingredients {
    font-size: clamp(12px, 3.2vw, 16px);
  }

  /* shops: 3 -> 2 columns */
  .shops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-img {
    height: 22vh;
  }

  .shop-name {
    font-size: clamp(16px, 3.8vw, 22px);
  }

  .shop-meta,
  .shop-copy,
  .shop-btn {
    font-size: clamp(12px, 3.2vw, 16px);
  }

  /* explore */
  .explore-image img {
    width: 100%;
  }

  .explore-btn {
    font-size: clamp(14px, 3.4vw, 18px);
  }

  /* footer form */
  .feedback-title {
    font-size: clamp(22px, 6.5vw, 40px);
    letter-spacing: .12em;
  }

  .feedback-sub {
    font-size: clamp(14px, 3.4vw, 18px);
  }

  .fb-input,
  .fb-textarea {
    font-size: clamp(14px, 3.4vw, 18px);
  }

  .fb-btn {
    font-size: clamp(14px, 3.6vw, 18px);
    border-radius: 2.2vw;
  }
}

/* --- Phones --- */
@media (max-width: 560px) {
  :root {
    --wrap: 90vw;
  }

  .nav-wrap {
    justify-content: space-between;
  }

  .brand img {
    height: 12vw;
  }

  .main-nav ul {
    gap: 3vw;
  }

  .main-nav a {
    font-size: clamp(12px, 3.8vw, 16px);
  }

  .cart-btn {
    padding: 1vh 3vw;
    font-size: clamp(12px, 3.8vw, 16px);
  }

  .cart-ico {
    width: 4.2vw;
    height: 4.2vw;
  }

  .beer-title {
    font-size: clamp(38px, 14vw, 64px);
  }

  .beer-subtitle {
    font-size: clamp(18px, 6vw, 28px);
  }

  .beer-desc {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .quick-facts h3 {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .facts-row {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .buy-controls {
    flex-wrap: wrap;
    gap: 2vh;
  }

  .price-value {
    font-size: clamp(28px, 12vw, 48px);
  }

  /* slider handle a touch smaller on phones */
  .ba2__handle {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  /* shops: 2 -> 1 column */
  .shops-grid {
    grid-template-columns: 1fr;
  }

  .shop-img {
    height: 28vh;
  }

  .explore-title {
    font-size: clamp(22px, 7vw, 34px);
  }
}