/* =====================================================
   BEEF MANIAC — 2026 THEME
   Loaded LAST on every page. Re-skins the whole site from one place:
   type, color, header, buttons, cards, sections, footer.
   Mobile-first; breakpoints 640 / 1024 / 1280.
   Remove the <link> to this file to fall back to the old look.
   ===================================================== */

:root {
    /* Type: condensed heavy display (matches the logo + packaging) + clean body */
    --font-heading: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Color */
    --color-primary: #e1251b;
    --color-primary-dark: #b8180f;
    --color-primary-light: #e1251b; /* no light or salmon reds */
    --color-secondary: #121212;
    --color-secondary-light: #2a2a2a;
    --color-ink: #121212;
    --color-ink-soft: #3d3d3d;
    --color-off-white: #f7f4ef;
    --color-gray-lighter: #f2efea;
    --color-gray-light: #e6e2dc;
    --color-gray: #8a8580;
    --color-gray-dark: #5b5752;
    --color-cream: #fbf8f3;

    --flavor-bbq: #c41e24;
    --flavor-cajun: #e83426;
    --flavor-jalapeno: #4cbb3a;
    --flavor-teriyaki: #f58020;

    /* Shape */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;

    --shadow-sm: 0 1px 2px rgba(18, 18, 18, .06);
    --shadow-md: 0 6px 18px rgba(18, 18, 18, .08);
    --shadow-lg: 0 14px 34px rgba(18, 18, 18, .12);
    --shadow-xl: 0 24px 60px rgba(18, 18, 18, .18);

    --section-pad: clamp(56px, 8vw, 112px);
}

