@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@400;500;600;700;900&family=IBM+Plex+Mono:wght@500;600;700&display=swap');

:root {
  --bg-oat: #FBF9F5;
  --forest: #0B1E17;
  --pistachio: #BACF2C;
  --lilac: #A49CF4;
  --cream: #F5F2EC;
  --warm-white: #FFFFFF;
  --terracotta: #E55539;
  --sand: #D9C8A9;
  --pale-lilac: #ECE9FB;
  --pale-pistachio: #F1F4DA;
  --pale-peach: #FBF7EB;
  --line: rgba(11, 30, 23, 0.15);
  --line-strong: #0B1E17;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============ GENERAL RESET & BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-oat);
  color: var(--forest);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain over the whole page for warmth and texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  font-weight: normal;
  color: var(--forest);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.smart-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ============ D2C BRAND PLAYBOOK BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0;
  position: relative;
  border: 3px solid var(--forest);
}

.btn-solid {
  background-color: var(--forest);
  color: var(--bg-oat);
  box-shadow: 4px 4px 0 var(--forest);
}

.btn-solid:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--lilac);
  background-color: var(--forest);
  color: var(--bg-oat);
}

.btn-solid:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--forest);
}

.btn-outline {
  background-color: var(--warm-white);
  color: var(--forest);
  box-shadow: 4px 4px 0 var(--forest);
}

.btn-outline:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--pistachio);
  background-color: var(--warm-white);
}

.btn-outline:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--forest);
}

.btn-terracotta {
  background-color: var(--lilac);
  color: var(--forest);
  box-shadow: 4px 4px 0 var(--forest);
}

.btn-terracotta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--pistachio);
  background-color: var(--lilac);
}

.btn-full {
  width: 100%;
}

