/* ============================================================================
   Mama Makala — bespoke storefront theme (themes/mama-makala)
   ----------------------------------------------------------------------------
   Her OWN brand, standalone (does NOT build on makert.css): Playfair Display +
   Yellowtail + Nunito type; a terracotta / sage / honey / cocoa palette on warm
   cream. Rebuilt to faithfully match the Claude Design ("Mama Makala Storefront")
   — hero food photo + rotated tag, cadence rule band, photo-forward cards, the
   dark Farmers Bundle band, dark About with emblem, wordmark nav, footer pay
   pills. This sheet styles her bespoke `.mm-*` classes AND the handful of shared
   classes that buyer-facing views she does NOT re-author rely on — the M12 order-
   thread portal (`.ot-*`, `.btn`, `.pt-error`) and the order status `.pill-*`.
   Catalog DATA (photos, logo, prices, names) comes from the view-model; this file
   is pure presentation.
   ============================================================================ */

.mm {
  --cocoa:#3A2418;        /* awning, dark bands */
  --ink:#4A2C1E;          /* body ink */
  --ink-soft:#5A4636;
  --paper:#FBF4EA;        /* page / cream */
  --cream:#FFFCF6;
  --white:#ffffff;
  --terracotta:#C0563E;   /* primary accent */
  --terracotta-deep:#A23A2E;
  --terracotta-soft:#FBEEE8;
  --sage:#7E8B5B;
  --sage-deep:#4F5A37;
  --honey:#C99A5B;
  --honey-bright:#E7B870;
  --hair:#EAD9BF;         /* hairline */
  --hair-soft:#E0CDA8;
  --muted:#8A7A66;
  --cocoa-soft:#D7C6B2;   /* text on cocoa */

  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Nunito',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
.mm *{box-sizing:border-box;}
.mm img{max-width:100%;}

.mm-script{font-family:'Yellowtail',cursive;font-weight:400;}

/* ---- Top bar + awning ----------------------------------------------------- */
.mm-topbar{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:var(--paper);
  padding:12px clamp(16px,5vw,40px);
  border-bottom:1.5px solid var(--hair);
}
.mm-brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--ink);}
.mm-brand-wordmark{height:46px;width:auto;max-width:240px;object-fit:contain;display:block;mix-blend-mode:multiply;}
.mm-brand-script{font-family:'Yellowtail',cursive;font-size:30px;color:var(--terracotta);line-height:1;}
.mm-nav{display:flex;align-items:center;gap:clamp(12px,2.4vw,26px);font-size:14.5px;font-weight:700;}
.mm-nav a{color:var(--ink);text-decoration:none;}
.mm-nav a:hover{color:var(--terracotta);}
.mm-nav-cart{display:inline-flex;align-items:center;gap:6px;}
.mm-badge{
  display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;
  background:var(--terracotta);color:var(--paper);border-radius:999px;font-size:12px;font-weight:800;
}

.mm-awning{line-height:0;background:var(--paper);}

/* Maker-set announcement ribbon — a top banner she controls from the dashboard. */
.mm-announce{
  background:var(--terracotta);color:var(--paper);text-align:center;
  padding:9px 18px;font-weight:800;font-size:14px;line-height:1.35;letter-spacing:.01em;
}
.mm-awning svg{display:block;width:100%;height:20px;}

/* ---- Main column + footer ------------------------------------------------- */
.mm-main{max-width:1160px;margin:0 auto;padding:0 clamp(16px,5vw,40px) 56px;}
.mm-main-flow{max-width:760px;padding-top:32px;}

