/* ==========================================================================
   Aucilla River Raw Honey
   Palette pulled from the reference boards: warm cream paper, honey amber,
   deep comb brown. Display type is a high-contrast serif; body is a quiet sans
   so prices and form labels stay easy to scan.
   ========================================================================== */

:root {
  --cream: #fdf8ef;
  --cream-deep: #f7edda;
  --paper: #fffdf9;

  --honey: #e0a526;
  --honey-deep: #c88512;
  --honey-glow: #fbd77a;
  --amber-wash: #fbeccb;

  --bark: #3a2a1b;
  --bark-soft: #6b5540;
  --bark-faint: #9b8471;

  --line: #e8dcc6;
  --line-strong: #d8c6a6;

  --success: #2f7d4f;
  --danger: #a8352b;

  --shadow-sm: 0 1px 2px rgba(58, 42, 27, 0.06), 0 2px 8px rgba(58, 42, 27, 0.04);
  --shadow-md: 0 4px 12px rgba(58, 42, 27, 0.07), 0 12px 32px rgba(58, 42, 27, 0.06);
  --shadow-lg: 0 12px 28px rgba(58, 42, 27, 0.1), 0 32px 64px rgba(58, 42, 27, 0.08);

  --radius: 14px;
  --radius-lg: 22px;

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--honey-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--bark);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--honey);
  --btn-fg: var(--bark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
  box-shadow: 0 2px 0 rgba(58, 42, 27, 0.14);
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 133, 18, 0.32);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  --btn-bg: transparent;
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--amber-wash);
  border-color: var(--honey);
  box-shadow: none;
}

.btn--dark {
  --btn-bg: var(--bark);
  --btn-fg: var(--cream);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 248, 239, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header[data-stuck='true'] {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bark-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--bark-soft);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.16s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--honey);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.nav a:hover {
  color: var(--bark);
}

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

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.cart-btn:hover {
  border-color: var(--honey);
  background: var(--amber-wash);
}

.cart-btn__count {
  min-width: 21px;
  height: 21px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  border-radius: 100px;
  background: var(--honey);
  color: var(--bark);
  font-size: 0.72rem;
  font-weight: 700;
  transform: scale(0);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-btn__count[data-visible='true'] {
  transform: scale(1);
}

.cart-btn.is-bumping {
  animation: bump 0.35s ease;
}

@keyframes bump {
  50% {
    transform: scale(1.08);
  }
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.28s ease;
  }
  .nav[data-open='true'] {
    transform: translateY(0);
  }
  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a::after {
    display: none;
  }
  .nav-toggle {
    display: block;
    order: 3;
  }
  .cart-btn span:not(.cart-btn__count) {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 1.4rem;
}

.hero__eyebrow::before {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--honey);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.4rem);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--honey-deep);
}

.hero__lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--bark-soft);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}

/* The amber disc that sits behind the jar, straight off the reference board. */
.hero__art::before {
  content: '';
  position: absolute;
  width: min(94%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--honey-glow), var(--honey) 68%);
  filter: blur(0.5px);
  z-index: 0;
}

/* Direct child only — the floating bees are also svgs inside .hero__art. */
.hero__art > img {
  position: relative;
  z-index: 1;
  width: min(78%, 330px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(58, 42, 27, 0.22));
}

.hero__floaty {
  position: absolute;
  z-index: 2;
  animation: drift 7s ease-in-out infinite;
}

.hero__floaty--1 {
  top: 8%;
  left: 4%;
  width: 34px;
}

.hero__floaty--2 {
  bottom: 14%;
  right: 6%;
  width: 26px;
  animation-delay: -3.2s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(5deg);
  }
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 560px;
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.trust__item svg {
  width: 30px;
  height: 30px;
  color: var(--honey-deep);
}

.trust__item h3 {
  font-family: var(--body);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.4;
}