.btn-disabled {
  border-color: #ccc;
  color: #999;
  background-color: #eee;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

.text-link {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 3px solid var(--pistachio);
  padding-bottom: 2px;
  transition: var(--transition);
  display: inline-block;
}

.text-link:hover {
  color: var(--forest);
  border-bottom-color: var(--lilac);
  transform: scale(1.03);
}

/* ============ ANNOUNCEMENT BAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.announcement-bar {
  background-color: var(--forest);
  color: var(--bg-oat);
  text-align: center;
  padding: 8px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 3px solid var(--forest);
  height: 35px;
}

.announcement-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.announcement-item {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.announcement-item.active {
  display: block;
}

/* Containing block + horizontal clip for template-level decorations (blobs,
   shapes) that intentionally bleed off-screen. Without this they escape
   body's overflow-x (their containing block was the viewport, not body),
   widen the document, and iOS Safari zooms the whole page out to fit.
   overflow-x: clip (not hidden) so position: sticky inside pages keeps working. */
.page-main {
  position: relative;
  overflow-x: clip;
}

/* ============ DYNAMIC FLOWY BLOBS ============ */
.blob-bg {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.blob-lilac {
  background-color: var(--lilac);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-pistachio {
  background-color: var(--pistachio);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

/* ============ STICKERS PLAYBOOK ============ */
@keyframes float-sticker {
  0% { transform: translateY(0) rotate(var(--rot, -3deg)); }
  50% { transform: translateY(-6px) rotate(calc(var(--rot, -3deg) + 2deg)); }
  100% { transform: translateY(0) rotate(var(--rot, -3deg)); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(var(--rot, -2deg)); }
  25% { transform: rotate(calc(var(--rot, -2deg) + 4deg)); }
  75% { transform: rotate(calc(var(--rot, -2deg) - 4deg)); }
}

.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  border: 2.5px solid var(--forest);
  border-radius: 100px;
  position: relative;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--forest);
  background-color: var(--warm-white);
  color: var(--forest);
  z-index: 15;
  transition: var(--transition);
  animation: float-sticker 7s ease-in-out infinite;
  --rot: -3deg;
  white-space: nowrap;
}

.sticker:hover {
  animation: wiggle 0.5s ease-in-out;
  transform: scale(1.08) rotate(0deg) !important;
  box-shadow: 5px 5px 0 var(--lilac);
  cursor: default;
}

.sticker-pistachio {
  background-color: var(--pistachio);
  --rot: 2.5deg;
  transform: rotate(2.5deg);
}

.sticker-lilac {
  background-color: var(--lilac);
  --rot: -3.5deg;
  transform: rotate(-3.5deg);
}

.sticker-terracotta {
  background-color: var(--terracotta);
  color: var(--warm-white);
  border-color: var(--forest);
  --rot: 4deg;
  transform: rotate(4deg);
}

.sticker-scallop {
  border-radius: 12px;
  --rot: 5deg;
  transform: rotate(5deg);
  background-color: var(--sand);
}

.sticker-mascot {
  border-radius: 50% 40% 45% 55%;
  background-color: var(--pistachio);
  border: 3px solid var(--forest);
  padding: 16px;
  transform: rotate(-8deg);
  box-shadow: 4px 4px 0 var(--forest);
  transition: var(--transition);
  animation: float-sticker 8s ease-in-out infinite;
  --rot: -8deg;
}

.sticker-mascot:hover {
  transform: scale(1.12) rotate(-3deg) !important;
  box-shadow: 6px 6px 0 var(--lilac);
}

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.doodle-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M0 6 Q10 2 20 6 T40 6 T60 6 T80 6 T100 6 T120 6 T140 6 T160 6 T180 6 T200 6' stroke='%23B6AEF6' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 200px 8px;
  padding-bottom: 10px;
}

.doodle-underline-green {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M0 6 Q10 2 20 6 T40 6 T60 6 T80 6 T100 6 T120 6 T140 6 T160 6 T180 6 T200 6' stroke='%23C6D63E' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 200px 8px;
  padding-bottom: 10px;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  display: inline-block;
  border-bottom: 3px solid var(--pistachio);
  padding-bottom: 3px;
  margin-bottom: 20px;
}

.section-label-lilac {
  border-bottom-color: var(--lilac);
}

/* ============ MARQUEE TICKER ============ */
.marquee-ticker {
  background-color: var(--pistachio);
  color: var(--forest);
  border-top: 3px solid var(--forest);
  border-bottom: 3px solid var(--forest);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 0.05em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-content span {
  display: inline-block;
  margin: 0 30px;
}

.marquee-content span::after {
  content: "  ✦  ";
  margin-left: 60px;
  color: var(--lilac);
}

/* ============ NAVIGATION ============ */
nav {
  background-color: var(--bg-oat);
  border-bottom: 3px solid var(--forest);
  padding: 16px 0;
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-container .menu-trigger { grid-column: 1; justify-self: start; }
.nav-container .nav-links { grid-column: 1; justify-self: start; }
.nav-container .logo-box { grid-column: 2; justify-self: center; }
.nav-container .nav-actions { grid-column: 3; justify-self: end; }

.logo-box {
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  padding: 6px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 32px;
  text-transform: lowercase;
  white-space: nowrap;
  color: var(--forest);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--forest);
  transition: var(--transition);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--lilac);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--forest);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
  text-transform: lowercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--lilac);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon-btn {
  background: var(--warm-white);
  border: 3px solid var(--forest);
  cursor: pointer;
  color: var(--forest);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--forest);
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--pistachio);
}

.nav-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--lilac);
  color: var(--forest);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--lilac);
  z-index: 180;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 3px solid var(--forest);
}

.search-overlay.open {
  height: 220px;
}

.search-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--forest);
  padding: 8px 0;
}

.search-input {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--forest);
  outline: none;
  padding: 0 16px;
  text-transform: lowercase;
}

.search-input::placeholder {
  color: rgba(20, 38, 31, 0.4);
}

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--warm-white);
  border: 3px solid var(--forest);
  border-radius: 50%;
  cursor: pointer;
  color: var(--forest);
  padding: 8px;
  box-shadow: 3px 3px 0 var(--forest);
}

.search-suggestions {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--forest);
  font-weight: 700;
}

.search-suggestions span {
  margin-right: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--forest);
  text-underline-offset: 3px;
}

/* ============ CART DRAWER ============ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 38, 31, 0.6);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 460px;
  max-width: 100%;
  height: 100%;
  background-color: var(--bg-oat);
  z-index: 260;
  border-left: 3px solid var(--forest);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 3px solid var(--forest);
  background-color: var(--lilac);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.03em;
}

.cart-drawer-close {
  background: var(--warm-white);
  border: 3px solid var(--forest);
  border-radius: 50%;
  cursor: pointer;
  color: var(--forest);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--forest);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* ---- Free-shipping progress bar ---- */
