/* ============================================================
   PELLET WEBSHOP — Design System
   Palette inspired by pagedplywood.com
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital@0;1&display=swap');

/* ── Custom Properties ── */
:root {
  /* Palette */
  --green: #395d44;
  --green-dark: #2a4533;
  --green-light: #4e7a5c;
  --gold: #395d44;
  --gold-light: #4e7a5c;
  --cream: #ffffff;
  --cream-dark: #f7f7f7;
  --ink: #231f20;
  --ink-mid: #3d3835;
  --muted: #7a7068;
  --border: rgba(0, 0, 0, 0.08);
  --white: #ffffff;

  /* Typography */
  --sans: 'Montserrat', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --header-h: 80px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(35, 31, 32, .08);
  --shadow-md: 0 8px 32px rgba(35, 31, 32, .12);
  --shadow-lg: 0 20px 60px rgba(35, 31, 32, .18);
  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Utility ── */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.full {
  width: 100%;
  justify-content: center;
}

/* ── Scroll-entrance animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate][data-delay="3"] {
  transition-delay: 0.35s;
}

[data-animate][data-delay="4"] {
  transition-delay: 0.5s;
}

/* ── Hero entrance animation ── */
@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy>* {
  animation: heroFade 0.8s ease both;
}

.hero-copy>*:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-copy>*:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-copy>*:nth-child(3) {
  animation-delay: 0.4s;
}

.hero-copy>*:nth-child(4) {
  animation-delay: 0.55s;
}

.hero-copy>*:nth-child(5) {
  animation-delay: 0.7s;
}

/* ── HEADER ── */
.site-header {
  height: var(--header-h);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  height: 66px;
}

.brand img {
  width: 140px;
  max-height: 46px;
  object-fit: contain;
  transition: opacity var(--transition);
}

.brand:hover img {
  opacity: 0.75;
}

.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.site-header nav a {
  position: relative;
  padding-bottom: 3px;
  color: var(--ink-mid);
  transition: color var(--transition);
}

.site-header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width var(--transition);
}

.site-header nav a:hover {
  color: var(--green);
}

.site-header nav a:hover::after {
  width: 100%;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  background: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.cart-button:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

.cart-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-copy {
  padding: 10vw 8vw 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 110px);
  line-height: .88;
  letter-spacing: -.05em;
  font-weight: 800;
  margin: 0 0 28px;
  color: var(--ink);
}

.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
}

.lead {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.hero-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
}

.hero-stat span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.hero-image {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: var(--white);
}

.hero-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-badge small {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green);
  color: var(--white);
  padding: 18px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .92;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: .85;
}

/* ── INTRO ── */
.intro {
  padding: 8vw 8vw;
  background: #f8faf8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro h2,
.delivery h2 {
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 800;
  margin: 0 0 28px;
}

.intro h2 em,
.delivery h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
}

.intro>p:last-child {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── PRODUCT SECTION ── */
.product-section {
  padding: 8vw 5vw;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}

.section-heading h2 {
  font-size: clamp(38px, 4.5vw, 70px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.05em;
  margin: 0;
}

.muted {
  color: var(--muted);
  font-size: 12px;
  max-width: 220px;
  line-height: 1.6;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5vw;
  align-items: start;
}

/* Product visual */
.product-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
}

.product-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.product-visual:hover img {
  transform: scale(1.03);
}

.product-visual-banner {
  background: var(--green-dark);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: .02em;
  text-align: center;
}

.product-visual-banner svg {
  flex-shrink: 0;
  color: #80ab82;
}

.product-visual-banner strong {
  color: #a8d5aa;
  font-weight: 700;
}

.product-cert {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
}

.product-cert strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 2px;
}

/* Purchase panel */
.purchase-panel {
  padding: 4px 0;
}

/* Mode toggle */
.mode-toggle {
  display: flex;
  background: var(--cream);
  padding: 4px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.mode-toggle button {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.6;
}

.mode-toggle button.active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.mode-toggle button:hover:not(.active) {
  opacity: 0.8;
}

.package-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 0;
}

.package-grid.active {
  display: grid;
}

.package-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  min-height: 195px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: calc(var(--radius-md) - 1px);
}

.package-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.package-card.active,
.package-card.active:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.package-card.featured {
  border-color: var(--green);
}

.package-card i {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 9px;
  border-radius: 4px;
}

.package-card.active i {
  background: rgba(255, 255, 255, .25);
}

.package-card span {
  display: block;
  font-size: 8px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  opacity: .7;
}

.package-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  margin: 14px 0 2px;
  letter-spacing: -.03em;
}

.package-card b {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.package-card small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
  opacity: .65;
}

/* Quantity box */
.quantity-box {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.quantity-box .eyebrow {
  margin: 0 0 6px;
}

.quantity-box strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.quantity-box>div:first-child span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}

.stepper button:hover {
  background: var(--ink);
  color: var(--cream);
}

.stepper input[type="number"] {
  width: 64px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  border: 0;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  padding: 0;
  height: 44px;
  -moz-appearance: textfield;
  outline: none;
}

.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Quantity slider ── */
.qty-slider {
  width: 100%;
  margin-top: 16px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  transition: background var(--transition);
}

.qty-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(57, 93, 68, .35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.qty-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 14px rgba(57, 93, 68, .45);
}

