:root {
  --bg: #fff9f2;
  --bg-soft: #fff2e4;
  --card: #ffffff;
  --line: #ead6bf;
  --brown: #4d2f1f;
  --brown-soft: #76533d;
  --orange: #d8661f;
  --orange-dark: #b94e10;
  --gold: #e9b071;
  --cream: #f8ebdc;
  --success: #2f7a4d;
  --shadow: 0 20px 46px rgba(88, 49, 20, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(232, 139, 68, 0.13), transparent 34rem),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 54%, #fff6ec 100%);
  color: var(--brown);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

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

.topbar {
  background: var(--orange);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.topbar-inner span::before {
  content: "•";
  margin-right: 8px;
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 242, 0.94);
  border-bottom: 1px solid rgba(234, 214, 191, 0.82);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 235px;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 10px 24px rgba(88, 49, 20, 0.10);
}

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

.brand-text strong {
  color: var(--orange);
  font-family: "Lobster Two", cursive;
  font-size: 2.05rem;
}

.brand-text em {
  margin-top: 5px;
  color: var(--brown-soft);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 800;
}

.main-nav a {
  padding: 8px 0;
  color: var(--brown);
  transition: color 0.18s ease;
}

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

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brown);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.cart-toggle,
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  padding: 12px 18px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cart-toggle:hover,
.checkout-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.88rem;
}

.hero {
  padding: 54px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.bundle-card h2,
.shipping-card h2 {
  margin: 0;
  color: var(--brown);
  font-family: "Lobster Two", cursive;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 7.4vw, 5.8rem);
}

.hero-text {
  max-width: 68ch;
  margin: 20px 0 26px;
  color: var(--brown-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  border: 2px solid var(--orange);
  background: #fff;
  color: var(--orange-dark);
}

.btn-light {
  background: #fff;
  color: var(--orange-dark);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.point-card,
.feature-card,
.shipping-card,
.faq-list details,
.product-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.point-card {
  border-radius: var(--radius-md);
  padding: 18px;
}

.point-icon,
.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #fff0df;
  font-size: 1.25rem;
}

.point-card h3,
.feature-card h3,
.product-title,
.shipping-card h3 {
  margin: 0 0 6px;
  color: var(--brown);
}

.point-card p,
.feature-card p,
.shipping-card p,
.product-subtitle,
.product-desc,
.faq-list p,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer span {
  color: var(--brown-soft);
}

.point-card p,
.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-video-card,
.hero-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-video-card {
  max-width: 300px;
  justify-self: end;
  border-radius: 28px;
  padding: 10px;
  transform: rotate(1.5deg);
}

.hero-video-card video {
  width: 100%;
  border-radius: 20px;
}

.hero-product-card {
  border-radius: 36px;
  padding: 14px;
  margin-top: -20px;
}

.hero-product-card img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.notice-strip {
  padding: 4px 0 40px;
}

.notice-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px dashed rgba(216, 102, 31, 0.45);
  border-radius: 22px;
  background: var(--cream);
}

.notice-link {
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
}

.shop-section,
.process-section,
.shipping-section,
.faq-section {
  padding: 34px 0 58px;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2,
.shipping-card h2 {
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--brown-soft);
  font-size: 1.04rem;
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.product-image-wrap {
  padding: 14px;
  background: linear-gradient(180deg, #fff1df 0%, #fffaf5 100%);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
}

.product-content {
  padding: 22px;
}

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

.product-title {
  font-size: 1.34rem;
}

.product-subtitle {
  margin: 0;
  font-weight: 700;
}

.ship-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #f2d2b1;
  border-radius: 999px;
  background: #fff1e3;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-desc {
  min-height: 86px;
  margin: 0 0 16px;
}

.option-label {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 0.94rem;
  font-weight: 900;
}

.bag-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.bag-button {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--brown);
  padding: 11px 8px;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.bag-button:hover,
.bag-button.active {
  border-color: var(--orange);
  background: #fff0e3;
  color: var(--orange-dark);
}

.bag-button strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
}

