/* =====================================================================
   Chai Haven — Metro UI theme layer
   ---------------------------------------------------------------------
   Sits on top of the vendored Metro UI 5.1 (assets/metroui/metro.css).
   Does three jobs:
     1. Brand: maps Chai Haven's green/orange/cream onto Metro's CSS
        variables so every Metro component picks it up.
     2. Storefront layout: top bar, hero, section headings, category
        chips, product list sidebar, product details, cart, footer.
     3. Small helper names (.small, .fw-semibold, .text-muted ...) used
        by the JS-rendered markup in the storefront scripts.
   ===================================================================== */

:root{
  --ch-green:#76b42c;
  --ch-green-dark:#5a8a20;
  --ch-orange:#d9531e;
  --ch-orange-dark:#b84316;
  --ch-cream:#fbf8f2;
  --ch-dark:#211d1d;
  --ch-text:#2b2b2b;
  --ch-line:#ebe6db;

  /* Metro variables */
  --appbar-background:#ffffff;
  --appbar-color:var(--ch-dark);
  --appbar-item-color:var(--ch-dark);
  --appbar-item-color-hover:var(--ch-green-dark);
  --button-border-radius:6px;
  --product-card-border-radius:10px;
  --product-card-header-background:#fff;
  --product-price-color:var(--ch-dark);
  --dialog-border-radius:12px;
}

