/* ═══════════════════════════════════════════════════════
   plan200.css — "Your Freezer, Curated" v2
   Design: Plus Jakarta Sans, canvas/ink/orange palette
   Orange reserved for: prices, checkout CTA, progress bar
   ════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
    --p200-orange: #ff7300;
    --p200-orange-hover: #e66800;
    --p200-ink: #1c1917;
    --p200-anchor: #181412;
    --p200-canvas: #ede4d7;
    --p200-surface: #ffffff;
    --p200-warm: #f5ede2;
    --p200-tint: #fff5ed;
    --p200-mid: #78716c;
    --p200-dim: #a8a29e;
    --p200-edge: #ddd5c8;
    --p200-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --p200-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --p200-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--p200-orange); color: #ffffff; }

body.p200-page {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, #f2e9dc 0%, var(--p200-canvas) 55%, #e4dace 100%);
    font-family: var(--p200-font);
    color: var(--p200-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.p200-page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

body.p200-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ── RESPONSIVE HELPERS ── */
.p200-desktop-only { display: none !important; }
.p200-mobile-only  { display: block !important; }

@media (min-width: 1024px) {
    .p200-desktop-only { display: flex !important; }
    .p200-desktop-only.p200-builder-zone { display: block !important; }
    .p200-mobile-only  { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   HEADER — dark command bar with orange brand stripe
══════════════════════════════════════════════════════════ */
.p200-header {
    background: var(--p200-anchor);
    position: sticky;
    top: 0;
    z-index: 50;
    border-top: 2px solid var(--p200-orange);
    border-bottom: 1px solid rgba(237, 228, 215, 0.1);
}

.p200-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    height: 56px;
    display: flex;
    align-items: stretch;
}

.p200-logo {
    font-family: var(--p200-font);
    font-size: 1.24rem;
    font-weight: 800;
    color: var(--p200-canvas);
    text-decoration: none;
    letter-spacing: -0.028em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 8px;
}
.p200-logo-sm { font-size: 1.18rem; }
.p200-logo-accent { color: var(--p200-orange); }

/* Filter tabs */
.p200-filter-tabs,
.p200-filter-tabs-mobile {
    display: flex;
    align-items: stretch;
}
.p200-filter-tabs-mobile {
    border-top: 1px solid rgba(237, 228, 215, 0.07);
    overflow-x: auto;
    padding: 0 14px;
    min-height: 44px;
}
.p200-filter-tabs-mobile .p200-filter-tab {
    font-size: 0.78rem;
    padding: 0 18px;
    min-height: 44px;
}

.p200-filter-tab {
    font-family: var(--p200-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.012em;
    padding: 0 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(237, 228, 215, 0.34);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: color 0.14s ease, border-color 0.14s ease;
}
.p200-filter-tab.is-active {
    color: var(--p200-canvas);
    border-bottom-color: var(--p200-orange);
}
.p200-filter-tab:hover:not(.is-active) {
    color: rgba(237, 228, 215, 0.62);
}

/* Header context */
.p200-header-context {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}
.p200-header-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--p200-orange);
    flex-shrink: 0;
}
.p200-header-week {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(237, 228, 215, 0.56);
}
.p200-header-sep { color: rgba(237, 228, 215, 0.16); }
.p200-header-meta {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: rgba(237, 228, 215, 0.34);
}

.p200-header-spacer { flex: 1; }

/* Header cart area */
.p200-header-cart {
    display: flex;
    align-items: center;
    gap: 16px;
}
.p200-header-cart-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
}
.p200-header-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(237, 228, 215, 0.5);
    min-width: 14px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.p200-header-divider {
    width: 1px;
    height: 14px;
    background: rgba(237, 228, 215, 0.1);
}
.p200-header-total {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--p200-canvas);
    min-width: 50px;
    text-align: right;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* Progress dots */
