/*
Theme Name: 5 Masalas 50 Dishes
Theme URI: https://5masalas50dishes.com
Author: Insha
Author URI: https://instagram.com/insha
Description: Editorial theme for the 5 Masalas 50 Dishes digital video library
Version: 4.0.1
Text Domain: 5masalas50dishes
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------ */
:root {
    /* Palette -- warm, editorial, food-first. Food photography carries the color. */
    --paper: #F7F3EA;            /* warm cream -- dominant page background */
    --surface: #FFFDF8;          /* soft white -- elevated surfaces / cards */
    --sand: #EDE5D6;             /* soft sand -- quiet panels */
    --ink: #25231F;              /* deep charcoal -- primary text */
    --ink-soft: #4A463F;         /* softened charcoal -- leads */
    --muted: #6F6A61;            /* warm grey -- metadata / secondary text */
    --line: #DCD4C6;             /* warm beige -- borders */
    --line-strong: #C8BDAA;      /* stronger beige -- field borders / hover */
    --terracotta: #A94F36;       /* accent -- CTAs, active states, links, small accents */
    --terracotta-deep: #873C2A;  /* hover state for accent */
    --terracotta-pale: #E8CFC5;  /* soft tint backgrounds */
    --on-accent: #FFFDF8;

    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --fs-hero: clamp(40px, 5.2vw, 64px);
    --fs-h2: clamp(30px, 3.4vw, 46px);
    --fs-h3: clamp(24px, 2.2vw, 30px);
    --fs-h4: clamp(20px, 1.6vw, 22px);
    --fs-body-lg: 18px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-label: 12px;

    /* Rhythm */
    --section-xl: 120px;
    --section-lg: 96px;
    --section-md: 80px;
    --section-sm: 64px;
    --section-mobile: 56px;
    --section-mobile-sm: 40px;

    /* Containers */
    --container-wide: 1440px;
    --container: 1320px;
    --container-narrow: 980px;
    --container-text: 820px;
    --gutter: 32px;

    /* Geometry */
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(37, 35, 31, 0.05);
    --shadow: 0 2px 4px rgba(37, 35, 31, 0.05), 0 14px 30px rgba(37, 35, 31, 0.08);

    /* Layout */
    --header-h: 72px;
    --member-banner-h: 42px;
    --grid-gap: 32px;
    --grid-gap-sm: 16px;
}

/* ------------------------------------------------------------------
   2. Reset + base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.site-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

a {
    color: var(--terracotta);
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover { color: var(--terracotta-deep); }

img { max-width: 100%; display: block; height: auto; }
iframe, video { max-width: 100%; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.4em; }

input, select, textarea, button { font-family: var(--font-body); }

::selection { background: var(--terracotta); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 300;
    width: auto; height: auto;
    clip: auto;
    background: var(--surface);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    font-weight: 600;
}

/* ------------------------------------------------------------------
   3. Containers + widths
   ------------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--wide,
.container.container--wide,
.container.wide { max-width: var(--container-wide); }
.container--narrow,
.container.container--narrow,
.container.narrow { max-width: var(--container-narrow); }
.container--text,
.container.container--text { max-width: var(--container-text); }

.text-measure { max-width: var(--container-text); }

/* ------------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------------ */
.eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.text-link {
    font-weight: 500;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}
.text-link:hover { color: var(--terracotta-deep); }

/* ------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: var(--ink);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: #000; color: var(--on-accent); text-decoration: none; }

.btn-accent { background: var(--terracotta); color: var(--on-accent); }
.btn-accent:hover { background: var(--terracotta-deep); color: var(--on-accent); }

.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--sand); border-color: var(--ink); color: var(--ink); }

.btn-lg { min-height: 54px; padding: 14px 36px; font-size: 16px; }

/* ------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(247, 243, 234, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
    width: 28px; height: 28px; flex: none;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.5px solid var(--terracotta-pale);
    border-radius: 2px;
}
.brand-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.brand:hover .brand-text { color: var(--terracotta); text-decoration: none; }
.brand-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    margin: 0;
}
.main-navigation a {
    display: inline-block;
    padding: 10px 14px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.main-navigation a:hover { color: var(--terracotta); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-login { color: var(--ink-soft); font-size: 14px; font-weight: 500; padding: 8px 4px; }
.header-login:hover { color: var(--terracotta); }
.header-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    background: var(--terracotta);
    color: var(--on-accent);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.header-cta:hover { background: var(--terracotta-deep); color: var(--on-accent); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTA lives inside the mobile sheet */
.nav-cta { display: none; }

/* Member / sample notices */
.member-banner {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    padding: 10px 16px;
}
.member-banner a { color: #D9A68A; font-weight: 600; }
.member-banner a:hover { color: var(--on-accent); }
.member-banner .member-banner__logout { color: #A49E93; }

body.has-member-banner .page-header { padding-top: calc(var(--header-h) + var(--member-banner-h) + 52px); }
body.has-member-banner .single-dish { padding-top: calc(var(--header-h) + var(--member-banner-h)); }
body.has-member-banner .tax-masala { padding-top: calc(var(--header-h) + var(--member-banner-h)); }
body.has-member-banner .kitchen-top { padding-top: calc(var(--header-h) + var(--member-banner-h) + 48px); }

.sample-banner {
    background: var(--terracotta-deep);
    color: var(--paper);
    text-align: center;
    font-size: 13px;
    padding: 10px 16px;
}
body.has-member-banner .sample-banner { margin-top: var(--header-h); }

/* ------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------ */
.hero {
    padding: calc(var(--header-h) + 80px) 0 104px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 72px;
    align-items: center;
}

.hero-copy h1 {
    font-size: var(--fs-hero);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 760px;
    margin-bottom: 26px;
}
.hero-copy h1 span { display: block; font-style: italic; color: var(--terracotta); font-weight: 500; }

.hero-lede {
    font-size: var(--fs-body-lg);
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 640px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ------------------------------------------------------------------
   8. Sections + rhythm
   ------------------------------------------------------------------ */
.section { padding: var(--section-lg) 0; }
.section--sm { padding: var(--section-sm) 0; }
.section--lg { padding: var(--section-xl) 0; }

.section-head { margin-bottom: 56px; max-width: 860px; }
.section-head h1, .section-head h2 { font-size: var(--fs-h2); line-height: 1.12; margin-bottom: 0; }
.section-sub {
    font-size: var(--fs-body-lg);
    color: var(--muted);
    line-height: 1.65;
    max-width: 720px;
    margin-top: 18px;
}
.section-more { margin-top: 48px; color: var(--muted); }
.core-note { margin-top: 40px; color: var(--muted); max-width: 720px; }

/* ------------------------------------------------------------------
   9. Masala cards
   ------------------------------------------------------------------ */
.masala-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
    align-items: stretch;
}

.masala-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.masala-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }

.masala-card__media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; position: relative; }
.masala-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.masala-card:hover .masala-card__media img { transform: scale(1.04); }
.masala-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(26, 24, 20, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
}