.cart-shipping-bar {
  padding: 16px 24px;
  border-bottom: 3px solid var(--forest);
  background-color: var(--pale-pistachio);
}
.cart-shipping-bar.unlocked {
  background-color: var(--pistachio);
}
.csb-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.csb-track {
  height: 10px;
  border: 2px solid var(--forest);
  background-color: var(--warm-white);
  overflow: hidden;
}
.csb-fill {
  height: 100%;
  width: 0;
  background-color: var(--forest);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Cart cross-sell ---- */
.cart-cross-sell {
  padding: 0 24px 20px;
}
.ccs-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--forest);
  margin-bottom: 12px;
}
.ccs-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 3px dashed var(--forest);
  background-color: var(--warm-white);
  padding: 12px;
}
.ccs-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid var(--forest);
  background-color: var(--bg-oat);
}
.ccs-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.2;
}
.ccs-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  opacity: 0.7;
  margin-top: 2px;
}
.ccs-add {
  border: 3px solid var(--forest);
  background-color: var(--pistachio);
  color: var(--forest);
  font-weight: 800;
  font-size: 13px;
  text-transform: lowercase;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--forest);
  transition: var(--transition);
  white-space: nowrap;
}
.ccs-add:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--forest); }
.ccs-add:disabled { opacity: 0.5; cursor: default; box-shadow: none; transform: none; }

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  border: 3px solid var(--forest);
  background: var(--warm-white);
  padding: 16px;
  box-shadow: 4px 4px 0 var(--forest);
  margin-bottom: 20px;
  position: relative;
}

.cart-item-img {
  width: 90px;
  height: 90px;
  background-color: var(--bg-oat);
  border: 2px solid var(--forest);
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  color: var(--forest);
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--forest);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
}

.cart-item-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--forest);
  margin-top: 4px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.cart-item-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 800;
}

/* ============ QUANTITY CONTROLLER ============ */
.qty-control {
  display: inline-flex;
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  height: 38px;
  align-items: center;
  box-shadow: 3px 3px 0 var(--forest);
}

.qty-btn {
  background: none;
  border: none;
  width: 34px;
  height: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background-color: var(--pistachio);
}

.qty-input {
  width: 36px;
  height: 100%;
  border: none;
  border-left: 2px solid var(--forest);
  border-right: 2px solid var(--forest);
  background: none;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  outline: none;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 3px solid var(--forest);
  background-color: var(--warm-white);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-subtotal-label {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-subtotal-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--forest);
}

/* ============ TOAST NOTIFICATION ============ */
.toast-notification {
  position: fixed;
  bottom: -100px;
  right: 24px;
  background-color: var(--forest);
  color: var(--bg-oat);
  border: 3px solid var(--bg-oat);
  padding: 16px 24px;
  z-index: 300;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  bottom: 24px;
}

.toast-message {
  font-size: 14px;
  font-weight: 700;
}

.toast-action {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--pistachio);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
}

/* ============ CARDS & SECTIONS ============ */
.section {
  padding: 60px 0;
  border-bottom: 3px solid var(--forest);
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--forest);
  color: var(--bg-oat);
  border-bottom: 3px solid var(--forest);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--bg-oat);
}

.section-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.section-header h2 {
  font-size: 64px;
  font-weight: normal;
  text-transform: uppercase;
}

.section-header p {
  font-size: 18px;
  color: var(--forest);
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.5;
  font-weight: 500;
}

.section-dark .section-header p {
  color: rgba(241, 233, 218, 0.8);
}

/* ============ PRODUCT CARD ============ */
.product-card {
  background-color: var(--warm-white);
  border: 3px solid var(--forest);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0 var(--forest);
  transition: var(--transition);
}

.product-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--lilac);
}

.product-card-img-wrapper {
  aspect-ratio: 1;
  background-color: var(--bg-oat);
  border: 3px solid var(--forest);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.04em;
}

.product-card-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--forest);
}

.product-card-desc {
  font-size: 14px;
  color: var(--forest);
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border: 2px solid var(--forest);
  background-color: var(--pistachio);
  color: var(--forest);
  text-transform: lowercase;
  border-radius: 4px;
}

.section-dark .tag {
  border-color: var(--bg-oat);
  background-color: var(--lilac);
  color: var(--forest);
}