.p200-progress-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}
.p200-progress-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(237, 228, 215, 0.12);
    transition: background 0.22s ease, transform 0.16s ease;
    flex-shrink: 0;
}
.p200-progress-dot.filled {
    background: rgba(237, 228, 215, 0.72);
    transform: scale(1.2);
}

/* Review button */
.p200-review-btn {
    font-family: var(--p200-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(237, 228, 215, 0.14);
    background: rgba(237, 228, 215, 0.04);
    color: rgba(237, 228, 215, 0.56);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
    line-height: 1;
}
.p200-review-btn:hover {
    background: rgba(237, 228, 215, 0.1);
    border-color: rgba(237, 228, 215, 0.28);
    color: var(--p200-canvas);
}
.p200-review-btn.has-items {
    background: var(--p200-orange);
    border-color: var(--p200-orange);
    color: #ffffff;
}
.p200-review-btn.has-items:hover {
    background: var(--p200-orange-hover);
    border-color: var(--p200-orange-hover);
}
.p200-review-btn.box-ready {
    animation: p200-review-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 115, 0, 0.5);
}
@keyframes p200-review-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 115, 0, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(255, 115, 0, 0); }
}
.p200-review-btn-sm {
    padding: 6px 11px;
    font-size: 0.69rem;
}

/* Mobile header */
.p200-header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
}

/* ══════════════════════════════════════════════════════════
   HERO STRIP
══════════════════════════════════════════════════════════ */
/* Hero strip */
.p200-hero {
    position: relative;
    overflow: hidden;
    background: var(--p200-anchor);
}
.p200-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(24,20,18,0.62) 0%, rgba(24,20,18,0.38) 50%, rgba(24,20,18,0.72) 100%),
        url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=1920&q=75") center 40% / cover no-repeat;
    filter: brightness(1.08) saturate(1.12);
}
.p200-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px 44px;
}
.p200-hero-eyebrow {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    margin: 0 0 10px;
    text-shadow:
        0 1px 3px rgba(0,0,0,0.5),
        0 4px 12px rgba(0,0,0,0.3);
}
.p200-hero-headline {
    font-family: var(--p200-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.6),
        0 6px 20px rgba(0,0,0,0.35),
        0 0 40px rgba(0,0,0,0.15);
}
.p200-hero-sub {
    font-family: var(--p200-font);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    margin: 0;
    max-width: 44ch;
    line-height: 1.55;
    text-shadow:
        0 1px 3px rgba(0,0,0,0.55),
        0 4px 14px rgba(0,0,0,0.3);
}
@media (max-width: 640px) {
    .p200-hero-inner { padding: 36px 20px 32px; }
    .p200-hero-sub { font-size: 0.84rem; }
}

/* ══════════════════════════════════════════════════════════
   MAIN LAYOUT — two-column
══════════════════════════════════════════════════════════ */
.p200-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.p200-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding-top: 26px;
}
.p200-cards-col {
    flex: 1;
    min-width: 0;
    padding-right: 0;
    padding-bottom: 56px;
}
@media (min-width: 1024px) {
    .p200-cards-col { padding-right: 44px; }
}

/* ── LOADING ── */
.p200-loading {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.55rem;
}
.p200-loading[hidden] { display: none; }
.p200-loading p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--p200-mid);
}
.p200-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--p200-edge);
    border-top-color: var(--p200-orange);
    border-radius: 50%;
    animation: p200-spin 0.8s linear infinite;
}
@keyframes p200-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════ */
.p200-section-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.p200-section-label {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--p200-anchor);
    padding: 5px 12px 5px 11px;
    border-radius: 5px;
}
.p200-section-divider {
    flex: 1;
    height: 1px;
    background: rgba(28, 25, 23, 0.16);
}
.p200-section-count {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: rgba(28, 25, 23, 0.38);
    white-space: nowrap;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   MEAL CARD
══════════════════════════════════════════════════════════ */
.p200-meal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 540px) {
    .p200-meal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
    .p200-meal-grid { grid-template-columns: repeat(3, 1fr); }
}