.masala-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.masala-card__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 6px;
}
.masala-card__count { color: var(--terracotta-dark); background: var(--terracotta-soft); padding: 3px 8px; border-radius: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-size: 11.5px; }
.masala-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.masala-card__subname { font-size: 13.5px; font-weight: 500; color: var(--terracotta); margin-top: 2px; }
.masala-card__desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 10px; }

.masala-card__unlocks {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.masala-card__unlocks-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 4px;
}
.masala-card__unlocks-list {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.45;
    font-weight: 500;
}

.masala-card__cta { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--terracotta); border-bottom: 1px solid transparent; }
.masala-card:hover .masala-card__cta { border-bottom-color: currentColor; }

/* Compact index row (homepage "core idea") -- five minimal tiles */
.masala-grid.compact { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.masala-grid.compact .masala-card__body { padding: 16px 16px 18px; }
.masala-grid.compact .masala-card__media { aspect-ratio: 1 / 1; }
.masala-grid.compact .masala-card__count,
.masala-grid.compact .masala-card__desc,
.masala-grid.compact .masala-card__cta { display: none; }
.masala-grid.compact .masala-card__name { font-size: 17px; }

/* ------------------------------------------------------------------
   9b. Method & System Section (5 Masalas Concept)
   ------------------------------------------------------------------ */
.method-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 88px 0;
}
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.method-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.method-card__step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--terracotta-soft);
    color: var(--terracotta);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.method-card h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.25;
}
.method-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Formula Banner */
.system-formula-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--surface-sunken);
    border: 1.5px dashed var(--terracotta);
    border-radius: var(--radius-lg);
    padding: 28px 40px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.system-formula__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.system-formula__num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.system-formula__label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.system-formula__op {
    font-size: 32px;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
}
.system-formula__item.highlight .system-formula__num {
    color: var(--terracotta);
}
.system-formula__item.highlight .system-formula__label {
    color: var(--terracotta-dark);
}

/* Dish Page: Foundation Engine Bar */
.dish-engine-bar {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--surface-sunken);
    border: 1.5px solid var(--terracotta-soft);
    border-left: 5px solid var(--terracotta);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 32px;
}
.dish-engine-bar__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dish-engine-bar__copy {
    flex: 1;
}
.dish-engine-bar__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 4px;
}
.dish-engine-bar h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.25;
}
.dish-engine-bar p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}
.dish-engine-bar__btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .system-formula-banner {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }
    .system-formula__op {
        font-size: 22px;
    }
    .dish-engine-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 18px;
    }
    .dish-engine-bar__btn {
        width: 100%;
        text-align: center;
    }
}

.dish-locked-base-note {
    font-size: 16px;
    color: var(--muted);
    max-width: 580px;
    margin: 8px auto 28px;
    line-height: 1.5;
}
.dish-locked-base-note strong {
    color: var(--terracotta);
}

/* Core Base ingredient badge */
.ingredient-base-item {
    grid-column: 1 / -1;
    background: var(--surface-sunken);
    border: 1.5px solid var(--terracotta-soft);
    border-left: 4px solid var(--terracotta);
    border-radius: var(--radius-sm);
    padding: 12px 16px !important;
    margin: 6px 0 !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    list-style: none !important;
}
.ingredient-base-item::before {
    content: none !important;
}
.ingredient-base-item strong {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ink);
}
.ingredient-base-badge {
    background: var(--terracotta);
    color: var(--on-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------
   10. About
   ------------------------------------------------------------------ */
.about-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: center;
}
.about-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); max-width: 620px; }
.about-protip {
    background: var(--surface);
    border-left: 3px solid var(--terracotta);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    font-size: 15.5px;
    color: var(--ink) !important;
}

/* ------------------------------------------------------------------
   11. What's inside summary
   ------------------------------------------------------------------ */
.whats-inside-intro { max-width: 680px; margin-bottom: 56px; }
.inside-summary {
    margin-top: 64px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.inside-summary__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.inside-stat strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--terracotta); }
.inside-stat span { font-size: 13px; color: var(--muted); }

.tick-list { list-style: none; margin: 0; }
.tick-list li { padding: 12px 0 12px 30px; position: relative; border-top: 1px solid var(--line); color: var(--ink-soft); }
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--terracotta-pale);
}
.tick-list li::after {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--terracotta-deep);
}

/* ------------------------------------------------------------------
   12. Preview video
   ------------------------------------------------------------------ */
.preview-video { margin-top: 8px; }
.video-embed, .video-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow);
}
.video-block iframe, .video-block video, .video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    height: auto;
}
.video-placeholder { position: relative; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 0;
    background: var(--surface);
    color: var(--terracotta-deep);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, background 0.2s ease;
}
.video-play:hover { transform: scale(1.06); background: var(--terracotta); color: var(--on-accent); }
.preview-caption { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 640px; }

/* ------------------------------------------------------------------
   13. Steps
   ------------------------------------------------------------------ */
.steps-list { list-style: none; margin: 0; padding: 0; }

.steps-list.inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.steps-list.inline .step {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
}
.steps-list.inline .step__num { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: 26px; font-style: italic; font-weight: 500; color: var(--terracotta); }
.steps-list.inline h3 { font-size: 21px; margin-bottom: 10px; }
.steps-list.inline p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; max-width: 420px; }

.steps-list:not(.inline) .step {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 28px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}
.steps-list:not(.inline) .step:last-child { border-bottom: 1px solid var(--line); }
.steps-list:not(.inline) .step__num { font-family: var(--font-display); font-size: 30px; font-style: italic; color: var(--terracotta); }
.steps-list:not(.inline) .step h2 { font-size: 26px; margin-bottom: 12px; }
.steps-list:not(.inline) .step p { color: var(--ink-soft); margin: 0; max-width: 650px; }

/* ------------------------------------------------------------------
   14. Text cards (what you get / who it's for)
   ------------------------------------------------------------------ */
.wyg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wyg-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}
.wyg-card h3 { font-size: 22px; margin-bottom: 12px; }
.wyg-card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0; }

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}
.who-card h3 { font-size: 21px; margin-bottom: 12px; }
.who-card p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* ------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------ */
.faq-list > .faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    width: 100%;
    min-height: 60px;
    padding: 14px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    user-select: none;
}
.faq-question:hover { color: var(--terracotta); }
.faq-icon {
    flex: none;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--sand);
    position: relative;
}
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--terracotta);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; transition: height 0.2s ease; }
.faq-item.open .faq-icon::after { height: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 56px 26px 12px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; max-width: 640px; margin: 0; }

/* ------------------------------------------------------------------
   16. Final CTA + inner page CTA box
   ------------------------------------------------------------------ */