.trust__item p {
  font-size: 0.79rem;
  color: var(--bark-faint);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__lede {
    margin-inline: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__art {
    order: -1;
    margin-bottom: 1rem;
  }
  .hero__art > img {
    width: min(62%, 250px);
  }
  .trust {
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .trust {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 320px;
  }
  .trust__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .trust__item svg {
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }
}

/* --------------------------------------------------------------------------
   Section furniture
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section--wash {
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}

.section__head {
  max-width: 620px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 0.9rem;
}

.section__head h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  margin-bottom: 0.9rem;
}

.section__head p {
  color: var(--bark-soft);
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.9rem);
  align-items: start;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2.4rem 1.5rem 1.6rem;
  background:
    radial-gradient(ellipse 62% 52% at 50% 62%, var(--amber-wash), transparent 72%),
    var(--cream);
  min-height: 250px;
}

.card__media svg,
.card__media img {
  width: auto;
  height: 190px;
  filter: drop-shadow(0 14px 20px rgba(58, 42, 27, 0.16));
  transition: transform 0.3s ease;
}

.card:hover .card__media svg,
.card:hover .card__media img {
  transform: scale(1.045) translateY(-3px);
}

.card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--bark);
  color: var(--cream);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.7rem;
  border-top: 1px solid var(--line);
}

.card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.card__name {
  font-size: 1.32rem;
}

.card__price {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--honey-deep);
  white-space: nowrap;
}

.card__size {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark-faint);
  margin-bottom: 0.85rem;
}

.card__blurb {
  font-size: 0.9rem;
  color: var(--bark-soft);
  margin-bottom: 1.5rem;
  flex: 1;
}

.card__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  background: var(--paper);
  flex: none;
}

.qty button {
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--bark-soft);
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 100px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.qty button:hover:not(:disabled) {
  color: var(--bark);
  background: var(--amber-wash);
}

.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty output {
  min-width: 26px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card__actions .btn {
  flex: 1;
  padding-inline: 1rem;
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.story {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.story__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--cream-deep), var(--amber-wash));
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.story__art svg {
  width: 100%;
  max-width: 300px;
  color: var(--honey-deep);
}

.story h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  margin-bottom: 1.3rem;
}

.story p {
  color: var(--bark-soft);
  margin-bottom: 1.1rem;
  max-width: 56ch;
}

.story__sig {
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.story__sig strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.story__sig span {
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bark-faint);
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story__art {
    aspect-ratio: 16 / 10;
    max-height: 300px;
  }
}

/* --------------------------------------------------------------------------
   Facts strip
   -------------------------------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.fact {
  padding: 1.75rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fact:hover {
  border-color: var(--honey);
  transform: translateY(-3px);
}

.fact svg {
  width: 28px;
  height: 28px;
  color: var(--honey-deep);
  margin-bottom: 0.9rem;
}

.fact h3 {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fact p {
  font-size: 0.87rem;
  color: var(--bark-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  transition: color 0.15s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--honey-deep);
}

.faq summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--honey-deep);
  border-bottom: 2px solid var(--honey-deep);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.22s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}

.faq details p {
  padding-bottom: 1.35rem;
  color: var(--bark-soft);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(58, 42, 27, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.scrim[data-open='true'] {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.drawer[data-open='true'] {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem var(--gutter);
  border-bottom: 1px solid var(--line);
  flex: none;
}

.drawer__head h2 {
  font-size: 1.35rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--bark-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: var(--amber-wash);
  color: var(--bark);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem var(--gutter);
}

.drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--bark-faint);
}

.drawer__empty svg {
  width: 52px;
  color: var(--line-strong);
}

.line-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 0.95rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.line-item__media {
  display: grid;
  place-items: center;
  height: 62px;
  border-radius: 10px;
  background: var(--amber-wash);
  padding: 6px;
}

.line-item__media svg,
.line-item__media img {
  height: 100%;
  width: auto;
}

.line-item__name {
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.3;
}

.line-item__size {
  font-size: 0.74rem;
  color: var(--bark-faint);
  margin-bottom: 0.5rem;
}

.line-item__qty {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.line-item__qty button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--bark-soft);
}

.line-item__qty button:hover:not(:disabled) {
  border-color: var(--honey);
  color: var(--bark);
}

.line-item__qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.line-item__qty output {
  min-width: 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.line-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.line-item__price {
  font-weight: 600;
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums;
}

.line-item__remove {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 0.74rem;
  color: var(--bark-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.line-item__remove:hover {
  color: var(--danger);
}

.drawer__foot {
  flex: none;
  padding: 1.25rem var(--gutter) 1.6rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.drawer__note {
  font-size: 0.78rem;
  color: var(--bark-faint);
  text-align: center;
  margin-top: 0.85rem;
}

.totals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--bark-soft);
}

.totals__row span:last-child {
  font-variant-numeric: tabular-nums;
}

.totals__row--free span:last-child {
  color: var(--success);
  font-weight: 600;
}

.totals__row--grand {
  padding-top: 0.7rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bark);
}

/* --------------------------------------------------------------------------
   Checkout page
   -------------------------------------------------------------------------- */

.checkout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 3.5rem) 5rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.panel + .panel {
  margin-top: 1.25rem;
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}

.panel__step {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--bark);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
}

