/* Nourcery theme — main stylesheet
   Palette from the Nourcery label prints: kitchen indigo, curry leaf, turmeric, chilli. */

:root {
  --indigo: #1e2a4a;
  --indigo-2: #2b3a63;
  --leaf: #2f6b3a;
  --leaf-dark: #23522c;
  --turmeric: #e3a72f;
  --turmeric-soft: #f7e3b5;
  --chilli: #b8322a;
  --sage: #eef2ea;
  --sage-2: #e2e9dc;
  --line: #dfe3da;
  --ink: #1d2433;
  --muted: #5c6474;
  --white: #ffffff;

  --meal-breakfast: #f2c14e;
  --meal-lunch: #3f7d4a;
  --meal-tea: #c4542f;
  --meal-dinner: #1e2a4a;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
  --step-5: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 72px;
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e3a72f' stroke-width='1.4'%3E%3Cpath d='M28 14c4 5 4 9 0 14-4-5-4-9 0-14zM28 42c4-5 4-9 0-14-4 5-4 9 0 14zM14 28c5-4 9-4 14 0-5 4-9 4-14 0zM42 28c-5-4-9-4-14 0 5 4 9 4 14 0z'/%3E%3Ccircle cx='28' cy='28' r='2.2' fill='%23e3a72f' stroke='none'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='56' cy='0' r='3'/%3E%3Ccircle cx='0' cy='56' r='3'/%3E%3Ccircle cx='56' cy='56' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --motif-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231e2a4a' stroke-width='1.4'%3E%3Cpath d='M28 14c4 5 4 9 0 14-4-5-4-9 0-14zM28 42c4-5 4-9 0-14-4 5-4 9 0 14zM14 28c5-4 9-4 14 0-5 4-9 4-14 0zM42 28c-5-4-9-4-14 0 5 4 9 4 14 0z'/%3E%3Ccircle cx='28' cy='28' r='2.2' fill='%231e2a4a' stroke='none'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='56' cy='0' r='3'/%3E%3Ccircle cx='0' cy='56' r='3'/%3E%3Ccircle cx='56' cy='56' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--indigo); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--white); padding: 10px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--sage { background: var(--sage); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.section-link { font-weight: 600; white-space: nowrap; }

/* Buttons */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--step--1)/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--leaf); color: var(--white); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--leaf-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--indigo); }
.btn--light:hover { background: var(--sage); color: var(--indigo); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt { background: var(--leaf); color: var(--white); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--leaf-dark); }

/* Top bar */
.topbar { background: var(--indigo); color: #e8ebf3; font-size: var(--step--1); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar p { margin: 0; }
@media (max-width: 640px) { .topbar .topbar-extra { display: none; } .topbar .wrap { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo); }
.site-logo img { max-height: 52px; width: auto; }
.site-logo .wordmark { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .02em; }
.header-search { max-width: 520px; width: 100%; justify-self: center; }
.header-search form { display: flex; align-items: center; background: var(--sage); border-radius: 999px; padding: 4px 4px 4px 18px; border: 1px solid transparent; }
.header-search form:focus-within { border-color: var(--leaf); background: var(--white); }
.header-search input[type="search"] { flex: 1; border: 0; background: transparent; font: inherit; padding: 8px 0; min-width: 0; color: var(--ink); }
.header-search input[type="search"]:focus { outline: none; }
.header-search button { border: 0; background: var(--leaf); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--indigo); text-decoration: none; }
.icon-link:hover { background: var(--sage); color: var(--indigo); }
.icon-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--turmeric); color: var(--indigo); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-toggle { display: none; }

.primary-nav { border-top: 1px solid var(--line); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.primary-nav ul::-webkit-scrollbar { display: none; }
.primary-nav a { display: block; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--step--1); white-space: nowrap; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-product_cat-ancestor > a { color: var(--leaf); border-bottom-color: var(--leaf); }
.primary-nav .sub-menu { display: none; }

@media (max-width: 900px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 8px; }
  .site-logo { justify-self: start; }
  .menu-toggle { display: inline-grid; background: none; border: 0; padding: 0; cursor: pointer; }
  .header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 12px; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav.is-open ul { flex-direction: column; padding: 8px 0 16px; }
  .header-actions .hide-sm { display: none; }
}

