:root {
  --bg: #fff8f1;
  --surface: #fffdf9;
  --surface-2: #f7ede2;
  --text: #241612;
  --muted: #6f5a51;
  --line: #e8d8cb;
  --brand: #8b1e14;
  --brand-dark: #6f140d;
  --accent: #d97706;
  --accent-soft: #fff0d9;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(70, 28, 12, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

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

.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 10px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /*padding: 16px 0;*/
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
}

/* Replaces .brand-mark for fluidly rendering the image file */
.brand-logo {
  display: block;
  height: 100px;       /* Fixed desktop height keeping your header proportional */
  width: auto;        /* Maintains aspect ratio perfectly */
  object-fit: contain;
}

.brand-text {
  /* Kept inline to accompany logo if needed, but styled nicely */
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.01em;
}


.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.nav-link.is-active {
  color: var(--brand);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.cart-link:hover {
  text-decoration: none;
  background: var(--surface-2);
}

main {
  display: block;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a4b00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(38px, 6vw, 62px);
  max-width: 10ch;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 22px;
}

.hero p,
.section-intro,
.card p,
.faq-item p,
.cta-box p,
.muted {
  color: var(--muted);
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 10px;
  margin: 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

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

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

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.hero-panel {
  background: linear-gradient(180deg, #fff7ee, #fffdf9);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.heat-card {
  display: grid;
  gap: 14px;
}

.meter {
  height: 14px;
  background: #f3ddd2;
  border-radius: 999px;
  overflow: hidden;
}

.meter > span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #dc2626, #7f1d1d);
}

.quick-points {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.quick-points div {
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #8a4b00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price {
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.learn-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.learn-card a {
  font-size: 18px;
  font-weight: 700;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare .card {
  height: 100%;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.cta {
  padding: 20px 0 64px;
}

.cta-box {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #7f1d1d, #b91c1c, #ea580c);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.9);
}

.cta-box .btn-primary {
  background: #fff;
  color: #7f1d1d;
}

.cta-box .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.site-footer {
  background: #fffaf5;
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .footer-grid,
  .compare,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    padding-top: 36px;
  }

  .container {
    width: min(var(--max), calc(100% - 22px));
  }
}

.guide-page .card p + p,
.guide-page .faq-item p + p {
  margin-top: 14px;
}

.guide-page .card,
.guide-page .faq-item {
  content-visibility: auto;
}

.guide-page .hero h1 {
  max-width: 15ch;
}
.guide-page .footer-links a {
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.pepper-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.pepper-table th,
.pepper-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.pepper-table th {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pepper-table td {
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: #fff;
}

.product-media img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
}

.product-summary h1 {
  margin-bottom: 10px;
}

.product-subtitle {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 18px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 14px;
  font-weight: 700;
}

.product-points {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.product-points div {
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: auto;
  }

  .product-media img {
    max-height: 420px;
  }
}

.variant-card img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.variant-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-page .product-card .hero-actions {
  margin-top: auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}

.cart-item-main h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.cart-update-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cart-update-form input[type="number"] {
  width: 84px;
}

.cart-remove-form,
.empty-cart-form {
  margin-top: 12px;
}

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

.shipping-note {
  margin: 12px 0 18px;
  color: #92400e;
}

.shipping-note--good {
  color: #166534;
}

.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 88px 1fr;
  }

  .cart-item-total {
    grid-column: 2;
  }

  .cart-summary {
    position: static;
  }
}

.announcement-bar {
  background: #28251d;
  color: #f9f8f4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 1rem;
  text-align: center;
}

.announcement-bar p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.announcement-bar__icon {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1rem;
  vertical-align: -0.05em;
}

@media (max-width: 640px) {
  .announcement-bar__inner {
    min-height: 44px;
    padding: 0.625rem 0.875rem;
  }

  .announcement-bar p {
    font-size: 0.875rem;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
}