.mm-foot{background:var(--paper);border-top:1.5px solid var(--hair);margin-top:8px;}
.mm-foot-inner{
  max-width:1160px;margin:0 auto;padding:26px clamp(16px,5vw,40px) 14px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:13.5px;color:var(--ink-soft);
}
.mm-foot-contact{display:flex;gap:20px;flex-wrap:wrap;align-items:center;}
.mm-foot-contact a{color:var(--ink-soft);text-decoration:none;font-weight:700;}
.mm-foot-contact a:hover{color:var(--terracotta);}
.mm-foot-pay{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.mm-foot-pay-label{font-size:12px;color:var(--muted);font-weight:700;}
.mm-foot-pill{font-size:11px;font-weight:800;background:var(--white);border:1.5px solid var(--hair);padding:5px 11px;border-radius:999px;}
.mm-foot-makert-row{max-width:1160px;margin:0 auto;padding:0 clamp(16px,5vw,40px) 22px;}
.mm-foot-makert{color:var(--muted);text-decoration:none;font-size:12.5px;}
.mm-foot-makert:hover{color:var(--terracotta);}

/* ---- Buttons -------------------------------------------------------------- */
.mm-btn, .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  background:var(--terracotta);color:var(--paper);
  font-family:'Nunito',sans-serif;font-weight:800;font-size:16px;
  padding:14px 26px;border:none;border-radius:999px;cursor:pointer;text-decoration:none;
  box-shadow:0 14px 26px -16px var(--terracotta);transition:transform .08s ease, background .15s ease;
}
.mm-btn:hover, .btn:hover{background:var(--terracotta-deep);}
.mm-btn:active, .btn:active{transform:translateY(1px);}
.mm-btn-sm{padding:10px 18px;font-size:14px;box-shadow:none;}
.mm-btn-block{width:100%;}
.mm-btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;
  background:transparent;color:var(--ink);font-weight:800;font-size:15px;
  padding:13px 22px;border:1.5px solid var(--hair);border-radius:999px;text-decoration:none;cursor:pointer;
}
.mm-btn-ghost:hover{border-color:var(--terracotta);color:var(--terracotta);}
.mm-link-underline{font-weight:800;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--honey);padding-bottom:2px;}
.mm-link-underline:hover{color:var(--terracotta);}
.mm-textbtn{background:none;border:none;color:var(--terracotta);font-weight:800;font-size:13.5px;cursor:pointer;padding:0;font-family:inherit;}
.mm-textbtn:hover{text-decoration:underline;}
.mm-textbtn-danger{color:var(--muted);}
.mm-textbtn-danger:hover{color:var(--terracotta-deep);}

.mm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}

/* ============================ HERO ======================================== */
.mm-hero{
  display:grid;grid-template-columns:1.04fr .96fr;gap:48px;align-items:center;
  padding:46px 0 36px;
}
.mm-hero-eyebrow{font-size:30px;color:var(--terracotta);margin:0 0 2px;line-height:1;}
.mm-hero-title{
  font-family:'Playfair Display',Georgia,serif;font-weight:900;
  font-size:clamp(34px,5vw,52px);line-height:1.04;letter-spacing:-.01em;margin:0;
}
.mm-hero-lead{font-size:17px;color:var(--ink-soft);line-height:1.6;margin:18px 0 24px;max-width:46ch;}
.mm-hero-cta{display:flex;gap:18px;align-items:center;margin-bottom:24px;flex-wrap:wrap;}
.mm-hero-strip{display:inline-flex;background:var(--white);border:1.5px solid var(--hair);border-radius:14px;overflow:hidden;flex-wrap:wrap;}
.mm-strip-cell{padding:10px 18px;text-align:center;border-right:1.5px solid var(--hair);}
.mm-strip-cell:last-child{border-right:none;}
.mm-strip-k{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.mm-strip-v{font-family:'Playfair Display',serif;font-weight:700;font-size:15px;}

.mm-hero-art{position:relative;}
.mm-hero-tag{
  position:absolute;top:-14px;left:-10px;z-index:3;
  background:var(--honey);color:var(--cocoa);font-size:22px;
  padding:7px 17px;border-radius:13px;transform:rotate(-7deg);
  box-shadow:0 18px 40px -24px rgba(42,30,24,.4);
}
.mm-hero-frame{
  border-radius:20px;overflow:hidden;border:1.5px solid var(--hair);
  box-shadow:0 26px 50px -30px rgba(42,30,24,.5);background:var(--cream);
  aspect-ratio:11/10;
}
.mm-hero-frame img{width:100%;height:100%;object-fit:cover;display:block;}

/* ============================ MENU ======================================== */
.mm-menu{padding:18px 0 8px;scroll-margin-top:80px;}
.mm-menu-head{text-align:center;margin:14px 0 26px;}
.mm-menu-eyebrow{font-size:26px;color:var(--terracotta);margin:0;line-height:1;}
.mm-menu-title{font-family:'Playfair Display',serif;font-weight:900;font-size:clamp(30px,4.6vw,42px);letter-spacing:.02em;text-transform:uppercase;margin:0;}
.mm-cadence{display:flex;align-items:center;gap:12px;justify-content:center;margin-top:12px;flex-wrap:wrap;}
.mm-cadence-rule{height:1.5px;width:clamp(28px,8vw,60px);background:var(--hair-soft);}
.mm-cadence-heart{color:var(--terracotta);}
.mm-cadence-text{font-size:13.5px;font-weight:700;color:var(--ink-soft);}

.mm-section-head{display:flex;align-items:center;gap:12px;margin:30px 0 18px;}
.mm-section-heart{color:var(--terracotta);font-size:14px;}
.mm-section-title{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(20px,3vw,26px);margin:0;}
.mm-section-title-caps{letter-spacing:.06em;text-transform:uppercase;}
.mm-openpill{font-size:12px;font-weight:800;color:var(--sage-deep);background:rgba(126,139,91,.16);padding:5px 12px;border-radius:999px;white-space:nowrap;}
.mm-rule{flex:1;height:1.5px;background:var(--hair);}
.mm-section-note{font-size:18px;color:var(--terracotta);}

.mm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:22px;}