.final-cta {
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    padding: 112px 0;
}
.final-cta h2 { font-size: var(--fs-h2); color: var(--paper); max-width: 660px; margin: 0 auto 20px; }
.final-cta p { color: #B8B1A6; margin: 0 auto 36px; max-width: 620px; }
.final-cta__actions { margin: 0 0 22px; }
.final-cta__note { font-size: 13.5px; color: #8A8377 !important; }

.cta-box {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 64px 40px;
    margin-top: 72px;
}
.cta-box h2 { font-size: 28px; margin-bottom: 12px; }
.cta-box p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 28px; }

/* ------------------------------------------------------------------
   17. Inner page header
   ------------------------------------------------------------------ */
.page-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: calc(var(--header-h) + 52px) 0 48px;
}
.page-header h1 { font-size: var(--fs-h2); margin-bottom: 0; }
.page-header p { color: var(--muted); margin: 14px 0 0; max-width: 760px; font-size: 17px; line-height: 1.6; }
.page-header.centered { text-align: center; }
.page-header.centered h1, .page-header.centered p { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------
   17. Masala taxonomy page (masterclass base + pairings)
   ------------------------------------------------------------------ */
section.tax-masala {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 96px;
}
.tax-masala__head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
    padding: 32px 0 24px;
}
.tax-masala__head h1 { font-size: clamp(38px, 4.4vw, 56px); margin-bottom: 14px; line-height: 1.05; }
.tax-masala__head .eyebrow { margin-bottom: 14px; }
.tax-masala__lede { font-size: 19px; color: var(--ink-soft); max-width: 680px; line-height: 1.6; }
.tax-masala__head > p:not(.tax-masala__lede):not(.eyebrow) { color: var(--muted); max-width: 680px; }
.tax-masala__img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 0;
}
.tax-masala__head--locked {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 32px auto 40px;
}
.tax-masala__head--locked h1 {
    margin-bottom: 0;
}
.tax-masala__base { margin-bottom: 72px; }
.tax-masala__base .video-block { width: 100%; max-width: none; }

/* Masterclass video + ingredients side by side */
.tax-masala__video-row {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.tax-masala__video {
    min-width: 0;
}
/* Keep the video at its natural 16:9 aspect ratio */
.tax-masala__video .video-block {
    width: 100%;
}
.tax-masala__video .video-block iframe,
.tax-masala__video .video-block video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}
.tax-masala__ingredients {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.tax-masala__ingredients h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 18px;
}
.tax-masala__ingredients .ingredients {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 1;
}

/* ------------------------------------------------------------------
   18. Auth (login / signup / lost password)
   ------------------------------------------------------------------ */
.auth-page {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 48px) 20px 72px;
    width: 100%;
}
.auth-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.auth-card {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(37, 35, 31, 0.07), 0 1px 2px rgba(37, 35, 31, 0.04);
    padding: 44px 40px;
    transition: box-shadow 0.2s ease;
}
@media (max-width: 540px) {
    .auth-page {
        padding: calc(var(--header-h) + 24px) 16px 48px;
    }
    .auth-card {
        padding: 32px 22px;
        border-radius: var(--radius);
    }
}

/* Header inside auth card */
.auth-card__header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    background: rgba(169, 79, 54, 0.08);
    color: var(--terracotta);
    border: 1px solid rgba(169, 79, 54, 0.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.auth-card__badge svg {
    flex-shrink: 0;
}
.auth-card__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.2;
}
.auth-card__subtitle {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* Alert notices (error, success, info) */
.auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 22px;
}
.auth-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.auth-notice--error {
    background: #FDF2F0;
    border: 1px solid #F3CDC6;
    color: #972B15;
}
.auth-notice--warning {
    background: #FEF8EC;
    border: 1px solid #F5DEB0;
    color: #8C5B00;
}
.auth-notice--info {
    background: #F2F7F5;
    border: 1px solid #C4DFD5;
    color: #1F5A46;
}

/* wp_login_form and generic form elements */
.auth-card form,
.auth-card #loginform {
    margin: 0;
}
.auth-card form p,
.auth-card #loginform p {
    margin: 0 0 18px;
}
.auth-card form label,
.auth-card #loginform label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}
.auth-card form input[type="text"],
.auth-card form input[type="password"],
.auth-card form input[type="email"],
.auth-card #loginform input[type="text"],
.auth-card #loginform input[type="password"],
.auth-card #loginform input[type="email"] {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px;
    padding: 11px 15px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-card form input[type="text"]:focus,
.auth-card form input[type="password"]:focus,
.auth-card form input[type="email"]:focus,
.auth-card #loginform input[type="text"]:focus,
.auth-card #loginform input[type="password"]:focus,
.auth-card #loginform input[type="email"]:focus {
    border-color: var(--terracotta) !important;
    box-shadow: 0 0 0 3.5px rgba(169, 79, 54, 0.15) !important;
    outline: none;
}
.auth-card form input::placeholder,
.auth-card #loginform input::placeholder {
    color: #9E988D;
}

/* Remember me checkbox row */
.auth-card .login-remember {
    margin: 2px 0 20px !important;
}
.auth-card .login-remember label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: 0;
    user-select: none;
}
.auth-card .login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--terracotta);
    cursor: pointer;
    margin: 0;
}

/* Submit button */
.auth-card .login-submit {
    margin: 8px 0 0 !important;
}
.auth-card #wp-submit,
.auth-card .login-submit input[type="submit"],
.auth-card form input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 50px;
    padding: 12px 24px;
    border: none !important;
    border-radius: var(--radius-sm);
    background: var(--terracotta) !important;
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(169, 79, 54, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.auth-card #wp-submit:hover,
.auth-card .login-submit input[type="submit"]:hover,
.auth-card form input[type="submit"]:hover {
    background: var(--terracotta-deep) !important;
    box-shadow: 0 4px 12px rgba(169, 79, 54, 0.35);
    transform: translateY(-1px);
}
.auth-card #wp-submit:active,
.auth-card .login-submit input[type="submit"]:active,
.auth-card form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(169, 79, 54, 0.2);
}

/* Forgot password link */
.auth-links {
    text-align: center;
    margin: 18px 0 0;
}
.auth-forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s ease;
}
.auth-forgot-link svg {
    flex-shrink: 0;
}
.auth-forgot-link:hover {
    color: var(--terracotta);
    text-decoration: underline;
}

/* Divider */
.auth-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0 24px;
}

/* Help / New customer callout box */
.auth-help-box {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    text-align: center;
}
.auth-help-box__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}
.auth-help-box__text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 14px;
}
.auth-help-box__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
}

/* ------------------------------------------------------------------
   19. Member kitchen dashboard
   ------------------------------------------------------------------ */
.kitchen-top { padding: calc(var(--header-h) + 48px) 0 0; }
.kitchen-hello {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 500;
    margin-bottom: 8px;
}
.kitchen-type { color: var(--muted); margin-bottom: 36px; font-size: 17px; }

.continue-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.continue-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.continue-card__media { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.continue-card__media img { width: 100%; height: 100%; object-fit: cover; }
.continue-card__body { padding: 24px 32px; }
.continue-card__label { font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--terracotta); }
.continue-card__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 6px 0 4px; }
.continue-card__meta { font-size: 14px; color: var(--muted); }