.bag-button span {
  display: block;
  margin-top: 5px;
  color: var(--brown-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-label {
  color: var(--brown-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-value {
  color: var(--brown);
  font-size: 1.34rem;
  font-weight: 900;
}

.add-cart-btn {
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  padding: 12px 17px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease;
}

.add-cart-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.bundle-section {
  padding: 4px 0 58px;
}

.bundle-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--orange) 0%, #e9914b 100%);
  box-shadow: var(--shadow);
  color: #fff;
  padding: 30px;
}

.bundle-card .eyebrow,
.bundle-card h2,
.bundle-card p {
  color: #fff;
}

.bundle-card h2 {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.bundle-card p {
  max-width: 64ch;
  margin: 12px 0 0;
}

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

.feature-card,
.shipping-card {
  border-radius: 24px;
  padding: 22px;
}

.shipping-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.shipping-card h2 {
  margin-bottom: 16px;
}

.shipping-card p {
  margin: 0;
}

.warm-card {
  background: #fff0df;
}

.bullet-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--brown-soft);
}

.bullet-list li + li {
  margin-top: 10px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 900;
}

.faq-list {
  max-width: 850px;
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.faq-list details {
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--brown);
  font-weight: 900;
  list-style: none;
}

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

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7e7d6;
  padding-top: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 26px;
  padding-bottom: 28px;
}

.footer-brand img {
  width: 130px;
  margin-bottom: 12px;
}

.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  padding: 12px 14px;
}

.newsletter-form button {
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  padding: 12px 16px;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(77, 47, 31, 0.13);
  font-size: 0.92rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  background: rgba(31, 18, 10, 0.38);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cart-overlay.open {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  width: min(430px, 100%);
  height: 100vh;
  flex-direction: column;
  transform: translateX(100%);
  border-left: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: -16px 0 40px rgba(60, 35, 17, 0.14);
  transition: transform 0.25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 18px 14px;
}

.cart-header h3 {
  margin: 0;
  color: var(--brown);
  font-size: 1.3rem;
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 1.8rem;
  line-height: 1;
}

.cart-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 16px 18px 20px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item,
.cart-empty,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.cart-empty p {
  margin: 0;
}

.cart-empty p + p {
  margin-top: 8px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-title {
  margin: 0 0 4px;
  color: var(--brown);
  font-weight: 900;
}

.cart-item-meta {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

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

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff7ef;
  color: var(--brown);
  font-weight: 900;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  font-weight: 900;
}

.cart-summary {
  margin-top: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.discount-row {
  color: var(--success);
}

.total-row {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--brown);
  font-size: 1.1rem;
}

.bundle-note,
.shipping-note {
  margin: 10px 0 0;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.checkout-btn {
  width: 100%;
  margin-top: 14px;
  background: var(--orange);
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 4;
    width: 100%;
  }

  .hero-grid,
  .shipping-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 720px;
    margin: 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .brand-text strong {
    font-size: 1.58rem;
  }

  .brand-text em {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 10px 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-points,
  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .notice-strip-inner,
  .bundle-card,
  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .notice-link,
  .btn,
  .add-cart-btn {
    width: 100%;
  }

  .bag-options {
    grid-template-columns: 1fr;
  }

  .hero-video-card {
    justify-self: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

.checkout-message {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.checkout-message.error {
  color: #a5381d;
  font-weight: 800;
}

.checkout-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 44px 16px;
  background: radial-gradient(circle at top left, #fff3e3, var(--bg));
}

.status-card {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-card img {
  width: 150px;
  margin: 0 auto 18px;
}

.status-card h1 {
  margin: 0 0 12px;
  font-family: "Lobster Two", cursive;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.status-card p {
  color: var(--brown-soft);
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Dynamic checkout additions */
.auto-pricing-section {
  padding: 0 0 46px;
}

.auto-pricing-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: center;
  background: #fff7ed;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.auto-pricing-copy h2 {
  margin: 0 0 10px;
  font-family: "Lobster Two", cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.auto-pricing-copy p:last-child {
  margin: 0;
  color: var(--brown-soft);
}

.auto-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.auto-pricing-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.auto-pricing-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.auto-pricing-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.auto-pricing-grid p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.94rem;
}

.cart-item-deal {
  margin: 6px 0 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .auto-pricing-panel,
  .auto-pricing-grid {
    grid-template-columns: 1fr;
  }
}