.mm-empty{text-align:center;padding:56px 20px;color:var(--ink-soft);}
.mm-empty-emoji{font-size:48px;}
.mm-empty-title{font-family:'Playfair Display',serif;font-weight:800;font-size:20px;margin-top:8px;}
.mm-empty p{margin:6px 0 0;color:var(--muted);}
.mm-empty a{color:var(--terracotta);font-weight:700;text-decoration:none;}

/* ---- Product card --------------------------------------------------------- */
.mm-card{
  background:var(--white);border:1.5px solid var(--hair);border-radius:18px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 14px 30px -24px rgba(42,30,24,.4);
  transition:transform .1s ease, box-shadow .15s ease;
}
.mm-card:hover{transform:translateY(-2px);box-shadow:0 22px 40px -26px rgba(42,30,24,.45);}
.mm-card.is-out, .mm-card.is-closed{opacity:.74;}
.mm-card-photo{position:relative;aspect-ratio:3/2;background:linear-gradient(135deg,#F3E7D2,#EADBC2);display:grid;place-items:center;overflow:hidden;}
/* Absolutely fill the 3:2 frame so the photo is CROPPED to it (object-fit:cover) rather than
   the image's natural height stretching the card — a tall/portrait photo was rendering at full
   height on mobile because an in-flow height:100% img can't resolve against an aspect-ratio box,
   so it fell back to intrinsic size. Out of flow, the box keeps its aspect-ratio and the photo
   crops to the band. */
.mm-card-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.mm-card-photo-empty{font-size:46px;opacity:.5;}
/* Swipeable photo gallery (CSS scroll-snap, no JS) inside the cropped 3:2 frame. */
.mm-gallery{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.mm-gallery::-webkit-scrollbar{display:none;}
.mm-gallery img{position:relative;flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:center;display:block;}
.mm-gallery-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:5px;pointer-events:none;z-index:2;}
.mm-gallery-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 2px rgba(0,0,0,.45);}
.mm-gallery-dot.is-active{background:#fff;}
.mm-flag{
  position:absolute;top:10px;left:10px;font-size:10px;font-weight:800;letter-spacing:.04em;
  color:var(--paper);background:var(--terracotta-deep);padding:4px 10px;border-radius:999px;text-transform:uppercase;
}
.mm-flag-pre{background:var(--sage);}
.mm-flag-closed{background:var(--muted);}

.mm-card-body{padding:13px 15px 15px;display:flex;flex-direction:column;gap:8px;flex:1;}
.mm-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.mm-card-name{font-family:'Playfair Display',serif;font-weight:700;font-size:16px;line-height:1.15;margin:0;}
.mm-card-price{font-size:26px;color:var(--terracotta);line-height:.8;flex:none;}
.mm-card-desc{font-size:13px;color:var(--ink-soft);line-height:1.5;margin:0;}
.mm-card-avail{font-size:12px;font-weight:700;color:var(--sage-deep);background:rgba(126,139,91,.12);border-radius:8px;padding:6px 9px;}
.mm-card-avail.is-batch{color:var(--terracotta-deep);background:rgba(192,86,62,.1);}
.mm-card-allergens{font-size:11.5px;color:var(--terracotta-deep);}

.mm-add{margin-top:auto;display:flex;flex-direction:column;gap:11px;padding-top:4px;}
.mm-sizes{border:none;padding:0;margin:0;}
.mm-sizes-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0;margin-bottom:7px;}
.mm-sizes-row{display:flex;gap:8px;flex-wrap:wrap;}
.mm-size{
  flex:1 1 auto;min-width:78px;position:relative;cursor:pointer;
  border:1.5px solid var(--hair);border-radius:13px;padding:9px 10px;text-align:center;background:var(--white);
  display:flex;flex-direction:column;gap:1px;transition:border-color .12s, background .12s;
}
.mm-size input{position:absolute;opacity:0;inset:0;cursor:pointer;}
.mm-size-name{font-weight:800;font-size:13px;}
.mm-size-price{font-size:19px;color:var(--terracotta);line-height:1;}
.mm-size:has(input:checked){border-color:var(--terracotta);background:var(--terracotta-soft);border-width:2px;}
.mm-size:has(input:focus-visible){outline:2px solid var(--terracotta);outline-offset:2px;}

.mm-add-row{display:flex;gap:10px;align-items:stretch;}
.mm-qty{display:flex;align-items:center;gap:8px;border:1.5px solid var(--hair);border-radius:999px;padding:4px 14px;background:var(--white);}
.mm-qty-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);}
.mm-qty input{width:42px;border:none;background:transparent;font-family:inherit;font-weight:800;font-size:16px;color:var(--ink);text-align:center;}
.mm-qty input:focus{outline:none;}
.mm-add-btn{flex:1;padding:12px 16px;font-size:14.5px;}