.dash-panel {
    margin-bottom: 64px;
}
.dash-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.dash-panel__head h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    margin: 0;
}
.dash-panel__head .eyebrow {
    margin-bottom: 6px;
}
.dash-panel__note {
    font-size: 16px;
    color: var(--muted);
    max-width: 680px;
    margin-top: 12px;
}

/* Dashboard tip card */
.dash-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--terracotta);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}
.dash-tip-card__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.dash-tip-card__body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--ink);
}
.dash-tip-card__body p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* Pairing catalog grid on masala base pages */
.pairing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.pairing-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pairing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--line-strong);
}
.pairing-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.pairing-card__number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
}
.pairing-card__badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    background: var(--sand);
    color: var(--ink-soft);
    padding: 3px 10px;
    border-radius: 999px;
}
.pairing-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.3;
}
.pairing-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}
.pairing-card__tip {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 48px;
}

.section-kicker {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}
.section-kicker h2 { font-size: 24px; margin: 0; }
.section-kicker a { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Saved / empty / locked */
.dish-gap-double { grid-column: 1 / -1; }
.empty-state, .lock, .lock-state, .welcome-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.empty-state h2, .lock h2, .lock-state h2, .welcome-state h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
}
.empty-state p, .lock p, .lock-state p, .welcome-state p {
    color: var(--muted);
    max-width: 540px;
    margin-inline: auto;
    font-size: 16.5px;
    line-height: 1.6;
}
.lock__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--terracotta-soft);
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.lock .btn {
    margin-top: 12px;
}
.lock__sub {
    font-size: 14.5px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}
.lock__sub a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: underline;
}
.lock-state { border-style: dashed; }
.welcome-state { text-align: left; }

.single-dish__locked {
    max-width: 760px;
    margin: 32px auto 80px;
    text-align: center;
}
.single-dish__locked > h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 32px;
}

.pairing-card__open {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ------------------------------------------------------------------
   20. Explore / filters
   ------------------------------------------------------------------ */
.filter-form {
    margin: 0 0 44px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 180px;
    min-width: 150px;
}
.filter-group label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
}
.filter-group select,
.filter-group input[type="search"] {
    width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 8px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink);
    font-size: 15px;
    box-sizing: border-box;
}
.filter-group select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236F6A61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.filter-group select:focus,
.filter-group input[type="search"]:focus { border-color: var(--terracotta); outline: none; background: var(--surface); }
.filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    flex: 0 0 auto;
}
.filter-actions .btn { min-height: 48px; }
.filter-reset {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}
.filter-reset:hover { color: var(--terracotta); background: var(--sand); }

.filter-form .spinner { margin-left: 8px; }

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--terracotta);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 44px;
}
.filter-toggle:hover { background: var(--sand); border-color: var(--terracotta); }

/* ------------------------------------------------------------------
   21. Dish grid + cards
   ------------------------------------------------------------------ */
.dish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
    align-items: stretch;
}

.dish-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}
.dish-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }

.dish-card__wrap { display: flex; flex-direction: column; flex: 1; color: inherit; }
.dish-card__wrap:hover { text-decoration: none; }
.dish-card__media { aspect-ratio: 4 / 3; background: var(--sand); position: relative; overflow: hidden; }
.dish-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.dish-card:hover .dish-card__media img { transform: scale(1.04); opacity: 0.94; }

.dish-card__play {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dish-card:hover .dish-card__play { opacity: 1; transform: translateY(0); }

.dish-card__save {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 253, 248, 0.92);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    transition: color 0.2s ease;
}
.dish-card__save:hover { color: var(--terracotta); }
.dish-card__save.saved { color: var(--terracotta); }

.dish-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.dish-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.dish-card__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--ink);
}
.dish-card:hover .dish-card__title { color: var(--terracotta); }
.dish-card__meta {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
    border-top: 1px solid var(--line);
}
.dish-card__meta .sep { color: var(--line-strong); }

/* ------------------------------------------------------------------
   22. Single dish page
   ------------------------------------------------------------------ */
section.single-dish { padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }

.dish-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: start;
    margin-top: 16px;
}
.dish-main { min-width: 0; }
.dish-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow);
    margin-bottom: 36px;
}
.dish-video iframe, .dish-video video, .dish-video .video-placeholder {
    display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
}
.dish-video .video-play { width: 64px; height: 64px; }

.dish-head { margin-bottom: 32px; }
.dish-head .meaning { font-family: var(--font-display); font-style: italic; color: var(--terracotta); font-size: 18px; display: block; margin-bottom: 10px; }
.dish-head h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 14px; line-height: 1.1; }
.dish-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
}
.dish-meta a { color: var(--muted); font-weight: 500; }
.dish-meta a:hover { color: var(--terracotta); }
.dish-meta .sep { color: var(--line-strong); }

.dish-side {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}
.dish-save-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}
.dish-save-block .btn { width: 100%; }
.dish-save-block .btn-saved { background: var(--terracotta-pale); color: var(--terracotta-deep); width: 100%; }
.dish-save-block > p {
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    margin: 14px 0 0;
}
.dish-actions { display: flex; flex-direction: column; gap: 12px; }
.dish-actions .btn { width: 100%; }

.dish-description { max-width: 100%; }
.dish-description h2 {
    font-size: clamp(22px, 2.2vw, 28px);
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.dish-description p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.dish-description p:last-child { margin-bottom: 0; }

/* Ingredients list styling */
.ingredients {
    list-style: none;
    padding: 26px 30px;
    margin: 20px 0 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 24px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.ingredients li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 4px;
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.ingredients li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terracotta);
}

/* Step-by-step numbered instructions */
.dish-description ol {
    list-style: none;
    counter-reset: dish-step;
    padding: 0;
    margin: 24px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dish-description ol > li {
    position: relative;
    counter-increment: dish-step;
    padding: 22px 26px 22px 68px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
}
.dish-description ol > li::before {
    content: counter(dish-step);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--terracotta-pale);
    color: var(--terracotta-deep);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dish-description ol > li strong {
    color: var(--ink);
    font-weight: 600;
}

/* Dish Previous / Next Navigation */
.dish-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.dish-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}
.dish-nav__link:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.dish-nav__link[rel="next"] {
    margin-left: auto;
}

/* Guard note for excerpt/sample */
.sample-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--terracotta-pale);
    color: var(--terracotta-deep);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 16px;
    margin-top: 18px;
}

/* ------------------------------------------------------------------
   23. Pagination
   ------------------------------------------------------------------ */
.pagination { margin-top: 64px; }
.pagination .wp-pagenavi, .pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.pagination a, .pagination .current, .pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------
   24. Footer
   ------------------------------------------------------------------ */
.site-footer {
    background: var(--ink);
    color: #B8B1A6;
    padding: 72px 0 40px;
    margin-top: 112px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--paper); display: inline-block; margin-bottom: 14px; }
.site-footer p { margin: 0; font-size: 15px; max-width: 320px; }
.footer-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--paper);
    margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #B8B1A6; font-size: 15px; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid #3A372F;
    padding-top: 32px;
    font-size: 13px;
    color: #8A8377;
}