/* ---------------------------------------------------- base type */
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .005em;
    line-height: 1.02;
    color: inherit;
}
h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
p { line-height: 1.65; }
img { height: auto; }
::selection { background: var(--color-primary); color: #fff; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------- layout */
.container { max-width: 1280px; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px)  { .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1280px) { .container { padding-left: 32px; padding-right: 32px; } }

.section { padding: var(--section-pad) 0; }
.section-title {
    font-size: clamp(2.1rem, 6vw, 3.6rem);
    margin-bottom: clamp(20px, 3vw, 36px);
    color: var(--color-ink);
}
.section-eyebrow {
    display: inline-block;
    font: 700 .78rem/1 var(--font-body);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* ---------------------------------------------------- shipping banner */
.site-shipping-banner {
    background: var(--color-primary);
    font: 600 .8rem/1.3 var(--font-body);
    letter-spacing: .02em;
    padding: 8px 12px;
    box-shadow: none;
}
.site-shipping-banner svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .site-shipping-banner { font-size: .86rem; } }

/* ---------------------------------------------------- header */
.header {
    background: rgba(14, 14, 14, .94);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-container {
    max-width: 1280px;
    padding: 10px 16px;
    gap: 16px;
    min-height: 64px;
}
@media (min-width: 640px)  { .nav-container { padding: 10px 24px; } }
@media (min-width: 1280px) { .nav-container { padding: 12px 32px; min-height: 76px; } }

.logo-img,
.header .logo-img {
    height: 50px;
    max-width: 130px;
}
@media (min-width: 1024px) { .logo-img, .header .logo-img { height: 58px; max-width: 150px; } }

/* Desktop nav only where it fits on one line; hamburger below that. */
.nav-menu { display: none; }
@media (min-width: 1024px) {
    .nav-menu { display: flex; gap: clamp(18px, 2.2vw, 34px); align-items: center; }
}
.nav-menu a {
    font: 600 .82rem/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .86);
    white-space: nowrap;
    padding: 10px 0;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a::after { background: var(--color-primary); height: 2px; bottom: 2px; }

.nav-actions { gap: 6px; }
.cart-icon {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    color: #fff;
    transition: background .15s ease;
}
.cart-icon:hover { background: rgba(255, 255, 255, .1); }
.cart-icon svg { width: 22px; height: 22px; }
.cart-count {
    background: var(--color-primary);
    font: 700 .7rem/1 var(--font-body);
    min-width: 18px; height: 18px;
    top: 4px; right: 2px;
    border: 2px solid #111;
}

.hamburger {
    background: transparent;
    border-radius: 999px;
    width: 44px; height: 44px;
    gap: 5px;
}
.hamburger:hover { background: rgba(255, 255, 255, .1); }
.hamburger span { width: 22px; height: 2px; border-radius: 2px; background: #fff; }
@media (min-width: 1024px) { .hamburger { display: none; } }
@media (max-width: 1023px) { .hamburger { display: flex; } }

.mobile-menu {
    background: #111;
    width: min(86vw, 360px);
    max-width: none;
    padding-left: 28px; padding-right: 28px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
}
.mobile-menu a {
    font: 800 1.7rem/1.1 var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .01em;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu a:hover { color: var(--color-primary-light); }

/* ---------------------------------------------------- buttons */
.btn {
    font: 700 1.02rem/1 var(--font-heading);
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 24px;
    min-height: 48px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    gap: 8px;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-cta, .btn-secondary { background: var(--color-primary); color: #fff; }
.btn-cta:hover, .btn-secondary:hover { background: var(--color-primary-dark); box-shadow: 0 8px 22px rgba(225, 37, 27, .28); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-outline-white { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--color-ink); }
.btn-large { padding: 17px 30px; font-size: 1.15rem; min-height: 56px; }
.btn-small { padding: 10px 16px; font-size: .9rem; min-height: 40px; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------------------------------------------------- forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], select, textarea,
.form-input, .form-select, .form-textarea {
    font-family: var(--font-body);
    font-size: 16px; /* no iOS zoom */
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-gray-light);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus,
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-ink);
    box-shadow: 0 0 0 4px rgba(18, 18, 18, .08);
    outline: none;
}
label, .form-label { font-weight: 600; font-size: .92rem; }

/* ---------------------------------------------------- generic cards */
.product-card, .cta-product-card, .order-card, .card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-light);
    box-shadow: none;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
@media (hover: hover) {
    .product-card:hover, .cta-product-card:hover, .order-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }
}
.price, .card-price, .product-price { font-family: var(--font-heading); font-weight: 800; letter-spacing: .01em; }

/* ---------------------------------------------------- footer */
.footer {
    background: #0e0e0e;
    color: rgba(255, 255, 255, .72);
    padding-top: clamp(48px, 7vw, 88px);
}
.footer .logo-img, .footer-brand .logo-img { height: 64px; max-width: 220px; }
.footer-links h4, .footer-contact h4 {
    font: 800 1.15rem/1 var(--font-heading);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
}
.footer-links a, .footer-contact p, .footer-brand p { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------- legal / text pages */
.sub-page { padding-top: calc(var(--shipping-banner-height, 34px) + var(--header-height, 64px) + 32px); }
.sub-page-inner { max-width: 760px; }
.sub-page h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); margin-bottom: 8px; }
.sub-page h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin: 32px 0 10px; }
.sub-page ul { padding-left: 1.2em; }
.sub-page li { margin-bottom: 8px; }
.sub-page a { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.sub-page-lede { color: var(--color-gray-dark); }

/* ---------------------------------------------------- utilities */
.text-red { color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------- page banners (about, kitchen, contact, recommend) */
.page-hero {
    min-height: clamp(360px, 56vh, 560px);
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding-bottom: clamp(32px, 6vw, 72px);
    background-color: var(--hero-bg, #0b0b0b);
    background-size: cover;
    background-position: center;
}
.page-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(8,8,8,.25) 0%, rgba(8,8,8,.45) 45%, rgba(8,8,8,.9) 100%);
}
.page-hero .hero-content {
    background: none;
    border-radius: 0;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px)  { .page-hero .hero-content { padding: 0 24px; } }
@media (min-width: 1280px) { .page-hero .hero-content { padding: 0 32px; } }
.page-hero h1, .page-hero .page-title {
    font-size: clamp(2.6rem, 8vw, 5rem);
    line-height: .92;
    max-width: 16ch;
    margin: 0 0 14px;
    text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.page-hero p { max-width: 56ch; color: rgba(255,255,255,.86); font-size: clamp(1rem, 2.2vw, 1.15rem); }
.page-hero .hero-subtitle { color: rgba(255,255,255,.72); font-size: .98rem; }

/* Banner photos. --ar = photo height / width, used to show the WHOLE photo. */
.contact-hero { background-image: url('../assets/images/2026/contact-bbq-1400.webp'); --ar: .95; --hero-bg: #0d0c0e; }
.flavor-hero  { background-image: url('../assets/images/2026/pile-backdrop-1400.webp'); --ar: .606; --hero-bg: #101115; }
.about-hero   { background-image: url('../assets/images/2026/about-hero-1600.webp'); --ar: .553; --hero-bg: #0d1724; }
.kitchen-hero { background-image: url('../assets/images/2026/pile-backdrop-2-1400.webp'); }

/* Phones + tablets: the full photo (uncropped) across the top, headline
   below it on black -- the subject (hand, bag label) is never covered. */
@media (max-width: 1023px) {
    .page-hero:not(.kitchen-hero) {
        --top: calc(var(--shipping-banner-height, 34px) + var(--header-height, 64px));
        /* photo height: full photo, but never more than ~60% of the screen */
        --ph: min(100vw * var(--ar), 60vh);
        display: block;
        min-height: 0;
        /* whole photo, scaled to fit --ph, centred on the matching dark tone */
        background-size: min(100%, calc(var(--ph) / var(--ar))) auto;
        background-repeat: no-repeat;
        background-position: center var(--top);
        padding-top: calc(var(--top) + var(--ph) - 40px);
        padding-bottom: 36px;
    }
    .page-hero:not(.kitchen-hero) .hero-overlay {
        background: linear-gradient(180deg,
            transparent 0,
            transparent calc(var(--top) + var(--ph) * .55),
            var(--hero-bg, #0b0b0b) calc(var(--top) + var(--ph) - 2px));
    }
    .page-hero:not(.kitchen-hero) h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); max-width: none; }
}

/* Desktop: headline on the left, the full-height photo on the right.
   A gradient layer sized exactly like the photo fades its left edge into
   the black, so there is no hard seam. */
@media (min-width: 1024px) {
    .page-hero:not(.kitchen-hero) {
        --top: calc(var(--shipping-banner-height, 34px) + var(--header-height, 76px));
        --h: calc(var(--top) + clamp(380px, 46vh, 480px));
        height: var(--h);
        min-height: 0;
        align-items: center;
        padding-bottom: 0;
        background-repeat: no-repeat;
        background-position: right top;
        background-size: auto 100%;
    }
    .page-hero.contact-hero, .page-hero.flavor-hero, .page-hero.about-hero {
        background-image:
            linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 80%, transparent) 14%, transparent 42%),
            var(--photo);
        /* photo starts just below the fixed header, so nothing hides behind it */
        background-size: calc((var(--h) - var(--top)) / var(--ar)) calc(100% - var(--top)), auto calc(100% - var(--top));
        background-position: right 0 top var(--top), right 0 top var(--top);
    }
    .contact-hero { --photo: url('../assets/images/2026/contact-bbq-1400.webp'); }
    .flavor-hero  { --photo: url('../assets/images/2026/pile-backdrop-1400.webp'); }
    .about-hero   { --photo: url('../assets/images/2026/about-hero-1600.webp'); }
    .page-hero:not(.kitchen-hero) .hero-overlay { background: none; }
    .page-hero:not(.kitchen-hero) .hero-content { padding-top: 0; }
    .page-hero:not(.kitchen-hero) h1 { max-width: 11ch; font-size: clamp(3rem, 5.2vw, 4.6rem); }
    .page-hero:not(.kitchen-hero) p { max-width: 40ch; }
}

/* cart / checkout: the section already clears the fixed header */
body:has(.cart-section) main, body:has(.checkout-section) main { padding-top: 0; }
body.has-shipping-banner .cart-section,
body.has-shipping-banner .checkout-section { padding-top: calc(var(--shipping-banner-height, 34px) + var(--header-height, 64px) + 28px); }

/* ---------------------------------------------------- product rail (About page, reusable) */
.rail-26 { background: var(--color-cream); }
.rail-26-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 3vw, 30px); }
.rail-26-head .section-title { text-align: left; margin: 0; }
.rail-26-nav { display: none; gap: 8px; }
@media (min-width: 640px) { .rail-26-nav { display: flex; } }
.rail-26-btn {
    width: 46px; height: 46px; border-radius: 999px; font-size: 1.6rem; line-height: 1;
    background: #fff; color: var(--color-ink); border: 1px solid var(--color-gray-light);
    display: inline-flex; align-items: center; justify-content: center; padding-bottom: 3px;
    transition: background .15s ease, color .15s ease;
}
.rail-26-btn:hover { background: var(--color-ink); color: #fff; }
.rail-26-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 16px 18px; margin: 0 -16px; scroll-padding-left: 16px;
    scrollbar-width: none;
}
.rail-26-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px)  { .rail-26-track { grid-auto-columns: calc((100% - 32px) / 3); margin: 0; padding: 4px 0 18px; scroll-padding-left: 0; } }
@media (min-width: 1024px) { .rail-26-track { grid-auto-columns: calc((100% - 48px) / 4); } }
.rail-26-card {
    scroll-snap-align: start; background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-light); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .rail-26-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.rail-26-img { display: block; aspect-ratio: 1; background: #111; }
.rail-26-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rail-26-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rail-26-body h3 { font-size: 1.3rem; margin: 0; }
.rail-26-body h3 a { color: inherit; }
.rail-26-body p { margin: 0; font-size: .86rem; color: var(--color-gray-dark); line-height: 1.4; }
.rail-26-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.rail-26-price { font: 800 1.55rem/1 var(--font-heading); }
.rail-26-ship { font: 700 .66rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #13803b; background: #e7f6ec; padding: 5px 8px; border-radius: 999px; }
.rail-26-add { margin-top: auto; width: 100%; }
.rail-26-foot { display: flex; justify-content: center; margin-top: 18px; }

/* pages that open with a photo banner: the banner itself clears the header */
body:has(.page-hero) main { padding-top: 0; }

/* Kitchen banner (video): long headline -> smaller, room under the header */
.page-hero.kitchen-hero {
    --top: calc(var(--shipping-banner-height, 34px) + var(--header-height, 64px));
    min-height: calc(var(--top) + clamp(340px, 50vh, 500px));
    padding-top: calc(var(--top) + 32px);
}
.page-hero.kitchen-hero .hero-overlay { background: linear-gradient(180deg, rgba(8,8,8,.35) 0%, rgba(8,8,8,.55) 50%, rgba(8,8,8,.9) 100%); }
.page-hero.kitchen-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); max-width: 18ch; }