/* ---- Build-your-own-box picker (one <select> per item to choose) ---------- */
.mm-byo-form{margin-top:auto;display:flex;flex-direction:column;gap:11px;padding-top:4px;}
.mm-byo-slot{border:1.5px solid var(--hair);border-radius:13px;padding:11px 12px;margin:0;display:flex;flex-direction:column;gap:7px;background:var(--white);}
.mm-byo-legend{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 2px;}
.mm-byo-select{width:100%;border:1.5px solid var(--hair);border-radius:9px;padding:8px 10px;font-family:inherit;font-size:14px;color:var(--ink);background:var(--cream);}
.mm-byo-select:focus{outline:none;border-color:var(--terracotta);background:var(--white);}

/* ---- Bundle band (the design's dark "Farmers Bundle" feature) ------------- */
.mm-bundle{
  background:var(--cocoa);color:var(--paper);border-radius:22px;overflow:hidden;
  display:grid;grid-template-columns:1fr 1.12fr;gap:0;align-items:stretch;
  margin:34px 0 8px;scroll-margin-top:80px;box-shadow:0 30px 60px -38px rgba(42,30,24,.6);
}
.mm-bundle-art{position:relative;min-height:240px;overflow:hidden;}
/* Same crop-to-frame fix as the cards: a portrait LEAD product photo would otherwise stretch
   this band to its full height. Absolute fill keeps it cropped; the cell height comes from the
   grid stretch on desktop and an explicit height on mobile (below). */