.summary {
  position: sticky;
  top: 100px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bark-soft);
}

.field label .opt {
  font-weight: 400;
  color: var(--bark-faint);
  text-transform: none;
  letter-spacing: 0;
}

.field input,
.field textarea,
.field select {
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.94rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--honey);
  box-shadow: 0 0 0 3.5px rgba(224, 165, 38, 0.18);
}

.field input[aria-invalid='true'] {
  border-color: var(--danger);
}

.field textarea {
  resize: vertical;
  min-height: 82px;
}

.field__error {
  font-size: 0.76rem;
  color: var(--danger);
  min-height: 1em;
}

/* Fulfillment picker */
.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.choice:hover {
  border-color: var(--honey);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice:has(input:checked) {
  border-color: var(--honey);
  background: var(--amber-wash);
  box-shadow: 0 0 0 3px rgba(224, 165, 38, 0.16);
}

.choice:has(input:focus-visible) {
  outline: 2.5px solid var(--honey-deep);
  outline-offset: 3px;
}

.choice__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.choice__hint {
  font-size: 0.78rem;
  color: var(--bark-soft);
  line-height: 1.4;
}

/* Square card container */
#card-container {
  min-height: 92px;
  padding: 0.35rem 0.1rem;
}

.pay-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--bark-faint);
  line-height: 1.5;
}

.pay-note svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--success);
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.87rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.alert svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.alert--error {
  background: #fbeceb;
  border: 1px solid #eecfcc;
  color: #7d2820;
}

.alert--info {
  background: var(--amber-wash);
  border: 1px solid var(--line-strong);
  color: var(--bark-soft);
}

.summary__items {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.summary__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.summary__item:last-child {
  border-bottom: 0;
}

.summary__thumb {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 8px;
  background: var(--amber-wash);
  padding: 4px;
}

.summary__thumb svg,
.summary__thumb img {
  height: 100%;
  width: auto;
}

.summary__qty {
  font-size: 0.76rem;
  color: var(--bark-faint);
}

.summary__price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(58, 42, 27, 0.25);
  border-top-color: var(--bark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 940px) {
  .checkout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 520px) {
  .field-grid,
  .choices {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Confirmation
   -------------------------------------------------------------------------- */

.confirm {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.confirm__badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber-wash);
  border: 2px solid var(--honey);
  color: var(--honey-deep);
  animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm__badge svg {
  width: 36px;
  height: 36px;
}

@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}

.confirm h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.confirm p {
  color: var(--bark-soft);
  margin-bottom: 1rem;
}

.confirm__order {
  display: inline-block;
  margin: 0.5rem 0 1.75rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bark);
  color: var(--cream-deep);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.site-footer a {
  color: var(--honey-glow);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(253, 248, 239, 0.14);
}

.footer__brand .brand__name {
  color: var(--cream);
}

.footer__brand .brand__tag {
  color: rgba(253, 248, 239, 0.5);
}

.footer__brand p {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: rgba(253, 248, 239, 0.72);
  max-width: 38ch;
}

.footer__col h3 {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.89rem;
}

.footer__col a {
  color: rgba(253, 248, 239, 0.82);
}

.footer__col a:hover {
  color: var(--honey-glow);
}

.footer__bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.79rem;
  color: rgba(253, 248, 239, 0.55);
}

@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}