/* Shared product-card internals (homepage + collection, via snippets/product-card.liquid) */
a.product-card-img-wrapper { display: block; text-decoration: none; }
.product-card-title a { text-decoration: none; color: inherit; }
.pc-img-back { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.product-card:hover .pc-img-back { opacity: 1; }
.product-card:hover .pc-img-front { opacity: 0; transition: opacity 0.45s ease; }
.variant-selector-wrapper { margin-top: 20px; margin-bottom: 24px; }
.variant-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; margin-bottom: 10px; color: var(--forest); font-weight: 700; }
.variant-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  padding: 10px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  cursor: pointer;
  transition: var(--transition);
  text-transform: lowercase;
  box-shadow: 3px 3px 0 var(--forest);
}
.pill.active { background-color: var(--forest); color: var(--bg-oat); box-shadow: 3px 3px 0 var(--lilac); }
.pill:disabled { opacity: 0.4; cursor: not-allowed; }
.product-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.product-actions .qty-control { align-self: flex-start; }
.buy-btns { display: flex; gap: 12px; }
.buy-btns .btn { flex: 1; }
.buy-now-btn { background-color: var(--lilac); color: var(--forest); }
.product-price-save {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--forest);
  background-color: var(--pistachio);
  display: inline-block;
  padding: 2px 6px;
  border: 1.5px solid var(--forest);
  font-weight: 700;
  margin-top: 6px;
}

/* ============ FORM ELEMENTS ============ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  font-family: inherit;
  font-size: 15px;
  color: var(--forest);
  outline: none;
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--forest);
  transition: var(--transition);
}

.form-control:focus {
  background-color: #fff;
  box-shadow: 4px 4px 0 var(--lilac);
}

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

/* ============ SUCCESS CHECKMARK ============ */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 30px auto;
}

.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid var(--pistachio);
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
  content: '';
  height: 100px;
  position: absolute;
  background: var(--warm-white);
  transform: rotate(-45deg);
}

.success-checkmark .check-icon::before {
  width: 30px;
  top: 37px;
  left: 11px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
  width: 60px;
  top: 19px;
  left: 39px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
}

.success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: var(--pistachio);
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
  width: 25px;
  left: 14px;
  top: 46px;
  transform: rotate(45deg);
}

.success-checkmark .check-icon .icon-line.line-long {
  width: 47px;
  right: 8px;
  top: 38px;
  transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(198, 214, 62, 0.2);
  box-sizing: content-box;
  position: absolute;
  z-index: 1;
  top: -4px;
  left: -4px;
}

/* ============ FOOTER ============ */
footer {
  background-color: var(--forest);
  color: var(--bg-oat);
  padding: 100px 0 40px;
  border-top: 3px solid var(--forest);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pistachio);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(241, 233, 218, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  font-weight: 500;
  text-transform: lowercase;
}

.footer-col a:hover {
  color: var(--pistachio);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-mission {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(241, 233, 218, 0.75);
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}

.footer-newsletter-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--bg-oat);
  text-transform: lowercase;
  letter-spacing: -0.03em;
}

.footer-newsletter-form {
  display: flex;
  border-bottom: 3px solid var(--bg-oat);
  padding-bottom: 8px;
  max-width: 320px;
  margin-top: 12px;
}

.footer-newsletter-input {
  flex: 1;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--bg-oat);
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: rgba(241, 233, 218, 0.4);
}

.footer-newsletter-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bg-oat);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-newsletter-btn svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 2px solid rgba(241, 233, 218, 0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(241, 233, 218, 0.4);
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  color: rgba(241, 233, 218, 0.4);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 700;
}

.footer-socials a:hover {
  color: var(--pistachio);
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-logo-col {
    align-items: flex-start;
  }
}

/* Mobile menu (hamburger) — hidden on desktop where .nav-links shows */
.menu-trigger { display: none; }
.mobile-menu {
  display: none;
  background-color: var(--bg-oat);
  border-top: 3px solid var(--forest);
}
.mobile-menu a {
  display: block;
  padding: 16px 24px;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--forest);
  border-bottom: 2px solid var(--sand);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { background-color: var(--pistachio); }

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .menu-trigger { display: flex; }
  .mobile-menu.open { display: block; }
  /* compact header: logo + 3 icon buttons must fit a 360px screen */
  nav { padding: 10px 0; }
  .logo-box {
    font-size: 22px;
    padding: 5px 10px;
    box-shadow: 2px 2px 0 var(--forest);
  }
  .nav-actions { gap: 10px; }
  .nav-icon-btn { width: 38px; height: 38px; }
  .nav-icon-btn svg { width: 17px; height: 17px; }
  .cart-count { width: 17px; height: 17px; font-size: 10px; }
  .marquee-content { font-size: 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section {
    padding: 48px 0;
  }
  .section-header h2 {
    font-size: 44px;
  }
}