.mm-bundle-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.mm-bundle-badge{
  position:absolute;top:14px;left:14px;background:var(--honey);color:var(--cocoa);
  font-size:20px;padding:5px 15px;border-radius:12px;transform:rotate(-6deg);
  box-shadow:0 14px 30px -18px rgba(0,0,0,.5);
}
.mm-bundle-body{padding:clamp(22px,3vw,34px);display:flex;flex-direction:column;gap:14px;justify-content:center;}
.mm-bundle-eyebrow{font-size:24px;color:var(--honey-bright);margin:0;line-height:1;}
.mm-bundle-item{display:flex;flex-direction:column;gap:8px;}
.mm-bundle-item + .mm-bundle-item{border-top:1.5px solid #5A4636;padding-top:16px;margin-top:4px;}
.mm-bundle-item.is-out,.mm-bundle-item.is-closed{opacity:.7;}
.mm-bundle-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.mm-bundle-name{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(22px,2.6vw,30px);margin:0;line-height:1.1;}
.mm-bundle-price{font-size:38px;color:var(--honey-bright);line-height:.7;flex:none;}
.mm-bundle-desc{font-size:14.5px;color:var(--cocoa-soft);line-height:1.6;margin:0;max-width:52ch;}
.mm-bundle-avail{font-size:12.5px;font-weight:700;color:var(--honey-bright);margin:0;}
.mm-bundle-add{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:4px;}
.mm-bundle-size select{
  border:1.5px solid #5A4636;background:#4a3120;color:var(--paper);font-family:inherit;font-weight:700;
  font-size:14px;border-radius:999px;padding:11px 16px;cursor:pointer;
}
.mm-bundle-btn{flex:none;}
.mm-bundle-flag{display:inline-block;font-size:12px;font-weight:800;color:var(--cocoa-soft);background:rgba(255,255,255,.08);border:1.5px solid #5A4636;padding:8px 14px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em;}

/* ============================ ABOUT ======================================= */
.mm-about{scroll-margin-top:80px;margin-top:44px;}
.mm-about-inner{background:var(--cocoa);color:var(--paper);border-radius:24px;padding:clamp(30px,5vw,52px);text-align:center;}
.mm-about-emblem{width:118px;height:118px;border-radius:50%;object-fit:cover;border:3px solid #5A4636;background:#fff;margin:0 auto 16px;display:block;}
.mm-about-eyebrow{font-size:28px;color:var(--honey-bright);margin:0;}
.mm-about-title{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(26px,4vw,34px);margin:4px 0 0;}
.mm-about-body{font-size:16.5px;line-height:1.7;color:var(--cocoa-soft);margin:16px auto 0;max-width:60ch;}
.mm-about-sign{font-size:22px;color:var(--honey-bright);margin:12px 0 0;}
.mm-about-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:28px;text-align:left;}
.mm-about-card{background:rgba(255,255,255,.06);border:1.5px solid #5A4636;border-radius:16px;padding:18px 20px;}
.mm-about-card-title{font-family:'Playfair Display',serif;font-weight:700;font-size:16px;margin-bottom:8px;}
.mm-about-card p{font-size:14px;color:var(--cocoa-soft);margin:0 0 6px;line-height:1.55;}
.mm-about-links{display:flex;flex-direction:column;gap:6px;margin-top:6px;}
.mm-about-links a{color:var(--honey-bright);text-decoration:none;font-weight:700;font-size:14px;}
.mm-about-links a:hover{text-decoration:underline;}
.mm-about-social{display:flex;gap:16px;align-items:center;}
.mm-about-fb-qr{width:84px;height:84px;object-fit:contain;border-radius:10px;background:#fff;padding:5px;flex:none;}

/* ============================ BUYER FLOW ================================== */
.mm-flowpage{padding-bottom:24px;}
.mm-flow-h1{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(26px,4vw,32px);margin:0 0 18px;}
.mm-narrow{max-width:440px;margin:0 auto;}

.mm-banner{background:rgba(126,139,91,.12);border:1.5px solid var(--sage);color:var(--sage-deep);border-radius:12px;padding:12px 15px;margin-bottom:16px;font-weight:600;}
.mm-banner-error{background:rgba(192,86,62,.08);border-color:#E3B7AC;color:var(--terracotta-deep);}

/* ---- Cart ----------------------------------------------------------------- */
.mm-cart-card{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:8px 18px;}
.mm-cart-line{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px dashed var(--hair);}
.mm-cart-line:last-child{border-bottom:none;}
.mm-cart-line-name{font-family:'Playfair Display',serif;font-weight:700;font-size:15px;}
.mm-cart-line-variant{font-size:12.5px;color:var(--muted);}
.mm-cart-line-unit{font-size:12px;color:var(--muted);margin-top:2px;}
.mm-cart-line-qty{display:flex;align-items:center;gap:8px;}
.mm-qty-input{width:58px;border:1.5px solid var(--hair);border-radius:10px;padding:7px 8px;font-family:inherit;font-weight:700;text-align:center;background:var(--white);color:var(--ink);}
.mm-cart-line-sum{font-size:20px;color:var(--terracotta);white-space:nowrap;}
.mm-cart-total{display:flex;align-items:center;justify-content:space-between;padding:16px 0 8px;}
.mm-cart-total-label{font-weight:800;font-size:16px;}
.mm-cart-total-amount{font-size:30px;color:var(--terracotta);}
.mm-pay-hint{font-size:13px;color:var(--sage-deep);background:rgba(126,139,91,.1);border:1.5px solid var(--sage);border-radius:12px;padding:12px 14px;margin:16px 0;}
.mm-cart-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}

/* ---- Forms (checkout / login) -------------------------------------------- */
.mm-co-form{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:24px;margin-top:20px;}
.mm-co-as{font-size:14px;color:var(--ink-soft);margin:0 0 14px;}
.mm-co-h2{font-family:'Playfair Display',serif;font-weight:800;font-size:18px;margin:18px 0 12px;}
.mm-co-h2:first-of-type{margin-top:0;}
.mm-field{margin-bottom:14px;}
.mm-field label{display:block;font-size:13px;font-weight:800;color:var(--ink-soft);margin-bottom:6px;}
.mm-field-opt{font-weight:600;color:var(--muted);}
.mm-field-hint{font-size:12px;color:var(--muted);margin-top:5px;}
.mm-input{
  width:100%;border:1.5px solid var(--hair);border-radius:12px;padding:12px 14px;
  font-family:inherit;font-size:15px;color:var(--ink);background:var(--cream);
}
.mm-input:focus{outline:none;border-color:var(--terracotta);background:var(--white);}
textarea.mm-input{resize:vertical;}
.mm-error{color:var(--terracotta-deep);font-size:13px;font-weight:700;margin-top:5px;}
.mm-radio-row{display:flex;gap:10px;flex-wrap:wrap;}
.mm-radio{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--hair);border-radius:12px;padding:11px 16px;font-weight:700;cursor:pointer;background:var(--cream);}
.mm-radio:has(input:checked){border-color:var(--terracotta);background:var(--terracotta-soft);}
.mm-co-note{font-size:13.5px;color:var(--ink-soft);margin:0 0 12px;}

/* checkout order summary */
.mm-co-summary{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:18px 22px;}
.mm-co-summary-label{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;}
.mm-co-items{list-style:none;margin:0;padding:0;}
.mm-co-items li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--hair);font-size:14px;}
.mm-co-items li:last-child{border-bottom:none;}
.mm-co-item-variant{color:var(--muted);font-size:12.5px;}
.mm-co-item-sum{font-weight:800;white-space:nowrap;}
.mm-co-total{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1.5px solid var(--hair);font-weight:800;font-size:16px;}
.mm-co-total-amount{font-size:30px;color:var(--terracotta);}

/* payment options (required policy) */
.mm-pay-options{display:flex;flex-direction:column;gap:10px;}
.mm-pay-option{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--hair);border-radius:14px;padding:13px 15px;cursor:pointer;background:var(--cream);}
.mm-pay-option:has(input:checked){border-color:var(--terracotta);background:var(--terracotta-soft);}
.mm-pay-option-body{display:flex;flex-direction:column;gap:4px;}
.mm-pay-option-name{font-weight:800;}
.mm-pay-option-handle{font-size:12.5px;color:var(--muted);}
.mm-pay-option-qr{width:120px;height:120px;object-fit:contain;margin-top:6px;border:1.5px solid var(--hair);border-radius:10px;background:var(--white);padding:4px;}
.mm-attest{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:12px 0;cursor:pointer;}

