/* Meltan Customer FIX06 — responsive, scoped menu design.
 * Palette tokens mirror the Counter's universal theme, while board-style category
 * headers take their hierarchy from meltanmenu.pages.dev/#page-2.
 * Do not import Counter's global layout stylesheet here: its element selectors
 * collide with customer header, cards, labels and buttons on mobile. */
:root, html[data-theme="default"] {
  color-scheme: light;
  --color-background: #fff8fb;
  --color-surface-strong: #fff;
  --color-primary: #f7b8d4;
  --color-primary-deep: #d96c9f;
  --color-primary-soft: #ffe1ee;
  --color-secondary: #ffe8c9;
  --color-success: #d9f4e7;
  --color-danger: #ffd7df;
  --color-danger-deep: #9e3359;
  --color-text: #4f3d48;
  --color-text-soft: #856a78;
  --color-border: #ebd8e0;
  --poster-green: #5d997f;
  --poster-green-dark: #39765e;
  --poster-yellow: #ffd590;
  --poster-cream: #fffdf6;
  --shadow-panel: 0 8px 24px rgba(204,136,164,.10);
}
html[data-theme="tasty-classic"] {
  --color-background:#ffe35a;--color-surface-strong:#fffdf6;
  --color-primary:#ffd84d;--color-primary-deep:#bb1f28;--color-primary-soft:#fff1b0;
  --color-secondary:#ffe98a;--color-success:#dff3d8;--color-danger:#ffe2dc;
  --color-danger-deep:#a5161e;--color-text:#31241b;--color-text-soft:#6c5841;
  --color-border:#e8c88b;--poster-green:#54836b;--poster-green-dark:#36674f;
  --poster-yellow:#ffca71;--poster-cream:#fff9da;
  --shadow-panel:0 8px 24px rgba(108,57,26,.11);
}
html { box-sizing:border-box;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:16px;scroll-padding-top:86px; }
*,*::before,*::after { box-sizing:inherit; }
body.customer-app { padding:0;margin:0;min-width:0;min-height:100svh;background:var(--color-background);color:var(--color-text);font:400 16px/1.5 Aptos,"Trebuchet MS","Segoe UI",sans-serif;overflow-x:hidden; }
.customer-app button,.customer-app input { font:inherit; }
.customer-app button {cursor:pointer;}
.customer-app a {color:inherit;}
.customer-app [hidden] {display:none!important;}
.customer-header {position:sticky;top:0;z-index:30;background:var(--color-primary);border-bottom:1px solid var(--color-border);box-shadow:0 3px 15px rgba(151,66,115,.08);width:100%;}
.customer-header-inner {max-width:1080px;margin:auto;padding:10px clamp(16px,4vw,32px);display:flex;align-items:center;gap:14px;min-height:69px;}
.customer-brand {display:flex;gap:9px;align-items:center;text-decoration:none;font-weight:850;min-width:0;}
.customer-brand-mark {width:41px;height:41px;flex:none;border:1px solid #fff8;background:#fffdf7;border-radius:13px;display:grid;place-items:center;position:relative;font:800 26px Georgia,serif;color:var(--color-primary-deep);box-shadow:0 3px 9px rgba(112,60,90,.12);}
.customer-brand-mark span {position:absolute;top:3px;right:3px;font-size:12px;color:#d2a25b;}
.customer-brand-name {font-size:21px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.customer-location {margin-left:auto;min-width:0;display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;gap:6px;text-align:right;}
.customer-location-label {font-size:10px;letter-spacing:1.2px;font-weight:850;white-space:nowrap;opacity:.76;}
.customer-location strong {font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px;}
.customer-header-order {flex:none;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border-radius:99px;min-width:68px;min-height:40px;background:var(--color-primary-deep);color:#fff!important;font-weight:850;font-size:14px;padding:7px 12px;}
.customer-main {max-width:1080px;margin:0 auto;padding:20px clamp(14px,3vw,26px) 125px;display:grid;gap:23px;min-width:0;}
.customer-hero {background:linear-gradient(116deg,#ffe4ec 0%,#fff0dc 100%);border:1px solid #efd7db;border-radius:24px;min-height:175px;padding:25px clamp(20px,4vw,36px);display:flex;gap:18px;align-items:center;justify-content:space-between;overflow:hidden;position:relative;}
html[data-theme="tasty-classic"] .customer-hero{background:linear-gradient(116deg,#fff3c8,#ffe7ae);}
.customer-hero-copy {position:relative;z-index:1;}
.customer-eyebrow {display:block;color:#a47b4c;letter-spacing:2px;font-size:11px;font-weight:900;line-height:1.5;}
.customer-hero h1 {font:700 clamp(30px,5vw,46px)/1.12 Georgia,"Times New Roman",serif;margin:6px 0;color:#473737;}
.customer-hero p {max-width:540px;font-size:14px;line-height:1.55;margin:0;color:#755967;}
.customer-hero-action {display:inline-flex;align-items:center;gap:9px;margin-top:14px;font-weight:800;font-size:13px;text-decoration:none;border-bottom:1.5px solid currentColor;color:#a44e79!important;}
.customer-hero-visual {min-width:150px;width:25%;display:flex;align-items:center;justify-content:center;position:relative;font-size:clamp(70px,9vw,115px);line-height:1;filter:drop-shadow(0 13px 8px #a45d6930);}
.customer-hero-visual span + span {position:absolute;font-size:.5em;bottom:-14px;right:0;transform:rotate(22deg);}
.customer-notice {min-width:0;background:var(--color-success);border:1px solid #a8ddc2;border-radius:13px;padding:11px 15px;color:#386b50;font-size:14px;font-weight:750;overflow-wrap:anywhere;}
.customer-notice.is-error {background:var(--color-danger);border-color:#e9a9bd;color:var(--color-danger-deep);}
.customer-section-heading {display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:14px;}
.customer-section-heading h2 {font:700 clamp(26px,4vw,36px)/1.16 Georgia,"Times New Roman",serif;letter-spacing:-.5px;margin:4px 0 5px;}
.customer-section-heading p {color:var(--color-text-soft);font-size:13px;margin:0;}
.customer-count {font-size:12px;white-space:nowrap;color:var(--color-text-soft);font-weight:750;margin-bottom:3px;}
.customer-toolbar {display:grid;gap:13px;margin-bottom:19px;}
.customer-search {display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--color-border);border-radius:15px;padding:0 16px;box-shadow:0 2px 9px #ac5e7c0a;min-height:50px;}
.customer-search>span {font-size:28px;line-height:1;color:#bb7098;}
.customer-search input {background:transparent;border:0;outline:0;color:var(--color-text);width:100%;min-width:0;min-height:49px;padding:9px 0;font-size:15px;}
.customer-search:focus-within {outline:2px solid var(--color-primary-deep);outline-offset:1px;}
.customer-search input::placeholder {color:#99858e;opacity:1;}
.customer-filter-row {display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 2px 9px;scrollbar-width:thin;}
.customer-category-chip {background:var(--color-secondary);border:1px solid var(--color-border);color:var(--color-text);padding:9px 14px;border-radius:24px;white-space:nowrap;font-size:13px!important;font-weight:750!important;min-height:40px;line-height:1.2;}
.customer-category-chip[aria-pressed="true"] {background:var(--color-primary-deep);color:#fff;border-color:var(--color-primary-deep);}
.customer-menu-sections {display:grid;gap:20px;}
.customer-family {min-width:0;overflow:hidden;border-radius:21px;background:#fff;border:1px solid var(--color-border);box-shadow:var(--shadow-panel);}
.customer-family-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:110px;padding:17px clamp(16px,3vw,26px);background:var(--poster-green);color:#fff;}
.customer-family.tone-gold .customer-family-heading {background:var(--poster-yellow);color:#563b34;}
.customer-family.tone-pink .customer-family-heading {background:#f8b9d4;color:#513b46;}
.customer-family-kicker {font-weight:850;letter-spacing:2px;font-size:10px;line-height:1.4;opacity:.84;}
.customer-family h3 {font:800 clamp(20px,3vw,28px)/1.12 "Trebuchet MS","Segoe UI",sans-serif;letter-spacing:.1px;margin:5px 0;}
.customer-family-heading p {font-size:12px;line-height:1.4;margin:0;opacity:.92;}
.customer-family-scoop {font-size:47px;line-height:1;filter:drop-shadow(1px 4px 3px #23232320);}
.customer-family-body {padding:5px clamp(12px,2.6vw,22px);background:#fffefa;}
.customer-flavour {display:flex;align-items:center;gap:14px;min-width:0;padding:14px 0;border-bottom:1px solid #e9e6dc;}
.customer-flavour:last-child {border-bottom:0;}
.customer-flavour-info {flex:1;min-width:0;}
.customer-flavour-info h4 {font-weight:850;color:#4e413f;font-size:16px;line-height:1.32;margin:0 0 3px;overflow-wrap:anywhere;}
.customer-flavour-info p {font-size:12px;color:#927e7a;line-height:1.4;margin:0;}
.customer-variant-grid {display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;flex:1.55;min-width:0;}
.customer-size-option {background:#fff;border:1px solid #e6dacf;border-radius:12px;padding:8px 9px;min-width:94px;flex:1 0 90px;max-width:153px;display:grid;gap:5px;}
.customer-size-option.is-selected {background:#f4fbf5;border-color:#8abb9c;}
.customer-size-label {font-size:11px;color:#638777;white-space:nowrap;font-weight:850;text-align:center;}
.customer-size-bottom {display:flex;align-items:center;justify-content:space-between;gap:6px;}
.customer-size-price {font-size:14px;white-space:nowrap;color:#4c4843;}
.customer-variant-add {height:32px;min-width:33px;border:0;border-radius:9px;background:var(--color-primary-deep);color:#fff;font-weight:850;font-size:16px!important;line-height:1;padding:3px 6px;white-space:nowrap;}
.customer-variant-add.has-quantity {background:var(--poster-green-dark);min-width:44px;font-size:13px!important;}
.customer-variant-add:disabled {opacity:.58;cursor:not-allowed;background:#aa9e9d;font-size:11px!important;}
.customer-empty {font-size:14px;color:var(--color-text-soft);margin:0;padding:20px 7px;line-height:1.5;}
.customer-no-matches {background:#fff;border-radius:14px;border:1px solid var(--color-border);padding:25px;}
.customer-cart-paper {background:#fff;border:1px solid var(--color-border);border-radius:20px;padding:22px;box-shadow:var(--shadow-panel);}
.customer-cart-lines {display:grid;gap:8px;}
.customer-cart-line {display:flex;align-items:center;gap:12px;border-bottom:1px solid #f1e7eb;padding:11px 0;}
.customer-cart-item {flex:1;min-width:0;display:grid;gap:2px;}
.customer-cart-item strong {font-size:14px;line-height:1.3;overflow-wrap:anywhere;}
.customer-cart-item small {font-size:12px;color:var(--color-text-soft);}
.customer-cart-price {font-size:14px;white-space:nowrap;min-width:65px;text-align:right;}
.customer-qty {display:flex;align-items:center;gap:9px;white-space:nowrap;}
.customer-qty button {width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:9px;background:var(--color-primary-soft);color:var(--color-text);font-weight:900;font-size:20px!important;}
.customer-qty strong {font-size:13px;min-width:12px;text-align:center;}
.customer-total {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 18px;padding-top:14px;border-top:1px dashed #ddb5c9;font-weight:800;font-size:18px;}
.customer-total strong {font-size:24px;}
.customer-cart form {display:grid;gap:10px;}
.customer-cart form label {font-size:14px;font-weight:850;}
.customer-cart form input {width:100%;min-height:48px;border:1px solid var(--color-border);border-radius:12px;color:var(--color-text);background:var(--color-surface-strong);padding:10px 13px;font-size:16px;}
.customer-cart form input:focus {outline:2px solid var(--color-primary-deep);outline-offset:1px;}
.required-star {color:#b53463;}
.customer-optional {color:var(--color-text-soft);font-weight:450;}
.customer-pay-note {font-size:13px;line-height:1.5;color:var(--color-text-soft);margin:6px 0;}
.customer-checkout-button {width:100%;min-height:50px;border:0;border-radius:13px;background:var(--color-primary-deep);color:#fff;font-weight:850!important;font-size:16px!important;padding:10px 15px;}
.customer-checkout-button:disabled {opacity:.45;cursor:not-allowed;}
.customer-footer {text-align:center;color:var(--color-text-soft);font-size:12px;padding:8px 0 0;}
.customer-footer span {color:var(--color-primary-deep);}
.customer-floating-cart {position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:24;width:min(560px,calc(100% - 24px));display:flex;align-items:center;gap:10px;padding:11px 15px;border-radius:16px;box-shadow:0 10px 25px #4826393d;background:var(--color-primary-deep);color:#fff!important;text-decoration:none;min-height:60px;}
.customer-floating-cart-icon {font-size:23px;}
.customer-floating-cart span:nth-child(2) {display:grid;gap:1px;flex:1;min-width:0;}
.customer-floating-cart span:nth-child(2) strong {font-size:14px;line-height:1.1;}
.customer-floating-cart small {font-size:11px;opacity:.92;}
.customer-floating-cart>strong {font-size:18px;white-space:nowrap;}
.customer-floating-cart>span:last-child {font-size:27px;line-height:1;}
.customer-overlay {position:fixed;inset:0;z-index:90;background:#281724a8;display:grid;place-items:center;padding:18px;}
.customer-success {background:#fff;border-radius:20px;padding:28px;max-width:390px;width:100%;text-align:center;box-shadow:0 15px 50px #0004;}
.customer-success-icon {width:66px;height:66px;border-radius:50%;background:var(--color-success);display:grid;place-items:center;font-size:38px;color:#37895a;margin:0 auto;}
.customer-success h2 {font:700 30px/1.2 Georgia,serif;margin:16px 0 7px;}
.customer-success p {color:var(--color-text-soft);font-size:14px;}
.customer-order-number {padding:12px;background:var(--color-primary-soft);border-radius:12px;font-weight:850;font-size:20px;margin:16px 0;overflow-wrap:anywhere;}
.customer-success button {margin-top:8px;}
@media (max-width:680px) {
  html {scroll-padding-top:75px;}
  .customer-main {padding:14px 12px 112px;gap:18px;}
  .customer-header-inner {padding:9px 13px;min-height:61px;gap:9px;}
  .customer-brand-mark {width:36px;height:36px;font-size:23px;border-radius:10px;}
  .customer-brand-name {font-size:18px;max-width:104px;}
  .customer-location strong {max-width:110px;font-size:13px;}
  .customer-location-label {font-size:9px;letter-spacing:.8px;}
  .customer-header-order {min-width:58px;padding:6px 9px;font-size:13px;}
  .customer-hero {min-height:145px;border-radius:19px;padding:17px 19px;gap:10px;}
  .customer-hero h1 {font-size:31px;}
  .customer-hero p {font-size:13px;}
  .customer-hero-visual {font-size:55px;min-width:70px;width:22%;}
  .customer-section-heading h2 {font-size:28px;}
  .customer-family-heading {min-height:96px;padding:14px 18px;}
  .customer-family-scoop {font-size:39px;}
  .customer-flavour {display:block;padding:13px 0 15px;}
  .customer-flavour-info {margin-bottom:9px;}
  .customer-flavour-info h4 {font-size:16px;}
  .customer-variant-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  .customer-size-option {min-width:0;max-width:none;flex:none;padding:8px 7px;}
  .customer-size-label {font-size:10px;}
  .customer-size-price {font-size:14px;}
  .customer-variant-add {min-width:29px;height:29px;}
  .customer-variant-add.has-quantity {min-width:38px;}
  .customer-variant-grid:not(.many-sizes) {grid-template-columns:repeat(2,minmax(0,1fr));}
  .customer-cart-paper {padding:15px;}
}
@media (max-width:360px) {
  .customer-brand-name {font-size:16px;max-width:80px;}
  .customer-hero-visual {font-size:45px;min-width:51px;}
  .customer-family h3 {font-size:21px;}
  .customer-size-bottom {gap:2px;}
  .customer-size-price {font-size:12px;}
  .customer-variant-add {min-width:27px;}
  .customer-cart-line {flex-wrap:wrap;}
}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto;}}