/* HERO: meals of the day */
.meals { padding: 20px 0 0; }
.meals-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.meals-head h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin: 0; max-width: 22ch; }
.meals-head .meals-now { margin: 0; color: var(--muted); font-size: var(--step--1); }
.meals-track { display: flex; gap: 10px; height: clamp(440px, 58vh, 560px); }
.meal {
  --meal-bg: var(--meal-breakfast);
  --meal-fg: var(--indigo);
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius-l); overflow: hidden;
  background: var(--meal-bg); color: var(--meal-fg);
  transition: flex-grow .5s cubic-bezier(.2,.7,.2,1);
}
.meal[data-meal="lunch"] { --meal-bg: var(--meal-lunch); --meal-fg: #fff; }
.meal[data-meal="tea"] { --meal-bg: var(--meal-tea); --meal-fg: #fff; }
.meal[data-meal="dinner"] { --meal-bg: var(--meal-dinner); --meal-fg: #fff; }
.meal.is-open { flex-grow: 5; }
.meal-tab {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 22px; text-align: left; font: inherit;
}
.meal.is-open .meal-tab { pointer-events: none; opacity: 0; }
.meal-tab .meal-time { font-size: var(--step--1); opacity: .85; }
.meal-tab .meal-peek { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 10px; object-fit: contain; margin: 18px 0 auto; box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.meal-tab .meal-name { font-family: var(--font-display); font-size: var(--step-3); writing-mode: vertical-rl; transform: rotate(180deg); line-height: 1; }
.meal-panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: 24px; padding: clamp(24px, 3vw, 44px); opacity: 0; visibility: hidden; transition: opacity .3s ease .15s; }
.meal.is-open .meal-panel { opacity: 1; visibility: visible; }
.meal-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.meal-copy .meal-time { font-size: var(--step--1); font-weight: 600; margin: 0 0 14px; opacity: .9; }
.meal-copy h2 { color: inherit; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); max-width: 14ch; margin: 0 0 14px; }
.meal-copy p { max-width: 38ch; opacity: .92; margin-bottom: 22px; }
.meal-copy .meal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.meal[data-meal="breakfast"] .btn--ghost { color: var(--indigo); }
.meal-picks { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; gap: 12px; align-content: center; min-width: 0; }
.meal-picks .meal-photo { grid-column: 1 / -1; border-radius: var(--radius-m); overflow: hidden; height: 100%; min-height: 0; }
.meal-picks .meal-photo img { width: 100%; height: 100%; object-fit: cover; }
.meal-pick { background: var(--white); color: var(--ink); border-radius: var(--radius-m); padding: 14px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.meal-pick:hover { color: var(--ink); box-shadow: 0 0 0 3px rgba(255,255,255,.55); }
.meal-pick img { aspect-ratio: 1; width: 100%; object-fit: contain; }
.meal-pick span { font-size: 0.875rem; overflow-wrap: normal; word-break: normal; hyphens: auto; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meal-pick b { font-weight: 700; color: var(--leaf); font-size: 0.8125rem; }
.meal-picks--three { grid-template-rows: auto; }

@media (max-width: 900px) {
  .meals-track { height: auto; flex-direction: column; gap: 8px; }
  .meal { flex: none; }
  .meal-tab { position: relative; flex-direction: row; align-items: center; padding: 16px 18px; }
  .meal-tab .meal-name { writing-mode: horizontal-tb; transform: none; font-size: var(--step-2); margin-left: auto; }
  .meal-tab .meal-peek { width: 44px; height: 44px; padding: 5px; margin: 0 0 0 12px; order: 3; box-shadow: none; }
  .meal.is-open .meal-tab { display: none; }
  .meal-panel { position: relative; inset: auto; grid-template-columns: 1fr; display: none; padding: 24px 18px; }
  .meal.is-open .meal-panel { display: grid; }
  .meal-copy h2 { max-width: none; }
  .meal-picks .meal-photo { height: 180px; }
}

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cat-tile a { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.cat-tile a:hover { border-color: var(--leaf); color: var(--ink); }
.cat-tile img { width: 88px; height: 88px; object-fit: contain; background: var(--sage); border-radius: 10px; }
.cat-tile strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); color: var(--indigo); line-height: 1.2; }
.cat-tile small { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; gap: 10px; } .cat-tile a { grid-template-columns: 64px 1fr; } .cat-tile img { width: 64px; height: 64px; } }

/* Product grid (WooCommerce loop) */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; list-style: none; margin: 0 !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; position: relative; display: flex; flex-direction: column; }
ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); flex: 1; }
ul.products li.product .card-media { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; margin-bottom: 12px; }
ul.products li.product img { aspect-ratio: 1; width: 100%; object-fit: contain; margin: 0 !important; transition: transform .3s ease; }
ul.products li.product a:hover img { transform: scale(1.03); }
ul.products li.product .card-title { font-family: var(--font-body); font-weight: 600; font-size: 0.975rem; line-height: 1.35; color: var(--ink); margin: 0 0 2px; padding: 0 !important; }
ul.products li.product .card-sub { color: var(--muted); font-size: var(--step--1); line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
ul.products li.product .price, .card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; color: var(--ink) !important; font-weight: 700; font-size: var(--step-1) !important; margin: auto 0 12px !important; }
.price del { color: var(--muted); font-weight: 400; font-size: var(--step--1); opacity: 1 !important; }
.price ins { text-decoration: none; color: var(--ink); }
ul.products li.product .button { width: 100%; margin: 0 !important; background: var(--white); color: var(--leaf); border-color: var(--leaf); }
ul.products li.product .button:hover { background: var(--leaf); color: var(--white); }
ul.products li.product .added_to_cart { display: block; text-align: center; font-size: var(--step--1); font-weight: 600; margin-top: 8px; }
.woocommerce span.onsale, span.onsale { position: absolute; top: 10px; left: 10px; right: auto; min-width: 0; min-height: 0; margin: 0 !important; padding: 4px 9px; border-radius: 999px; background: var(--turmeric); color: var(--indigo); font-size: 12px; font-weight: 700; line-height: 1.4; z-index: 2; }
.star-rating { color: var(--turmeric); }
@media (max-width: 1000px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } ul.products li.product .card-media { padding: 8px; } ul.products li.product .button { padding: 12px 10px; } }

