/* =========================================================================
   KRISTA DENIO RECIPES -- style.css
   Art direction : Warm Editorial Farmhouse
   Type pairing  : "Fraunces" (display serif, warm + slightly quirky) for
                   headings, "Inter" (clean grotesque sans) for body/UI.
   Palette       : Cream paper background, deep terracotta primary accent,
                   muted olive secondary, near-black ink text, soft gold
                   for premium/highlight moments. Handled deliberately in
                   both light and dark.
     --paper        #FBF6EE  cream background
     --paper-2      #F3EADC  warm card background
     --ink           #2A241C  near-black warm text
     --ink-soft      #5B5346  muted text
     --terracotta    #C1552E  primary accent (CTAs, links)
     --terracotta-d  #9C4322  hover/darker
     --olive         #5C6B49  secondary accent (tags, success)
     --gold          #C79A3D  premium / highlight
     --line          #E4D9C6  hairline borders
   ========================================================================= */

:root {
  --paper: #FBF6EE;
  --paper-2: #F3EADC;
  --ink: #2A241C;
  --ink-soft: #5B5346;
  --terracotta: #C1552E;
  --terracotta-d: #9C4322;
  --olive: #5C6B49;
  --gold: #C79A3D;
  --line: #E4D9C6;
  --white: #FFFFFF;
  --danger: #B3372C;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(42, 36, 28, 0.08);
  --shadow-lg: 0 16px 48px rgba(42, 36, 28, 0.16);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #211C15;
    --paper-2: #2B241B;
    --ink: #F3EADC;
    --ink-soft: #C9BBA3;
    --line: #3C3325;
    --white: #2B241B;
  }
}
:root[data-theme="dark"] {
  --paper: #211C15;
  --paper-2: #2B241B;
  --ink: #F3EADC;
  --ink-soft: #C9BBA3;
  --line: #3C3325;
  --white: #2B241B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-d); text-decoration: underline; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.kd-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.kd-section { padding: 56px 0; }
.kd-section-tight { padding: 32px 0; }
.kd-center { text-align: center; }
.kd-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--olive);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.kd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--terracotta);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.kd-btn:hover { background: var(--terracotta-d); border-color: var(--terracotta-d); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.kd-btn-outline { background: transparent; color: var(--terracotta); }
.kd-btn-outline:hover { background: var(--terracotta); color: var(--white); }
.kd-btn-dark { background: var(--ink); border-color: var(--ink); }
.kd-btn-dark:hover { background: #000; border-color: #000; }
.kd-btn-small { padding: 9px 18px; font-size: 0.85rem; }
.kd-btn-block { width: 100%; }
.kd-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Marquee ---------- */
.kd-marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.kd-marquee-track {
  display: inline-flex;
  gap: 60px;
  padding: 9px 0;
  animation: kd-marquee 28s linear infinite;
}
.kd-marquee-track span::after { content: '\2022'; margin-left: 60px; color: var(--gold); }
@keyframes kd-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.kd-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.kd-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.kd-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.kd-logo:hover { text-decoration: none; }
.kd-logo .kd-logo-svg { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.kd-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.kd-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.92rem; flex: 1; }
.kd-nav > a { color: var(--ink); }
.kd-nav > a:hover { color: var(--terracotta); text-decoration: none; }
.kd-nav-group { position: relative; }
.kd-nav-group > a { color: var(--ink); }
.kd-dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.kd-nav-group:hover .kd-dropdown { display: flex; }
.kd-dropdown a { padding: 8px 10px; border-radius: 6px; color: var(--ink); font-weight: 500; }
.kd-dropdown a:hover { background: var(--paper-2); text-decoration: none; color: var(--terracotta); }
.kd-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); flex-shrink: 1; min-width: 0; }
.kd-search input { border: none; background: none; padding: 9px 0 9px 14px; width: 140px; min-width: 0; font-family: var(--font-body); color: var(--ink); }
.kd-search input:focus { outline: none; }
.kd-search button {
  border: none; background: var(--terracotta); color: var(--white);
  padding: 9px 16px; cursor: pointer; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.kd-search button:hover { background: var(--terracotta-dark, var(--ink)); }
.kd-header-actions { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }
.kd-header-actions a { color: var(--ink); }
.kd-cart-link { position: relative; display: inline-flex; align-items: center; }
.kd-cart-icon { display: block; vertical-align: middle; }
.kd-cart-badge {
  position: absolute; top: -8px; right: -14px;
  background: var(--terracotta); color: var(--white);
  border-radius: 999px; font-size: 0.65rem; padding: 1px 6px;
  min-width: 16px; text-align: center; line-height: 1.4;
}
.kd-guarantee {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 16px; font-weight: 600;
  font-size: 0.9rem; margin: 10px 0 20px;
}
.kd-nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.kd-nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

.kd-flash { padding: 12px 20px; text-align: center; font-weight: 600; }
.kd-flash-success { background: #E4EEDD; color: var(--olive); }
.kd-flash-error { background: #F6DCD7; color: var(--danger); }

/* ---------- Hero ---------- */
.kd-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.kd-hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.55; }
.kd-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,36,28,0.35) 0%, rgba(42,36,28,0.75) 100%);
}
.kd-hero-content {
  position: relative; z-index: 2; max-width: 640px;
  padding: 60px 20px 60px 0;
  margin-left: max(20px, calc((100% - 1180px) / 2 + 20px));
}
.kd-hero-content h1, .kd-hero-content p { color: var(--paper); }
.kd-hero-content .kd-eyebrow { color: var(--gold); }
.kd-hero-small { min-height: 260px; }
.kd-hero-content.kd-center { margin-left: auto; margin-right: auto; padding: 60px 20px; }