/* ------------------------------------------------------------------
   25. WooCommerce checkout + thank-you
   ------------------------------------------------------------------ */
.woo-checkout {
    padding: calc(var(--header-h) + 36px) 0 100px;
    background: var(--bg);
}

.checkout-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}
.checkout-header .eyebrow {
    margin-bottom: 12px;
}
.checkout-header h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 46px);
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.1;
}
.checkout-subtitle {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* 2-Column Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
    gap: 48px;
    align-items: start;
}
/* Any WooCommerce notice that lands directly in the grid spans both columns */
.checkout-grid > .woocommerce-error,
.checkout-grid > .woocommerce-message,
.checkout-grid > .woocommerce-info,
.checkout-grid > ul.woocommerce-error {
    grid-column: 1 / -1;
}

/* Left Column Cards */
.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
/* Notices rendered inside checkout-main (our approach) */
.checkout-main .woocommerce-error,
.checkout-main ul.woocommerce-error,
.checkout-main .woocommerce-message,
.checkout-main .woocommerce-info {
    margin: 0;
    border-radius: var(--radius);
    font-size: 14px;
}

.checkout-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.checkout-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.checkout-card__num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.checkout-card__header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.2;
}
.checkout-card__header p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* Billing Form Fields */
#customer_details,
.checkout-customer-details,
.checkout-billing-fields,
.woocommerce-billing-fields {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
}

.woocommerce-billing-fields h3,
.woocommerce-additional-fields,
.woocommerce-shipping-fields,
#customer_details .col-2,
.checkout-card--billing h3 {
    display: none !important;
}

.woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 24px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.woocommerce form .form-row,
.woocommerce-page form .form-row,
.woocommerce-checkout form .form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

#billing_first_name_field {
    grid-column: 1 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

#billing_last_name_field {
    grid-column: 2 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

#billing_email_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce form .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.woocommerce form .form-row label .required {
    color: var(--terracotta);
    text-decoration: none;
}
.woocommerce form .form-row label .optional {
    color: var(--muted);
    font-weight: 400;
    font-size: 13px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: var(--surface-sunken);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--terracotta);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--terracotta-soft);
}

@media (max-width: 640px) {
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    #billing_first_name_field,
    #billing_last_name_field,
    #billing_email_field {
        grid-column: 1 !important;
    }
}

/* Payment & Order Review Card */
.woocommerce-checkout-review-order {
    margin-top: 0;
}

/* Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 16px 20px;
    font-size: 15px;
    text-align: left;
}
.woocommerce-checkout-review-order-table thead th {
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: var(--ink);
}
.woocommerce-checkout-review-order-table .product-quantity {
    font-weight: 500;
    color: var(--muted);
}
/* Locked quantity — no input field, just "× 1" */
.masalas-qty-lock {
    display: inline-block;
    font-weight: 500;
    color: var(--muted);
    font-size: 14px;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table td {
    text-align: right;
    font-weight: 600;
    color: var(--ink);
}
.woocommerce-checkout-review-order-table tfoot tr {
    border-top: 1px solid var(--line);
}
.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 600;
    color: var(--ink-soft);
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    padding: 18px 20px;
    background: var(--surface);
}
.woocommerce-checkout-review-order-table .order-total .amount {
    color: var(--terracotta);
    font-size: 20px;
}

/* Payment Methods */
#payment {
    background: transparent;
    border-radius: 0;
}
#payment ul.payment_methods {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-sunken);
}
#payment ul.payment_methods li {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    margin: 0;
}
#payment ul.payment_methods li:last-child {
    border-bottom: none;
}
#payment ul.payment_methods li label {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    margin-left: 8px;
}
#payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--terracotta);
    transform: scale(1.15);
    cursor: pointer;
}
#payment div.payment_box {
    margin: 12px 0 4px 24px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
#payment div.payment_box::before {
    display: none;
}

/* WooCommerce core paints the payment box with theme-colour tints via
   #add_payment_method/.woocommerce-cart/.woocommerce-checkout #payment,
   which outrank the plain #payment rules above. Restate the theme styling
   at the same specificity so the purple tint and its borders are removed. */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    text-align: left;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    overflow: hidden;
}
#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 1.5;
    font-weight: inherit;
}
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 4px 24px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

/* Place Order & Terms */
.woocommerce-checkout .place-order {
    margin-top: 24px;
    padding: 0;
    float: none;
    width: 100%;
}
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}
.woocommerce-terms-and-conditions-wrapper a {
    color: var(--terracotta);
    text-decoration: underline;
}
.masalas-checkout-note {
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    margin: 0 0 16px;
    font-weight: 500;
}
#place_order {
    width: 100%;
    min-height: 56px;
    padding: 16px 28px;
    background: var(--terracotta);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(184, 75, 41, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#place_order:hover {
    background: var(--terracotta-deep);
    box-shadow: 0 6px 20px rgba(184, 75, 41, 0.4);
    transform: translateY(-1px);
}
#place_order:active {
    transform: translateY(1px);
}

/* Trust Bar Below Checkout */
.checkout-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.trust-pill svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* Right Sidebar (Sticky) */
.checkout-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.checkout-sidebar__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Product Overview Card */
.checkout-product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.checkout-product-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sand);
}
.checkout-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-product-card__content {
    padding: 24px;
}
.product-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: var(--terracotta-soft);
    border-radius: 100px;
    margin-bottom: 10px;
}
.checkout-product-card__content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.2;
}
.product-author {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* Features Included Card */
.checkout-features-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}
.checkout-features-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 16px;
}
.checkout-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkout-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.checkout-perks li svg {
    color: var(--olive);
    flex-shrink: 0;
    margin-top: 3px;
}

.wc-empty-cart, .checkout-empty { text-align: center; }

/* Thank-you */
.thank-you, .thankyou-card {
    max-width: 680px;
    margin: 40px auto 80px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    box-shadow: var(--shadow-sm);
}
.thank-you__mark, .thankyou-icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--terracotta-soft);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.thank-you h1, .thankyou-card h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 14px;
    color: var(--ink);
}
.thank-you__lede, .thankyou-card p {
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 28px;
}
.thank-you__note {
    font-size: 14.5px;
    color: var(--muted);
    margin-top: 24px;
    line-height: 1.6;
}
.thank-you__meta {
    list-style: none;
    margin: 32px auto 0;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: left;
}
.thank-you__meta li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.thank-you__meta li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.thank-you__meta span { color: var(--muted); }
.thank-you__meta strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------
   26. Mobile navigation sheet + bottom nav
   ------------------------------------------------------------------ */
.nav-sheet {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(92vw, 360px);
    z-index: 110;
    background: var(--surface);
    border-left: 1px solid var(--line);
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
    display: flex;
    flex-direction: column;
    padding: 70px 24px 32px;
}
.nav-sheet .sheet-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
}
.nav-sheet ul { list-style: none; padding: 0; margin: 0; }
.nav-sheet li { border-top: 1px solid var(--line); }
.nav-sheet li:last-child { border-bottom: 1px solid var(--line); }
.nav-sheet a {
    display: flex;
    align-items: center;
    min-height: 52px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
}
.nav-sheet a:hover { color: var(--terracotta); }
.nav-sheet__actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.nav-sheet__actions .btn { width: 100%; }