/* Site badges sit UNDER product images, never on top of the artwork */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags .card-badge, .card-badge {
    position: static; display: inline-block;
    font: 700 .68rem/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase;
    padding: 6px 9px; border-radius: 999px;
}
.card-badge-variety { background: var(--color-gray-lighter); color: var(--color-ink); }
.card-badge-ship { background: #e7f6ec; color: #13803b; }

/* shipping banner: two lines on every screen size */
.site-shipping-banner .container { align-items: center; }
.ship-lines { display: flex; flex-direction: column; align-items: center; line-height: 1.3; text-align: center; }
.ship-lines > span { white-space: nowrap; }
.ship-lines > span + span { font-weight: 500; opacity: .92; }
@media (max-width: 340px) { .site-shipping-banner { font-size: .74rem; } }


/* ---------------------------------------------------- small "View cart" pill (shop + product pages)
   Hidden until the cart has items (Cart.updateCartCount toggles .active). */
.sticky-cart-btn {
    position: fixed; left: auto; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 0; background: none; box-shadow: none;
    z-index: var(--z-sticky);
    display: none;
}
.sticky-cart-btn.active { display: block; }
.view-cart-pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 16px 0 14px; border-radius: 999px;
    background: var(--color-ink); color: #fff;
    font: 700 .95rem/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.view-cart-pill:hover { background: #000; color: #fff; }
.sticky-cart-btn .cart-count {
    position: static; display: inline-flex !important; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px; border: 0; border-radius: 999px;
    background: var(--color-primary); color: #fff; font: 700 .76rem/1 var(--font-body);
}
@media (min-width: 1024px) { .sticky-cart-btn, .sticky-cart-btn.active { display: none !important; } }

/* ---------------------------------------------------- One-time | Monthly choice (cart drawer + cart page)
   Same visual language as the product page: neutral tiles, ink outline on the
   chosen one. Both options always visible; either can be picked anytime. */
.pt-mini-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    margin: 10px 0 6px; max-width: 320px;
}
.pt-mini {
    display: grid; gap: 2px; text-align: left; cursor: pointer;
    padding: 7px 10px; border-radius: 10px;
    background: #fff; color: var(--color-ink);
    border: 1.5px solid var(--color-gray-light);
    transition: border-color .15s ease, background-color .15s ease;
}
.pt-mini:hover { border-color: #b9b4ad; }
.pt-mini.is-on { border-color: var(--color-ink); background: var(--color-cream); box-shadow: inset 0 0 0 1px var(--color-ink); cursor: default; }
.pt-mini-title { font: 600 .74rem/1.2 var(--font-body); color: var(--color-gray-dark); }
.pt-mini-title em { font-style: normal; color: #13803b; font-weight: 700; }
.pt-mini.is-on .pt-mini-title { color: var(--color-ink); }
.pt-mini-price { font: 800 1rem/1.1 var(--font-heading); }

/* ---------------------------------------------------- checkout: monthly offer + switch back */
.sub-offer {
    margin: 14px 0 6px; padding: 14px; border-radius: 14px;
    background: #fff; border: 1px solid var(--color-gray-light);
}
.sub-offer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sub-offer-text { display: grid; gap: 3px; flex: 1 1 200px; min-width: 0; }
.sub-offer-text strong { font: 800 1.05rem/1.1 var(--font-heading); text-transform: uppercase; color: var(--color-ink); }
.sub-offer-text span { font-size: .84rem; color: var(--color-gray-dark); line-height: 1.45; }
.sub-offer-text b { color: #13803b; }
.sub-offer-btn {
    flex: none; cursor: pointer; padding: 9px 14px; border-radius: 10px;
    background: #fff; color: var(--color-ink); border: 1.5px solid var(--color-ink);
    font: 700 .86rem/1 var(--font-heading); letter-spacing: .05em; text-transform: uppercase;
}
.sub-offer-btn:hover { background: var(--color-ink); color: #fff; }
.sub-offer-confirm { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-gray-lighter); }
.sub-offer-confirm p { margin: 0 0 10px; font-size: .86rem; color: var(--color-ink-soft); line-height: 1.5; }
.sub-offer-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sub-offer-no { background: none; border: 0; cursor: pointer; color: var(--color-gray-dark); text-decoration: underline; text-underline-offset: 3px; font-size: .86rem; }
.sub-switch-back { margin: 10px 0 4px; font-size: .84rem; color: var(--color-gray-dark); }
.sub-switch-back button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* "Monthly" label in the checkout summary: quiet, not a red/green badge */
.sub-line-badge {
    display: inline-block; margin-top: 4px; padding: 0; background: none; border: 0;
    font: 600 .74rem/1.2 var(--font-body); color: var(--color-gray-dark); letter-spacing: .01em;
}

/* ---------------------------------------------------- Express checkout (checkout + cart): calm card */
.express-checkout-container {
    background: #fff; border: 1px solid var(--color-gray-light); border-radius: var(--radius-lg);
    padding: 18px; text-align: left; box-shadow: none;
}
.express-checkout-container.express-highlight { animation: none; box-shadow: 0 0 0 3px rgba(18,18,18,.08); }
.express-checkout-title { font: 800 1.05rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }
.express-checkout-hint { text-align: left; margin: 0 0 14px; font-size: .84rem; }
.checkout-divider span, .express-checkout-divider span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-gray); }

/* Gift note toggle: neutral card, ink when on */
.gift-toggle-container { background: #fff; border: 1.5px solid var(--color-gray-light); }
.gift-toggle-container:has(#send-as-gift:checked) { background: var(--color-cream); border-color: var(--color-ink); }

/* Product badges (Variety, Best Value...): small neutral tags, never loud red */
.product-badges .badge, .badge-hero, .badge-value, .badge-favorite, .badge-variety, .badge-bulk, .badge-starter {
    background: var(--color-gray-lighter); color: var(--color-ink);
    border: 0; border-radius: 999px;
    font: 700 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 10px;
}

/* ---------------------------------------------------- Build Your Own mix under a cart / checkout item */
.mix-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
    margin: 6px 0 2px; padding: 0; background: none; border: 0;
    color: var(--color-ink-soft); font: 500 .76rem/1.3 var(--font-body);
}
.mix-label { color: var(--color-gray-dark); font-weight: 600; margin-right: 2px; }
.mix-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 8px; border-radius: 999px;
    background: var(--color-gray-lighter); color: var(--color-ink); font-weight: 600;
}
.mix-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-gray); display: inline-block; }
.mix-dot.fl-bbq { background: var(--flavor-bbq); }
.mix-dot.fl-teriyaki { background: var(--flavor-teriyaki); }
.mix-dot.fl-cajun { background: var(--flavor-cajun); }
.mix-dot.fl-jalapeno { background: var(--flavor-jalapeno); }
.mix-plain { color: var(--color-ink-soft); }

