/*!
 * Chef Anthony - mobile redesign (<=720px).
 *
 * The production page is a React/RSC static export: its markup is mirrored in
 * a serialised payload at the bottom of index.html, so editing that markup in
 * place does not survive hydration. Instead, at <=720px the exported page is
 * hidden and this layer is built by assets/mobile-Dq4fix07.js.
 *
 * Desktop and the 721-1000px tablet band are untouched.
 */

@media (max-width: 720px) {

  /* --- take over from the exported page ------------------------------- */
  html.cam-on body > .site-header,
  html.cam-on body > main,
  html.cam-on body > .site-footer,
  html.cam-on body > .mobile-order,
  html.cam-on body > .ca-sticky-cta,
  html.cam-on body > .cart-overlay { display: none !important; }

  html.cam-on, html.cam-on body {
    background: #f4eddc;
    overflow-x: clip;
  }
  html.cam-on body { padding-bottom: 0 !important; }

  /* one measured offset for in-page jumps, never a stacked constant */
  html.cam-on { scroll-padding-top: calc(var(--cam-header-h, 104px) + 8px); }

  .cam { font-family: Arial, Helvetica, sans-serif; color: #1d1812; }
  .cam *, .cam *::before, .cam *::after { box-sizing: border-box; }
  .cam button { font-family: inherit; }
  .cam img { display: block; }
  .cam-scroll { scrollbar-width: none; -ms-overflow-style: none; }
  .cam-scroll::-webkit-scrollbar { display: none; }

  /* The exported stylesheet sets h1-h3 to Impact 900 uppercase globally, which
     this layer must not inherit - display type is opt-in via .cam-anton only. */
  .cam h1, .cam h2, .cam h3, .cam h4 {
    margin: 0; font-family: Arial, Helvetica, sans-serif; font-weight: bold;
    letter-spacing: normal; text-transform: none;
  }
  .cam .cam-anton { font-family: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
                    font-weight: 400; text-transform: uppercase; letter-spacing: .3px; }
  .cam .cam-serif { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }
  .cam .cam-eyebrow { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                      font-weight: bold; letter-spacing: 1.6px; text-transform: uppercase;
                      color: #b84a27; }

  /* --- 1. sticky header ----------------------------------------------- */
  .cam-header { position: sticky; top: 0; z-index: 20; background: #0d2723; color: #fffaf0;
                box-shadow: 0 1px 0 rgba(255,250,240,.08); }
  .cam-header-row { height: 56px; display: flex; align-items: center;
                    justify-content: space-between; padding: 0 12px 0 14px; gap: 10px; }
  .cam-brand { display: flex; align-items: center; gap: 10px; background: none; border: 0;
               padding: 0; color: inherit; cursor: pointer; text-align: left; }
  .cam-brand img { width: 38px; height: 38px; border-radius: 19px; object-fit: cover; flex: none; }
  .cam-brand-name { display: block; font-size: 18px; line-height: 1;
                    font-family: Anton, Impact, sans-serif; font-weight: 400;
                    text-transform: uppercase; letter-spacing: .3px; }
  .cam-brand-sub { display: block; font-size: 11px; color: #e0a12e; margin-top: 2px; }
  .cam-cart-btn { flex: none; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 22px;
                  border: 1px solid rgba(255,250,240,.25); background: transparent; color: #fffaf0;
                  font: bold 13px Arial, sans-serif; display: flex; align-items: center; gap: 8px;
                  cursor: pointer; }
  .cam-cart-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
                    background: #e0a12e; color: #1d1812; font-size: 12px; font-weight: bold;
                    display: flex; align-items: center; justify-content: center; }
  .cam-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 12px; }
  .cam-chip { flex: none; height: 36px; padding: 0 14px; border-radius: 18px;
              border: 1px solid rgba(255,250,240,.22); background: transparent; color: #f4eddc;
              font: bold 13px Arial, sans-serif; cursor: pointer; white-space: nowrap; }
  .cam-chip[aria-current="true"] { border-color: #e0a12e; background: #e0a12e; color: #1d1812; }

  /* --- 2. hero --------------------------------------------------------- */
  .cam-hero { position: relative; min-height: 540px; display: flex; flex-direction: column;
              justify-content: flex-end; padding: 28px 20px 26px; color: #fffaf0; overflow: hidden; }
  .cam-hero > img { position: absolute; inset: 0; width: 100%; height: 100%;
                    object-fit: cover; object-position: 60% 30%; }
  .cam-hero-veil { position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,39,35,.15) 0%, rgba(13,39,35,.55) 40%, #0d2723 88%); }
  .cam-hero-body { position: relative; display: flex; flex-direction: column; gap: 14px; }
  .cam-hero .cam-eyebrow { color: #e0a12e; }
  .cam-hero h1 { margin: 0; font-size: 44px; line-height: 1; letter-spacing: .3px; }
  .cam-hero h1 span { display: block; color: #eab347; }
  .cam-hero-lede { margin: 0; font-size: 16px; line-height: 1.5; color: #f1ead8; }
  .cam-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cam-hero-note { margin: 0; font-size: 13px; line-height: 1.45; color: #d9cdb8; }

  /* --- shared buttons -------------------------------------------------- */
  .cam-btn { height: 50px; border-radius: 25px; border: 0; display: flex; align-items: center;
             justify-content: center; font: bold 13px Arial, sans-serif; letter-spacing: .4px;
             text-transform: uppercase; text-decoration: none; cursor: pointer; padding: 0 14px;
             text-align: center; }
  .cam-btn-gold { background: #e0a12e; color: #1d1812; }
  .cam-btn-wa { background: #25d366; color: #082b17; }
  .cam-btn-outline { background: transparent; border: 1px solid #173d36; color: #173d36; }
  .cam-btn-wa-outline { background: transparent; border: 1px solid #25d366; color: #0d2723; }

  /* --- 3. benefits ------------------------------------------------------ */
  .cam-benefits { background: #0d2723; color: #fffaf0; padding: 0 16px 20px; }
  .cam-benefits-grid { display: grid; grid-template-columns: repeat(3,1fr);
                       border-top: 1px solid rgba(255,250,240,.14); padding-top: 16px; }
  .cam-benefits p { margin: 0; padding: 0 6px; display: flex; flex-direction: column; gap: 3px;
                    text-align: center; }
  .cam-benefits p + p { border-left: 1px solid rgba(255,250,240,.14); }
  .cam-benefits strong { font-size: 13px; }
  .cam-benefits span { font-size: 11px; color: #d9cdb8; }

  /* --- 4. category tiles ------------------------------------------------ */
  .cam-range { padding: 32px 16px 8px; }
  .cam-range h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.05; color: #173d36; }
  .cam-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cam-tile { text-align: left; min-height: 84px; padding: 12px; border-radius: 14px;
              border: 1px solid #d9cdb8; background: #fffaf0; display: flex;
              flex-direction: column; justify-content: space-between; gap: 8px; cursor: pointer; }
  .cam-tile-num { font-family: Anton, Impact, sans-serif; font-size: 14px; color: #b84a27; }
  .cam-tile b { display: block; font-size: 15px; color: #1d1812; }
  .cam-tile small { display: block; font-size: 12px; color: #6b6256; }

  /* --- 5. product sections ---------------------------------------------- */
  .cam-cat { padding: 32px 16px 8px; }
  .cam-cat-head { border-top: 2px solid #173d36; padding-top: 14px; margin-bottom: 14px; }
  .cam-cat-head h2 { margin: 4px 0 8px; font-size: 32px; line-height: 1.05; color: #173d36; }
  .cam-cat-intro { margin: 0; font-size: 15px; line-height: 1.5; color: #6b6256; }
  .cam-subhead { margin: 18px 0 10px; font-size: 13px; font-weight: bold; letter-spacing: 1.4px;
                 text-transform: uppercase; color: #b84a27; }

  .cam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cam-card { display: flex; flex-direction: column; background: #fffaf0; border: 1px solid #d9cdb8;
              border-radius: 14px; overflow: hidden; }
  .cam-card-img { padding: 0; border: 0; background: #efe6d2; display: block; position: relative;
                  cursor: pointer; aspect-ratio: 1/1; width: 100%; }
  .cam-card-img img { width: 100%; height: 100%; object-fit: cover; }
  .cam-badge-soon { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 10px;
                    background: #b84a27; color: #fffaf0; font-size: 10px; font-weight: bold;
                    letter-spacing: .6px; text-transform: uppercase; }
  .cam-card-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .cam-card-open { padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
                   display: flex; flex-direction: column; gap: 3px; flex: 1; }
  .cam-card-open h3 { margin: 0; font-size: 14px; line-height: 1.25; color: #1d1812; }
  .cam-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .cam-size { font-size: 12px; color: #6b6256; }
  .cam-price { font-size: 15px; font-weight: bold; color: #173d36; }

  /* list layout (toggle with data-layout="list" on the section) */
  .cam-cat[data-layout="list"] .cam-grid { display: block; background: #fffaf0;
    border: 1px solid #d9cdb8; border-radius: 14px; overflow: hidden; }
  .cam-cat[data-layout="list"] .cam-card { flex-direction: row; gap: 12px; border: 0;
    border-radius: 0; padding: 12px; align-items: center; }
  .cam-cat[data-layout="list"] .cam-card + .cam-card { border-top: 1px solid #d9cdb8; }
  .cam-cat[data-layout="list"] .cam-card-img { width: 92px; height: 92px; flex: none;
    aspect-ratio: auto; border-radius: 10px; overflow: hidden; }
  .cam-cat[data-layout="list"] .cam-card-body { padding: 0; }

  /* --- add / stepper ----------------------------------------------------- */
  .cam-add { height: 44px; border-radius: 22px; border: 1px solid #173d36; background: transparent;
             color: #173d36; font: bold 13px Arial, sans-serif; cursor: pointer; width: 100%; }
  .cam-add-soon { border-color: #b84a27; color: #b84a27; display: flex; align-items: center;
                  justify-content: center; text-decoration: none; }
  .cam-step { height: 44px; border-radius: 22px; background: #173d36; color: #fffaf0;
              display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
  .cam-step button { width: 44px; height: 44px; border: 0; background: transparent; color: #fffaf0;
                     font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
  .cam-step span { font-size: 12px; font-weight: bold; text-align: center; flex: 1; }

  /* --- 6. product sheet / 13. cart drawer -------------------------------- */
  .cam-scrim { position: fixed; inset: 0; background: rgba(13,39,35,.55); border: 0; width: 100%;
               padding: 0; cursor: pointer; }
  .cam-sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
                    justify-content: flex-end; }
  .cam-drawer-wrap { z-index: 60; }
  .cam-sheet { position: relative; background: #fffaf0; border-radius: 22px 22px 0 0;
               max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
               padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .cam-drawer { position: relative; background: #f4eddc; border-radius: 22px 22px 0 0;
                max-height: 86vh; display: flex; flex-direction: column; overscroll-behavior: contain; }
  .cam-sheet-photo { position: relative; }
  .cam-sheet-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .cam-round-close { width: 44px; height: 44px; border-radius: 22px; border: 0;
                     background: rgba(255,250,240,.9); color: #1d1812; font-size: 18px;
                     cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .cam-sheet-photo .cam-round-close { position: absolute; right: 12px; top: 12px; }
  .cam-sheet-body { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }
  .cam-sheet-title { margin: 0; font-size: 22px; line-height: 1.2; color: #1d1812; }
  .cam-sheet-price { font-size: 20px; font-weight: bold; color: #173d36; white-space: nowrap; }
  .cam-sheet-desc { margin: 0; font-size: 15px; line-height: 1.55; color: #6b6256; }
  .cam-sheet .cam-add, .cam-sheet .cam-step { height: 50px; border-radius: 25px; }
  .cam-sheet .cam-step button { height: 50px; }

  .cam-drawer-head { display: flex; align-items: center; justify-content: space-between;
                     padding: 16px 16px 8px; }
  .cam-drawer-head h2 { margin: 0; font-size: 24px; color: #173d36; }
  .cam-drawer-list { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px;
                     -webkit-overflow-scrolling: touch; }
  .cam-line { display: flex; gap: 12px; padding: 12px 0; align-items: center; }
  .cam-line + .cam-line { border-top: 1px solid #d9cdb8; }
  .cam-line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
  .cam-line-info { flex: 1; min-width: 0; }
  .cam-line-info b { display: block; font-size: 14px; }
  .cam-line-info small { display: block; font-size: 12px; color: #6b6256; }
  .cam-line-total { font-size: 14px; font-weight: bold; color: #173d36; white-space: nowrap; }
  .cam-line .cam-step { height: 36px; border-radius: 18px; }
  .cam-line .cam-step button { width: 36px; height: 36px; font-size: 17px; }
  .cam-drawer-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
                     border-top: 1px solid #d9cdb8; display: flex; flex-direction: column; gap: 10px; }
  .cam-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
  .cam-subtotal b { font-size: 18px; color: #173d36; }
  .cam-note { margin: 0; font-size: 12px; color: #6b6256; }
  .cam-clear { background: none; border: 0; color: #b84a27; font-size: 13px; font-weight: bold;
               text-decoration: underline; cursor: pointer; padding: 10px; min-height: 44px; }
  .cam-empty { padding: 28px 16px 8px; text-align: center; color: #6b6256; font-size: 15px; }

  /* --- 7. story ---------------------------------------------------------- */
  .cam-story { background: #173d36; color: #f1ead8; padding: 34px 16px 30px; }
  .cam-story h2 { margin: 6px 0 12px; font-size: 36px; line-height: 1.05; color: #fffaf0; }
  .cam-story h2 span { display: block; color: #eab347; }
  .cam-story p { font-size: 15px; line-height: 1.55; }
  .cam-story img { width: 100%; border-radius: 12px; }
  .cam-caption { margin: 8px 0 0; font-size: 12px; color: #d9cdb8; }
  .cam-story h3 { margin: 0 0 8px; font-size: 22px; color: #fffaf0; }
  .cam-quote { margin: 14px 0 0; font-size: 22px; line-height: 1.35; color: #eab347; font-style: italic; }
  .cam-timeline { list-style: none; margin: 20px 0 0; padding: 0; }
  .cam-timeline li { display: flex; gap: 10px; padding: 10px 0; font-size: 13px; line-height: 1.45;
                     border-top: 1px solid rgba(255,250,240,.16); }
  .cam-timeline i { font-style: normal; color: #e0a12e; font-weight: bold; flex: none; }

  /* --- 8. recipes carousel ------------------------------------------------ */
  .cam-recipes { padding: 32px 0 8px; }
  .cam-recipes-head { padding: 0 16px; }
  .cam-recipes h2 { margin: 4px 0 14px; font-size: 30px; line-height: 1.05; color: #173d36; }
  .cam-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
              padding: 0 16px 6px; }
  .cam-rail img { flex: none; width: 78%; scroll-snap-align: start; border-radius: 14px;
                  border: 1px solid #d9cdb8; }

  /* --- 9. contact --------------------------------------------------------- */
  .cam-contact { padding: 26px 16px 30px; }
  .cam-contact-card { background: #fffaf0; border: 1px solid #d9cdb8; border-radius: 18px;
                      padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; }
  .cam-contact h2 { margin: 0; font-size: 28px; line-height: 1.05; color: #173d36; }
  .cam-contact p { margin: 0; font-size: 15px; line-height: 1.55; color: #6b6256; }

  /* --- 10. footer --------------------------------------------------------- */
  .cam-footer { background: #0d2723; color: #f1ead8; text-align: center; padding: 30px 16px;
                display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .cam-footer img { width: 84px; height: 84px; border-radius: 42px; object-fit: cover; }
  .cam-footer b { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase;
                  font-size: 22px; }
  .cam-footer small { font-size: 12px; color: #d9cdb8; }
  .cam-footer .cam-tag { margin: 4px 0 0; font-size: 12px; font-weight: bold; letter-spacing: 1.2px;
                         text-transform: uppercase; color: #e0a12e; }
  .cam-footer a { color: #f1ead8; font-size: 14px; font-weight: bold; padding: 10px;
                  display: inline-block; }
  html.cam-cart-active .cam-footer { padding-bottom: 96px; }

  /* --- 11. sticky order bar ------------------------------------------------ */
  .cam-bar { position: fixed; left: 12px; right: 12px; z-index: 30;
             bottom: calc(24px + env(safe-area-inset-bottom, 0px));
             transition: transform .25s ease; }
  .cam-bar[hidden] { display: block !important; transform: translateY(120px); pointer-events: none; }
  .cam-bar > * { width: 100%; height: 56px; border-radius: 28px; border: 0; cursor: pointer;
                 display: flex; align-items: center; font: bold 14px Arial, sans-serif;
                 text-decoration: none; }
  .cam-bar-review { background: #e0a12e; color: #1d1812; justify-content: space-between;
                    padding: 0 20px; }
  .cam-bar-order { background: #25d366; color: #082b17; justify-content: center; }
  .cam-bar-meta { font-size: 13px; white-space: nowrap; }

  /* --- 12. back to top ------------------------------------------------------ */
  .cam-top { position: fixed; right: 14px; z-index: 29; width: 44px; height: 44px;
             border-radius: 22px; border: 1px solid rgba(255,250,240,.25);
             background: rgba(23,19,15,.72); color: #fffaf0; font-size: 18px; cursor: pointer;
             display: flex; align-items: center; justify-content: center;
             bottom: calc(24px + env(safe-area-inset-bottom, 0px));
             transition: opacity .2s ease, bottom .2s ease; }
  .cam-top[hidden] { display: flex !important; opacity: 0; pointer-events: none; }
  html.cam-bar-up .cam-top { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  @media (prefers-reduced-motion: reduce) {
    .cam-bar, .cam-top { transition: none; }
  }
}

/* Above the mobile breakpoint the layer is never shown. */
@media (min-width: 721px) { .cam, .cam-bar, .cam-top, .cam-sheet-wrap { display: none !important; } }

@media (max-width: 720px) {
  /* The sheet and drawer are focused on open so screen readers and the
     keyboard move into them; that must not paint the site's rust focus ring
     for someone who opened it with a tap. */
  .cam-sheet:focus, .cam-drawer:focus { outline: none; }
  /* Sheet/drawer are appended to <body>, so restate the page background guard. */
  .cam-sheet-wrap { font-family: Arial, Helvetica, sans-serif; }
}

@media (max-width: 720px) {
  /* Vertical rhythm inside the story band (children are a flat list). */
  .cam-story > * { margin: 0; }
  .cam-story > * + * { margin-top: 14px; }
  .cam-story > .cam-eyebrow + h2 { margin-top: 8px; }
  .cam-story > .cam-caption { margin-top: 10px; }
  .cam-story > .cam-caption + .cam-eyebrow { margin-top: 26px; }
  .cam-story > .cam-quote { margin-top: 18px; }
  .cam-contact > .cam-contact-card > * { margin: 0; }
}

@media (max-width: 720px) {
  /* --- empty-cart prompt ------------------------------------------------
     Same bottom-sheet language as the product sheet and cart drawer, but
     short and soft: it is a nudge, not a transaction. */
  .cam-soft-wrap .cam-scrim { background: rgba(13,39,35,.45); }
  .cam-soft { max-height: none; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .cam-soft-body { padding: 18px 16px 0; display: flex; flex-direction: column; gap: 14px; }
  .cam-soft-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .cam-soft-head h2 { font-size: 26px; line-height: 1.05; color: #173d36; }
  .cam-soft-note { margin: 0; font-size: 15px; line-height: 1.55; color: #6b6256; }
}

@media (max-width: 720px) {
  /* The global focus ring is drawn with box-shadow as well as outline, so
     outline:none alone leaves a rust halo round a sheet that was focused
     programmatically on open. Panels only - the controls inside keep their
     focus rings, which keyboard users need. */
  .cam-sheet:focus, .cam-sheet:focus-visible,
  .cam-drawer:focus, .cam-drawer:focus-visible {
    outline: none; box-shadow: none;
  }
}