/* informational pay panel (optional policy — pay-at-pickup; QRs shown so the buyer is ready) */
.mm-co-paymethods{background:rgba(126,139,91,.07);border:1.5px solid var(--sage);border-radius:16px;padding:18px 20px;margin:18px 0;}
.mm-co-paymethods-head{font-family:'Playfair Display',serif;font-weight:800;font-size:17px;margin-bottom:4px;}
.mm-co-paymethods-note{font-size:13px;color:var(--sage-deep);margin:0 0 14px;}
.mm-paycards{display:flex;gap:14px;flex-wrap:wrap;}
.mm-paycard{flex:1 1 150px;background:var(--white);border:1.5px solid var(--hair);border-radius:14px;padding:14px;text-align:center;}
.mm-paycard-name{font-family:'Playfair Display',serif;font-weight:700;font-size:15px;}
.mm-paycard-handle{font-size:12px;color:var(--muted);margin-top:2px;}
.mm-paycard-qr{width:120px;height:120px;object-fit:contain;margin:10px auto 0;display:block;}

/* account-from-checkout reveal (CSS-only, no JS) */
.mm-save-toggle{position:absolute;width:1px;height:1px;opacity:0;}
.mm-save-label{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--ink);cursor:pointer;padding:14px 0 6px;}
.mm-save-label::before{content:"";width:20px;height:20px;border:1.5px solid var(--hair);border-radius:6px;background:var(--cream);}
.mm-save-toggle:checked + .mm-save-label::before{background:var(--terracotta);border-color:var(--terracotta);}
.mm-save-toggle:focus-visible + .mm-save-label::before{outline:2px solid var(--terracotta);outline-offset:2px;}
.mm-save-reveal{display:none;}
.mm-save-toggle:checked ~ .mm-save-reveal{display:block;}

.mm-co-paynote{display:flex;gap:11px;align-items:flex-start;background:rgba(126,139,91,.1);border:1.5px solid var(--sage);border-radius:14px;padding:13px 15px;margin:16px 0;font-size:13px;color:var(--sage-deep);line-height:1.5;}
.mm-co-firstorder{text-align:center;font-size:12.5px;color:var(--muted);margin:12px 0 0;}