/* item prices in the cart drawer / cart page: ink like the rest of the site */
.cart-drawer-item-price, .cart-item-details .price { color: var(--color-ink); }

/* ---------------------------------------------------- no double-tap zoom when tapping fast
   (pinch-to-zoom still works) */
html { touch-action: manipulation; }
button, a, input, select, textarea, label, summary, [role="button"] { touch-action: manipulation; }

/* ---------------------------------------------------- Build Your Own flavor picker (shop + cart editor) */
.mixp { display: grid; gap: 12px; }
.mixp-progress { display: grid; gap: 7px; }
.mixp-bar { height: 8px; border-radius: 999px; background: var(--color-gray-lighter); overflow: hidden; }
.mixp-bar span { display: block; height: 100%; width: 0; background: var(--color-ink); border-radius: inherit; transition: width .2s ease, background-color .2s ease; }
.mixp.is-full .mixp-bar span { background: #13803b; }
.mixp-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; font-size: .88rem; color: var(--color-gray-dark); }
.mixp-status strong { font: 800 1.15rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .02em; color: var(--color-ink); }
.mixp-done { color: #13803b; font-weight: 700; }
.mixp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mixp-row {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 8px 8px 8px 8px; background: #fff; border: 1.5px solid var(--color-gray-light); border-radius: 14px;
    transition: border-color .15s ease, background-color .15s ease;
}
.mixp-row.has-bags { border-color: var(--color-ink); background: var(--color-cream); }
.mixp-img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--color-gray-lighter); display: block; }
.mixp-info { display: grid; gap: 5px; justify-items: start; min-width: 0; }
.mixp-name {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    font: 800 1.1rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .02em; color: var(--color-ink);
}
.mixp-fill {
    background: none; border: 0; padding: 2px 0; cursor: pointer; white-space: nowrap;
    font: 600 .78rem/1.2 var(--font-body); color: var(--color-gray-dark);
    text-decoration: underline; text-underline-offset: 2px;
}
.mixp-fill:hover { color: var(--color-ink); }
.mixp-fill[hidden] { display: none; }
.mixp-step { display: flex; align-items: center; gap: 2px; }
.mixp-btn {
    width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
    display: grid; place-items: center;
    border: 1.5px solid var(--color-gray-light); background: #fff; color: var(--color-ink);
    font: 500 1.5rem/1 var(--font-body);
    touch-action: manipulation; user-select: none; -webkit-user-select: none;
    -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
    transition: transform .08s ease, opacity .15s ease;
}
.mixp-btn[data-step="1"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.mixp-btn:active:not(:disabled) { transform: scale(.9); }
.mixp-btn:disabled { opacity: .28; cursor: default; }
.mixp-count {
    width: 42px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent;
    text-align: center; color: var(--color-ink);
    font: 800 17px/1 var(--font-body) !important; /* 16px+ so iPhone never zooms in */
    -moz-appearance: textfield; appearance: textfield;
}
.mixp-count::-webkit-outer-spin-button, .mixp-count::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mixp-count:focus { outline: 2px solid var(--color-ink); outline-offset: 0; background: #fff; }
.mixp-tools { display: flex; gap: 8px; }
.mixp-tool {
    flex: 1; padding: 11px 12px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid var(--color-gray-light); background: #fff; color: var(--color-ink);
    font: 700 .85rem/1 var(--font-body);
}
.mixp-tool:hover { border-color: var(--color-ink); }
@media (max-width: 374px) {
    .mixp-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; padding: 7px; }
    .mixp-img { width: 42px; height: 42px; border-radius: 8px; }
    .mixp-name { font-size: 1rem; }
    .mixp-btn { width: 40px; height: 40px; }
    .mixp-count { width: 34px; }
}

/* Order Jerky → Build Your Own tab */
.byo-flavors { display: block !important; margin-bottom: 18px; }
.byo-panel .byo-size-price { color: inherit; }
@media (min-width: 720px) {
    .byo-panel .mixp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .byo-panel .mixp-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
    .byo-panel .mixp-img { width: 72px; height: 72px; }
    .byo-panel .mixp-tools { justify-content: flex-start; }
    .byo-panel .mixp-tool { flex: 0 0 auto; padding-inline: 18px; }
}

/* ---------------------------------------------------- "Edit mix" on cart / checkout lines */
.mix-edit {
    display: inline-flex; align-items: center; gap: 5px;
    margin: 6px 0 2px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid var(--color-gray-light); background: #fff; color: var(--color-ink);
    font: 700 .78rem/1 var(--font-body);
    width: auto; max-width: max-content; align-self: flex-start; justify-self: start;
}
.mix-edit:hover { border-color: var(--color-ink); }
.checkout-item-details .mix-edit { margin-top: 4px; }

/* Edit sheet: bottom sheet on phones, centered dialog on bigger screens */
.mix-editor { position: fixed; inset: 0; z-index: 700; display: flex; align-items: flex-end; justify-content: center; }
.mix-editor-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 18, .55); opacity: 0; transition: opacity .2s ease; }
.mix-editor-sheet {
    position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; color: var(--color-ink); border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .25);
    transform: translateY(100%); transition: transform .22s ease, opacity .2s ease;
}
.mix-editor.is-open .mix-editor-backdrop { opacity: 1; }
.mix-editor.is-open .mix-editor-sheet { transform: none; }
@media (min-width: 640px) {
    .mix-editor { align-items: center; padding: 24px; }
    .mix-editor-sheet { border-radius: 22px; transform: translateY(14px); opacity: 0; }
    .mix-editor.is-open .mix-editor-sheet { opacity: 1; }
}
.mix-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 10px; }
.mix-editor-head h2 { margin: 0; font-size: 1.6rem; line-height: 1; }
.mix-editor-x {
    flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--color-gray-lighter); color: var(--color-ink); font-size: 1.5rem; line-height: 1;
}
.mix-editor-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 6px; -webkit-overflow-scrolling: touch; }
.mix-editor-label { margin: 0 0 6px; font: 700 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--color-gray-dark); }
.mix-editor-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.mix-size {
    display: grid; gap: 4px; justify-items: center; padding: 9px 2px 8px; cursor: pointer;
    border-radius: 12px; border: 1.5px solid var(--color-gray-light); background: #fff; color: var(--color-ink);
}
.mix-size-bags { font: 800 1.3rem/1 var(--font-heading); }
.mix-size-price { font: 600 .68rem/1 var(--font-body); color: var(--color-gray-dark); white-space: nowrap; }
.mix-size.is-on { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.mix-size.is-on .mix-size-price { color: rgba(255, 255, 255, .8); }
.mix-editor-note { margin: 12px 0 0; font-size: .82rem; color: var(--color-gray-dark); }
.mix-editor-foot {
    flex: none; display: grid; gap: 2px; padding: 12px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-gray-lighter); background: #fff;
}
.mix-editor-save { width: 100%; }
.mix-editor-save:disabled { opacity: .5; cursor: not-allowed; }
.mix-editor-cancel { background: none; border: 0; padding: 10px; cursor: pointer; font: 600 .92rem/1 var(--font-body); color: var(--color-gray-dark); }
body.mix-editor-open { overflow: hidden; }
.mix-editor-sheet:focus { outline: none; }

