/*
Theme Name: Golden Bean Handicraft WP
Theme URI: https://example.com/coco-nature-wp
Author: Codex
Description: WooCommerce-ready WordPress storefront for Golden Bean Handicraft. Uses original layout/code and replaceable sample content.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coco-nature-wp
*/

:root {
  --ink: #3b2916;
  --muted: #6f6263;
  --line: #e9e3de;
  --paper: #fffaf4;
  --soft: #f6f1eb;
  --accent: #f8b21a;
  --accent-dark: #b87408;
  --sale: #d88906;
  --leaf: #4c7658;
  --sky: #f4e7ca;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(62, 38, 42, 0.13);
  --radius: 8px;
  --content: 1180px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: rgba(255, 250, 244, 0.72);
  opacity: 0;
  transition: opacity 220ms ease;
}

main,
.newsletter,
.site-footer {
  animation: page-enter 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.page-is-leaving main,
.page-is-leaving .newsletter,
.page-is-leaving .site-footer {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(1px);
}

.page-is-leaving::after {
  opacity: 1;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

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

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

button,
input {
  font: inherit;
}

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

.site-sale-bar {
  background: var(--sale);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.sale-bar__inner {
  max-width: var(--content);
  min-height: 42px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.country-switcher,
.utility-links,
.trust-strip,
.nav-menu,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-socials a {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-size: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.sale-bar__message {
  grid-column: 2;
  text-align: center;
}

.country-switcher {
  grid-column: 3;
  justify-content: flex-end;
  font-size: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.has-scrolled .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(62, 38, 42, 0.08);
}

.header-main {
  max-width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.search-link,
.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #251b1d;
  font-size: 14px;
}

.search-link svg,
.utility-links svg,
.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.site-brand {
  text-align: center;
}

.site-logo,
.custom-logo-link,
.brand-lockup {
  display: inline-block;
}

.site-logo {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
}

.custom-logo {
  width: auto;
  max-height: 58px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name {
  display: inline-block;
  max-width: 260px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  text-align: left;
}

.utility-links {
  justify-content: flex-end;
}

.cart-badge {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: -5px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
}

.primary-nav {
  border-top: 1px solid var(--line);
  max-height: 58px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height 260ms ease, opacity 220ms ease, transform 260ms ease, border-color 220ms ease;
}

.primary-nav__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.nav-menu {
  min-height: 58px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.nav-menu a {
  display: inline-flex;
  padding: 15px 18px;
  color: #55494b;
  font-weight: 600;
}

.nav-menu > li {
  position: relative;
}

.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 193px;
  z-index: 19;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu {
  display: block;
}

.mega-menu__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px 28px;
}

.mega-menu a {
  padding: 8px 0;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-band {
  background: #f7f8f9;
  border-bottom: 1px solid var(--line);
  max-height: 42px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height 260ms ease, opacity 220ms ease, transform 260ms ease, border-color 220ms ease;
}

.has-scrolled .primary-nav,
.has-scrolled .trust-band {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  border-color: transparent;
}

.has-scrolled .mega-menu {
  top: 92px;
}

.trust-strip {
  max-width: var(--content);
  min-height: 42px;
  margin: 0 auto;
  padding: 0 24px;
  justify-content: center;
  gap: 80px;
  color: #493d3f;
  font-size: 14px;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: #d9dce0;
}

.hero {
  min-height: 620px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  background: #243a32;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(34, 33, 28, 0.25), rgba(34, 33, 28, 0.32)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/Acai_Smoothie_Bowls_%28Unsplash%29.jpg/1280px-Acai_Smoothie_Bowls_%28Unsplash%29.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  z-index: -1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.28));
}

.hero__content {
  width: min(760px, calc(100% - 48px));
  margin-top: 40px;
  text-align: center;
}

.hero-brand-badge {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-brand-badge img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading,
.feature-text h2,
.quote-panel h2,
.brand-story-copy h2,
.newsletter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  text-wrap: balance;
}

.hero p {
  margin: 18px auto 28px;
  max-width: 640px;
  font-size: 22px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #e5a23a;
}

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

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

.section {
  padding: 74px 24px;
}

.section--muted {
  background: var(--soft);
}

.section--tight {
  padding-top: 52px;
  padding-bottom: 52px;
}

.home-categories {
  padding-top: 76px;
  padding-bottom: 88px;
}

.container {
  max-width: var(--content);
  margin: 0 auto;
}

.home-categories .container {
  max-width: 1360px;
}

.press-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 34px;
  color: #b8b0ac;
  text-align: center;
}

.press-row span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.category-card {
  display: block;
  text-align: center;
}

.category-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--soft);
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.category-card:hover img {
  transform: scale(1.045);
}

.category-card h3 {
  margin: 16px 0 0;
  color: #594f4f;
  font-size: 21px;
  line-height: 1.2;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.view-all {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.favorites-section {
  padding-top: 62px;
  padding-bottom: 76px;
  background: #f7f7f6;
}

.favorites-section .container {
  max-width: 1360px;
}

.favorites-header {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.favorites-title-line {
  display: inline-grid;
  grid-template-columns: 34px auto 34px;
  align-items: center;
  gap: 22px;
}

.favorites-title-line h2 {
  margin: 0;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #111;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.favorites-section .view-all {
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.product-scroller {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  overflow-x: visible;
  padding-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.product-card {
  min-width: 0;
  position: relative;
  scroll-snap-align: start;
}

.product-card__media {
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: #f1ede7;
  position: relative;
}

.favorites-section .product-card__media {
  aspect-ratio: 1 / 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.sale-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 78px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--sale);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.favorites-section .sale-pill {
  top: 10px;
  right: 10px;
  min-width: 72px;
  padding: 9px 10px;
  background: #ea8d00;
  font-size: 13px;
}

.product-card h3 {
  margin: 14px 0 5px;
  color: #4d4445;
  font-size: 17px;
  line-height: 1.25;
}

.favorites-section .product-card h3 {
  margin-top: 13px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #3b3031;
  font-size: 14px;
}

.favorites-section .price-row {
  color: #111;
  font-size: 15px;
}

.price-now {
  font-weight: 800;
}

.price-was {
  color: #9a8c88;
  text-decoration: line-through;
}

.rating {
  margin-top: 8px;
  color: #f3ad34;
  font-size: 13px;
}

.favorites-section .rating {
  color: #ea8d00;
  font-size: 13px;
}

.feature-text p,
.quote-panel p,
.brand-story-copy p,
.newsletter p {
  color: var(--muted);
  font-size: 18px;
}

.brand-story-scroll {
  background: #f6f5f3;
}

.brand-story-track {
  height: 400vh;
  min-height: 2800px;
  position: relative;
}

.brand-story-sticky {
  position: sticky;
  top: 92px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  gap: clamp(56px, 6vw, 96px);
  width: min(1334px, calc(100% - 56px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 0;
}

.brand-story-media {
  position: relative;
  justify-self: center;
  width: min(100%, 648px);
  aspect-ratio: 1 / 1;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(63, 44, 34, 0.08);
  overflow: hidden;
}

.brand-story-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-story-frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.brand-story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-content {
  position: relative;
  justify-self: end;
  width: min(100%, 600px);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-story-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(520px, 100%);
  margin-bottom: 32px;
}

.brand-story-progress span {
  height: 3px;
  background: #dedbd7;
  overflow: hidden;
}

.brand-story-progress span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-story-progress span.is-active::before,
.brand-story-progress span.is-complete::before {
  transform: scaleX(1);
}

.brand-story-copy {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-story-copy.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-story-copy h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.brand-story-copy p {
  max-width: 590px;
  margin: 18px 0 0;
  color: #1f1b1a;
  line-height: 1.55;
}

.instagram-grid,
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recipe-card {
  min-width: 0;
}

.instagram-tile,
.recipe-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.instagram-tile img,
.recipe-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card h3 {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.25;
}

.recipe-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.newsletter {
  background: var(--ink);
  color: var(--white);
}

.newsletter__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.76);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 26px;
}

.newsletter-form input {
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  background: #332124;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: 62px 24px 42px;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 44px;
}

.footer-logo {
  color: var(--white);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 36px;
}

.footer-logo.brand-lockup {
  color: var(--white);
  font-family: inherit;
}

.footer-logo .brand-name {
  color: var(--white);
}

.footer-col h3 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-socials {
  margin-top: 22px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.page-hero {
  padding: 74px 24px;
  background: var(--soft);
  text-align: center;
}

.page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero p {
  color: var(--muted);
  font-size: 19px;
}

.shop-toolbar {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pills a,
.filter-pills span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 58px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

.product-thumbs {
  display: grid;
  gap: 12px;
}

.product-thumbs img,
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.product-thumbs img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.product-main-image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--soft);
}

.product-info .section-heading {
  margin-bottom: 12px;
}

.product-meta {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quantity-row {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.quantity-row input {
  width: 86px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  cursor: pointer;
  font-weight: 800;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.rich-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.stat-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat-card,
.feature-card,
.faq-item,
.contact-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 34px 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 900px) {
  .sale-bar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 10px 18px;
    text-align: center;
  }

  .sale-bar__message {
    grid-column: auto;
  }

  .country-switcher {
    display: none;
  }

  .header-main {
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
  }

  .search-link span,
  .utility-links .account-link {
    display: none;
  }

  .site-brand {
    text-align: left;
  }

  .site-logo {
    font-size: 34px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 210px;
    font-size: 20px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav__inner {
    display: block;
    padding: 0;
  }

  .nav-menu {
    display: none;
    min-height: 0;
    padding: 12px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 8px;
  }

  .mega-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
  }

  .has-mega-menu:hover .mega-menu,
  .has-mega-menu:focus-within .mega-menu {
    display: block;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    padding: 0 8px 10px 18px;
  }

  .trust-strip {
    gap: 18px;
    justify-content: space-between;
    font-size: 12px;
  }

  .trust-divider {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero p {
    font-size: 18px;
  }

  .press-row,
  .category-grid,
  .instagram-grid,
  .recipe-grid,
  .product-grid,
  .article-grid,
  .stat-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-story-sticky,
  .product-detail,
  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-story-track {
    height: 320vh;
    min-height: 2200px;
  }

  .brand-story-sticky {
    top: 76px;
    min-height: calc(100vh - 76px);
    padding: 36px 20px;
  }

  .brand-story-media {
    width: min(100%, 360px);
    justify-self: center;
  }

  .brand-story-content {
    min-height: 320px;
  }

  .product-scroller {
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
}

@media (max-width: 620px) {
  .site-logo {
    font-size: 28px;
  }

  .brand-name {
    max-width: 160px;
    font-size: 17px;
  }

  .header-main {
    padding: 0 14px;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .sale-bar__inner {
    padding: 9px 14px;
  }

  .sale-bar__message {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.3;
  }

  .site-brand,
  .brand-lockup {
    min-width: 0;
  }

  .utility-links {
    gap: 8px;
  }

  .utility-links a:not(.account-link) {
    gap: 4px;
    font-size: 0;
  }

  .utility-links a:not(.account-link) svg {
    width: 22px;
    height: 22px;
  }

  .cart-badge {
    margin-left: 0;
    font-size: 11px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 14px;
    text-align: center;
  }

  .trust-band {
    max-height: 64px;
  }

  .has-scrolled .trust-band {
    max-height: 0;
  }

  .page-hero {
    padding: 64px 18px;
  }

  .page-hero__inner {
    width: min(100%, 340px);
  }

  .page-hero .section-heading {
    font-size: 28px;
    line-height: 1.08;
    text-wrap: balance;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 54px 18px;
  }

  .brand-story-track {
    height: 300vh;
    min-height: 2100px;
  }

  .brand-story-sticky {
    gap: 22px;
    padding: 30px 18px;
  }

  .brand-story-media {
    width: min(100%, 290px);
  }

  .brand-story-content {
    min-height: 350px;
  }

  .brand-story-copy h2 {
    font-size: 28px;
  }

  .brand-story-copy p {
    font-size: 16px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__content {
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .press-row,
  .category-grid,
  .instagram-grid,
  .recipe-grid,
  .product-grid,
  .article-grid,
  .stat-grid,
  .feature-grid,
  .newsletter-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .product-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title-row,
  .footer-bottom__inner {
    align-items: start;
    flex-direction: column;
  }

  .product-scroller {
    grid-auto-columns: 78%;
  }
}