/* very narrow phones (e.g. iPhone SE, 320-400px) */
@media (max-width: 400px) {
  .logo-box { font-size: 18px; padding: 4px 8px; }
  .nav-actions { gap: 8px; }
  .nav-icon-btn { width: 36px; height: 36px; }
  .container { padding: 0 16px; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background-color: var(--forest);
  border-bottom: 3px solid var(--forest);
  padding: 24px 0;
  color: var(--bg-oat);
  position: relative;
  z-index: 10;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-icon-box {
  width: 48px;
  height: 48px;
  border: 2px solid var(--bg-oat);
  background-color: var(--pistachio);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--lilac);
  flex-shrink: 0;
}
.trust-icon-box svg {
  width: 24px;
  height: 24px;
  fill: var(--forest);
}
.trust-text-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pistachio);
  margin-bottom: 2px;
}
.trust-text-desc {
  font-size: 13px;
  color: rgba(251, 249, 245, 0.85);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ COMPARISON TABLE ============ */
.comparison-table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border: 3px solid var(--forest);
  box-shadow: 8px 8px 0 var(--forest);
  background-color: var(--warm-white);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border: 2px solid var(--forest);
  font-size: 15px;
  line-height: 1.4;
}
.comparison-table th {
  background-color: var(--forest);
  color: var(--bg-oat);
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-table th:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
}
.comparison-table td:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--forest);
  background-color: var(--cream);
  width: 30%;
}
.comparison-table tr:hover {
  background-color: rgba(186, 207, 44, 0.08);
}
.comparison-table .sg-col {
  background-color: rgba(186, 207, 44, 0.06);
  font-weight: 700;
  width: 35%;
}
.comparison-table .them-col {
  width: 35%;
}
.comparison-check {
  color: var(--forest);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.comparison-cross {
  color: var(--terracotta);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============ INGREDIENTS TRANSPARENCY ============ */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.ingredient-card {
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  padding: 24px;
  box-shadow: 4px 4px 0 var(--forest);
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ingredient-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--lilac);
}
.ingredient-icon-box {
  width: 48px;
  height: 48px;
  border: 2.5px solid var(--forest);
  border-radius: 50%;
  background-color: var(--pistachio);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.ingredient-name {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  text-transform: lowercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.ingredient-desc {
  font-size: 13px;
  color: var(--forest);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .ingredients-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.testimonial-card {
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  padding: 32px;
  box-shadow: 5px 5px 0 var(--forest);
  position: relative;
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--lilac);
}
.testimonial-stars {
  color: var(--pistachio);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--forest);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 2px solid var(--line);
  padding-top: 16px;
}
.testimonial-author-img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--forest);
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--lilac);
}
.testimonial-author-name {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--forest);
}
.testimonial-author-role {
  font-size: 11px;
  color: rgba(11, 30, 23, 0.7);
  font-weight: 600;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============ CO-FOUNDERS STACK ============ */
.founders-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.founder-polaroid {
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  padding: 16px 16px 24px 16px;
  box-shadow: 6px 6px 0 var(--forest);
  transition: var(--transition-spring);
  text-align: center;
  position: relative;
}
.founder-polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--forest);
  margin-bottom: 16px;
  display: block;
}
.founder-polaroid:hover {
  transform: rotate(var(--rot-hover, 2deg)) scale(1.03) !important;
  box-shadow: 8px 8px 0 var(--pistachio);
  z-index: 10;
}
.founder-polaroid-1 { --rot-hover: -3deg; transform: rotate(-1.5deg); }
.founder-polaroid-2 { --rot-hover: 3deg; transform: rotate(1deg); }
.founder-polaroid-3 { --rot-hover: -2deg; transform: rotate(-0.8deg); }
.founder-polaroid-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: lowercase;
  color: var(--forest);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .founders-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-polaroid {
    transform: none !important;
  }
}