/* "$32 value" next to an offer price (Quad Sampler) */
.price-value { font: 600 .85rem/1 var(--font-body); color: var(--color-gray-dark); text-decoration: line-through; white-space: nowrap; }

/* ---------------------------------------------------- free-shipping progress (drawer + cart page) */
.cart-drawer-shipping:has(.ship-nudge), .free-shipping-progress:has(.ship-nudge) {
    background: none; border: 0; padding: 0; text-align: left;
}
.ship-nudge { display: grid; gap: 7px; margin: 4px 0 10px; text-align: left; }
.ship-nudge-text { margin: 0; font: 500 .88rem/1.3 var(--font-body); color: var(--color-ink); }
.ship-nudge-text strong { font-weight: 800; }
.ship-nudge-bar { height: 8px; border-radius: 999px; background: var(--color-gray-lighter); overflow: hidden; }
.ship-nudge-bar span { display: block; height: 100%; border-radius: inherit; background: var(--color-ink); transition: width .3s ease; }
.ship-nudge.is-done .ship-nudge-bar span { background: #13803b; }
.ship-nudge.is-done .ship-nudge-text { color: #13803b; font-weight: 700; }
.ship-nudge-label { margin: 2px 0 0; font: 600 .76rem/1.2 var(--font-body); color: var(--color-gray-dark); }
.ship-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ship-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 11px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid var(--color-gray-light); background: #fff; color: var(--color-ink);
    font: 700 .8rem/1 var(--font-body);
}
.ship-chip::before { content: '+'; font-weight: 800; margin-right: -2px; }
.ship-chip:hover { border-color: var(--color-ink); }

/* ---------------------------------------------------- trust row under checkout buttons */
.trust-row {
    list-style: none; margin: 12px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
    font: 600 .8rem/1.2 var(--font-body); color: var(--color-gray-dark);
}
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--color-ink); }