/* ---- Confirmation --------------------------------------------------------- */
.mm-confirm-head{text-align:center;padding:12px 0 8px;}
.mm-confirm-check{width:72px;height:72px;border-radius:50%;background:var(--sage);color:#fff;display:grid;place-items:center;margin:0 auto 14px;font-size:36px;box-shadow:0 16px 30px -14px var(--sage);}
.mm-confirm-order{font-size:24px;color:var(--terracotta);margin:0;}
.mm-confirm-lead{font-size:15px;color:var(--ink-soft);margin:8px auto 0;max-width:40ch;}
.mm-confirm-pills{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px;}
.mm-confirm-pay{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:20px 22px;margin-top:22px;}
.mm-confirm-pay-label{font-family:'Playfair Display',serif;font-weight:800;font-size:18px;margin-bottom:6px;}
.mm-confirm-pay-note{font-size:13.5px;color:var(--ink-soft);line-height:1.5;margin:0 0 10px;}
.mm-confirm-pay-instructions{background:var(--paper);border-radius:12px;padding:12px 14px;font-size:14px;color:var(--ink);margin-bottom:12px;white-space:pre-line;}
.mm-confirm-pay-methods{display:flex;gap:14px;flex-wrap:wrap;}
.mm-confirm-pay-method{flex:1 1 150px;border:1.5px solid var(--hair);border-radius:14px;padding:14px;text-align:center;}
.mm-confirm-pay-method.is-chosen{border-color:var(--terracotta);background:var(--terracotta-soft);}
.mm-confirm-pay-method-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px;}
.mm-confirm-pay-method-name{font-family:'Playfair Display',serif;font-weight:700;font-size:15px;}
.mm-confirm-pay-method-handle{font-size:12px;color:var(--muted);}
.mm-confirm-pay-method-qr{width:124px;height:124px;object-fit:contain;margin:0 auto;display:block;}
.mm-confirm-pay-amount{margin-top:14px;font-size:15px;}
.mm-confirm-pay-amount b{font-size:26px;color:var(--terracotta);}
.mm-confirm-block{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:18px 22px;margin-top:18px;}
.mm-confirm-fulfil{font-size:14.5px;margin:0 0 8px;}
.mm-confirm-contact{font-size:13px;color:var(--muted);margin:0;}
.mm-confirm-msg-note{font-size:13px;color:var(--ink-soft);background:rgba(201,154,91,.14);border-radius:12px;padding:12px 14px;margin:18px 0;}

/* ---- Account -------------------------------------------------------------- */
.mm-account-sub{color:var(--muted);font-size:14.5px;margin:0 0 18px;}
.mm-account-foot{font-size:13.5px;color:var(--muted);margin-top:18px;}
.mm-account-foot a{color:var(--terracotta);font-weight:700;text-decoration:none;}
.mm-remember{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin-bottom:16px;}
.mm-account-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.mm-order-list{display:flex;flex-direction:column;gap:12px;}
.mm-order-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--white);border:1.5px solid var(--hair);border-radius:14px;padding:15px 18px;text-decoration:none;color:var(--ink);}
.mm-order-row:hover{border-color:var(--terracotta);}
.mm-order-row-id{font-family:'Playfair Display',serif;font-weight:700;font-size:15px;}
.mm-order-row-items{font-size:12.5px;color:var(--muted);margin-top:2px;}
.mm-order-row-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.mm-order-row-total{font-size:20px;color:var(--terracotta);}

/* ============================ STATUS PILLS ================================ */
/* Shared names (`.mm-pill-*` for her own views; `.pill-*` for any inherited
   default-theme view that renders within her chrome) — both styled to her brand. */