html{ scroll-behavior:smooth; }
body{
  font-family:'Poppins',system-ui,sans-serif;
  color:var(--ch-text);
  background:#fff;
  overflow-x:hidden;
}
h1,h2,h3,.display-font{ font-family:'Playfair Display',Georgia,serif; }
::selection{ background:var(--ch-orange); color:#fff; }
::-webkit-scrollbar{ width:9px; height:7px; }
::-webkit-scrollbar-track{ background:#f1efe9; }
::-webkit-scrollbar-thumb{ background:var(--ch-green); border-radius:10px; }

.ch-container{ width:100%; max-width:1240px; margin:0 auto; padding:0 16px; }

/* ---------- brand buttons ---------- */
.button.ch-green,  .ch-btn-green { --button-background:var(--ch-green);  --button-color:#fff; background:var(--ch-green);  color:#fff; border-color:var(--ch-green); }
.button.ch-orange, .ch-btn-orange{ --button-background:var(--ch-orange); --button-color:#fff; background:var(--ch-orange); color:#fff; border-color:var(--ch-orange); }
.button.ch-green:hover,  .ch-btn-green:hover { background:var(--ch-green-dark);  border-color:var(--ch-green-dark); }
.button.ch-orange:hover, .ch-btn-orange:hover{ background:var(--ch-orange-dark); border-color:var(--ch-orange-dark); }
.button.ch-wa{ background:#25D366; color:#fff; border-color:#25D366; }
.button.ch-pill{ border-radius:999px; }
.button.ch-block{ display:flex; width:100%; justify-content:center; align-items:center; height:42px; font-weight:600; }
.button.ch-sm{ height:30px; font-size:.8rem; padding:0 12px; }
.button[disabled]{ opacity:.55; cursor:not-allowed; }

/* ---------- top info bar ---------- */
.ch-topbar{ background:var(--ch-dark); color:#e9e4da; font-size:.78rem; }
.ch-topbar .ch-container{ display:flex; justify-content:space-between; align-items:center; height:34px; }
.ch-topbar a{ color:#e9e4da; margin-left:18px; text-decoration:none; }
.ch-topbar a:hover{ color:var(--ch-green); }

/* ---------- Metro app bar (header) ---------- */
.ch-appbar.app-bar{
  border-bottom:1px solid var(--ch-line);
  box-shadow:0 2px 14px rgba(33,29,29,.05);
  padding:6px 0;
}
.ch-appbar .ch-container{ display:flex; align-items:center; gap:18px; flex-wrap:nowrap; }
.ch-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ch-dark); flex-shrink:0; }
.ch-brand img{ height:46px; width:auto; }
.ch-brand .name{ font-family:'Playfair Display',serif; font-weight:700; font-size:1.25rem; line-height:1; display:block; }
.ch-brand .tagline{ font-size:.58rem; letter-spacing:.18em; color:var(--ch-green-dark); }
.ch-search{ position:relative; flex:1; max-width:560px; margin:0 auto; }
.ch-search form{ display:flex; }
.ch-search input{
  flex:1; height:42px; border:1px solid var(--ch-line); border-right:0; border-radius:999px 0 0 999px;
  padding:0 18px; font:inherit; background:#faf8f4; outline:none;
}
.ch-search input:focus{ border-color:var(--ch-green); background:#fff; }
.ch-search button{
  width:52px; height:42px; border:0; border-radius:0 999px 999px 0; background:var(--ch-green); color:#fff; cursor:pointer;
}
.ch-suggest{
  display:none; position:absolute; top:46px; left:0; right:0; background:#fff; border:1px solid var(--ch-line);
  border-radius:10px; box-shadow:0 12px 30px rgba(33,29,29,.14); z-index:1100; overflow:hidden;
}
.ch-suggest.show{ display:block; }
.ch-suggest button{
  display:flex; align-items:center; gap:10px; width:100%; padding:8px 12px; border:0; background:none;
  text-align:left; cursor:pointer; font:inherit; font-size:.88rem;
}
.ch-suggest button:hover{ background:var(--ch-cream); }

.ch-icon-btn{
  position:relative; background:none; border:0; cursor:pointer; text-align:center; color:var(--ch-dark);
  padding:4px 8px; font:inherit; transition:transform .2s;
}
.ch-icon-btn i{ font-size:1.25rem; display:block; }
.ch-icon-btn .lbl{ display:block; font-size:.68rem; color:#6a655c; margin-top:2px; white-space:nowrap; }
.ch-icon-btn:hover{ color:var(--ch-green-dark); }
.ch-icon-btn .count{
  position:absolute; top:-2px; right:0; min-width:18px; height:18px; border-radius:999px; background:var(--ch-orange);
  color:#fff; font-size:.68rem; line-height:18px; padding:0 5px; font-weight:600;
}
.ch-icon-btn.bump{ transform:scale(1.18); }
.ch-hamburger{ display:none; }

.ch-catnav{ background:var(--ch-cream); border-bottom:1px solid var(--ch-line); }
.ch-catnav ul{ list-style:none; display:flex; gap:4px; margin:0; padding:0; overflow-x:auto; white-space:nowrap; }
.ch-catnav a{
  display:block; padding:11px 14px; font-size:.86rem; font-weight:500; color:var(--ch-text); text-decoration:none;
  border-bottom:2px solid transparent;
}
.ch-catnav a:hover, .ch-catnav a.active{ color:var(--ch-green-dark); border-bottom-color:var(--ch-green); }

/* ---------- views ---------- */
.ch-view{ display:none; }
.ch-view.active{ display:block; }

/* ---------- hero ---------- */
.ch-hero{
  position:relative; color:#fff; overflow:hidden;
  background:linear-gradient(120deg,#1f3a12 0%,#3d6b1a 55%,#76b42c 100%);
  padding:84px 0 92px;
}
.ch-hero .leaf{ position:absolute; opacity:.16; animation:ch-float 7s ease-in-out infinite; }
@keyframes ch-float{ 0%,100%{ transform:translateY(0) rotate(0);} 50%{ transform:translateY(-14px) rotate(8deg);} }
.ch-hero .badge-pill{
  display:inline-block; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3);
  padding:5px 14px; border-radius:999px; font-size:.74rem; letter-spacing:.12em; margin-bottom:18px;
}
.ch-hero h1{ font-size:clamp(2.2rem,5vw,3.6rem); line-height:1.08; margin:0 0 16px; font-weight:700; }
.ch-hero p{ max-width:520px; opacity:.85; margin-bottom:26px; }
.ch-hero .button{ height:46px; padding:0 28px; font-weight:600; border-radius:999px; }
.ch-hero .button.light{ background:#fff; color:var(--ch-green-dark); border-color:#fff; }
.ch-hero .button.outline-light{ background:transparent; color:#fff; border:2px solid #fff; }

.ch-stats{ background:var(--ch-dark); color:#fff; padding:26px 0; }
.ch-stats .stat-num{ font-family:'Playfair Display',serif; font-size:2rem; color:var(--ch-green); }
.ch-stats .stat-label{ font-size:.8rem; opacity:.75; }

/* ---------- sections ---------- */
.ch-section{ padding:56px 0; }
.ch-section.cream{ background:var(--ch-cream); }
.ch-heading{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:24px; gap:12px; }
.ch-heading .kicker{ color:var(--ch-orange); font-size:.74rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }
.ch-heading h2{ margin:2px 0 0; font-size:1.8rem; }
.ch-heading a{ color:var(--ch-green-dark); font-weight:600; font-size:.88rem; text-decoration:none; white-space:nowrap; cursor:pointer; }

/* promo tiles */
.ch-tile{
  height:100%; padding:20px; border:1px solid var(--ch-line); border-radius:12px; background:#fff;
  display:flex; flex-direction:column; justify-content:space-between; transition:transform .25s, box-shadow .25s;
}
.ch-tile:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(33,29,29,.1); }
.ch-tile .tile-icon{
  width:42px; height:42px; border-radius:10px; background:#eef5e3; color:var(--ch-green-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom:12px; font-size:1.1rem;
}
.ch-tile h6{ margin:0 0 4px; font-weight:600; }
.ch-tile a{ color:var(--ch-green-dark); font-weight:600; font-size:.84rem; text-decoration:none; margin-top:14px; cursor:pointer; }

/* category chips */
.ch-cat{ display:flex; flex-direction:column; align-items:center; gap:8px; text-decoration:none; color:var(--ch-text); font-size:.84rem; font-weight:500; cursor:pointer; }
.ch-cat .circle{
  width:78px; height:78px; border-radius:50%; overflow:hidden; background:#eef5e3; display:flex; align-items:center;
  justify-content:center; border:2px solid #fff; box-shadow:0 4px 14px rgba(33,29,29,.1); transition:transform .25s; color:var(--ch-green-dark); font-size:1.4rem;
}
.ch-cat:hover .circle{ transform:scale(1.08); }
.ch-cat img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Metro product cards (Panda e-commerce look) ---------- */
.product-card{ transition:transform .25s, box-shadow .25s; }
.product-card:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(33,29,29,.12); }
.product-card .product-title{ cursor:pointer; font-weight:500; }
.product-card .product-title:hover{ color:var(--ch-green-dark); }
.product-card .product-image{ cursor:pointer; padding-bottom:88%; }
.product-card .product-image img{ object-fit:cover; border-radius:8px; }
.product-card .product-rating{ font-size:.82rem; color:#6a655c; gap:6px; }
.product-card .stars{ color:#f2a516; letter-spacing:1px; }
.product-card .product-price .-old{ font-size:.78rem; }
.product-card .product-price .now{ color:var(--ch-dark); font-weight:700; font-size:1.05rem; }
.product-card .product-footer{ align-items:center; height:auto; }
.product-card .wish{ position:absolute; top:10px; left:10px; z-index:3; background:#fff; border:1px solid var(--ch-line); width:34px; height:34px; border-radius:50%; cursor:pointer; color:#8a857b; }
.product-card .wish.active{ color:var(--ch-orange); }
.product-card .badge{ background:var(--ch-orange); color:#fff; }
.ch-grid-empty{ padding:24px; color:#8a857b; font-size:.9rem; }

/* ---------- product list (sidebar + grid) ---------- */
.ch-plist{ display:grid; grid-template-columns:260px 1fr; gap:28px; align-items:start; }
.ch-filter{ border:1px solid var(--ch-line); border-radius:12px; padding:18px; position:sticky; top:96px; background:#fff; }
.ch-filter h6{ margin:0 0 10px; font-weight:600; font-size:.9rem; }
.ch-filter .group{ margin-bottom:20px; }
.ch-filter label{ display:flex; align-items:center; gap:8px; font-size:.88rem; padding:4px 0; cursor:pointer; }
.ch-filter input[type=number], .ch-filter select, .ch-toolbar select{
  width:100%; height:36px; border:1px solid var(--ch-line); border-radius:6px; padding:0 10px; font:inherit; background:#fff;
}
.ch-toolbar{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.ch-toolbar select{ width:auto; min-width:180px; }
.ch-crumbs{ font-size:.82rem; color:#8a857b; margin-bottom:14px; }
.ch-crumbs a{ color:var(--ch-green-dark); cursor:pointer; text-decoration:none; }

/* ---------- product details ---------- */
.ch-pdetail{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; }
.ch-pdetail .gallery{ border:1px solid var(--ch-line); border-radius:14px; overflow:hidden; background:#faf8f4; }
.ch-pdetail .gallery img{ width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.ch-pdetail h1{ font-size:2rem; margin:0 0 8px; }
.ch-pdetail .price-row{ display:flex; align-items:baseline; gap:10px; margin:12px 0; }
.ch-pdetail .price{ font-size:1.8rem; font-weight:700; color:var(--ch-dark); }
.ch-pdetail .old{ text-decoration:line-through; color:#8a857b; }
.ch-pdetail .opt{ display:flex; justify-content:space-between; align-items:center; gap:12px; border:1px solid var(--ch-line); border-radius:8px; padding:10px 12px; margin-bottom:8px; cursor:pointer; }
.ch-pdetail .opt:has(input:checked){ border-color:var(--ch-green); background:#f4f9ea; }
.ch-pdetail .opt.disabled{ opacity:.5; cursor:not-allowed; }
.ch-pdetail .perks{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px; font-size:.84rem; color:#5c574f; }
.ch-pdetail .perks div{ display:flex; gap:8px; align-items:center; }
.ch-pdetail .perks i{ color:var(--ch-green-dark); }

/* quantity stepper */
.ch-qty{ display:inline-flex; align-items:center; border:1px solid var(--ch-line); border-radius:8px; overflow:hidden; }
.ch-qty button{ width:36px; height:36px; border:0; background:#f6f3ec; cursor:pointer; font-size:1.1rem; }
.ch-qty input{ width:46px; height:36px; border:0; text-align:center; font:inherit; background:#fff; }

/* ---------- banner, testimonials, newsletter, footer ---------- */
.ch-plantation{
  border-radius:16px; padding:56px 40px; color:#fff;
  background:linear-gradient(100deg,rgba(24,40,12,.88),rgba(24,40,12,.4)),url('chai-haven-restaurant-bg.jpg') center/cover;
}
.ch-testimonial{ background:#fff; border:1px solid var(--ch-line); border-radius:14px; padding:24px; height:100%; }
.ch-testimonial .stars{ color:#f2a516; letter-spacing:2px; margin-bottom:8px; }
.ch-avatar{ width:42px; height:42px; border-radius:50%; background:var(--ch-green); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:.85rem; }
.ch-newsletter{ background:linear-gradient(120deg,#1f3a12,#3d6b1a); color:#fff; padding:48px 0; text-align:center; }
.ch-newsletter form{ display:flex; max-width:440px; margin:0 auto; }
.ch-newsletter input{ flex:1; height:44px; border:0; border-radius:999px 0 0 999px; padding:0 18px; font:inherit; outline:none; }
.ch-newsletter button{ height:44px; border:0; border-radius:0 999px 999px 0; padding:0 22px; background:var(--ch-orange); color:#fff; font-weight:600; cursor:pointer; }
.ch-footer{ background:var(--ch-dark); color:#cfc9bd; padding:48px 0 22px; font-size:.88rem; }
.ch-footer h6{ color:#fff; margin:0 0 12px; font-size:.95rem; }
.ch-footer a{ color:#cfc9bd; display:block; padding:3px 0; text-decoration:none; }
.ch-footer a:hover{ color:var(--ch-green); }
.ch-footer .social a{ display:inline-flex; width:36px; height:36px; border-radius:50%; background:#332e2e; align-items:center; justify-content:center; margin-right:8px; }
.ch-pay{ border-top:1px solid #3a3535; margin-top:30px; padding-top:18px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.ch-pay span.b{ background:#332e2e; color:#fff; border-radius:6px; padding:5px 10px; font-size:.78rem; display:inline-flex; gap:6px; align-items:center; }

.ch-fab{ position:fixed; right:20px; width:48px; height:48px; border-radius:50%; border:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.3rem; z-index:1000; box-shadow:0 8px 20px rgba(0,0,0,.25); cursor:pointer; text-decoration:none; }
.ch-fab.wa{ bottom:20px; background:#25D366; }
.ch-fab.top{ bottom:80px; background:var(--ch-dark); opacity:0; pointer-events:none; transition:opacity .3s; }
.ch-fab.top.show{ opacity:1; pointer-events:auto; }

/* ---------- cart drawer (Metro charms) ---------- */
.ch-drawer.charms{ width:400px; max-width:100vw; padding:0; background:#fff !important; color:var(--ch-text); display:flex; flex-direction:column; box-shadow:-10px 0 40px rgba(0,0,0,.2); }
.ch-drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--ch-line); font-weight:600; }
.ch-drawer-body{ flex:1; overflow-y:auto; padding:16px 20px; display:flex; flex-direction:column; }
.ch-x{ background:none; border:0; font-size:1.1rem; cursor:pointer; color:#6a655c; padding:4px 8px; }
.ch-drawer.left-side{ width:300px; }
.cart-item{ display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--ch-line); }
.cart-item img{ width:56px; height:56px; border-radius:8px; object-fit:cover; }
.cart-item .remove-item{ background:none; border:0; color:#a09a8d; cursor:pointer; }
.cart-item .remove-item:hover{ color:var(--ch-orange); }
.cart-empty{ text-align:center; color:#8a857b; padding:48px 0; }

/* ---------- dialogs ---------- */
.dialog.ch-dialog{ width:min(94vw,520px); padding:0; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.28); }
.dialog.ch-dialog.wide{ width:min(94vw,720px); }
.dialog.ch-dialog .ch-dhead{ display:flex; justify-content:space-between; align-items:center; padding:14px 20px; border-bottom:1px solid var(--ch-line); font-weight:600; flex:0 0 auto; }
.dialog.ch-dialog .ch-dbody{ padding:18px 20px; overflow-y:auto; max-height:calc(100vh - 170px); }
.dialog.ch-dialog .ch-dfoot{ padding:12px 20px 16px; border-top:1px solid var(--ch-line); }
.ch-tabs{ display:flex; gap:8px; }
.ch-tabs button{ border:0; background:#f1efe9; border-radius:999px; padding:7px 16px; cursor:pointer; font:inherit; font-size:.88rem; }
.ch-tabs button.active{ background:var(--ch-green); color:#fff; }

/* ---------- form fields (plain, Metro-styled) ---------- */
.ch-field{ margin-bottom:14px; }
.ch-field label.lbl{ display:block; font-size:.8rem; font-weight:600; margin-bottom:5px; }
.ch-field input[type=text], .ch-field input[type=email], .ch-field input[type=password], .ch-field input[type=number],
.ch-field select, .ch-field textarea{
  width:100%; border:1px solid var(--ch-line); border-radius:8px; padding:9px 12px; font:inherit; background:#fff; outline:none;
}
.ch-field input:focus, .ch-field select:focus, .ch-field textarea:focus{ border-color:var(--ch-green); box-shadow:0 0 0 3px rgba(118,180,44,.15); }
.ch-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ch-seg{ display:flex; border:1px solid var(--ch-line); border-radius:8px; overflow:hidden; }
.ch-seg input{ display:none; }
.ch-seg label{ flex:1; text-align:center; padding:9px 6px; cursor:pointer; font-size:.88rem; margin:0; }
.ch-seg input:checked + label{ background:var(--ch-green); color:#fff; }
.ch-note{ background:#f7f4ee; border-radius:10px; padding:10px 12px; font-size:.84rem; }
.ch-note.warn{ background:#fdf1ec; }
.ch-check{ display:flex; align-items:center; gap:8px; padding:6px 0; font-size:.88rem; cursor:pointer; }
.ch-check .grow{ flex:1; display:flex; justify-content:space-between; }
.ch-inline{ display:flex; gap:8px; }
.ch-inline input{ flex:1; }

/* ---------- misc helpers used by JS-rendered markup ---------- */
.small{ font-size:.84rem; }
.fw-semibold{ font-weight:600; } .fw-bold{ font-weight:700; } .fw-normal{ font-weight:400; }
.text-muted{ color:#8a857b !important; } .text-danger{ color:#c0392b !important; } .text-success{ color:#2e8b3d !important; }
.text-end{ text-align:right; } .fst-italic{ font-style:italic; }
.justify-between{ justify-content:space-between; } .items-center{ align-items:center; } .items-start{ align-items:flex-start; }
.grow{ flex-grow:1; }
.ch-pill-badge{ display:inline-block; font-size:.7rem; font-weight:600; padding:2px 9px; border-radius:999px; background:#e7e3d9; color:#4b463d; margin-right:4px; }
.ch-pill-badge.green{ background:#dff0c9; color:#3c6a10; }
.ch-pill-badge.blue{ background:#d9e8fb; color:#1c4f94; }
.ch-pill-badge.red{ background:#f8d9d4; color:#9a2a1b; }
.ch-pill-badge.amber{ background:#fbecc4; color:#7a5600; }
.ch-pill-badge.cyan{ background:#d4f0f4; color:#0d5c69; }
.ch-order-row{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; margin-bottom:8px; border-radius:10px; background:#f7f4ee; cursor:pointer; }
.ch-order-row:hover{ background:#f0ecdf; }
.ch-line{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--ch-line); }
.ch-sum{ display:flex; justify-content:space-between; font-size:.88rem; margin-bottom:4px; }
.divider-label{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:#8a857b; margin:18px 0 8px; font-weight:600; }
.ch-spinner{ display:inline-block; width:22px; height:22px; border:3px solid #dfe9cf; border-top-color:var(--ch-green); border-radius:50%; animation:ch-spin .8s linear infinite; vertical-align:middle; }
.ch-spinner.sm{ width:14px; height:14px; border-width:2px; margin-right:6px; }
@keyframes ch-spin{ to{ transform:rotate(360deg);} }
.ch-center{ text-align:center; padding:12px 0; }
.ch-dropdown{ position:relative; }
.ch-dropdown-menu{ display:none; position:absolute; right:0; top:100%; min-width:240px; background:#fff; border:1px solid var(--ch-line); border-radius:10px; box-shadow:0 14px 34px rgba(33,29,29,.16); z-index:1200; padding:6px 0; text-align:left; }
.ch-dropdown.open .ch-dropdown-menu{ display:block; }
.ch-dropdown-menu .item-text{ padding:6px 16px; font-size:.82rem; color:#6a655c; }
.ch-dropdown-menu button{ display:block; width:100%; text-align:left; border:0; background:none; padding:8px 16px; font:inherit; font-size:.88rem; cursor:pointer; }
.ch-dropdown-menu button:hover{ background:var(--ch-cream); }
.ch-dropdown-menu hr{ margin:6px 0; border:0; border-top:1px solid var(--ch-line); }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s, transform .7s; }
.reveal.visible{ opacity:1; transform:none; }

@media (max-width:991px){
  .ch-hamburger{ display:inline-block; }
  .ch-catnav{ display:none; }
  .ch-plist{ grid-template-columns:1fr; }
  .ch-filter{ position:static; }
  .ch-pdetail{ grid-template-columns:1fr; gap:22px; }
}
@media (max-width:767px){
  .ch-search{ display:none; }
  .ch-icon-btn .lbl{ display:none; }
  .ch-row{ grid-template-columns:1fr; }
  .ch-section{ padding:38px 0; }
}

/* toast */
.toast.ch-toast{ background:var(--ch-dark); color:#fff; border-radius:999px; padding:12px 22px; font-size:.9rem; z-index:2000; box-shadow:0 10px 26px rgba(0,0,0,.3); }

.ch-inline input{ flex:1; border:1px solid var(--ch-line); border-radius:8px; padding:8px 12px; font:inherit; min-width:0; }

/* Metro styles bare form controls; pin the header search layout */
.ch-search form{ display:flex; flex-wrap:nowrap; width:100%; }
.ch-search input[type=search]{ width:auto; min-width:0; box-shadow:none; }
.ch-search button{ min-width:0; padding:0; flex:0 0 52px; display:flex; align-items:center; justify-content:center; }

/* Metro's body is a flex column and its product-card sizes itself with container queries; we want plain block flow + cell-sized cards */
body{ display:block; }
.product-card{ width:100% !important; --product-card-font-size:14px !important; }
.ch-search form, .ch-newsletter form{ flex-direction:row !important; }
.ch-search input[type=search]{ height:42px; flex:1 1 auto; }

/* Metro's row has a negative right margin that overflows narrow containers */
.row{ margin-right:0; min-width:0; }