/* ============ SCROLL REVEAL & TEXT ROLL-UP ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98) rotate(-0.5deg);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  will-change: transform, opacity;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* premium scroll progress bar */
.scroll-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  pointer-events: none;
  background-color: rgba(251, 249, 245, 0.92);
  border-top: 3px solid var(--forest);
}
.sp-seg {
  flex: 1;
  height: 13px;
  border: 2px solid var(--forest);
  background-color: transparent;
  transform: scale(0.5);
  opacity: 0.45;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, opacity 0.2s ease;
}
/* mixed shapes for a hand-made feel */
.sp-seg:nth-child(3n+1) { border-radius: 50%; }
.sp-seg:nth-child(3n+2) { border-radius: 55% 45% 50% 50% / 50% 50% 45% 55%; }
.sp-seg:nth-child(3n+3) { border-radius: 3px; }
.sp-seg.on { transform: scale(1); opacity: 1; }
/* colour-cycle the filled shapes */
.sp-seg.on:nth-child(4n+1) { background-color: var(--pistachio); }
.sp-seg.on:nth-child(4n+2) { background-color: var(--lilac); }
.sp-seg.on:nth-child(4n+3) { background-color: var(--terracotta); }
.sp-seg.on:nth-child(4n) { background-color: var(--forest); }
@media (max-width: 640px) { .sp-seg:nth-child(n+15) { display: none; } }

/* gentler, more premium native scroll + respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: 0.01ms; }
  .ink-splash { display: none; }
}

/* ---- Pen cursor + ink splash ---- */
.pen-cursor,
.pen-cursor a,
.pen-cursor button,
.pen-cursor .btn,
.pen-cursor summary,
.pen-cursor [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 4C19 3 27 11 26 26 11 27 3 19 4 4Z' fill='%23BACF2C' stroke='%230B1E17' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M5 5C13 12 19 18 25 25' fill='none' stroke='%230B1E17' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 4 4, auto;
}
.pen-cursor input,
.pen-cursor textarea,
.pen-cursor select { cursor: text; }

.ink-splash {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 60% 40% 55% 45%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.85;
  animation: ink-pop 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes ink-pop {
  0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(3.4) rotate(35deg); opacity: 0; }
}

/* ---- Sound toggle ---- */
.sound-toggle {
  position: fixed;
  left: 18px;
  bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  z-index: 9997;
  width: 44px;
  height: 44px;
  border: 3px solid var(--forest);
  background-color: var(--warm-white);
  box-shadow: 3px 3px 0 var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: var(--transition);
}
.sound-toggle:hover { background-color: var(--pistachio); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--forest); }
.sound-toggle svg { width: 20px; height: 20px; }

/* ---- Hand-drawn icons ---- */
.sg-icon {
  width: 1.1em;
  height: 1.1em;
  stroke: var(--forest);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---- Benefit chips (icon + short label) ---- */
.benefit-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 26px; }
.bchip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 3px solid var(--forest); background-color: var(--warm-white);
  border-radius: 100px; padding: 12px 20px;
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700; text-transform: lowercase;
  box-shadow: 3px 3px 0 var(--forest); transition: var(--transition); color: var(--forest);
}
.bchip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--lilac); }
.bchip .sg-icon { width: 24px; height: 24px; stroke-width: 2.2; }

/* ---- Matar the pea mascot ---- */
.sg-pea { display: inline-block; line-height: 0; animation: pea-bob 4.5s ease-in-out infinite; transition: transform 0.3s ease; }
.sg-pea svg { width: 100%; height: 100%; display: block; }
.sg-pea:hover { animation: pea-wiggle 0.5s ease-in-out; }
@keyframes pea-bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes pea-wiggle { 0%,100% { transform: rotate(-6deg); } 25% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .sg-pea { animation: none; } }

/* ---- Add-to-cart confetti ---- */
.confetti-bit {
  position: fixed;
  width: 9px;
  height: 14px;
  z-index: 9998;
  pointer-events: none;
  border: 1.5px solid rgba(11, 30, 23, 0.5);
  transform: translate(-50%, -50%);
  animation: confetti-fly 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes confetti-fly {
  0% { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) translate(var(--dx), calc(var(--dy) + 130px)) rotate(var(--rot)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .confetti-bit { display: none; } }

/* ---- Press micro-interaction on all buttons ---- */
.btn:active,
.pack-pill:active,
.pill:active,
.qty-btn:active { transform: translate(2px, 2px) scale(0.98); }

/* Rollup Text Reveal */
.roll-up-container {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.1;
}
.roll-up-text {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.revealed .roll-up-text {
  transform: translateY(0);
}

/* Flowing Doodle Underline Animation */
@keyframes underline-flow {
  from { background-position-x: 0px; }
  to { background-position-x: 200px; }
}
.doodle-underline, .doodle-underline-green {
  animation: underline-flow 6s linear infinite;
}

/* Interactive 3D Tilt support */
.product-card, .hero-image-frame, .stat-box {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.15s ease-out, box-shadow 0.2s ease;
}
.product-card-img-wrapper, .hero-image-frame img {
  transform: translateZ(15px);
}