.mm-pill, .pill{display:inline-flex;align-items:center;font-size:11.5px;font-weight:800;padding:5px 12px;border-radius:999px;letter-spacing:.01em;}
.mm-pill-pending, .pill-pending{background:rgba(201,154,91,.18);color:#7A5A1E;}
.mm-pill-confirmed, .pill-confirmed{background:rgba(126,139,91,.18);color:var(--sage-deep);}
.mm-pill-fulfilled, .pill-fulfilled{background:var(--sage);color:#fff;}
.mm-pill-cancelled, .pill-cancelled{background:rgba(192,86,62,.14);color:var(--terracotta-deep);}
.mm-pill-pay-awaiting_payment, .pill-pay-awaiting_payment{background:rgba(201,154,91,.18);color:#7A5A1E;}
.mm-pill-pay-paid, .pill-pay-paid{background:rgba(126,139,91,.18);color:var(--sage-deep);}
.mm-pill-pay-not_required, .pill-pay-not_required{background:var(--paper);color:var(--muted);border:1px solid var(--hair);}

/* ============================ SHARED ORDER-THREAD PORTAL ================== */
/* M12 buyer message portal (resources/views/order-thread/show.blade.php) is a SHARED
   view that wears the theme's <x-theme::layouts.shop> chrome but uses these class
   names. Re-styled to Makala's brand so it's seamless on her subdomain. */
.ot-portal{max-width:620px;margin:0 auto;}
.ot-portal-head{margin-bottom:18px;}
.ot-eyebrow{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 4px;}
.ot-heading{font-family:'Playfair Display',serif;font-weight:800;font-size:26px;margin:0 0 6px;}
.ot-sub{font-size:14px;color:var(--ink-soft);margin:0;line-height:1.5;}
.ot-thread{display:flex;flex-direction:column;gap:12px;margin:20px 0;}
.ot-msg{max-width:80%;border-radius:16px;padding:12px 15px;border:1.5px solid var(--hair);background:var(--white);}
.ot-msg-you{align-self:flex-end;background:var(--terracotta-soft);border-color:#E7C7BC;}
.ot-msg-them{align-self:flex-start;}
.ot-msg-who{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;}
.ot-msg-body{font-size:14.5px;color:var(--ink);line-height:1.5;white-space:pre-line;}
.ot-msg-time{font-size:11px;color:var(--muted);margin-top:6px;}
.ot-empty{color:var(--muted);text-align:center;padding:24px;}
.ot-compose-wrap{background:var(--white);border:1.5px solid var(--hair);border-radius:18px;padding:18px;}
.ot-compose{display:flex;flex-direction:column;gap:10px;}
.ot-label{font-size:13px;font-weight:800;color:var(--ink-soft);}
.ot-compose textarea{width:100%;border:1.5px solid var(--hair);border-radius:12px;padding:12px 14px;font-family:inherit;font-size:15px;color:var(--ink);background:var(--cream);resize:vertical;}
.ot-compose textarea:focus{outline:none;border-color:var(--terracotta);background:var(--white);}
.pt-error{color:var(--terracotta-deep);font-size:13px;font-weight:700;margin:0;}

/* ============================ RESPONSIVE ================================== */
@media (max-width:860px){
  .mm-bundle{grid-template-columns:1fr;}
  /* Stacked: the art is its own row, so give it a definite height for the absolutely-filled
     image to cover (no grid stretch partner here). */
  .mm-bundle-art{height:240px;min-height:0;}
}
@media (max-width:760px){
  .mm-hero{grid-template-columns:1fr;gap:26px;padding-top:30px;}
  .mm-hero-art{order:-1;}
  .mm-cart-line{grid-template-columns:1fr auto;row-gap:8px;}
  .mm-cart-line-qty{grid-column:1;}
  .mm-cart-line-sum{grid-column:2;grid-row:1;text-align:right;}
  .mm-topbar{flex-wrap:wrap;}
  .mm-nav{font-size:14px;gap:14px;}
  .mm-foot-inner{flex-direction:column;align-items:flex-start;gap:12px;}
}
@media (max-width:620px){
  /* Phones: the menu collapses to one column, so a full-width card rendered its 3:2 photo
     as a tall ~225px hero that dominated the card (the "images are too big on mobile"
     feedback). Crop the photo to a shorter band (object-fit:cover already fills it), and
     keep the add-to-order controls tidy beneath it so selecting a product reads cleanly. */
  .mm-grid{grid-template-columns:1fr;gap:16px;}
  .mm-card-photo{aspect-ratio:auto;height:158px;}
  .mm-card-body{padding:12px 13px 14px;}
  .mm-card-name{font-size:15.5px;}
  /* Size options + qty/button: let the button take a full row under a left-aligned qty so
     nothing is squeezed on a narrow screen. */
  .mm-sizes-row{gap:7px;}
  .mm-add-row{flex-wrap:wrap;}
  .mm-qty{flex:0 0 auto;}
  .mm-add-btn{flex:1 1 100%;}
}

/* ============ customer reviews (v3) ============
   Renders the shared view-model contract ($shop->reviews / averageRating) in Mama Makala's
   own look — honey stars on warm cards. Shared .mm-star token. */
.mm-star{color:var(--hair-soft);}
.mm-star.is-on{color:var(--honey);}
.mm-stars{font-size:15px;letter-spacing:1px;white-space:nowrap;}
.mm-stars-lg{font-size:22px;}
.mm-hero-rating{display:inline-flex;align-items:center;gap:9px;margin-top:16px;text-decoration:none;color:var(--ink);}
.mm-hero-rating:hover{color:var(--terracotta);}
.mm-hero-rating-txt{font-weight:800;font-size:14px;}
.mm-reviews{scroll-margin-top:80px;margin-top:44px;}
.mm-reviews-inner{text-align:center;}
.mm-reviews-eyebrow{font-size:28px;color:var(--terracotta);margin:0;}
.mm-reviews-title{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(24px,4vw,32px);margin:2px 0 0;color:var(--ink);}
.mm-reviews-agg{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 26px;flex-wrap:wrap;}
.mm-reviews-agg-txt{font-weight:800;color:var(--ink-soft);}
.mm-reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;text-align:left;}
.mm-review{margin:0;background:var(--cream);border:1.5px solid var(--hair);border-radius:18px;padding:20px 22px;box-shadow:0 12px 24px -20px var(--cocoa);}
.mm-review-body{font-size:15.5px;line-height:1.6;color:var(--ink);margin:12px 0 0;}
.mm-review-by{font-size:20px;color:var(--terracotta);margin-top:14px;}