.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(37, 35, 31, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
body.nav-open { overflow: hidden; }
body.nav-open .site-overlay { opacity: 1; visibility: visible; }
body.nav-open .nav-sheet {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.bottom-nav { display: none; }

/* ------------------------------------------------------------------
   27. Misc components
   ------------------------------------------------------------------ */
.hero-note, .smallprint, .note {
    font-size: 13.5px;
    color: var(--muted);
}
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }

/* Suppress all broken font icons and pseudo-elements on notices */
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error[role=alert]::before,
.woocommerce-info[role=alert]::before,
.woocommerce-message[role=alert]::before,
.woocommerce-error[role=status]::before,
.woocommerce-info[role=status]::before,
.woocommerce-message[role=status]::before,
.woocommerce-error::after,
.woocommerce-info::after,
.woocommerce-message::after {
    display: none !important;
    content: none !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-left: 4px solid var(--terracotta) !important;
    border-radius: var(--radius-sm) !important;
    list-style: none !important;
    padding: 15px 22px !important;
    font-size: 14.5px !important;
    color: var(--ink-soft) !important;
    line-height: 1.5 !important;
    position: relative !important;
    margin: 0 0 16px 0 !important;
    clear: both !important;
}

.woocommerce-error {
    border-left-color: #c94a3a !important;
    color: #922b21 !important;
}

.woocommerce-info a,
.woocommerce-message a {
    color: var(--terracotta) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s ease;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover {
    color: var(--terracotta-dark) !important;
}

.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle,
form.checkout_coupon,
form.woocommerce-form-login,
.woocommerce-checkout .woocommerce-message,
.woocommerce-message a.button.wc-forward,
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    display: none !important;
}

/* Coupon & Login collapsible forms */
form.checkout_coupon,
form.woocommerce-form-login {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0 0 24px 0;
    box-shadow: var(--shadow-sm);
}

form.checkout_coupon p:first-child,
form.woocommerce-form-login p:first-child {
    margin-top: 0;
    color: var(--muted);
    font-size: 14.5px;
}

form.checkout_coupon .form-row-first {
    float: left;
    width: 60%;
    margin-right: 4%;
}

form.checkout_coupon .form-row-last {
    float: left;
    width: 36%;
}

form.checkout_coupon input.input-text,
form.woocommerce-form-login input.input-text {
    height: 48px;
    padding: 10px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--line);
    background: var(--surface-sunken);
    width: 100%;
    box-sizing: border-box;
}

form.checkout_coupon button.button,
form.woocommerce-form-login button.button {
    height: 48px;
    padding: 0 24px;
    background: var(--terracotta);
    color: var(--on-accent);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

form.checkout_coupon button.button:hover,
form.woocommerce-form-login button.button:hover {
    background: var(--terracotta-dark);
}

/* ------------------------------------------------------------------
   28. Responsive -- tablet (≤1024)
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    :root { --gutter: 24px; }

    .hero-inner, .about-inner { gap: 44px; }
    .hero { padding-bottom: 80px; }
    .hero-copy h1 { font-size: clamp(36px, 5vw, 50px); }

    .kitchen-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }

    .dish-top { grid-template-columns: 1fr; gap: 40px; }
    .dish-side { position: static; }
    .dish-meta, .dish-side { order: 0; }

    .tax-masala__head { grid-template-columns: 1fr; gap: 32px; }
    .tax-masala__img { max-width: 540px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

    .checkout-layout,
    .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
    .checkout-sidebar { position: static; }
}

/* ------------------------------------------------------------------
   29. Responsive -- mobile (≤768)
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
    :root {
        --gutter: 16px;
        --section-xl: 72px;
        --section-lg: 56px;
        --section-md: 48px;
        --section-sm: 40px;
    }

    .main-navigation { display: none; }
    .header-actions { display: none; }
    .menu-toggle { display: flex; }

    .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-copy h1 { font-size: clamp(33px, 9vw, 42px); }
    .hero-links { text-align: left; }

    .about-inner { grid-template-columns: 1fr; gap: 36px; }
    .about-media { order: -1; max-width: 560px; width: 100%; }
    .about-protip { padding: 18px 20px; }

    .masala-grid, .kitchen-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .masala-grid.compact { grid-template-columns: 1fr 1fr; gap: 12px; }

    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: clamp(26px, 7vw, 32px); }
    .section-sub { font-size: 16.5px; }

    .method-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
    .method-card { padding: 26px 20px; }

    .system-formula-banner {
        gap: 16px;
        padding: 22px 18px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .system-formula__num { font-size: 32px; }
    .system-formula__label { font-size: 11.5px; }
    .system-formula__op { font-size: 22px; }

    .wyg-grid, .who-grid { grid-template-columns: 1fr; gap: 16px; }
    .wyg-card, .who-card { padding: 28px 24px; }

    .steps-list.inline { grid-template-columns: 1fr; gap: 0; }
    .steps-list:not(.inline) .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
    .steps-list:not(.inline) .step__num { font-size: 24px; }

    .inside-summary { padding: 20px; }
    .inside-summary__row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .inside-stat strong { font-size: 22px; }
    .inside-stat span { font-size: 11.5px; }

    .video-play { width: 60px; height: 60px; }

    .faq-question { font-size: 17.5px; min-height: 56px; padding: 12px 8px; }
    .faq-answer p { padding-right: 12px; }

    .final-cta { padding: 72px 0; }
    .final-cta .btn { width: 100%; }
    .final-cta__actions { display: flex; flex-direction: column; }
    .cta-box { padding: 44px 24px; }
    .cta-box .btn-lg { width: 100%; }

    .page-header { padding-top: calc(var(--header-h) + 32px); padding-bottom: 32px; }
    .page-header h1 { font-size: clamp(28px, 8vw, 34px); }
    body.tax-masala .page-header h1 { font-size: clamp(30px, 8vw, 38px); }

    section.tax-masala {
        padding-top: calc(var(--header-h) + 16px);
        padding-bottom: 72px;
    }
    body.has-member-banner .tax-masala {
        padding-top: calc(var(--header-h) + var(--member-banner-h));
    }
    .tax-masala__base .section-head {
        margin-bottom: 24px;
    }
    .tax-masala__base .section-head .eyebrow {
        margin-bottom: 8px;
    }
    .tax-masala__base .section-head h1 {
        font-size: clamp(26px, 6.5vw, 34px);
        margin-bottom: 8px;
    }
    .tax-masala__base .section-sub {
        margin-top: 8px;
        font-size: 15px;
    }

    .tax-masala__head {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
        padding: 20px 0 12px;
    }
    .tax-masala__head h1 {
        font-size: clamp(30px, 8vw, 42px);
        margin-bottom: 12px;
    }
    .tax-masala__lede {
        font-size: 17px;
        margin-bottom: 12px;
    }
    .tax-masala__img {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
    }
    .tax-masala__base { margin-bottom: 48px; }
    .tax-masala__video-row { grid-template-columns: 1fr; gap: 24px; }
    .tax-masala__ingredients { position: static; padding: 22px 20px; }

    .auth-card { padding: 30px 20px; max-width: 100%; box-sizing: border-box; }

    .continue-card { grid-template-columns: 120px 1fr; gap: 16px; }
    .continue-card__body { padding: 16px 18px; }
    .continue-card__title { font-size: 18px; }
    .continue-card__media { aspect-ratio: 5 / 6; }

    .filter-toggle { display: inline-flex; margin-bottom: 16px; }
    .filter-form { display: none; }
    .filter-form.is-open { display: flex; flex-direction: column; align-items: stretch; }
    .filter-group { min-width: 0; width: 100%; }
    .filter-group select { width: 100%; min-width: 0; }
    .filter-actions { justify-content: flex-start; }

    .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .dish-card__body { padding: 14px 14px 16px; }
    .dish-card__title { font-size: 16px; }
    .dish-card__meta { font-size: 12px; gap: 6px; }
    .dish-card:hover .dish-card__play { opacity: 1; transform: translateY(0); }

    .dish-top { margin-top: 4px; }
    .dish-head h1 { font-size: clamp(28px, 8vw, 34px); }
    .dish-description h2 { font-size: 22px; margin-top: 36px; }

    .sample-banner { padding: 10px 16px; }
    body.has-member-banner .kitchen-top { padding-top: calc(var(--header-h) + var(--member-banner-h) + 36px); }

    .kitchen-hello { font-size: clamp(26px, 7vw, 32px); }
    .section-kicker { align-items: center; }
    .section-kicker h2 { font-size: 21px; }

    .pagination { margin-top: 40px; }
    .empty-state, .lock-state, .welcome-state { padding: 40px 22px; }

    .checkout-card { padding: 24px 20px; }
    .checkout-card__header { gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last { flex: 1 1 100%; min-width: 0; }
    .checkout-product-card__content,
    .checkout-features-card { padding: 20px 18px; }

    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td { padding: 12px 14px; font-size: 14px; }
    .woocommerce-checkout-review-order-table .order-total th,
    .woocommerce-checkout-review-order-table .order-total td { padding: 14px 14px; font-size: 15px; }

    /* Bottom navigation */
    .bottom-nav {
        display: block;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 90;
        background: var(--surface);
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .bottom-nav__inner {
        display: flex;
        align-items: stretch;
        min-height: 64px;
    }
    .bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--muted);
        font-size: 10.5px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }
    .bottom-nav a:hover { color: var(--terracotta); }
    .bottom-nav a svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        margin-bottom: 2px;
        transition: transform 0.2s ease, stroke 0.2s ease;
    }
    .bottom-nav a:hover svg,
    .bottom-nav a.active svg { stroke: var(--terracotta); transform: translateY(-1px); }
    .bottom-nav a [class*="icon"] { font-size: 18px; }
    .bottom-nav a.active { color: var(--terracotta); font-weight: 600; }

    body.has-bottom-nav { padding-bottom: calc(80px + env(safe-area-inset-bottom, 16px)); }

    /* General desktop-only float */
    .header-cta { display: none; }

    .nav-cta { display: block; margin-top: 20px; }
    .nav-cta .btn { width: 100%; }

    body.has-member-banner .bottom-nav { bottom: 0; }
}