/* ---------- Cards ---------- */
.kd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.kd-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.kd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kd-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.kd-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.kd-card-tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--olive); background: #E4EEDD; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.kd-card-tag-premium { color: #7A5A16; background: #F3E4BC; }
.kd-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.kd-card h3 a { color: var(--ink); }
.kd-card h3 a:hover { color: var(--terracotta); text-decoration: none; }
.kd-card-meta { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.kd-card-desc { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.kd-card-footer { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.kd-price { font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.kd-rating { color: var(--gold); font-weight: 700; font-size: 0.85rem; }

/* ---------- Filters / sidebar ---------- */
.kd-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }

/* ---------- Split layout: main content + a summary/info card
   (cart, checkout, contact) -- content column gets the room it needs,
   the card stays a fixed, readable width instead of squeezing into 260px. ---------- */
.kd-split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.kd-split-layout > *:first-child { min-width: 0; }
.kd-filters { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.kd-filters h4 { margin-bottom: 10px; font-size: 0.95rem; }
.kd-filters fieldset { border: none; padding: 0; margin: 0 0 20px; }
.kd-filters label { display: block; font-size: 0.9rem; margin-bottom: 6px; cursor: pointer; }
.kd-filters select, .kd-filters input[type="number"] { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }

/* ---------- Forms ---------- */
.kd-form { max-width: 520px; }
.kd-form-row { margin-bottom: 18px; }
.kd-form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.kd-form-row input, .kd-form-row select, .kd-form-row textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
}
.kd-form-row textarea { resize: vertical; min-height: 120px; }
.kd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kd-form-help { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.kd-form-error { color: var(--danger); font-weight: 600; margin-bottom: 16px; }

/* ---------- Recipe detail ---------- */
.kd-recipe-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.kd-recipe-head img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.kd-stat-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kd-stat { font-size: 0.85rem; color: var(--ink-soft); }
.kd-stat strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.kd-highlights { list-style: none; padding: 0; margin: 18px 0; }
.kd-highlights li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.kd-highlights li::before { content: '\2713'; position: absolute; left: 0; color: var(--olive); font-weight: 700; }
.kd-recipe-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: 46px; margin-top: 40px; align-items: start; }
.kd-ingredients ul { list-style: none; padding: 0; }
.kd-ingredients li { padding: 9px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.kd-steps { counter-reset: step; list-style: none; padding: 0; }
.kd-steps li { counter-increment: step; padding: 0 0 22px 52px; position: relative; margin-bottom: 4px; }
.kd-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.kd-tips { background: var(--paper-2); border-radius: var(--radius); padding: 20px 22px; margin-top: 24px; }
.kd-nutrition-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.kd-nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; margin-top: 12px; }
.kd-nutrition-grid div strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.kd-nutrition-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Paywall ---------- */
.kd-paywall {
  background: linear-gradient(180deg, transparent, var(--paper) 70%), var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; margin-top: 20px;
}
.kd-paywall h3 { margin-bottom: 10px; }

/* ---------- Product detail ---------- */
.kd-product-head { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.kd-product-head img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; background: var(--white); }
.kd-sku { font-size: 0.8rem; color: var(--ink-soft); }
.kd-specs-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.kd-specs-table th, .kd-specs-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.kd-specs-table th { color: var(--ink-soft); font-weight: 600; width: 40%; }
.kd-qty-input { width: 70px; padding: 9px; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- Cart / checkout ---------- */
.kd-contact-heading { margin-bottom: 8px; }
.kd-contact-sub { color: var(--ink-soft); margin-bottom: 24px; max-width: 46ch; }
.kd-contact-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 90px;
}
.kd-contact-card h3 { margin-bottom: 18px; }
.kd-contact-list { display: flex; flex-direction: column; gap: 18px; }
.kd-contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.kd-contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--terracotta); }
.kd-contact-list li span { color: var(--ink); line-height: 1.5; }
.kd-contact-divider { border: none; border-top: 1px solid var(--line); margin: 22px 0; }

.kd-cart-table-wrap { overflow-x: auto; }
.kd-cart-table { width: 100%; min-width: 480px; border-collapse: collapse; }
.kd-cart-table th, .kd-cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.kd-cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.kd-cart-summary { background: var(--paper-2); border-radius: var(--radius); padding: 22px; }
.kd-cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.kd-cart-summary-row.total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- Team / about ---------- */
.kd-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.kd-team-card { text-align: center; }
.kd-team-card img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; margin: 0 auto 14px; box-shadow: var(--shadow); }
.kd-team-card .role { color: var(--terracotta); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }

/* ---------- Blog ---------- */
.kd-blog-body { max-width: 720px; margin: 0 auto; }
.kd-blog-body h3 { margin-top: 1.6em; }
.kd-blog-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 24px; }

/* ---------- Legal ---------- */
.kd-legal { max-width: 780px; margin: 0 auto; }
.kd-legal h2 { margin-top: 1.6em; }

/* ---------- FAQ ---------- */
.kd-faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.kd-faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.kd-faq-item p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.kd-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; max-width: 760px; margin: 0 auto; }
.kd-pricing-card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.kd-pricing-card.featured { border-color: var(--terracotta); position: relative; }
.kd-pricing-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--terracotta); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.kd-pricing-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 12px 0; }
.kd-pricing-price span { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); }
.kd-pricing-card ul { list-style: none; padding: 0; text-align: left; margin: 18px 0; }
.kd-pricing-card ul li { padding: 6px 0 6px 26px; position: relative; }
.kd-pricing-card ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--olive); font-weight: 700; }

/* ---------- Pagination ---------- */
.kd-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.kd-pagination a, .kd-pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.kd-pagination .active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }

/* ---------- Empty state ---------- */
.kd-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.kd-footer { background: var(--ink); color: var(--paper); margin-top: 60px; }
.kd-footer-inner { max-width: 1180px; margin: 0 auto; padding: 50px 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.kd-footer-col a { display: block; color: var(--paper); opacity: 0.8; margin-bottom: 8px; }
.kd-footer-col a:hover { opacity: 1; text-decoration: underline; }
.kd-footer-col h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.kd-footer-tagline { opacity: 0.7; font-style: italic; font-family: var(--font-display); }
.kd-logo-mark-footer { margin-bottom: 10px; }
.kd-logo-mark-footer .kd-logo-svg { width: 48px; height: 48px; display: block; }
.kd-footer-bottom { border-top: 1px solid rgba(251,246,238,0.15); padding: 18px 20px; text-align: center; font-size: 0.8rem; opacity: 0.7; }

/* ---------- Cookie banner / toasts ---------- */
.kd-cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 520px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px; z-index: 100;
}
.kd-cookie-actions { display: flex; gap: 10px; margin-top: 14px; }
.kd-toast-wrap { position: fixed; top: 90px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.kd-toast { background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 0.9rem; font-weight: 600; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  /* The search box is the first thing to give way to a crowded header --
     it stays reachable via the footer's Search link and the /search page. */
  .kd-search { display: none; }
}
@media (max-width: 980px) {
  .kd-layout { grid-template-columns: 1fr; }
  .kd-split-layout { grid-template-columns: 1fr; }
  .kd-recipe-body { grid-template-columns: 1fr; }
  .kd-recipe-head, .kd-product-head { grid-template-columns: 1fr; }
  .kd-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .kd-nav, .kd-search, .kd-header-actions a:not(.kd-cart-link) { display: none; }
  .kd-nav-toggle { display: flex; }
  .kd-header-inner { flex-wrap: wrap; }
  .kd-nav.kd-nav-open {
    display: flex; flex-direction: column; width: 100%;
    order: 10; padding-top: 14px; border-top: 1px solid var(--line);
  }
  .kd-dropdown { position: static; display: flex; box-shadow: none; border: none; padding-left: 12px; }
  .kd-nav-group:hover .kd-dropdown { display: none; }
  .kd-nav-group.kd-open .kd-dropdown { display: flex; }
}
@media (max-width: 480px) {
  .kd-footer-inner { grid-template-columns: 1fr; }
  .kd-form-grid { grid-template-columns: 1fr; }
  .kd-nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .kd-pricing-grid { grid-template-columns: 1fr; }
  .kd-container, .kd-header-inner { padding-left: 16px; padding-right: 16px; }
  .kd-hero-content { margin-left: max(16px, calc((100% - 1180px) / 2 + 16px)); }
  .kd-hero-content.kd-center { margin-left: auto; }
}