.p200-card {
    background: var(--p200-surface);
    border-radius: 12px;
    overflow: hidden;
    transition:
        box-shadow 0.24s ease,
        transform 0.24s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 1px 4px rgba(28, 25, 23, 0.06),
        0 0 0 1px rgba(28, 25, 23, 0.048);
}
.p200-card:hover {
    box-shadow:
        0 14px 44px rgba(28, 25, 23, 0.14),
        0 0 0 1px rgba(28, 25, 23, 0.07);
    transform: translateY(-4px);
}
.p200-card.is-added {
    box-shadow:
        0 0 0 2px var(--p200-ink),
        0 6px 28px rgba(28, 25, 23, 0.14);
}
.p200-card.is-added:hover {
    box-shadow:
        0 0 0 2px var(--p200-ink),
        0 14px 40px rgba(28, 25, 23, 0.18);
}
.p200-card.is-disabled { opacity: 0.72; }

/* Card image */
.p200-card-img-wrap {
    overflow: hidden;
    background: #c8bdb3;
    position: relative;
    aspect-ratio: 5 / 4;
    cursor: pointer;
}
.p200-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: saturate(1.08) contrast(1.03) brightness(1.04);
}
.p200-card:hover .p200-card-img-wrap img { transform: scale(1.05); }

.p200-card-vignette {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 22%;
    background: linear-gradient(to top, rgba(20, 16, 14, 0.26) 0%, transparent 100%);
    pointer-events: none;
}

/* Card badges container */
.p200-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 1;
}

/* Card badge */
.p200-card-badge {
    font-family: var(--p200-font);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 5px;
    line-height: 1;
}
.p200-card-badge.chef {
    background: rgba(20, 16, 14, 0.58);
    color: rgba(237, 228, 215, 0.84);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.p200-card-badge.new-badge {
    background: var(--p200-anchor);
    color: var(--p200-canvas);
}
.p200-card-badge.coming-soon {
    background: var(--p200-anchor);
    color: var(--p200-canvas);
}
.p200-card-badge.out-of-stock {
    background: rgba(20, 16, 14, 0.58);
    color: rgba(237, 228, 215, 0.84);
    backdrop-filter: blur(4px);
}

/* Out of stock overlay */
.p200-card.is-out-of-stock .p200-card-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 18, 0.28);
    pointer-events: none;
}

/* Card body */
.p200-card-body { padding: 16px 18px 18px; }

.p200-card-title {
    font-family: var(--p200-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--p200-anchor);
    line-height: 1.18;
    letter-spacing: -0.024em;
    margin: 0 0 4px;
}