/* ------------------------------------------------------------------
   30. Responsive -- small screens (≤600)
   ------------------------------------------------------------------ */
@media (max-width: 600px) {
    .masala-grid, .kitchen-grid, .dish-grid { grid-template-columns: 1fr; }
    .masala-grid.compact { grid-template-columns: 1fr; }
    .pairing-grid { grid-template-columns: 1fr; gap: 16px; }
    .ingredients { grid-template-columns: 1fr; }
    .filter-actions { width: 100%; }
    .filter-actions .btn { width: 100%; }
    .inside-summary { padding: 20px 16px; }
    .inside-summary__row { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .system-formula-banner {
        flex-direction: column;
        gap: 12px;
        padding: 22px 16px;
    }
    .system-formula__op { font-size: 20px; line-height: 1; }
}

/* ------------------------------------------------------------------
   31. Responsive -- small phones (≤375)
   ------------------------------------------------------------------ */
@media (max-width: 375px) {
    .hero-copy h1 { font-size: 30px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .continue-card { grid-template-columns: 1fr; }
    .continue-card__media { aspect-ratio: 16 / 9; }

    .brand-text small { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .checkout-card { padding: 20px 14px; }
    .pricing-card { padding: 24px 16px; }
}

/* ------------------------------------------------------------------
   31. Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------------------------------
   32. Component patches (markup aligned additions)
   ------------------------------------------------------------------ */
/* Save button scoped to dish cards -- round, floats over the media */
.dish-card .save-btn {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 42px; height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 253, 248, 0.94);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: color 0.2s ease, transform 0.2s ease;
}
.dish-card .save-btn:hover { color: var(--terracotta); transform: scale(1.05); }
.dish-card .save-btn .save-btn__label,
.dish-card .save-btn span { display: none; }
.dish-card .save-btn.is-saved { color: var(--terracotta); }

/* Masala chip on card media */
.dish-card__tag {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    background: rgba(37, 35, 31, 0.82);
    color: var(--paper);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 999px;
}
.dish-card__wrap { color: inherit; }
.dish-card__wrap:hover { text-decoration: none; }
.dish-card__wrap:focus-visible { outline-offset: -2px; }

/* Single-dish sidebar facts */
.dish-side .dish-fact {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    margin-top: 24px;
}
.dish-fact__link { color: inherit; }
.dish-fact__link:hover { text-decoration: none; }
.dish-fact__link h2 {
    font-size: 22px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}
.dish-fact__link:hover h2 { color: var(--terracotta); }
.dish-fact > p:not(.eyebrow) { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.dish-siblings { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.dish-siblings li { margin-bottom: 10px; }
.dish-siblings a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.dish-siblings a:hover { color: var(--terracotta); }

/* Save button on the single-dish sidebar */
.dish-save-block .save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: var(--terracotta);
    color: var(--on-accent);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.dish-save-block .save-btn:hover { background: var(--terracotta-deep); color: var(--on-accent); }
.dish-save-block .save-btn.is-saved {
    background: var(--terracotta-pale);
    color: var(--terracotta-deep);
    border-color: transparent;
}
.dish-save-block .save-btn svg { margin-right: 8px; flex: none; }

/* Dish meta separators on single page */
.dish-meta__sep { color: var(--line-strong); }

/* Mobile sheet CTA stack */
.nav-sheet .nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}
.nav-sheet .nav-cta .btn { width: 100%; }

/* Continue-cooking card is a link */
.continue-card { color: inherit; }
.continue-card:hover { text-decoration: none; }

/* Explore filter result count */
.filter-count { color: var(--muted); font-size: 15px; margin: -20px 0 32px; font-weight: 500; }

/* ------------------------------------------------------------------
   Buying-oriented front page (pricing + benefits)
   ------------------------------------------------------------------ */
.btn-price { font-weight: 700; margin-left: 8px; white-space: nowrap; }

.benefits-strip {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    max-width: 100%;
    box-sizing: border-box;
}
.benefits-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}
.benefits-strip__item::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terracotta);
}