/* Story */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-media { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--indigo); aspect-ratio: 5 / 4; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media::before { content: ""; position: absolute; inset: 0; background-image: var(--motif); background-size: 56px; opacity: .22; }
.story-media.has-photo::before { display: none; }
.story-media .stack { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 12px; padding: 40px 28px; }
.story-media .stack img { background: #fff; border-radius: 14px; padding: 10px; aspect-ratio: 3/4; object-fit: contain; height: auto; }
.story-media .stack img:nth-child(2) { transform: translateY(-28px); }
.story h2 { max-width: 16ch; }
.story-facts { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 16px; }
.story-facts li { padding-left: 18px; border-left: 3px solid var(--turmeric); }
.story-facts strong { display: block; color: var(--indigo); }
.story-facts span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.review { background: var(--white); border-radius: var(--radius-m); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; color: var(--indigo); }
.review footer { color: var(--muted); font-size: var(--step--1); margin-top: auto; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Newsletter / WhatsApp strip */
.join { background: var(--leaf); color: #fff; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.join h2 { color: #fff; margin-bottom: 8px; }
.join p { margin: 0; opacity: .92; }
.join > * { min-width: 0; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.join form { display: flex; gap: 8px; width: 100%; background: #fff; border-radius: 999px; padding: 5px; }
.join input[type="email"] { flex: 1; border: 0; padding: 0 16px; font: inherit; border-radius: 999px; min-width: 0; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } .join-actions { justify-content: flex-start; } }
@media (max-width: 480px) { .join form { flex-direction: column; border-radius: var(--radius-m); padding: 8px; } .join input[type="email"] { padding: 12px; } }

/* Footer */
.site-footer { background: var(--indigo); color: #cfd5e6; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-pattern { height: 28px; background: var(--turmeric) var(--motif-dark) center / 28px; opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 0 36px; }
.footer-grid h3 { color: #fff; font-size: var(--step-1); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--step--1); }
.footer-brand p { max-width: 34ch; font-size: var(--step--1); }
.footer-brand .wordmark { font-family: var(--font-display); color: #fff; font-size: 1.6rem; display: block; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: 0.8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #1f9e55; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(16, 60, 35, .35); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #188a49; color: #fff; }

/* Shop / archive */
.shop-hero { background: var(--sage); padding: 34px 0 26px; margin-bottom: 28px; }
.shop-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin-bottom: 6px; }
.shop-hero .term-description { color: var(--muted); max-width: 70ch; }
.shop-hero .term-description p:last-child { margin: 0; }
.woocommerce .woocommerce-breadcrumb { font-size: var(--step--1); color: var(--muted); margin: 0 0 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; margin: 18px 0 0; list-style: none; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.cat-chips a:hover, .cat-chips a[aria-current="page"] { border-color: var(--leaf); color: var(--leaf); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--muted); font-size: var(--step--1); float: none; }
.woocommerce .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .woocommerce-ordering select, .woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce form .form-row .select2-container .select2-selection--single {
  font: inherit; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px; background: #fff; color: var(--ink); min-height: 44px;
}
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; min-width: 40px; padding: 10px 14px; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--leaf); color: #fff; border-color: var(--leaf); }

/* Single product */
.single-product .site-main { padding-top: 24px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.woocommerce div.product .product_title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 4px; }
.product-subtitle { color: var(--muted); margin: 0 0 16px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: var(--step-3); font-weight: 700; display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-save { display: inline-block; background: var(--turmeric-soft); color: var(--indigo); font-size: var(--step--1); font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.tax-note { color: var(--muted); font-size: var(--step--1); margin: 0 0 18px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 1.1em; }
.woocommerce div.product form.cart { display: flex; gap: 10px; align-items: stretch; margin: 18px 0 22px !important; }
.woocommerce div.product form.cart .quantity .qty { width: 72px; height: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font: inherit; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 50px; font-size: var(--step-0); }
.buy-assurance { list-style: none; padding: 16px; margin: 0 0 18px; border-radius: var(--radius-m); background: var(--sage); display: grid; gap: 8px; font-size: var(--step--1); }
.buy-assurance li { display: flex; gap: 10px; align-items: flex-start; }
.buy-assurance svg { flex: none; width: 18px; height: 18px; color: var(--leaf); margin-top: 2px; }
.woocommerce div.product .product_meta { font-size: var(--step--1); color: var(--muted); display: grid; gap: 4px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 20px !important; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px !important; font-weight: 600; color: var(--muted) !important; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--leaf) !important; border-bottom-color: var(--leaf); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 75ch; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce div.product section.related, .woocommerce div.product section.upsells { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce div.product section.related > h2, .woocommerce div.product section.upsells > h2 { font-size: var(--step-3); }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product div.images { position: static; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy .price { margin: 0; font-weight: 700; }
  body.single-product .wa-float { bottom: 84px; }
}

/* Cart, checkout, account */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main, .page .site-main { padding: 32px 0 0; }
.page-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 24px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-m); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--sage); font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 16px; border-color: var(--line); }
.woocommerce-cart table.cart img { width: 72px; border-radius: 8px; border: 1px solid var(--line); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 440px; float: right; }
#order_review_heading, .woocommerce-checkout h3 { font-size: var(--step-2); }
.woocommerce-checkout #payment { background: var(--sage) !important; border-radius: var(--radius-m) !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--leaf); background: var(--sage); border-radius: var(--radius-s); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--leaf); }
.woocommerce form .form-row label { font-weight: 600; font-size: var(--step--1); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--sage); color: var(--leaf); }

/* Content pages & blog */
.entry-content { max-width: 75ch; }
.entry-content > * + * { margin-top: 1em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.post-card a { text-decoration: none; color: var(--ink); display: grid; gap: 10px; }
.post-card img { border-radius: var(--radius-m); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post-card h3 { font-size: var(--step-1); margin: 0; }
.post-card time { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }
.empty-state { padding: 60px 0; text-align: left; max-width: 52ch; }

/* Additions for WordPress output */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { max-height: 52px; width: auto; }
.btn svg { width: 18px; height: 18px; }
.star-rating-text { color: var(--turmeric); letter-spacing: 2px; font-size: var(--step-1); line-height: 1; }
.woocommerce .woocommerce-breadcrumb { font-size: var(--step--1); color: var(--muted); margin: 0 0 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.cat-chips--sub { margin-top: 8px; }
.cat-chips--sub a { background: transparent; }
.search-block { justify-self: start; max-width: 480px; margin-top: 16px; }
.post-hero img { border-radius: var(--radius-l); width: 100%; margin: 8px 0 28px; }
.sticky-buy-info { min-width: 0; display: grid; }
.sticky-buy-info strong { font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .button { white-space: nowrap; }
.cart-count[hidden] { display: none; }
.comments { margin-top: 48px; }
.comment-list { padding-left: 1.1em; }
@media (max-width: 860px) { body.single-product .site-footer { padding-bottom: 72px; } }

/* Refinements after testing with the real catalogue */
.meal-tab .meal-name { font-size: clamp(1.35rem, .9rem + 1.6vh, 1.75rem); white-space: nowrap; }
.meal-tab .meal-peek { margin-top: 14px; }
@media (max-width: 600px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: var(--step-4); }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile a { grid-template-columns: 1fr; gap: 8px; padding: 10px; align-content: start; }
  .cat-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .cat-tile strong { font-size: var(--step-0); }
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: min(72vh, 620px); object-fit: contain; width: 100%; background: #fff; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { min-width: 0; max-width: 100%; }
@media (max-width: 860px) { .woocommerce div.product { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .woocommerce div.product div.images.woocommerce-product-gallery { position: relative; top: auto; } }
.cart-item-detail { display: block; color: var(--muted); font-size: var(--step--1); font-weight: 400; }
@media (max-width: 860px) { body.single-product .wa-float { display: none; } }

/* Footer additions */
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 48px; width: auto; }
.social-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex !important; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social-links a:hover { background: var(--turmeric); color: var(--indigo); text-decoration: none; }
.social-links svg { width: 20px; height: 20px; }
.footer-credit a { color: var(--turmeric) !important; font-weight: 600; }
.footer-bottom { align-items: center; }
.footer-bottom .footer-legal a + a { margin-left: 14px; }
@media (max-width: 700px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* Hero: aligned tabs and product cards */
.meal-pick span { min-height: calc(1.3em * 2); }
.meal-pick b { margin-top: auto; }
.meal-copy .meal-actions .btn { min-width: 168px; }
@media (max-width: 900px) {
  .meal { scroll-margin-top: 150px; }
  .meal-tab { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; min-height: 72px; }
  .meal-tab .meal-peek { order: 1; width: 48px; height: 48px; margin: 0; padding: 5px; }
  .meal-tab .meal-name { order: 2; margin: 0; text-align: left; font-size: var(--step-2); }
  .meal-tab .meal-time { order: 3; text-align: right; white-space: nowrap; font-weight: 600; }
  .meal-panel { padding: 22px 16px 18px; gap: 18px; }
  .meal-copy .meal-time { margin-bottom: 8px; }
  .meal-copy h2 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.2rem); margin-bottom: 10px; }
  .meal-copy p { margin-bottom: 16px; }
  .meal-copy .meal-actions .btn { width: 100%; }
  .meal-picks--three { gap: 8px; }
  .meal-pick { padding: 10px; }
}

/* Final responsive polish */
.woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .story-media { aspect-ratio: 16 / 10; max-height: 420px; }
  .story-media .stack { padding: 24px; gap: 10px; }
  .story-media .stack img { max-height: 100%; }
  .site-footer { padding-bottom: 76px; }
}
@media (max-width: 520px) { .story-media { aspect-ratio: 4 / 3; } .story-media .stack img:nth-child(2) { transform: translateY(-14px); } }
.page .entry-content h2:first-child { font-size: var(--step-3); }


/* ===== v1.0.6 refinements ===== */
:root { --icon-bag-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); --icon-bag-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }

/* Breathing room above the footer on every page except the homepage (its last section has its own padding) */
.site-main, .page .site-main, .woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main, .single-product .site-main { padding-bottom: clamp(56px, 7vw, 96px); }
.home .site-main { padding-bottom: 0; }
.woocommerce nav.woocommerce-pagination { margin-bottom: 8px; }

/* Footer social icons */
.site-footer .footer-grid ul.social-links { display: flex; gap: 10px; margin: 22px 0 0; }
.site-footer .social-links a { width: 42px; height: 42px; background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.site-footer .social-links a:hover { background: var(--turmeric); border-color: var(--turmeric); color: var(--indigo); }
.site-footer .social-links svg { width: 19px; height: 19px; }

/* Prices: current price first, original (struck) price after */
.price del { order: 2; }
.price ins { order: 1; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { font-weight: 700; color: var(--ink); }

/* Quantity pill with always-visible buttons */
.quantity.has-buttons { display: inline-flex !important; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.woocommerce .quantity.has-buttons .qty, .woocommerce div.product form.cart .quantity.has-buttons .qty { width: 40px; height: 40px; min-height: 0; border: 0; border-radius: 0; padding: 0; text-align: center; font: 600 var(--step-0) var(--font-body); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.quantity.has-buttons .qty::-webkit-inner-spin-button, .quantity.has-buttons .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: var(--sage); color: var(--indigo); font: 500 20px/1 var(--font-body); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.qty-btn:hover { background: var(--leaf); color: #fff; }
.woocommerce div.product form.cart { align-items: center; }

/* Add to cart: bag icon */
.woocommerce div.product form.cart .single_add_to_cart_button::before, .sticky-buy .button::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--icon-bag-white) center / contain no-repeat; }
ul.products li.product .button.add_to_cart_button { justify-content: space-between; padding: 7px 7px 7px 18px; min-height: 46px; }
ul.products li.product .button.add_to_cart_button::before { content: ""; order: 2; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--leaf) var(--icon-bag-white) center / 16px no-repeat; transition: background-color .15s ease; }
ul.products li.product .button.add_to_cart_button:hover::before { background: #fff var(--icon-bag-leaf) center / 16px no-repeat; }
ul.products li.product .button.add_to_cart_button.loading::before { opacity: 0; }
ul.products li.product .button:not(.add_to_cart_button) { justify-content: center; }
@media (max-width: 380px) { ul.products li.product .button.add_to_cart_button { padding-left: 12px; } ul.products li.product .button.add_to_cart_button::before { width: 28px; height: 28px; } }

/* Cart page actions */
.woocommerce-cart table.cart td.actions { padding: 16px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 220px !important; min-height: 46px; margin: 0 !important; padding: 0 18px !important; border-radius: 999px !important; border: 1px solid var(--line) !important; }
.woocommerce-cart table.cart td.actions .button { min-height: 46px; padding: 0 22px !important; }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"] { background: transparent; color: var(--leaf); border: 1.5px solid var(--leaf); opacity: 1; }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"]:hover:not(:disabled) { background: var(--leaf); color: #fff; }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"]:disabled { border-color: var(--line); color: var(--muted); background: transparent; opacity: 1; cursor: default; }
.woocommerce-cart table.cart td.product-quantity .quantity { margin: 0; }
@media (max-width: 768px) {
  .woocommerce-cart table.cart td.actions .coupon { flex-wrap: nowrap; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; flex: 1; }
  .woocommerce-cart table.cart td.actions button.button[name="update_cart"] { width: 100%; margin-top: 8px; }
}

/* ===== Hero: desktop sizing so content always fits ===== */
.meals-track { height: clamp(480px, 64vh, 600px); }
.meal-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.meal-copy h2 { font-size: clamp(1.8rem, 1.1rem + 1.6vw, 2.5rem); max-width: 16ch; }
.meal-copy p { margin-bottom: 18px; }
.meal-copy .meal-actions { margin-top: 2px; }

/* ===== Hero on phones and tablets: a row of four meal tabs above one panel (no page jumps) ===== */
@media (max-width: 900px) {
  .meals-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; row-gap: 12px; height: auto !important; }
  .meal { display: contents; }
  .meal-tab, .meal.is-open .meal-tab { grid-row: 1; position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 0; padding: 10px 4px 12px; border-radius: 16px; background: var(--meal-bg); color: var(--meal-fg); text-align: center; opacity: 1; pointer-events: auto; }
  .meal-tab .meal-peek { order: 1; width: 44px; height: 44px; margin: 0; padding: 5px; box-shadow: none; }
  .meal-tab .meal-name { order: 2; margin: 0; font-size: 0.95rem; text-align: center; writing-mode: horizontal-tb; transform: none; white-space: nowrap; }
  .meal-tab .meal-time { order: 3; font-size: 0.75rem; font-weight: 500; opacity: .85; text-align: center; }
  .meal.is-open .meal-tab { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--meal-bg); }
  .meal.is-open .meal-tab::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 14px; height: 14px; background: var(--meal-bg); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
  .meal-panel, .meal.is-open .meal-panel { grid-row: 2; grid-column: 1 / -1; position: relative; inset: auto; display: none; opacity: 1; visibility: visible; border-radius: var(--radius-l); background: var(--meal-bg); color: var(--meal-fg); }
  .meal.is-open .meal-panel { display: grid; }
}
@media (max-width: 480px) {
  .meals-track { column-gap: 6px; }
  .meal-tab .meal-time { display: none; }
  .meal-tab .meal-name { font-size: 0.85rem; }
  .meal-tab .meal-peek { width: 40px; height: 40px; }
}
@media (max-width: 900px) { .meal-panel, .meal.is-open .meal-panel { grid-template-columns: minmax(0, 1fr); } .meal-copy h2 { max-width: none; } }
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.woocommerce ul.products li.product .button { display: flex; align-items: center; width: 100%; margin-top: 0; line-height: 1.2; }
.woocommerce ul.products li.product .button.add_to_cart_button { justify-content: space-between; padding: 7px 7px 7px 18px; }
/* Cards: equal-height titles so prices and buttons line up across a row */
.woocommerce ul.products li.product .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }


/* =====================================================================
   DARK THEME (Nov 2026)
   The client asked for a dark site (black and red). This layer
   re-colours every page. Everything above it is the original light
   design; delete from this banner to the end of the file to go back.
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #0e0d0c;
  --surface: #181615;
  --surface-2: #221f1d;
  --field-line: #3a3532;
  --red: #d23a2c;
  --red-deep: #a8281d;
  --red-text: #f06b5d;
  --wine: #5e1712;
  --paper: #f5f1ea;
  --on-light: #1b1917;

  --indigo: #f5efe6;
  --indigo-2: #e9e1d5;
  --ink: #ece5da;
  --muted: #a9a097;
  --white: var(--surface);
  --line: #2e2a27;
  --sage: #161412;
  --sage-2: #1d1b19;
  --leaf: var(--red);
  --leaf-dark: #b52d21;
  --chilli: #e2483a;
  --turmeric: #e8ac3c;
  --turmeric-soft: #3a2a12;

  --meal-breakfast: #e3a630;
  --meal-lunch: #7a1d16;
  --meal-tea: #c8382b;
  --meal-dinner: #23201e;

  --motif-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%230e0d0c' stroke-width='1.4'%3E%3Cpath d='M28 14c4 5 4 9 0 14-4-5-4-9 0-14zM28 42c4-5 4-9 0-14-4 5-4 9 0 14zM14 28c5-4 9-4 14 0-5 4-9 4-14 0zM42 28c-5-4-9-4-14 0 5 4 9 4 14 0z'/%3E%3Ccircle cx='28' cy='28' r='2.2' fill='%230e0d0c' stroke='none'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='56' cy='0' r='3'/%3E%3Ccircle cx='0' cy='56' r='3'/%3E%3Ccircle cx='56' cy='56' r='3'/%3E%3C/g%3E%3C/svg%3E");

  --wc-form-color-background: var(--surface-2);
  --wc-form-color-text: var(--ink);
  --wc-form-border-color: var(--field-line);
}

body { background: var(--bg); color: var(--ink); }
a { color: var(--red-text); }
a:hover { color: #ff8a7e; }
::placeholder { color: var(--muted); opacity: 1; }
:where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], textarea, select) { background-color: var(--surface-2); color: var(--ink); }

/* Buttons: white text on red */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { color: #fff; }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt { color: #fff; }
.woocommerce #respond input#submit { background: var(--red); color: #fff; border-radius: 999px; }
.woocommerce #respond input#submit:hover { background: var(--leaf-dark); color: #fff; }
.btn--light { background: #fff; color: var(--on-light); }
.btn--light:hover { background: var(--paper); color: var(--on-light); }

/* Top strip, header, navigation */
.topbar { background: var(--red-deep); color: #fbe9e6; }
.site-header { background: var(--bg); }
.header-search form { background: var(--surface-2); border-color: var(--line); }
.header-search form:focus-within { background: var(--surface-2); border-color: var(--red); }
.icon-link:hover { background: var(--surface-2); }
.menu-toggle { color: var(--indigo); }
.cart-count { color: var(--on-light); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-product_cat-ancestor > a { color: var(--red-text); border-bottom-color: var(--red); }

/* Homepage: meals of the day */
.meal[data-meal="breakfast"] { --meal-fg: var(--on-light); }
.meal[data-meal="breakfast"] .btn--ghost { color: var(--on-light); }
.meal[data-meal="breakfast"] .btn--ghost:hover { background: rgba(0,0,0,.08); }
.meal[data-meal="dinner"] { box-shadow: inset 0 0 0 1px #3a3532; }
.meal-tab .meal-peek { box-shadow: 0 0 0 6px rgba(255,255,255,.10); }
.meal-pick { background: var(--paper); color: var(--on-light); }
.meal-pick:hover { color: var(--on-light); box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.meal-pick b { color: var(--red-deep); }
@media (max-width: 900px) { .meal.is-open .meal-tab { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--meal-bg); } }

/* Aisles, story, contact strip */
.cat-tile a:hover { border-color: var(--red); }
.cat-tile img { background: var(--paper); }
.story-media { background: var(--wine); }
.join { background: linear-gradient(120deg, var(--red-deep), var(--red)); }
.join input[type="email"] { background: transparent; color: var(--on-light); }

/* Product cards (photos are shot on white, so the photo area stays white) */
ul.products li.product .card-media { border-color: transparent; }
ul.products li.product .button { background: transparent; color: var(--ink); border-color: #4a4440; }
ul.products li.product .button:hover { background: var(--red); border-color: var(--red); color: #fff; }
ul.products li.product .button.add_to_cart_button:hover::before { background: var(--red-deep) var(--icon-bag-white) center / 16px no-repeat; }
.woocommerce span.onsale, span.onsale { background: var(--red); color: #fff; }

/* Shop and category pages */
.shop-hero { border-bottom: 1px solid var(--line); }
.cat-chips a:hover, .cat-chips a[aria-current="page"] { border-color: var(--red); color: var(--red-text); }
.woocommerce .woocommerce-ordering select, .woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce form .form-row .select2-container .select2-selection--single { background: var(--surface-2); color: var(--ink); border-color: var(--field-line); }
.woocommerce nav.woocommerce-pagination ul li a { color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--surface-2); color: var(--ink); }

/* Single product */
.woocommerce div.product div.images .flex-control-thumbs li { background: #fff; }
.price-save { color: var(--turmeric); }
.buy-assurance { background: var(--surface); border: 1px solid var(--line); }
.buy-assurance svg { color: var(--red-text); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red-text) !important; border-bottom-color: var(--red); }
.quantity.has-buttons { background: var(--surface); border-color: var(--field-line); }
.woocommerce .quantity.has-buttons .qty, .woocommerce div.product form.cart .quantity.has-buttons .qty { color: var(--ink); }
.qty-btn { background: var(--surface-2); color: var(--indigo); }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { background: var(--surface-2); border-color: var(--line); }
@media (max-width: 860px) { .sticky-buy { background: var(--bg); border-top-color: var(--line); } }

/* Cart, checkout, account */
.woocommerce table.shop_table th { background: var(--surface); }
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th { border-top-color: var(--line); }
.woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th { border-top-color: var(--line); }
.woocommerce-cart table.cart img { background: #fff; }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"] { color: var(--red-text); border-color: var(--red); }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"]:hover:not(:disabled) { color: #fff; background: var(--red); }
.woocommerce-cart table.cart td.actions button.button[name="update_cart"]:disabled { color: var(--muted); border-color: var(--line); }
.woocommerce-checkout #payment, #add_payment_method #payment { background: var(--surface) !important; }
.woocommerce-checkout #payment ul.payment_methods, #add_payment_method #payment ul.payment_methods { border-bottom-color: var(--line); }
.woocommerce-checkout #payment div.payment_box, #add_payment_method #payment div.payment_box { background: var(--surface-2) !important; color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before, #add_payment_method #payment div.payment_box::before { border-bottom-color: var(--surface-2) !important; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--line); }
.woocommerce ul.order_details li { border-right-color: var(--line); }
.woocommerce .woocommerce-customer-details address { border-color: var(--line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--surface); color: var(--ink); border-top-color: var(--red); }
.woocommerce-error { border-top-color: #e2483a; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--red-text); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--surface); color: var(--red-text); }
.select2-container--default .select2-selection--single { background: var(--surface-2); border-color: var(--field-line); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); }
.select2-dropdown { background: var(--surface-2); color: var(--ink); border-color: var(--field-line); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--surface); color: var(--ink); border-color: var(--field-line); }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option[data-selected="true"] { background: var(--surface); color: var(--ink); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--red); color: #fff; }
.blockUI.blockOverlay { background: var(--bg) !important; }

/* Footer */
.site-footer { background: #080706; color: #b9b0a6; }
.social-links a:hover, .site-footer .social-links a:hover { color: var(--on-light); }
/* ===== END DARK THEME ===== */


/* =====================================================================
   REFINEMENTS (Nov 2026)
   Layout and alignment fixes from a full review on phone, tablet and
   desktop. Colours stay in the dark layer above; this block only
   adjusts spacing, columns and tap targets.
   ===================================================================== */

/* Product grids: four across from tablet width (shop pages hold 16 and
   homepage rows hold 4, so three columns always left a lonely last card) */
@media (min-width: 700px) and (max-width: 1000px) {
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
  ul.products li.product .card-media { padding: 10px; }
}

/* Header: show the account icon on larger phones too */
@media (min-width: 390px) and (max-width: 900px) {
  .header-actions .hide-sm { display: inline-grid; }
}

/* Homepage hero: product names get a third line before they are cut,
   and the meal button keeps its natural width on tablets */
.meal-pick { padding: 10px; }
.meal-pick span { -webkit-line-clamp: 3; font-size: 0.8125rem; }
@media (min-width: 600px) and (max-width: 900px) {
  .meal-copy .meal-actions .btn { width: auto; }
}

/* Homepage story photo: fill the full width on tablets */
@media (max-width: 860px) {
  .story-media { max-height: none; }
}
@media (min-width: 521px) and (max-width: 860px) {
  .story-media { aspect-ratio: 16 / 9; }
}

/* Footer: three link columns on tablets, a full-width contact column on
   phones, roomier links, and space for the WhatsApp button */
.footer-grid ul:not(.social-links) { gap: 2px; }
.footer-grid ul:not(.social-links) a { display: inline-block; padding: 5px 0; }
@media (min-width: 521px) and (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (min-width: 701px) {
  .footer-bottom { padding-right: 76px; }
}

/* Single product: picture and details side by side from tablet width */
@media (min-width: 700px) and (max-width: 860px) {
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}

/* Single product: long summaries are folded so "Add to cart" stays close
   to the price (the full text is also in the Description tab) */
.woocommerce div.product .woocommerce-product-details__short-description.is-folded { max-height: calc(9.6em + 17px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.read-more { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 6px 0; border: 0; background: none; color: var(--red-text); font: 600 var(--step--1) / 1.4 var(--font-body); cursor: pointer; }
.read-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.read-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.read-more:hover { color: #ff8a7e; }

/* Cart: bigger remove button, coupon field and button stacked on phones */
.woocommerce-cart table.cart a.remove { width: 32px; height: 32px; line-height: 30px; font-size: 1.4rem; }
@media (max-width: 480px) {
  .woocommerce-cart table.cart td.actions .coupon { flex-direction: column; align-items: stretch; }
  .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .button { width: 100% !important; }
}

/* Tables: only column headings get the shaded background; row labels
   such as Subtotal and Total sit on the table colour like their values */
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot th { background: transparent; }

/* Checkout: larger tick boxes and radio buttons in the brand colour */
.woocommerce-checkout input[type="checkbox"], .woocommerce-checkout input[type="radio"], .woocommerce-account input[type="checkbox"], .woocommerce-cart input[type="radio"] { accent-color: var(--red); }
.woocommerce form .form-row input[type="checkbox"], .woocommerce-checkout #payment input[type="radio"] { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* Checkout: "Ship to a different address?" reads as an option, not a heading,
   and the place-order button spans the order summary */
.woocommerce-checkout #ship-to-different-address { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; margin: 12px 0 16px; }
.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-checkout #ship-to-different-address input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.woocommerce-checkout .woocommerce-additional-fields > h3 { margin-top: 28px; }
body.woocommerce-checkout #payment #place_order { float: none; width: 100%; min-height: 52px; font-size: var(--step-0); }

/* Checkout: billing details on the left, order summary on the right on
   laptops and desktops; a little air above "Your order" on smaller screens */
.woocommerce-checkout #order_review_heading { margin-top: 32px; }
@media (min-width: 1000px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 48px; align-items: start; }
  .woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
  .woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; }
  .woocommerce-checkout form.checkout > #customer_details .col-1, .woocommerce-checkout form.checkout > #customer_details .col-2 { float: none; width: 100%; }
  .woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin-top: 0; }
  .woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 3; }
}
/* ===== END REFINEMENTS ===== */