.p200-card-rating {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: var(--p200-dim);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.p200-card-rating i { color: #b87333; font-size: 0.62rem; }

.p200-card-desc {
    font-family: var(--p200-font);
    font-size: 0.72rem;
    color: #8a7e76;
    line-height: 1.54;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card image overlay — gallery + info buttons
   Always visible on mobile (touch); hover-reveal on desktop */
.p200-card-secondary {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .p200-card-secondary {
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .p200-card:hover .p200-card-secondary,
    .p200-card:focus-within .p200-card-secondary {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card primary action row (price + add/qty) */
.p200-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.p200-card-price {
    font-family: var(--p200-serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--p200-orange);
    letter-spacing: -0.036em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Card action buttons */
.p200-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p200-add-btn {
    font-family: var(--p200-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid rgba(28, 25, 23, 0.22);
    background: transparent;
    color: var(--p200-ink);
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, transform 0.1s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}
.p200-add-btn:hover:not(.added) {
    background: var(--p200-anchor);
    color: var(--p200-canvas);
    border-color: var(--p200-anchor);
}
.p200-add-btn:active { transform: scale(0.93); }
.p200-add-btn.added {
    background: var(--p200-anchor);
    border-color: var(--p200-anchor);
    color: var(--p200-canvas);
}
.p200-add-btn.added:hover {
    background: #2d2420;
    border-color: #2d2420;
}
.p200-add-btn[hidden] { display: none; }

/* Quantity controls */
.p200-qty-controls {
    display: inline-flex;
    align-items: center;
    background: var(--p200-surface);
    border-radius: 8px;
    border: 1.5px solid rgba(28, 25, 23, 0.22);
    height: 38px;
    padding: 0 4px;
}
.p200-qty-controls[hidden] { display: none; }

.p200-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: var(--p200-warm);
    color: var(--p200-ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.12s ease;
}
.p200-qty-btn:hover { background: var(--p200-edge); }

.p200-qty-value {
    min-width: 28px;
    text-align: center;
    font-family: var(--p200-font);
    font-size: 0.78rem;
    font-weight: 700;
}

/* Gallery / Nutrition icon buttons on cards */
.p200-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(20,16,14,0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(237,228,215,0.88);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    flex-shrink: 0;
    transition: background 0.12s ease, color 0.12s ease;
}
.p200-icon-btn:hover {
    background: rgba(20,16,14,0.7);
    color: #fff;
}

.p200-nutrition-btn {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 600;
    padding: 0 10px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(20,16,14,0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(237,228,215,0.88);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background 0.12s ease, color 0.12s ease;
}
.p200-nutrition-btn:hover {
    background: rgba(20,16,14,0.7);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════
   SECTION CONTAINERS
══════════════════════════════════════════════════════════ */
.p200-section { padding-bottom: 38px; }
.p200-section:last-child { padding-bottom: 56px; }

/* ══════════════════════════════════════════════════════════
   BOX BUILDER SIDEBAR — 368px, panel-integrated
══════════════════════════════════════════════════════════ */
.p200-builder-zone {
    width: 356px;
    flex-shrink: 0;
    padding: 20px 0 0 0;
    position: sticky;
    top: calc(56px + 20px);
    min-width: 0;
    overflow: hidden;
}
.p200-box-builder {
    background: #fdfbf8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 2px 16px rgba(28, 25, 23, 0.11),
        0 0 0 1px rgba(28, 25, 23, 0.07);
}

/* Builder header */
.p200-builder-header {
    background: linear-gradient(180deg, #221e1a 0%, #1a1613 100%);
    padding: 16px 18px 15px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.p200-builder-title {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(237, 228, 215, 0.44);
}
.p200-builder-count {
    font-family: var(--p200-font);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--p200-canvas);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.p200-builder-count-of {
    color: rgba(237, 228, 215, 0.24);
    font-weight: 400;
    font-size: 0.69rem;
}

/* Builder slots */
.p200-builder-slots-section {
    padding: 14px 16px 13px;
    border-bottom: 1px solid #e8e1d8;
}
.p200-slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}
.p200-meal-slot {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1.5px dashed #e2dbd2;
    background: #f6f2ec;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.p200-meal-slot.filled {
    border: 2px solid var(--p200-anchor);
    background: #f0ebe4;
}
.p200-meal-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.p200-slot-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--p200-font);
    font-size: 0.62rem;
    font-weight: 500;
    color: #cec8c0;
}
.p200-meal-slot.filled .p200-slot-num { display: none; }

/* Builder meals list */
.p200-builder-meals-list {
    padding: 11px 16px 12px;
    border-bottom: 1px solid #ede8e2;
    min-height: 46px;
}
.p200-builder-meal-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3.5px 0;
}
.p200-builder-meal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3d3530;
    flex-shrink: 0;
}
.p200-builder-meal-name {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 600;
    color: #3d3530;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.p200-builder-meal-price {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--p200-dim);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.p200-builder-empty {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: rgba(28, 25, 23, 0.26);
    font-style: italic;
    margin: 0;
}

/* Builder body / progress */
.p200-builder-body { padding: 14px 16px 16px; }
.p200-builder-progress-wrap { margin-bottom: 14px; }
.p200-progress-track {
    background: #e8e1da;
    border-radius: 999px;
    height: 3px;
    overflow: hidden;
}
.p200-progress-bar {
    height: 100%;
    background: var(--p200-orange);
    border-radius: 999px;
    width: 0%;
    transition: width 0.35s ease, box-shadow 0.4s ease;
}
.p200-progress-bar.glowing {
    box-shadow: 0 0 10px rgba(255,115,0,0.28), 0 0 3px rgba(255,115,0,0.16);
}
.p200-builder-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}
.p200-builder-remaining {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: var(--p200-dim);
    margin: 0;
    line-height: 1.3;
}
.p200-builder-total {
    font-family: var(--p200-font);
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--p200-anchor);
    margin: 0;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Builder checkout button */
.p200-builder-checkout {
    width: 100%;
    font-family: var(--p200-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: #e8e0d8;
    color: #b8b0a8;
    cursor: default;
    transition: background 0.18s ease, color 0.18s ease;
    line-height: 1;
}
.p200-builder-checkout.ready {
    background: var(--p200-orange);
    color: #ffffff;
    cursor: pointer;
}
.p200-builder-checkout.ready:hover { background: var(--p200-orange-hover); }

.p200-builder-reassurance {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: var(--p200-dim);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
    max-width: 100%;
    display: block;
    word-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════
   DRAWER — slides in from right
══════════════════════════════════════════════════════════ */
.p200-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(20, 16, 14, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
}
.p200-overlay.open { opacity: 1; pointer-events: all; }

.p200-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 380px;
    max-width: 92vw;
    z-index: 61;
    background: var(--p200-surface);
    border-left: 1px solid #e2d8ce;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.08, 0.64, 1);
    display: flex;
    flex-direction: column;
}
.p200-drawer.open { transform: translateX(0); }

.p200-drawer-header {
    background: var(--p200-anchor);
    border-top: 3px solid var(--p200-orange);
    padding: 16px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.p200-drawer-label {
    font-family: var(--p200-font);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(237, 228, 215, 0.4);
    margin: 0 0 3px;
}
.p200-drawer-count-text {
    font-family: var(--p200-font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--p200-canvas);
    margin: 0;
    line-height: 1.1;
}
.p200-drawer-count-of {
    font-weight: 400;
    color: rgba(237, 228, 215, 0.36);
}

.p200-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(237, 228, 215, 0.16);
    background: rgba(237, 228, 215, 0.06);
    color: rgba(237, 228, 215, 0.62);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.13s ease;
}
.p200-close-btn:hover { background: rgba(237, 228, 215, 0.15); }

.p200-drawer-progress-row {
    padding: 12px 20px;
    border-bottom: 1px solid #e8e1da;
    flex-shrink: 0;
}
.p200-drawer-remaining {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: var(--p200-dim);
    margin: 5px 0 0;
}

.p200-drawer-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.p200-drawer-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 12px 20px;
}
.p200-drawer-item + .p200-drawer-item {
    border-top: 1px solid #f2ebe4;
}

/* Image — spans full height of the item */
.p200-drawer-item-img {
    width: 56px;
    min-height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #d9cfc4;
    flex-shrink: 0;
    align-self: stretch;
}
.p200-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content — name on top, meta row below */
.p200-drawer-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.p200-drawer-item-name {
    font-family: var(--p200-font);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--p200-anchor);
    margin: 0;
    line-height: 1.25;
}

/* Bottom row: qty → price → remove */
.p200-drawer-item-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
}
.p200-drawer-item-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 26px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--p200-anchor);
    color: #ffffff;
    font-family: var(--p200-font);
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.p200-drawer-item-price {
    font-family: var(--p200-font);
    font-size: 0.76rem;
    color: var(--p200-dim);
    margin: 0;
    flex: 1;
}
.p200-drawer-remove-btn {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    font-weight: 600;
    color: var(--p200-mid);
    background: var(--p200-warm);
    border: 1px solid var(--p200-edge);
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 12px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.p200-drawer-remove-btn:hover {
    background: #f0e6da;
    border-color: #cec4b4;
    color: var(--p200-ink);
}

/* Drawer footer */
.p200-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2d8ce;
    flex-shrink: 0;
}
.p200-drawer-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}
.p200-drawer-totals-label {
    font-family: var(--p200-font);
    font-size: 0.75rem;
    color: var(--p200-mid);
}
.p200-drawer-totals-value {
    font-family: var(--p200-font);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--p200-ink);
    font-variant-numeric: tabular-nums;
}
.p200-drawer-grand {
    padding-top: 8px;
    margin-top: 4px;
    margin-bottom: 14px;
    border-top: 1px solid #e8e1da;
}
.p200-drawer-grand span:first-child {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--p200-ink);
}
.p200-drawer-grand span:last-child {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--p200-anchor);
    font-variant-numeric: tabular-nums;
}