.qty-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(57, 93, 68, .35);
}

/* Saving — highlight variant near pallet threshold */
.saving.saving--hot {
  background: rgba(57, 93, 68, .1);
  border-color: rgba(57, 93, 68, .35);
  color: var(--green-dark);
  font-weight: 600;
}

/* Price summary */
.price-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 22px 0;
}

.price-summary span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}

.price-summary strong {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
}

.saving {
  font-size: 12px;
  line-height: 1.55;
  padding: 14px 16px;
  background: rgba(57, 93, 68, .08);
  border: 1px solid rgba(57, 93, 68, .2);
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── DELIVERY ── */
.delivery {
  padding: 12vw 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  border-top: 1px solid var(--border);
}

.delivery-copy>div {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 16px;
  align-items: start;
  transition: opacity var(--transition);
}

.delivery-copy>div:hover {
  opacity: .8;
}

.delivery-copy span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .16em;
  padding-top: 4px;
}

.delivery-copy strong {
  font-size: 17px;
  font-weight: 700;
}

.delivery-copy p {
  grid-column: 2;
  margin: 8px 0 0;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

/* ── FOOTER ── */
footer {
  padding: 36px 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

.footer-brand span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
}

.footer-meta {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.footer-meta strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mid);
  letter-spacing: .04em;
}

.footer-meta span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .03em;
}

/* ── CHECKOUT MODAL ── */
.checkout-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  background: transparent;
  max-width: 90vw;
  width: 680px;
}

.checkout-modal::backdrop {
  background: rgba(35, 31, 32, .6);
  backdrop-filter: blur(5px);
}

.checkout-container {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkout-header h2 {
  font-size: 28px;
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.close-btn {
  background: var(--cream-dark);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background var(--transition);
}

.close-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 20px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 93, 68, 0.1);
}

.checkout-form input.error,
.checkout-form select.error,
.checkout-form textarea.error {
  border-color: #d93838;
  box-shadow: 0 0 0 3px rgba(217, 56, 56, 0.1);
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: 600;
}

.checkout-row strong {
  font-size: 24px;
  color: var(--green);
}

.legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

/* ── SUCCESS MODAL ── */
.success-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  background: transparent;
}

.success-modal::backdrop {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 400px;
  border: 1px solid var(--border);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(57, 93, 68, 0.1);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
}

.modal-content p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}


.cart-items {
  padding: 24px 28px;
}

.empty {
  color: var(--muted);
  font-size: 14px;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: flex-start;
}

.cart-line small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

.cart-line button {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--sans);
  margin-top: 6px;
  padding: 0;
  display: block;
  transition: color var(--transition);
}

.cart-line button:hover {
  color: var(--ink);
}

.checkout {
  padding: 24px 28px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
}

.checkout-row strong {
  font-size: 18px;
  font-weight: 700;
}

.checkout label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 18px 0 0;
}

.checkout input,
.checkout select,
.checkout textarea {
  width: 100%;
  margin-top: 7px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  padding: 12px 14px;
  font: 400 13px/1.5 var(--sans);
  color: var(--ink);
  transition: border-color var(--transition);
  outline: none;
}

.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.checkout input.error,
.checkout select.error,
.checkout textarea.error {
  border-color: #d32f2f;
  background: #fffafa;
}

.legal,
.status {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
}

.status {
  margin-top: 16px;
}

.status.error {
  color: #d32f2f;
}

/* ── SCRIM ── */



/* ── POLISH PRODUCT SHOWCASE ── */
.polish-product {
  padding: 8vw 8vw;
  background: #f8faf8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.polish-header {
  max-width: 720px;
  margin-bottom: 4vw;
}

.polish-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  margin: 10px 0 16px;
  font-weight: 400;
}

.polish-header h2 em {
  font-style: italic;
  color: var(--green);
}

.polish-header .lead-text {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
}

.polish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ── MODE TOGGLE ── */
.mode-toggle {
  display: flex;
  background: var(--cream);
  padding: 4px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.mode-toggle button {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.6;
}

.mode-toggle button.active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.mode-toggle button:hover:not(.active) {
  opacity: 0.8;
}

.package-grid {
  display: none;
}

.package-grid.active {
  display: grid;
}

/* ── QUANTITY SELECTOR ── */

.polish-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.polish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(57, 93, 68, 0.3);
}

.polish-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(57, 93, 68, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.polish-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.polish-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-header {
    padding: 0 24px;
    height: 68px;
  }

  .site-header nav {
    display: none;
  }

  .brand img {
    width: 120px;
  }

  .cart-button {
    padding: 9px 14px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 60vh;
    padding: 72px 28px 56px;
  }

  .hero-image {
    min-height: 52vh;
  }

  .hero-stats {
    gap: 24px;
  }

  .trust-bar {
    gap: 24px;
    padding: 16px 24px;
  }

  .intro {
    padding: 80px 28px 70px;
  }

  .product-section {
    padding: 72px 24px;
  }

  .section-heading {
    display: block;
  }


  .muted {
    margin-top: 14px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 420px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .package-card strong {
    font-size: 36px;
  }

  .delivery {
    grid-template-columns: 1fr;
    padding: 72px 28px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  footer .footer-meta {
    text-align: left;
  }

  .drawer {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 48px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}