.pricing-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 12px;
}
.pricing-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; line-height: 1.1; }
.pricing-copy p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; max-width: 70ch; }
.pricing-included { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.pricing-included li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ink-soft);
    font-size: 16px;
}
.pricing-included li::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--terracotta);
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    box-shadow: var(--shadow);
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}
.pricing-card__label {
    font-size: 13px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
    font-weight: 600;
}
.pricing-card__price { font-size: 46px; font-weight: 600; color: var(--ink); line-height: 1; margin: 0 0 8px; }
.pricing-card__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.pricing-card__freq { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.pricing-card .btn { width: 100%; }
.pricing-card__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.pricing-card__list li { font-size: 15px; color: var(--ink-soft); display: flex; gap: 10px; align-items: baseline; }
.pricing-card__list li::before { content: "✓"; color: var(--terracotta); font-weight: 700; flex: 0 0 auto; }
.pricing-card__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
    .pricing-block { grid-template-columns: 1fr; gap: 32px; }
    .btn-price { display: inline-block; }
    .pricing-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .benefits-strip { gap: 8px 14px; }
    .pricing-card { padding: 24px 16px; }
}

@media (max-width: 768px) {
    .tax-masala__video-row { grid-template-columns: 1fr; gap: 24px; }
    .tax-masala__ingredients { position: static; padding: 22px 20px; }
}

/* ------------------------------------------------------------------
   Landing page (front page) — conversion sections
   ------------------------------------------------------------------ */
.landing-hero .hero-media { position: relative; }

.hero-trust {
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.hero-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 18px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: right;
}
.hero-badge__label {
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
.hero-badge__price {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}
.hero-badge__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.landing-problem { background: var(--paper); }

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.compare__col {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    background: var(--surface);
}
.compare__col--bad { background: var(--sand); }
.compare__col--good { border-color: var(--terracotta); box-shadow: var(--shadow); }
.compare__title { font-size: 21px; margin: 0 0 20px; }
.compare__col--good .compare__title { color: var(--terracotta); }
.compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__list li {
    position: relative;
    padding-left: 30px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.5;
}
.compare__list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.compare__col--bad .compare__list li::before { content: "\00D7"; color: var(--muted); font-size: 20px; line-height: 1.2; }
.compare__col--good .compare__list li::before { content: "\2713"; color: var(--terracotta); }

.landing-value { background: var(--sand); }
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.value-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
}
.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--terracotta-pale);
    color: var(--terracotta-deep);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}
.value-card h3 { font-size: 19px; margin: 0 0 10px; }
.value-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.value-cta { margin-top: 40px; text-align: center; }

.dish-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.dish-tags li {
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    color: var(--ink-soft);
}

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    background: var(--surface);
}
.audience-card--yes { border-color: var(--terracotta); }
.audience-card h3 { font-size: 20px; margin: 0 0 18px; }
.audience-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.audience-card li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.5;
}
.audience-card li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.audience-card--yes li::before { content: "\2713"; color: var(--terracotta); }
.audience-card--no li::before { content: "\2013"; color: var(--muted); }

.buybar { display: none; }

@media (max-width: 860px) {
    .compare,
    .audience-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .compare__col { padding: 26px 22px; }
    .value-grid { grid-template-columns: 1fr; }
    .audience-card { padding: 24px 20px; }

    .buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--surface);
        border-top: 1px solid var(--line-strong);
        box-shadow: 0 -6px 24px rgba(37, 35, 31, 0.12);
        transform: translateY(110%);
        transition: transform 0.25s ease;
    }
    .buybar.is-visible { transform: translateY(0); }
    .landing { padding-bottom: 76px; }
    .buybar__copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
    .buybar__title {
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 600;
        color: var(--ink);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .buybar__meta { font-size: 12px; color: var(--muted); }
    .buybar__btn { flex: 0 0 auto; min-height: 44px; padding: 8px 18px; font-size: 14px; }
    .buybar__btn .btn-price { margin-left: 6px; }
}

@media (max-width: 380px) {
    .buybar__copy { display: none; }
    .buybar__btn { width: 100%; }
}

/* ------------------------------------------------------------------
   Hosted payment page (/masalas-pay/)
   ------------------------------------------------------------------ */
.pay-page {
    flex: 1 0 auto;
    padding: calc(var(--header-h) + 64px) 0 var(--section-lg);
    background: var(--paper);
}
body.has-member-banner .pay-page {
    padding-top: calc(var(--header-h) + var(--member-banner-h) + 56px);
}

.pay-page__card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px 44px;
    text-align: center;
    box-sizing: border-box;
}
.pay-page__card .eyebrow { margin-bottom: 14px; }
.pay-page__card h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.pay-page__sub {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 42ch;
    margin: 0 auto 28px;
}

.pay-page__order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    margin: 0 0 22px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: left;
}
.pay-page__order span { color: var(--ink-soft); font-size: 15px; }
.pay-page__order strong { font-size: 20px; color: var(--ink); white-space: nowrap; }
.pay-page__order .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.pay-page .form-status {
    min-height: 22px;
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--muted);
}
.pay-page .form-status.error { color: #A5342A; }
.pay-page .form-status.success { color: #2F6B46; }

.pay-page__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.pay-page__actions .btn { width: 100%; }
.pay-page__cancel { font-size: 14px; color: var(--muted); }
.pay-page__cancel:hover { color: var(--terracotta); }

.pay-page__err { margin-bottom: 12px; }

@media (max-width: 640px) {
    .pay-page { padding: calc(var(--header-h) + 40px) 0 var(--section-mobile); }
    body.has-member-banner .pay-page {
        padding-top: calc(var(--header-h) + var(--member-banner-h) + 32px);
    }
    .pay-page__card { width: auto; margin-inline: 16px; padding: 34px 22px; border-radius: var(--radius); }
    .pay-page__order { padding: 14px 16px; }
    .pay-page__order span { font-size: 14px; }
    .pay-page__order strong { font-size: 18px; }
}

/* ------------------------------------------------------------------
   Legal / policy pages (Terms, Privacy, Refunds, Shipping, Contact)
   ------------------------------------------------------------------ */
.content-area { padding-bottom: var(--section-md); }
.legal-content h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-content h3 { font-size: 19px; margin: 28px 0 10px; }
.legal-content p,
.legal-content li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.legal-content ul,
.legal-content ol { margin: 0 0 20px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--terracotta); text-decoration: underline; }
.legal-updated {
    padding: 14px 18px;
    margin-bottom: 28px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ink-soft);
}

@media (max-width: 768px) {
    .content-area { padding-bottom: var(--section-sm); }
    .legal-content h2 { font-size: 21px; margin-top: 32px; }
}