.p200-drawer-checkout-btn {
    width: 100%;
    font-family: var(--p200-font);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 13px;
    border-radius: 8px;
    border: none;
    background: var(--p200-orange);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.13s ease;
    letter-spacing: 0.01em;
}
.p200-drawer-checkout-btn:hover { background: var(--p200-orange-hover); }

/* ══════════════════════════════════════════════════════════
   TRUST STRIP — between meal sections
══════════════════════════════════════════════════════════ */
/* Trust strip — between meal sections */
.p200-trust-strip {
    padding: 28px 0 36px;
    display: flex;
    justify-content: center;
}
.p200-trust-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.p200-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--p200-font);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--p200-mid);
    white-space: nowrap;
}
.p200-trust-item i {
    font-size: 0.82rem;
    color: #b87333;
}
.p200-trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(28,25,23,0.12);
}
@media (max-width: 640px) {
    .p200-trust-inner { gap: 18px 24px; }
    .p200-trust-divider { display: none; }
    .p200-trust-item { font-size: 0.72rem; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.p200-footer {
    background: var(--p200-anchor);
    border-top: 1px solid rgba(237, 228, 215, 0.08);
}
.p200-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.p200-footer-inner p {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: rgba(237, 228, 215, 0.3);
    margin: 0;
}
.p200-footer-links {
    display: flex;
    gap: 20px;
}
.p200-footer-links a {
    font-family: var(--p200-font);
    font-size: 0.69rem;
    color: rgba(237, 228, 215, 0.3);
    text-decoration: none;
    transition: color 0.12s ease;
}
.p200-footer-links a:hover { color: rgba(237, 228, 215, 0.65); }

/* ══════════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════════ */
.p200-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.p200-modal.is-open { display: flex; }

.p200-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 18, 0.56);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.p200-modal.is-open .p200-modal-backdrop { opacity: 1; }

.p200-modal-card {
    position: relative;
    width: min(540px, 100%);
    max-height: min(84vh, 720px);
    overflow: auto;
    border-radius: 16px;
    background: var(--p200-surface);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 56px rgba(26, 22, 18, 0.16);
    padding: 1.25rem;
    transform: translateY(16px) scale(0.985);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.p200-modal.is-open .p200-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.p200-modal-card h3 {
    margin: 0 2rem 0.6rem 0;
    font-family: var(--p200-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--p200-anchor);
}
.p200-modal-card p {
    margin: 0;
    color: var(--p200-mid);
    font-size: 0.875rem;
    line-height: 1.6;
}
.p200-modal-card-lg { width: min(680px, 100%); }

.p200-modal-close {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(28, 25, 23, 0.12);
    background: var(--p200-surface);
    color: var(--p200-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.14s ease;
}
.p200-modal-close:hover { transform: scale(1.04); }

.p200-modal-subtitle { margin: 0 0 0.75rem; }

/* Summary list */
.p200-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
.p200-summary-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 0.55rem;
    align-items: center;
    border: 1px solid rgba(28, 25, 23, 0.08);
    border-radius: 10px;
    padding: 0.45rem;
    background: #faf8f5;
}
.p200-summary-item img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
}
.p200-summary-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--p200-ink);
}
.p200-summary-item span {
    color: var(--p200-dim);
    font-size: 0.75rem;
}
.p200-summary-item em {
    font-family: var(--p200-font);
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Summary totals */
.p200-summary-totals {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.35rem;
}
.p200-summary-totals div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.875rem;
}
.p200-summary-totals .is-total {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(28, 25, 23, 0.1);
}
.p200-summary-totals .is-total strong {
    font-family: var(--p200-serif);
    color: var(--p200-orange);
    font-size: 1.05rem;
}

/* Modal actions */
.p200-modal-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Buttons */
.p200-btn {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--p200-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: background 0.14s ease, transform 0.14s ease;
}
.p200-btn:hover { transform: translateY(-1px); }

.p200-btn-primary {
    background: var(--p200-orange);
    color: #ffffff;
    margin-top: 0.75rem;
    width: 100%;
}
.p200-btn-primary:hover { background: var(--p200-orange-hover); }

.p200-btn-soft {
    border-color: rgba(28, 25, 23, 0.2);
    background: #faf8f5;
    color: var(--p200-ink);
}

.p200-modal-dismiss {
    margin-top: 0.75rem;
    width: 100%;
}

/* Nutrition */
.p200-nutrition-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 0.7rem;
}
.p200-nutrition-section { margin-top: 0.8rem; }
.p200-nutrition-section h4 {
    margin: 0 0 0.34rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--p200-ink);
}
.p200-label-thumb {
    margin-top: 0.45rem;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    border: 1px solid rgba(28, 25, 23, 0.1);
    cursor: zoom-in;
}

/* Dark modal */
.p200-modal-dark .p200-modal-backdrop {
    background: rgba(15, 13, 10, 0.88);
}
.p200-gallery-wrap,
.p200-zoom-wrap {
    position: relative;
    width: min(960px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.p200-gallery-wrap img,
.p200-zoom-wrap img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
}
.p200-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 13, 10, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.14s ease;
}
.p200-gallery-nav:hover { transform: translateY(-50%) scale(1.04); }
#p200-gallery-prev { left: 0.45rem; }
#p200-gallery-next { right: 0.45rem; }
#p200-gallery-counter {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    min-height: 30px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-family: var(--p200-font);
    background: rgba(15, 13, 10, 0.48);
}
.p200-modal-close-light {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(15, 13, 10, 0.45);
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
.p200-toast-container {
    position: fixed;
    right: 0.8rem;
    bottom: 1.5rem;
    z-index: 700;
    display: grid;
    gap: 0.5rem;
    max-width: min(92vw, 360px);
}
.p200-toast {
    border-radius: 10px;
    border: 1px solid rgba(28, 25, 23, 0.08);
    background: var(--p200-surface);
    color: var(--p200-ink);
    box-shadow: 0 10px 28px rgba(26, 22, 18, 0.12);
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transform: translateY(12px);
    opacity: 0;
    animation: p200-toast-in 0.2s ease forwards;
}
.p200-toast.is-out {
    animation: p200-toast-out 0.2s ease forwards;
}
.p200-toast i { color: var(--p200-orange); }

@keyframes p200-toast-in {
    to { transform: translateY(0); opacity: 1; }
}
@keyframes p200-toast-out {
    to { transform: translateY(12px); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════════ */
.p200-empty {
    margin: 0;
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--p200-surface);
    border: 1px solid rgba(28, 25, 23, 0.06);
    color: var(--p200-mid);
    font-size: 0.875rem;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
    .p200-main { padding: 0 16px; }
    .p200-layout { padding-top: 18px; }
    .p200-footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .p200-footer-links { justify-content: center; }
}

@media (max-width: 1023px) {
    .p200-builder-zone { display: none; }
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
.p200-card-enter {
    opacity: 0;
    transform: translateY(16px) scale(0.984);
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
}
