/* =========================================================
   CALE BOUTIQUE ONLINE SHOP — FINAL RESPONSIVE UI
   Matches the lavender/pink logo theme and generated desktop/mobile mockups.
   Scope: Buyer storefront only. Admin/dashboard files are untouched.
   ========================================================= */

:root{
  --stasia-max: 1320px;
  --stasia-pad: clamp(14px, 3vw, 34px);
  --stasia-bg: #fff7f9;
  --stasia-surface: rgba(255,255,255,.92);
  --stasia-card: #ffffff;
  --stasia-lilac: #d8798b;
  --stasia-lilac-2: #f6bac4;
  --stasia-purple: #111012;
  --stasia-pink: #d8798b;
  --stasia-pink-2: #f6bac4;
  --stasia-blush: #fff1f4;
  --stasia-ink: #171113;
  --stasia-muted: #755f64;
  --stasia-line: rgba(246,186,196,.54);
  --stasia-line-strong: rgba(216,121,139,.48);
  --stasia-shadow: 0 20px 46px rgba(80,35,45,.12);
  --stasia-shadow-soft: 0 10px 25px rgba(80,35,45,.10);
  --stasia-radius-xl: 28px;
  --stasia-radius: 22px;
  --stasia-radius-sm: 16px;
  --stasia-nav-h: 96px;
  --stasia-bottom-h: 0px;
  --stasia-cart-peek: 0px;
  --stasia-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html{ max-width:100%; overflow-x:hidden; scroll-padding-top:calc(var(--stasia-nav-h) + 18px); }
body.buyer-page{
  margin:0 !important;
  min-height:100dvh;
  background:
    radial-gradient(circle at 20% 0%, rgba(243,107,165,.16), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(143,117,223,.18), transparent 40%),
    linear-gradient(180deg,#ffffff 0%, #fbf7ff 48%, #fff7fd 100%) !important;
  color:var(--stasia-ink) !important;
  font-family:var(--stasia-font) !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.buyer-page *{ box-sizing:border-box; }
body.buyer-page button, body.buyer-page input, body.buyer-page select{ font:inherit; }
body.buyer-page button{ cursor:pointer; touch-action:manipulation; }
body.buyer-page img{ max-width:100%; display:block; }
body.buyer-page .hidden{ display:none !important; }
body.buyer-page .soft-text{ color:var(--stasia-muted); }
body.buyer-page .mini-label{ margin:0; color:var(--stasia-lilac); font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }

/* ---------- customer gate ---------- */
body.buyer-page.customer-gate-active{
  display:grid;
  place-items:center;
  padding:24px;
}
body.buyer-page.customer-gate-active .buyer-app{ width:min(1040px,100%); }
.buyer-gate-panel{
  min-height:min(720px, calc(100dvh - 48px));
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,430px);
  gap:26px;
  align-items:center;
  padding:clamp(22px,4vw,54px);
  border:1px solid var(--stasia-line);
  border-radius:36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(249,239,255,.9)),
    url('assets/cale-boutique-logo-original.png') right -110px bottom -170px / 520px auto no-repeat;
  box-shadow:var(--stasia-shadow);
  overflow:hidden;
}
.gate-left h1{ margin:12px 0 12px; max-width:560px; color:var(--stasia-purple); font-size:clamp(42px,7vw,76px); line-height:.92; letter-spacing:-.06em; }
.gate-left .soft-text{ max-width:460px; font-size:17px; line-height:1.65; }
.gate-card-v2{
  padding:18px;
  border:1px solid var(--stasia-line);
  border-radius:30px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--stasia-shadow-soft);
  backdrop-filter:blur(16px);
}
.customer-tabs{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:6px; margin-bottom:14px; border-radius:999px; background:#f5edff; }
.customer-tab{ min-height:44px; border:0; border-radius:999px; color:var(--stasia-purple); background:transparent; font-weight:900; }
.customer-tab.active{ color:white; background:linear-gradient(135deg,var(--stasia-lilac),var(--stasia-pink)); box-shadow:0 10px 20px rgba(143,117,223,.26); }
.gate-form-v2{ display:none; gap:12px; }
.gate-form-v2.active{ display:grid; }
.form-title-row{ display:flex; gap:12px; align-items:center; margin:6px 0 4px; }
.form-title-row h3{ margin:0; color:var(--stasia-purple); font-size:21px; }
.form-title-row p{ margin:3px 0 0; color:var(--stasia-muted); font-size:13px; }
.round-icon{ width:42px; height:42px; display:grid; place-items:center; border-radius:16px; background:#f4edff; color:var(--stasia-purple); }
.floating-input{ display:grid; gap:6px; }
.floating-input span{ color:var(--stasia-purple); font-weight:850; font-size:13px; }
.floating-input input{ width:100%; min-height:50px; padding:0 14px; border-radius:17px; border:1px solid var(--stasia-line); color:var(--stasia-ink); background:#fff; outline:none; }
.floating-input input:focus{ border-color:var(--stasia-lilac); box-shadow:0 0 0 4px rgba(143,117,223,.12); }
.primary,.secondary,.buyer-primary,.buyer-secondary{ border:0; border-radius:18px; min-height:52px; padding:0 18px; font-weight:950; }
.buyer-primary,.primary{ color:white; background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac)); box-shadow:0 14px 24px rgba(243,107,165,.25); }
.buyer-secondary,.secondary{ color:var(--stasia-purple); background:#f5edff; border:1px solid var(--stasia-line); }
.gate-error{ min-height:20px; color:#c22f68; font-weight:800; }

/* ---------- shop layout ---------- */
body.buyer-page:not(.customer-gate-active) .buyer-main{ width:100% !important; max-width:none !important; margin:0 !important; padding:0 var(--stasia-pad) calc(34px + var(--stasia-bottom-h) + var(--stasia-cart-peek)) !important; }
body.buyer-page:not(.customer-gate-active) .buyer-shop{ display:block; }
.cb-shell{ width:min(100%, var(--stasia-max)); margin:0 auto; }

/* Sticky top navigation */
.cb-top-nav{
  position:sticky !important;
  top:0 !important;
  z-index:8000 !important;
  min-height:var(--stasia-nav-h);
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:12px max(var(--stasia-pad), calc((100vw - var(--stasia-max))/2 + var(--stasia-pad)));
  display:grid;
  grid-template-columns:250px minmax(280px,1fr) 230px auto;
  gap:18px;
  align-items:center;
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(154,126,220,.18);
  box-shadow:0 12px 34px rgba(81,48,150,.12);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.cb-brand-block{ min-width:0; display:flex; align-items:center; }
.cb-brand-logo{ width:238px; height:76px; object-fit:contain; object-position:left center; filter:drop-shadow(0 8px 13px rgba(81,48,150,.12)); }
.cb-search-wrap{
  min-height:56px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border:1px solid var(--stasia-line);
  border-radius:24px;
  background:rgba(255,255,255,.80);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.cb-search-wrap .search-icon{ color:var(--stasia-purple); font-size:25px; font-weight:900; line-height:1; }
.cb-search-wrap input{ width:100%; border:0; outline:0; color:var(--stasia-ink); background:transparent; font-size:15px; }
.cb-search-wrap input::placeholder{ color:#948aa5; }
.cb-branch-card{
  min-height:58px;
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 14px;
  border:1px solid var(--stasia-line);
  border-radius:22px;
  color:var(--stasia-purple);
  background:rgba(255,255,255,.86);
  box-shadow:var(--stasia-shadow-soft);
}
.branch-shop-icon{ width:36px; height:36px; display:grid; place-items:center; flex:0 0 auto; border-radius:999px; background:#f3edff; color:var(--stasia-purple); font-size:23px; }
.branch-copy{ min-width:0; display:grid; gap:2px; text-align:left; }
.branch-copy span{ color:var(--stasia-muted); font-size:11px; font-weight:850; letter-spacing:.04em; }
.branch-copy strong{ color:var(--stasia-purple); font-size:15px; line-height:1.05; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cb-branch-card small{ margin-left:auto; font-size:20px; color:var(--stasia-purple); }
.cb-utility-nav{ display:flex; justify-content:flex-end; align-items:center; gap:12px; }
.cb-icon-btn{
  position:relative;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:1px solid var(--stasia-line);
  border-radius:999px;
  color:var(--stasia-purple);
  background:rgba(255,255,255,.86);
  box-shadow:var(--stasia-shadow-soft);
  font-size:24px;
}
.cb-icon-btn:hover,.cb-branch-card:hover,.cb-filter-btn:hover{ transform:translateY(-1px); box-shadow:var(--stasia-shadow); }
.cart-count-badge{
  position:absolute;
  top:-6px;
  right:-4px;
  min-width:23px;
  height:23px;
  padding:0 6px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:white;
  background:var(--stasia-pink);
  border:2px solid white;
  font-size:12px;
  font-weight:950;
}
.cart-count-badge.is-empty{ opacity:.75; }
.cb-mobile-search{ display:none; }

/* Hero */
.cb-feature-banner{
  position:relative;
  min-height:205px;
  margin:14px 0 14px;
  display:grid;
  grid-template-columns:minmax(320px, 1fr) minmax(320px, 430px) minmax(220px, 310px);
  align-items:center;
  gap:10px;
  padding:26px clamp(22px,4vw,72px);
  border:1px solid rgba(143,117,223,.28);
  border-radius:30px;
  background:
    radial-gradient(circle at 11% 45%, rgba(255,255,255,.95), transparent 16%),
    radial-gradient(circle at 72% 10%, rgba(255,255,255,.75), transparent 10%),
    linear-gradient(105deg, rgba(255,246,252,.96) 0%, rgba(245,235,255,.94) 48%, rgba(233,219,255,.92) 100%);
  box-shadow:var(--stasia-shadow-soft);
  overflow:hidden;
}
.cb-feature-banner::before,.cb-feature-banner::after{ content:"✦"; position:absolute; color:rgba(143,117,223,.45); font-size:28px; }
.cb-feature-banner::before{ left:40px; top:90px; }
.cb-feature-banner::after{ right:40px; top:60px; color:rgba(243,107,165,.42); }
.cb-feature-copy{ position:relative; z-index:2; display:grid; gap:10px; }
.cb-hero-greeting{ margin:0; color:var(--stasia-purple); font-weight:950; font-size:19px; }
.cb-feature-copy h1{ margin:0; max-width:620px; color:var(--stasia-purple); font-size:clamp(34px,4.6vw,58px); line-height:.98; letter-spacing:-.06em; }
.cb-feature-copy h1 span{ color:var(--stasia-pink); }
.cb-feature-copy > p:not(.cb-hero-greeting){ margin:0; max-width:455px; color:var(--stasia-muted); font-size:17px; line-height:1.55; }
.cb-primary-cta,.cb-gift-card button{
  width:max-content;
  min-height:48px;
  padding:0 26px;
  border:0;
  border-radius:999px;
  color:var(--stasia-pink);
  background:#fff;
  font-weight:950;
  box-shadow:0 12px 25px rgba(81,48,150,.13);
}
.cb-feature-art{ position:relative; z-index:1; height:210px; align-self:stretch; display:grid; place-items:end center; }
.cb-mascot-img{ position:absolute; bottom:-74px; left:50%; transform:translateX(-50%); width:min(390px, 100%); height:auto; filter:drop-shadow(0 14px 22px rgba(81,48,150,.16)); }
.cb-sparkle{ position:absolute; z-index:2; font-size:24px; color:var(--stasia-lilac); }
.cb-sparkle-one{ left:18%; top:22%; }
.cb-sparkle-two{ right:13%; top:18%; color:var(--stasia-pink); }
.cb-carousel-dots{ position:absolute; bottom:2px; left:50%; transform:translateX(-50%); display:flex; gap:9px; }
.cb-carousel-dots span{ width:10px; height:10px; border-radius:999px; background:rgba(143,117,223,.28); }
.cb-carousel-dots span:first-child{ background:var(--stasia-lilac); }
.cb-gift-card{
  position:relative;
  z-index:3;
  justify-self:end;
  width:min(260px,100%);
  min-height:135px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  padding:18px;
  border:3px solid rgba(255,255,255,.86);
  border-radius:26px;
  color:white;
  text-align:center;
  background:linear-gradient(145deg,#8f6fe0,#6f4ac6);
  box-shadow:0 18px 36px rgba(81,48,150,.22);
}
.cb-gift-card strong{ font-size:21px; }
.cb-gift-card span{ color:rgba(255,255,255,.94); font-weight:750; }
.cb-gift-card button{ min-height:42px; margin-top:4px; color:var(--stasia-pink); }

/* Controls and categories */
.cb-shop-mode-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.cb-mode-toggle{ display:flex; gap:8px; padding:6px; border:1px solid var(--stasia-line); border-radius:999px; background:rgba(255,255,255,.86); box-shadow:var(--stasia-shadow-soft); }
.buyer-mode{ min-height:38px; padding:0 18px; border:0; border-radius:999px; color:var(--stasia-purple); background:transparent; font-weight:950; }
.buyer-mode.active{ color:white; background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac)); box-shadow:0 10px 20px rgba(143,117,223,.25); }
.cb-sort-control{ min-height:48px; display:flex; align-items:center; gap:8px; padding:0 14px; border:1px solid var(--stasia-line); border-radius:999px; background:rgba(255,255,255,.86); color:var(--stasia-purple); box-shadow:var(--stasia-shadow-soft); }
.cb-sort-control select{ border:0; outline:0; color:var(--stasia-purple); background:transparent; font-weight:900; }
.product-count-pill{ min-height:36px; display:inline-flex; align-items:center; justify-content:center; padding:0 13px; border-radius:999px; color:var(--stasia-purple); background:#fff; border:1px solid var(--stasia-line); font-weight:900; }
.cb-category-strip{ margin:0 0 14px; }
.buyer-category-options{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(190px,1fr);
  gap:14px;
  overflow-x:auto;
  padding:2px 2px 10px;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
}
.buyer-category-option{
  min-height:78px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 16px;
  border:1px solid var(--stasia-line);
  border-radius:24px;
  color:var(--stasia-purple);
  background:rgba(255,255,255,.88);
  box-shadow:var(--stasia-shadow-soft);
  text-align:left;
  white-space:nowrap;
}
.buyer-category-option.active{ border-color:var(--stasia-line-strong); background:linear-gradient(180deg,#fff,#f7efff); box-shadow:var(--stasia-shadow); }
.cat-icon{ width:56px; height:56px; display:grid; place-items:center; border-radius:999px; background:linear-gradient(145deg,#fff1fb,#ede4ff); font-size:28px; }
.cat-copy{ min-width:0; display:grid; gap:4px; }
.cat-copy strong{ overflow:hidden; text-overflow:ellipsis; color:var(--stasia-purple); font-size:16px; font-weight:950; }
.cat-copy small{ overflow:hidden; text-overflow:ellipsis; color:var(--stasia-muted); font-size:12px; font-weight:760; }
.buyer-category-option b{ color:var(--stasia-purple); font-size:24px; }

/* Catalog and product cards */
.cb-catalog-wrap{
  position:relative;
  margin:0 0 16px;
  padding:18px;
  border:1px solid rgba(154,126,220,.18);
  border-radius:28px;
  background:rgba(255,255,255,.86);
  box-shadow:var(--stasia-shadow-soft);
}
.cb-catalog-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.cb-catalog-title{ display:flex; align-items:center; gap:12px; }
.cb-catalog-icon{ width:34px; height:34px; display:grid; place-items:center; border-radius:13px; color:var(--stasia-lilac); background:#f4edff; }
.cb-catalog-title h2{ margin:0; color:var(--stasia-purple); font-size:25px; line-height:1; }
.cb-catalog-title p{ margin:5px 0 0; color:var(--stasia-muted); font-size:13px; }
.cb-filter-btn{ min-height:40px; display:flex; align-items:center; gap:8px; padding:0 16px; border:1px solid var(--stasia-line); border-radius:14px; color:var(--stasia-lilac); background:#fff; font-weight:950; box-shadow:var(--stasia-shadow-soft); }
.buyer-category-menu{ display:none !important; }
.buyer-product-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:16px;
}
.buyer-product-card{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  padding:14px;
  border:1px solid rgba(154,126,220,.18);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 25px rgba(81,48,150,.07);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.buyer-product-card:hover{ transform:translateY(-2px); border-color:var(--stasia-line-strong); box-shadow:var(--stasia-shadow); }
.product-heart,.quick-view{
  position:absolute;
  z-index:3;
  top:12px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid var(--stasia-line);
  border-radius:999px;
  color:var(--stasia-lilac);
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px);
  font-weight:950;
}
.product-heart{ right:12px; }
.quick-view{ left:12px; font-size:14px; }
.buyer-img-wrap{
  height:146px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fbf6ff);
  overflow:hidden;
}
.buyer-product-img,.ticket-img{
  width:100%; height:100%; object-fit:cover; object-position:var(--img-x,50%) var(--img-y,58%);
}
.buyer-product-card .buyer-product-img{ object-fit:contain; padding:8px; }
.buyer-no-img{ width:100%; height:100%; display:grid; place-items:center; border-radius:18px; color:var(--stasia-lilac); background:linear-gradient(135deg,#f5efff,#fff1fa); font-weight:950; }
.buyer-card-body{ display:grid; gap:7px; min-width:0; }
.buyer-card-body .mini-label{ color:var(--stasia-lilac); font-size:10px; letter-spacing:.09em; }
.buyer-card-body h3{ margin:0; min-height:42px; color:#35304f; font-size:15px; line-height:1.2; font-weight:850; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.buyer-card-foot{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.buyer-card-foot strong{ color:var(--stasia-purple); font-size:18px; font-weight:950; }
.buyer-card-foot span{ color:var(--stasia-muted); font-size:11px; font-weight:800; }
.product-rating{ display:flex; align-items:center; gap:6px; color:var(--stasia-lilac); font-size:13px; }
.product-rating span{ letter-spacing:1px; }
.product-rating small{ color:#807792; font-weight:800; }
.buyer-meta-grid{ display:flex; flex-wrap:wrap; gap:5px; min-height:23px; }
.buyer-meta-grid span{ max-width:100%; padding:4px 7px; border-radius:999px; color:var(--stasia-purple); background:#f6f0ff; font-size:10px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.buyer-seller-line{ margin:0; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.quick-add{
  min-height:38px;
  display:grid;
  grid-template-columns:40px 1fr 28px;
  align-items:center;
  gap:6px;
  padding:0 10px;
  border:1px solid var(--stasia-line-strong);
  border-radius:13px;
  color:var(--stasia-lilac);
  background:linear-gradient(180deg,#fff,#fbf7ff);
  font-weight:950;
}
.quick-add span{ justify-self:start; }
.quick-add i{ font-style:normal; justify-self:end; font-size:20px; }
.buyer-empty{ grid-column:1/-1; padding:40px 16px; border:1px dashed var(--stasia-line-strong); border-radius:22px; color:var(--stasia-muted); text-align:center; background:#fff; font-weight:850; }

/* Rewards */
.cb-rewards-panel{
  min-height:92px;
  margin:14px 0 20px;
  display:grid;
  grid-template-columns:minmax(230px,1.2fr) repeat(3,minmax(150px,.8fr)) 120px;
  gap:12px;
  align-items:center;
  padding:18px 24px;
  border:1px solid rgba(154,126,220,.22);
  border-radius:28px;
  background:linear-gradient(100deg,rgba(255,245,252,.96),rgba(239,226,255,.94));
  box-shadow:var(--stasia-shadow-soft);
  overflow:hidden;
}
.cb-rewards-copy h2{ margin:0; color:var(--stasia-purple); font-size:23px; }
.cb-rewards-copy p{ margin:5px 0 0; color:var(--stasia-muted); font-size:13px; }
.cb-reward-mini{ display:flex; align-items:center; gap:9px; min-width:0; color:var(--stasia-purple); font-weight:900; }
.cb-reward-mini i{ width:38px; height:38px; display:grid; place-items:center; flex:0 0 auto; border-radius:999px; color:var(--stasia-lilac); background:rgba(255,255,255,.8); font-style:normal; }
.cb-reward-mini span{ min-width:0; font-size:13px; }
.cb-reward-gift{ justify-self:end; font-size:62px; filter:drop-shadow(0 10px 15px rgba(81,48,150,.16)); }

/* Cart drawer and modals */
.cart-modal-backdrop{ position:fixed; inset:0; z-index:8800; background:rgba(41,33,59,.34); opacity:0; pointer-events:none; transition:.18s ease; backdrop-filter:blur(6px); }
body.cart-open .cart-modal-backdrop{ opacity:1; pointer-events:auto; }
.buyer-ticket-panel{
  position:fixed;
  z-index:9000;
  right:18px;
  bottom:18px;
  width:min(430px, calc(100vw - 28px));
  max-height:min(760px, calc(100dvh - 36px));
  border:1px solid var(--stasia-line);
  border-radius:30px;
  background:#fff;
  box-shadow:0 28px 80px rgba(41,33,59,.26);
  overflow:hidden;
  transition:transform .22s ease, opacity .22s ease;
}
.buyer-ticket-panel.collapsed{ transform:translateY(calc(100% - 82px)); }
.cart-sheet-handle{ position:absolute; top:8px; left:50%; transform:translateX(-50%); width:48px; height:5px; border:0; border-radius:999px; background:#ddd2fb; z-index:2; }
.cart-collapsed-bar{ min-height:82px; padding:22px 20px 14px; display:flex; align-items:center; justify-content:space-between; gap:14px; background:linear-gradient(135deg,#fff,#f8f1ff); }
.cart-collapsed-bar strong{ color:var(--stasia-purple); }
.collapsed-total{ display:grid; justify-items:end; gap:4px; }
.collapsed-total span{ color:var(--stasia-purple); font-size:18px; font-weight:950; }
.collapsed-total b{ color:var(--stasia-pink); font-size:12px; }
.cart-expanded-content{ display:grid; grid-template-rows:auto minmax(120px,1fr) auto; max-height:calc(min(760px, 100dvh - 36px) - 18px); padding-top:12px; }
.ticket-head-v2{ display:flex; justify-content:space-between; gap:12px; padding:18px 20px 10px; }
.ticket-head-v2 h2{ margin:3px 0 0; color:var(--stasia-purple); }
.ticket-clear{ min-height:38px; padding:0 13px; border:1px solid var(--stasia-line); border-radius:999px; color:var(--stasia-pink); background:#fff; font-weight:900; }
.ticket-items-v2{ overflow:auto; padding:0 16px 14px; display:grid; gap:10px; }
.buyer-ticket-item{ display:grid; grid-template-columns:64px 1fr auto; gap:10px; align-items:center; padding:10px; border:1px solid var(--stasia-line); border-radius:18px; background:#fff; }
.ticket-thumb{ width:64px; height:64px; border-radius:15px; overflow:hidden; background:#f7f0ff; }
.ticket-info{ min-width:0; display:grid; gap:3px; }
.ticket-info strong{ color:var(--stasia-ink); font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ticket-info p{ margin:0; color:var(--stasia-muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ticket-info b{ color:var(--stasia-purple); }
.ticket-meta-chips{ display:flex; gap:4px; flex-wrap:wrap; }
.ticket-meta-chips span{ padding:3px 6px; border-radius:999px; background:#f5eeff; color:var(--stasia-purple); font-size:9px; font-weight:800; }
.ticket-qty{ display:grid; grid-template-columns:28px 28px 28px; align-items:center; border:1px solid var(--stasia-line); border-radius:999px; overflow:hidden; }
.ticket-qty button{ width:28px; height:30px; border:0; color:var(--stasia-purple); background:#fff; font-weight:950; }
.ticket-qty span{ text-align:center; color:var(--stasia-purple); font-weight:950; }
.ticket-summary-v2{ padding:14px 20px 20px; border-top:1px solid var(--stasia-line); background:linear-gradient(180deg,#fff,#fbf7ff); display:grid; gap:9px; }
.summary-line{ display:flex; justify-content:space-between; color:var(--stasia-muted); }
.summary-line.total{ color:var(--stasia-purple); font-size:19px; font-weight:950; }
.mobile-close-cart{ min-height:44px; border:1px solid var(--stasia-line); border-radius:15px; color:var(--stasia-purple); background:#fff; font-weight:900; }
.empty-ticket{ padding:28px 12px; text-align:center; color:var(--stasia-muted); font-weight:850; }

.branch-modal,.customer-orders-modal,.image-viewer{
  position:fixed;
  inset:0;
  z-index:9500;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(41,33,59,.42);
  backdrop-filter:blur(10px);
}
.branch-modal-card,.customer-orders-card,.image-viewer-card{
  position:relative;
  width:min(620px,100%);
  max-height:calc(100dvh - 44px);
  overflow:auto;
  padding:24px;
  border:1px solid var(--stasia-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 30px 90px rgba(41,33,59,.3);
}
.branch-modal-card h2,.customer-orders-card h2{ margin:8px 0 6px; color:var(--stasia-purple); }
.image-viewer-close{ position:absolute; top:14px; right:14px; z-index:3; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:999px; color:var(--stasia-purple); background:#fff; box-shadow:var(--stasia-shadow-soft); font-size:25px; }
.branch-choice-grid{ display:grid; gap:10px; margin-top:16px; }
.branch-choice-card{ display:grid; gap:4px; padding:16px; border:1px solid var(--stasia-line); border-radius:18px; color:var(--stasia-ink); background:#fff; text-align:left; }
.branch-choice-card.active{ border-color:var(--stasia-lilac); background:#f7f1ff; }
.branch-choice-card strong{ color:var(--stasia-purple); }
.branch-choice-card span,.branch-choice-card small{ color:var(--stasia-muted); }
.image-viewer{ z-index:9800; }
.image-viewer-card{ width:min(760px,100%); padding:12px; }
.image-viewer-card img{ width:100%; max-height:70dvh; object-fit:contain; border-radius:20px; background:#f7f1ff; }
.image-viewer-caption{ display:grid; gap:2px; padding:12px 4px 4px; color:var(--stasia-purple); }
.image-viewer-caption span{ color:var(--stasia-muted); }
.customer-orders-list{ display:grid; gap:10px; }
.customer-order-card{ border:1px solid var(--stasia-line); border-radius:18px; padding:14px; background:#fff; }
.toast{ position:fixed; left:50%; bottom:30px; transform:translateX(-50%); z-index:9900; min-height:48px; display:flex; align-items:center; gap:10px; padding:10px 16px; border-radius:999px; color:white; background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac)); box-shadow:var(--stasia-shadow); font-weight:900; }
.toast-check{ width:26px; height:26px; display:grid; place-items:center; border-radius:999px; background:rgba(255,255,255,.25); }
#cartAddPopup{ position:fixed; z-index:9900; right:22px; top:112px; display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--stasia-line); border-radius:18px; color:var(--stasia-purple); background:#fff; box-shadow:var(--stasia-shadow); opacity:0; transform:translateY(-8px); pointer-events:none; transition:.18s ease; }
#cartAddPopup.show{ opacity:1; transform:translateY(0); }
.cart-add-popup-icon{ width:32px; height:32px; display:grid; place-items:center; border-radius:999px; color:#fff; background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac)); font-weight:950; }
#cartAddPopup strong{ display:block; }
#cartAddPopup span{ color:var(--stasia-muted); font-size:12px; }

.cb-bottom-nav{ display:none; }

/* Keep the floating cart from covering the product grid.
   When the cart is empty, hide the collapsed dock. When it has items,
   reserve bottom space so the last row stays visible. */
body.buyer-page.cart-has-items:not(.customer-gate-active) .buyer-main{
  padding-bottom:calc(34px + var(--stasia-bottom-h) + 96px) !important;
}
.buyer-ticket-panel.is-empty-cart.collapsed{
  opacity:0;
  pointer-events:none;
  transform:translateY(calc(100% + 24px));
}

@media (max-width:1180px){
  .cb-top-nav{ grid-template-columns:210px minmax(220px,1fr) 210px auto; gap:12px; }
  .cb-brand-logo{ width:205px; }
  .buyer-product-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .cb-feature-banner{ grid-template-columns:1fr 330px; }
  .cb-gift-card{ display:none; }
  .cb-rewards-panel{ grid-template-columns:1fr 1fr 1fr; }
  .cb-reward-gift{ display:none; }
}

@media (max-width:820px){
  :root{ --stasia-nav-h: 108px; --stasia-bottom-h: 86px; --stasia-cart-peek: 0px; }
  body.buyer-page:not(.customer-gate-active) .buyer-main{ padding-left:10px !important; padding-right:10px !important; }
  .buyer-gate-panel{ grid-template-columns:1fr; padding:20px; border-radius:28px; background:linear-gradient(135deg, rgba(255,255,255,.94), rgba(249,239,255,.92)); }
  .gate-left h1{ font-size:42px; }
  .cb-top-nav{
    min-height:auto;
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand icons"
      "branch branch";
    align-items:center;
    padding:8px 12px 12px;
    border-bottom-left-radius:24px;
    border-bottom-right-radius:24px;
  }
  .cb-brand-block{ grid-area:brand; }
  .cb-brand-logo{ width:210px; height:70px; object-position:left center; }
  .cb-top-nav > .cb-search-wrap{ display:none; }
  .cb-utility-nav{ grid-area:icons; gap:9px; }
  .cb-search-shortcut{ display:grid; }
  .cb-icon-btn{ width:48px; height:48px; font-size:22px; }
  .cb-branch-card{ grid-area:branch; min-height:58px; border-radius:18px; }
  /* Mobile search is always visible and sticks under the header.
     This prevents the page from jumping back to the top when the search icon is tapped. */
  .cb-mobile-search{
    display:block;
    position:sticky;
    top:86px;
    z-index:7990;
    margin:8px 0 12px;
    padding:0 2px;
  }
  body.search-open .cb-mobile-search{ display:block; }
  .cb-mobile-search .cb-search-wrap{
    min-height:52px;
    border-radius:19px;
    background:rgba(255,255,255,.96);
    box-shadow:0 12px 28px rgba(80,35,45,.14);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .cb-feature-banner{
    min-height:322px;
    grid-template-columns:1fr 46%;
    gap:0;
    margin-top:12px;
    padding:26px 20px 24px;
    border-radius:24px;
  }
  .cb-feature-copy{ align-self:center; }
  .cb-hero-greeting{ font-size:16px; }
  .cb-feature-copy h1{ font-size:clamp(30px,9vw,48px); max-width:300px; }
  .cb-feature-copy > p:not(.cb-hero-greeting){ font-size:15px; max-width:270px; }
  .cb-primary-cta{ min-height:46px; padding:0 22px; }
  .cb-feature-art{ height:100%; align-self:stretch; }
  .cb-mascot-img{ width:310px; max-width:170%; bottom:-10px; left:44%; }
  .cb-carousel-dots{ bottom:4px; }
  .cb-gift-card{ display:none; }
  .cb-shop-mode-row{ flex-wrap:wrap; align-items:stretch; }
  .cb-mode-toggle{ order:1; flex:1 1 auto; justify-content:center; }
  .cb-sort-control{ order:2; flex:1 1 180px; justify-content:center; }
  .product-count-pill{ order:3; flex:1 1 100%; }
  .buyer-category-options{ grid-auto-columns:minmax(136px, 152px); gap:10px; padding-bottom:8px; }
  .buyer-category-option{ min-height:142px; grid-template-columns:1fr; justify-items:center; text-align:center; gap:7px; padding:12px 8px; border-radius:20px; white-space:normal; }
  .buyer-category-option b{ display:none; }
  .cat-icon{ width:66px; height:66px; font-size:32px; }
  .cat-copy strong{ font-size:15px; }
  .cat-copy small{ font-size:12px; }
  .cb-catalog-wrap{ padding:14px; border-radius:24px; }
  .cb-catalog-head{ margin-bottom:12px; }
  .cb-catalog-title h2{ font-size:23px; }
  .cb-catalog-title p{ display:none; }
  .buyer-product-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .buyer-product-card{ display:flex; flex-direction:column; gap:8px; padding:11px; border-radius:20px; min-height:248px; }
  .buyer-product-card .buyer-img-wrap{ width:100%; height:112px; align-self:stretch; }
  .buyer-card-body{ display:grid; align-content:start; gap:6px; }
  .buyer-card-body h3{ min-height:34px; font-size:13px; line-height:1.18; -webkit-line-clamp:2; }
  .buyer-card-foot{ align-items:flex-start; flex-direction:column; gap:2px; }
  .buyer-card-foot strong{ font-size:19px; }
  .buyer-card-foot span{ font-size:10px; }
  .product-rating{ font-size:11px; gap:4px; }
  .product-rating span{ letter-spacing:0; }
  .buyer-meta-grid,.buyer-seller-line,.buyer-card-body .mini-label,.quick-view{ display:none; }
  .quick-add{ min-height:38px; margin-top:auto; grid-column:auto; }
  .product-heart{ right:8px; top:8px; width:28px; height:28px; }
  .cb-rewards-panel{ grid-template-columns:1fr repeat(3, minmax(0, .7fr)); gap:8px; padding:16px; border-radius:22px; }
  .cb-rewards-copy h2{ font-size:20px; }
  .cb-rewards-copy p{ font-size:12px; }
  .cb-reward-mini{ display:grid; justify-items:center; text-align:center; gap:5px; }
  .cb-reward-mini i{ width:34px; height:34px; }
  .cb-reward-mini span{ font-size:11px; }
  .buyer-ticket-panel{ right:10px; bottom:calc(10px + var(--stasia-bottom-h) + env(safe-area-inset-bottom, 0px)); width:calc(100vw - 20px); max-height:calc(100dvh - var(--stasia-bottom-h) - 20px - env(safe-area-inset-bottom, 0px)); }
  .buyer-ticket-panel.collapsed{ transform:translateY(calc(100% - 76px)); }
  .cb-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:7600;
    height:70px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:4px;
    padding:7px;
    border:1px solid var(--stasia-line);
    border-radius:26px;
    background:rgba(255,255,255,.92);
    box-shadow:0 18px 38px rgba(81,48,150,.17);
    backdrop-filter:blur(16px);
  }
  .cb-bottom-nav button{ position:relative; display:grid; place-items:center; gap:2px; border:0; border-radius:20px; color:var(--stasia-purple); background:transparent; font-size:20px; }
  .cb-bottom-nav button.active{ background:#f1e8ff; }
  .cb-bottom-nav b{ font-size:12px; }
  .cb-bottom-nav .cart-count-badge{ top:6px; right:20%; }
  .toast{ bottom:94px; width:calc(100vw - 28px); justify-content:center; }
  body.buyer-page.cart-has-items:not(.customer-gate-active) .buyer-main{
    padding-bottom:calc(18px + var(--stasia-bottom-h) + 116px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width:520px){
  body.buyer-page.customer-gate-active{ padding:12px; }
  .gate-left{ display:none; }
  .buyer-gate-panel{ min-height:auto; padding:12px; }
  .gate-card-v2{ border-radius:24px; }
  .cb-brand-logo{ width:178px; height:62px; }
  .cb-icon-btn{ width:43px; height:43px; font-size:20px; }
  .cb-utility-nav{ gap:6px; }
  .cb-feature-banner{ min-height:306px; grid-template-columns:1fr 43%; padding:22px 16px 22px; }
  .cb-feature-copy h1{ font-size:34px; }
  .cb-feature-copy > p:not(.cb-hero-greeting){ font-size:14px; }
  .cb-mascot-img{ width:280px; left:40%; bottom:-2px; }
  .buyer-category-options{ grid-auto-columns:128px; }
  .buyer-category-option{ min-height:132px; }
  .cat-icon{ width:58px; height:58px; }
  .cb-mobile-search{ top:78px; }
  .cb-catalog-wrap{ padding:12px; }
  .buyer-product-grid{ gap:10px; }
  .buyer-product-card{ padding:9px; min-height:232px; }
  .buyer-img-wrap{ border-radius:16px; }
  .buyer-product-card .buyer-img-wrap{ height:96px; }
  .buyer-card-body h3{ font-size:12px; min-height:32px; }
  .buyer-card-foot strong{ font-size:18px; }
  .buyer-card-foot span{ font-size:9px; }
  .product-rating small{ display:none; }
  .quick-add{ font-size:13px; min-height:36px; }
  .cb-rewards-panel{ grid-template-columns:1fr 1fr 1fr; }
  .cb-rewards-copy{ grid-column:1 / -1; }
  body.buyer-page.cart-has-items:not(.customer-gate-active) .buyer-main{
    padding-bottom:calc(14px + var(--stasia-bottom-h) + 122px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .branch-modal,.customer-orders-modal,.image-viewer{ padding:12px; }
  .branch-modal-card,.customer-orders-card,.image-viewer-card{ border-radius:22px; padding:18px; }
}

@media (min-width:821px){
  .cb-search-shortcut{ display:none; }
}

/* Gate mode: keep shopping-only overlays out of the login screen. */
body.buyer-page.customer-gate-active .buyer-ticket-panel,
body.buyer-page.customer-gate-active .cart-modal-backdrop,
body.buyer-page.customer-gate-active .cb-bottom-nav{
  display:none !important;
}

#miniToast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:9999;
  transform:translateX(-50%);
  pointer-events:none;
}
#miniToast:not(:empty){
  padding:10px 16px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac));
  box-shadow:var(--stasia-shadow);
  font-weight:900;
}
.customer-order-item{display:grid;gap:8px;padding:14px;border:1px solid var(--stasia-line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbf7ff)}
.customer-order-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-order-top strong{color:var(--stasia-purple)}.customer-order-top b{color:var(--stasia-pink)}
.customer-order-item p{margin:0;color:var(--stasia-muted);font-size:12px}.customer-order-status,.customer-order-products{display:flex;flex-wrap:wrap;gap:6px}.customer-order-status span,.customer-order-products span{padding:5px 8px;border-radius:999px;background:#f4edff;color:var(--stasia-purple);font-size:11px;font-weight:850}

@media (max-width:820px){
  .buyer-product-card .buyer-product-img{ padding:6px; }
  .quick-add span{ font-size:15px; }
  .quick-add b{ font-size:14px; }
}


/* FIX4: Product-only toolbar + visible product count */
.cb-shop-mode-row{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
}
.cb-shop-mode-row .cb-sort-control{
  justify-self:center;
}
.cb-shop-mode-row .product-count-pill{
  justify-self:end;
}
@media (max-width:820px){
  .cb-shop-mode-row{
    grid-template-columns:1fr;
    justify-items:stretch;
  }
  .cb-shop-mode-row .cb-sort-control{
    width:100%;
    justify-content:center;
  }
  .cb-shop-mode-row .product-count-pill{
    justify-self:center;
  }
}

/* FIX4: ensure product grid always has proper space below the heading */
.cb-catalog-wrap .buyer-product-grid{
  margin-top:4px;
}


/* FIX5: product visibility + cleaner mobile hero art */
.cb-feature-art{
  overflow:hidden;
  border-radius:22px;
}
.cb-mascot-img{
  bottom:0;
  width:min(430px, 112%);
}
@media (max-width:820px){
  .cb-feature-banner{
    grid-template-columns:minmax(0, 1fr) minmax(130px, 45%);
    min-height:300px;
    padding:20px 16px;
  }
  .cb-feature-art{
    height:100%;
    align-self:stretch;
    display:block;
    overflow:hidden;
  }
  .cb-mascot-img{
    width:245px;
    max-width:none;
    left:54%;
    bottom:0;
    transform:translateX(-50%);
  }
  .cb-feature-copy h1{
    font-size:31px;
    line-height:1.05;
    max-width:210px;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:190px;
    font-size:13px;
    line-height:1.42;
  }
  .cb-primary-cta{
    min-height:42px;
    padding:0 18px;
  }
  .cb-category-strip{
    margin-top:10px;
  }
  .cb-catalog-wrap{
    margin-top:10px;
  }
}
@media (max-width:520px){
  .cb-feature-banner{
    grid-template-columns:minmax(0, 1fr) 43%;
    min-height:260px;
  }
  .cb-mascot-img{
    width:214px;
    left:51%;
  }
  .cb-feature-copy h1{
    font-size:28px;
    max-width:190px;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:170px;
    font-size:12px;
  }
}

/* FIX7: make the hero mascot stand out more like the reference banner */
.cb-feature-banner{
  overflow:hidden;
}
.cb-feature-art{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:visible;
  isolation:isolate;
}
.cb-feature-art::before{
  content:"";
  position:absolute;
  right:-1%;
  bottom:4%;
  width:min(390px, 96%);
  aspect-ratio:1 / 1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.96) 0%, rgba(255,238,248,.82) 28%, rgba(229,214,255,.46) 56%, rgba(229,214,255,0) 72%);
  filter:blur(8px);
  z-index:0;
}
.cb-feature-art::after{
  content:"";
  position:absolute;
  right:1%;
  top:8%;
  width:76%;
  height:78%;
  border-radius:38px;
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  border:1px solid rgba(255,255,255,.36);
  opacity:.55;
  z-index:0;
}
.cb-mascot-img{
  left:auto;
  right:-10px;
  bottom:-2px;
  transform:none;
  width:min(500px, 118%);
  max-width:none;
  z-index:2;
  filter:drop-shadow(0 24px 30px rgba(81,48,150,.18)) drop-shadow(0 0 18px rgba(255,255,255,.72));
}

@media (max-width:820px){
  .cb-feature-banner{
    grid-template-columns:minmax(0, 1fr) minmax(148px, 43%);
    min-height:286px;
  }
  .cb-feature-art::before{
    right:-8%;
    bottom:6%;
    width:210px;
    filter:blur(6px);
  }
  .cb-feature-art::after{
    width:92%;
    height:74%;
    right:-4%;
    top:14%;
  }
  .cb-mascot-img{
    width:268px;
    right:-38px;
    bottom:-2px;
  }
}

@media (max-width:520px){
  .cb-feature-banner{
    grid-template-columns:minmax(0, 1fr) 42%;
    min-height:248px;
    padding:18px 14px;
  }
  .cb-feature-copy h1{
    max-width:185px;
    font-size:26px;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:158px;
    font-size:12px;
  }
  .cb-feature-art::before{
    width:184px;
    right:-16%;
  }
  .cb-feature-art::after{
    width:100%;
    right:-10%;
    top:18%;
  }
  .cb-mascot-img{
    width:236px;
    right:-44px;
    bottom:-4px;
  }
}

/* =========================================================
   FIX7: Make hero mascot artwork stand out inside the project
   - Bigger right-side artwork
   - Stronger glow/drop shadow
   - Better desktop and mobile positioning
   ========================================================= */
.cb-feature-banner{
  isolation:isolate;
  min-height:250px;
  padding-right:clamp(260px, 34vw, 520px);
  background:
    radial-gradient(circle at 78% 47%, rgba(255,255,255,.88), transparent 18%),
    radial-gradient(circle at 86% 48%, rgba(243,107,165,.20), transparent 24%),
    radial-gradient(circle at 18% 40%, rgba(255,255,255,.92), transparent 20%),
    linear-gradient(105deg, rgba(255,246,252,.97) 0%, rgba(246,235,255,.96) 48%, rgba(231,215,255,.94) 100%) !important;
}
.cb-feature-copy{
  z-index:5 !important;
}
.cb-feature-copy h1{
  text-shadow:0 3px 0 rgba(255,255,255,.75), 0 10px 26px rgba(81,48,150,.10);
}
.cb-feature-copy h1 span{
  text-shadow:0 3px 0 rgba(255,255,255,.85), 0 12px 24px rgba(243,107,165,.16);
}
.cb-feature-art{
  position:absolute !important;
  z-index:3 !important;
  right:clamp(210px, 18vw, 330px) !important;
  bottom:0 !important;
  top:auto !important;
  width:clamp(420px, 38vw, 630px) !important;
  height:calc(100% + 24px) !important;
  display:block !important;
  overflow:visible !important;
  border-radius:0 !important;
  pointer-events:none;
}
.cb-feature-art::before{
  content:"";
  position:absolute;
  right:2%;
  bottom:0;
  width:88%;
  height:86%;
  border-radius:45% 45% 32% 32%;
  background:radial-gradient(circle, rgba(255,255,255,.92), rgba(255,221,241,.34) 45%, transparent 72%);
  filter:blur(5px);
  z-index:-1;
}
.cb-mascot-img{
  left:auto !important;
  right:-18px !important;
  bottom:-18px !important;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  transform:none !important;
  object-fit:contain !important;
  object-position:right bottom !important;
  border-radius:26px;
  filter:
    drop-shadow(0 0 0 rgba(255,255,255,1))
    drop-shadow(0 18px 28px rgba(81,48,150,.24))
    drop-shadow(0 0 18px rgba(255,255,255,.82)) !important;
}
.cb-gift-card{
  z-index:6 !important;
  transform:translateX(6px);
}
.cb-carousel-dots{
  z-index:8 !important;
  bottom:10px !important;
}
.cb-sparkle{
  z-index:7 !important;
  text-shadow:0 3px 10px rgba(255,255,255,.9);
}

@media (max-width:1180px){
  .cb-feature-banner{
    padding-right:clamp(210px, 34vw, 390px);
  }
  .cb-feature-art{
    right:24px !important;
    width:clamp(390px, 45vw, 520px) !important;
  }
}

@media (max-width:820px){
  .cb-feature-banner{
    position:relative;
    grid-template-columns:1fr !important;
    min-height:315px !important;
    padding:22px 44% 22px 18px !important;
    overflow:hidden !important;
  }
  .cb-feature-copy{
    align-self:center;
    max-width:100%;
  }
  .cb-feature-copy h1{
    max-width:230px !important;
    font-size:32px !important;
    line-height:1.04 !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:205px !important;
    font-size:12.5px !important;
    line-height:1.45 !important;
  }
  .cb-feature-art{
    right:-54px !important;
    bottom:0 !important;
    width:330px !important;
    height:100% !important;
    overflow:visible !important;
  }
  .cb-feature-art::before{
    right:10px;
    bottom:18px;
    width:230px;
    height:220px;
  }
  .cb-mascot-img{
    right:-18px !important;
    bottom:0 !important;
    width:330px !important;
    max-width:none !important;
    border-radius:22px;
  }
  .cb-carousel-dots{
    left:64% !important;
    bottom:8px !important;
  }
  .cb-sparkle-one{ left:66% !important; top:28% !important; }
  .cb-sparkle-two{ right:18% !important; top:34% !important; }
}

@media (max-width:520px){
  .cb-feature-banner{
    min-height:300px !important;
    padding:20px 39% 20px 14px !important;
  }
  .cb-feature-copy h1{
    max-width:190px !important;
    font-size:28px !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:168px !important;
    font-size:11.5px !important;
  }
  .cb-primary-cta{
    min-height:38px !important;
    padding:0 16px !important;
    font-size:13px;
  }
  .cb-feature-art{
    right:-90px !important;
    width:330px !important;
  }
  .cb-mascot-img{
    right:-6px !important;
    bottom:4px !important;
    width:320px !important;
  }
  .cb-carousel-dots{
    left:62% !important;
  }
}

/* =========================================================
   FIX8: Real hero repair — image stands out inside the project
   - Removes promo card overlap
   - Uses the clean mascot artwork as a large right-side hero image
   - Prevents tiny/cut mascot on desktop and mobile
   ========================================================= */
.cb-feature-banner{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(430px, 48%) !important;
  align-items:center !important;
  min-height:260px !important;
  padding:34px clamp(24px, 4vw, 70px) !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 18% 46%, rgba(255,255,255,.94), transparent 22%),
    radial-gradient(circle at 78% 44%, rgba(243,107,165,.18), transparent 32%),
    linear-gradient(105deg, rgba(255,247,253,.98) 0%, rgba(246,235,255,.96) 46%, rgba(226,207,255,.94) 100%) !important;
}
.cb-feature-copy{
  position:relative !important;
  z-index:5 !important;
  max-width:720px !important;
  align-self:center !important;
}
.cb-feature-copy h1{
  max-width:720px !important;
  font-size:clamp(44px, 5.4vw, 76px) !important;
  line-height:.96 !important;
  letter-spacing:-.065em !important;
  text-shadow:0 3px 0 rgba(255,255,255,.85), 0 16px 32px rgba(81,48,150,.10) !important;
}
.cb-feature-copy h1 span{
  color:var(--stasia-pink) !important;
  text-shadow:0 3px 0 rgba(255,255,255,.9), 0 16px 28px rgba(243,107,165,.17) !important;
}
.cb-feature-copy > p:not(.cb-hero-greeting){
  max-width:500px !important;
  font-size:17px !important;
  line-height:1.55 !important;
}
.cb-gift-card{
  display:none !important;
}
.cb-feature-art{
  position:absolute !important;
  z-index:2 !important;
  inset:0 0 0 auto !important;
  width:min(56%, 760px) !important;
  height:100% !important;
  display:block !important;
  overflow:hidden !important;
  border-radius:0 !important;
  pointer-events:none !important;
  isolation:isolate !important;
}
.cb-feature-art::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  background:linear-gradient(90deg, rgba(255,247,253,.94) 0%, rgba(255,247,253,.42) 18%, rgba(255,247,253,0) 38%) !important;
  filter:none !important;
  border-radius:0 !important;
}
.cb-feature-art::after{
  content:"" !important;
  position:absolute !important;
  right:7% !important;
  top:10% !important;
  width:62% !important;
  height:78% !important;
  z-index:0 !important;
  border-radius:50% !important;
  background:radial-gradient(circle, rgba(255,255,255,.78), rgba(243,107,165,.20) 44%, transparent 70%) !important;
  filter:blur(8px) !important;
  opacity:.9 !important;
}
.cb-mascot-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center right !important;
  transform:none !important;
  border-radius:0 !important;
  z-index:1 !important;
  filter:drop-shadow(0 22px 34px rgba(81,48,150,.20)) contrast(1.03) saturate(1.05) !important;
}
.cb-carousel-dots{
  left:58% !important;
  bottom:16px !important;
  z-index:6 !important;
}
.cb-sparkle{
  z-index:6 !important;
}
.cb-sparkle-one{ left:50% !important; top:34% !important; }
.cb-sparkle-two{ right:14% !important; top:24% !important; }

@media (max-width:1180px){
  .cb-feature-banner{
    grid-template-columns:minmax(0, 1fr) minmax(350px, 48%) !important;
    min-height:245px !important;
  }
  .cb-feature-copy h1{
    font-size:clamp(40px, 5.4vw, 62px) !important;
    max-width:590px !important;
  }
  .cb-feature-art{ width:55% !important; }
}

@media (max-width:820px){
  .cb-feature-banner{
    display:block !important;
    min-height:270px !important;
    padding:20px 42% 20px 16px !important;
    border-radius:24px !important;
  }
  .cb-feature-copy{
    max-width:100% !important;
  }
  .cb-hero-greeting{
    font-size:15px !important;
  }
  .cb-feature-copy h1{
    max-width:230px !important;
    font-size:32px !important;
    line-height:1.03 !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:210px !important;
    font-size:12.5px !important;
    line-height:1.42 !important;
  }
  .cb-primary-cta{
    min-height:40px !important;
    padding:0 18px !important;
    font-size:13px !important;
  }
  .cb-feature-art{
    width:61% !important;
    right:-13% !important;
    left:auto !important;
    top:0 !important;
    bottom:0 !important;
    height:100% !important;
  }
  .cb-feature-art::before{
    background:linear-gradient(90deg, rgba(255,247,253,.95) 0%, rgba(255,247,253,.38) 30%, rgba(255,247,253,0) 58%) !important;
  }
  .cb-mascot-img{
    object-position:center right !important;
  }
  .cb-carousel-dots{
    left:67% !important;
    bottom:10px !important;
  }
  .cb-sparkle-one{ left:58% !important; top:34% !important; }
  .cb-sparkle-two{ right:12% !important; top:30% !important; }
}

@media (max-width:520px){
  .cb-feature-banner{
    min-height:260px !important;
    padding:18px 40% 18px 14px !important;
  }
  .cb-feature-copy h1{
    max-width:190px !important;
    font-size:27px !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:165px !important;
    font-size:11.5px !important;
  }
  .cb-feature-art{
    width:66% !important;
    right:-20% !important;
  }
  .cb-feature-art::before{
    background:linear-gradient(90deg, rgba(255,247,253,.95) 0%, rgba(255,247,253,.44) 32%, rgba(255,247,253,0) 62%) !important;
  }
  .cb-carousel-dots{
    left:63% !important;
    bottom:8px !important;
  }
}

/* =========================================================
   FIX9: Final hero repair — no chopped mascot / no overlay card
   The hero artwork now behaves like the reference banner: text left,
   mascot large on the right, visible face + bag, not a random crop.
   ========================================================= */
.cb-feature-banner{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(320px, 52%) minmax(320px, 48%) !important;
  min-height:250px !important;
  padding:34px clamp(26px,4vw,64px) !important;
  align-items:center !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,255,255,.95), transparent 24%),
    radial-gradient(circle at 78% 42%, rgba(255,255,255,.70), transparent 22%),
    radial-gradient(circle at 86% 44%, rgba(243,107,165,.17), transparent 36%),
    linear-gradient(105deg, #fff7fd 0%, #f7ecff 48%, #eadcff 100%) !important;
}
.cb-feature-banner::before{
  content:"✦" !important;
  position:absolute !important;
  left:36px !important;
  top:38% !important;
  color:rgba(143,117,223,.48) !important;
  font-size:28px !important;
  z-index:1 !important;
}
.cb-feature-banner::after{
  content:"♡" !important;
  position:absolute !important;
  right:7% !important;
  top:30% !important;
  color:rgba(243,107,165,.58) !important;
  font-size:26px !important;
  z-index:4 !important;
}
.cb-feature-copy{
  position:relative !important;
  z-index:6 !important;
  max-width:650px !important;
  padding-right:18px !important;
}
.cb-hero-greeting{
  font-size:19px !important;
  color:var(--stasia-purple) !important;
}
.cb-feature-copy h1{
  max-width:650px !important;
  font-size:clamp(42px,5vw,68px) !important;
  line-height:.96 !important;
  letter-spacing:-.06em !important;
  text-shadow:0 2px 0 rgba(255,255,255,.9), 0 15px 28px rgba(81,48,150,.10) !important;
}
.cb-feature-copy h1 span{
  color:var(--stasia-pink) !important;
}
.cb-feature-copy > p:not(.cb-hero-greeting){
  max-width:455px !important;
  font-size:16px !important;
  line-height:1.56 !important;
}
.cb-gift-card{ display:none !important; }
.cb-feature-art{
  position:absolute !important;
  inset:0 0 0 auto !important;
  width:54% !important;
  height:100% !important;
  display:block !important;
  overflow:visible !important;
  z-index:3 !important;
  pointer-events:none !important;
}
.cb-feature-art::before{
  content:"" !important;
  position:absolute !important;
  z-index:2 !important;
  inset:0 auto 0 0 !important;
  width:34% !important;
  height:100% !important;
  background:linear-gradient(90deg, rgba(255,247,253,.95), rgba(255,247,253,.62) 42%, rgba(255,247,253,0)) !important;
  filter:none !important;
  border-radius:0 !important;
}
.cb-feature-art::after{
  content:"" !important;
  position:absolute !important;
  z-index:0 !important;
  right:9% !important;
  top:10% !important;
  width:62% !important;
  height:82% !important;
  border-radius:50% !important;
  background:radial-gradient(circle, rgba(255,255,255,.86), rgba(243,107,165,.18) 45%, transparent 72%) !important;
  filter:blur(10px) !important;
}
.cb-mascot-img{
  position:absolute !important;
  z-index:1 !important;
  right:-1% !important;
  bottom:-8% !important;
  left:auto !important;
  top:auto !important;
  width:auto !important;
  height:116% !important;
  max-width:none !important;
  object-fit:unset !important;
  object-position:unset !important;
  transform:none !important;
  border-radius:0 !important;
  filter:drop-shadow(0 22px 30px rgba(81,48,150,.22)) saturate(1.06) contrast(1.03) !important;
}
.cb-carousel-dots{
  position:absolute !important;
  z-index:7 !important;
  left:57% !important;
  bottom:15px !important;
  transform:translateX(-50%) !important;
}
.cb-sparkle{ z-index:7 !important; }
.cb-sparkle-one{ left:52% !important; top:36% !important; }
.cb-sparkle-two{ right:11% !important; top:24% !important; }

@media (max-width:1180px){
  .cb-feature-banner{
    grid-template-columns:minmax(300px, 52%) minmax(280px, 48%) !important;
    min-height:238px !important;
  }
  .cb-feature-copy h1{
    font-size:clamp(38px,5vw,58px) !important;
  }
  .cb-feature-art{ width:56% !important; }
  .cb-mascot-img{ right:-8% !important; height:114% !important; }
}

@media (max-width:820px){
  .cb-feature-banner{
    display:block !important;
    min-height:232px !important;
    padding:18px 43% 18px 16px !important;
    border-radius:24px !important;
  }
  .cb-feature-copy{
    max-width:100% !important;
    padding-right:0 !important;
  }
  .cb-hero-greeting{ font-size:14px !important; }
  .cb-feature-copy h1{
    max-width:190px !important;
    font-size:28px !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:168px !important;
    font-size:11px !important;
    line-height:1.35 !important;
  }
  .cb-primary-cta{
    min-height:38px !important;
    padding:0 16px !important;
    font-size:12px !important;
  }
  .cb-feature-art{
    width:58% !important;
    height:100% !important;
    right:-3% !important;
    top:0 !important;
    bottom:0 !important;
    overflow:hidden !important;
  }
  .cb-feature-art::before{
    width:30% !important;
    background:linear-gradient(90deg, rgba(255,247,253,.94), rgba(255,247,253,.42) 48%, rgba(255,247,253,0)) !important;
  }
  .cb-feature-art::after{
    right:0 !important;
    top:16% !important;
    width:72% !important;
    height:72% !important;
  }
  .cb-mascot-img{
    height:105% !important;
    width:auto !important;
    left:-74px !important;
    right:auto !important;
    bottom:-6px !important;
    top:auto !important;
  }
  .cb-carousel-dots{
    left:70% !important;
    bottom:8px !important;
  }
  .cb-sparkle-one{ left:58% !important; top:36% !important; }
  .cb-sparkle-two{ right:10% !important; top:30% !important; }
}

@media (max-width:520px){
  .cb-feature-banner{
    min-height:230px !important;
    padding:17px 42% 17px 14px !important;
  }
  .cb-feature-copy h1{
    max-width:170px !important;
    font-size:25px !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    max-width:150px !important;
    font-size:10px !important;
  }
  .cb-feature-art{
    width:60% !important;
    right:-6% !important;
  }
  .cb-mascot-img{
    height:104% !important;
    left:-86px !important;
    bottom:-4px !important;
  }
}

@media (max-width:380px){
  .cb-feature-banner{
    min-height:224px !important;
    padding-right:41% !important;
  }
  .cb-feature-copy h1{ font-size:23px !important; max-width:156px !important; }
  .cb-feature-copy > p:not(.cb-hero-greeting){ font-size:9.6px !important; max-width:142px !important; }
  .cb-mascot-img{ left:-94px !important; height:103% !important; }
}

/* Branch / Outlet image grid selection */
.branch-modal-card{ width:min(980px, calc(100vw - 28px)); }
.branch-choice-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
  gap:14px !important;
}
.branch-choice-photo-card{
  display:grid !important;
  grid-template-columns:96px 1fr !important;
  gap:13px !important;
  align-items:center !important;
  min-height:122px;
  padding:12px !important;
  border-radius:24px !important;
  text-align:left !important;
}
.branch-choice-img{
  width:96px;
  height:96px;
  border-radius:19px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#fff2fb,#efe7ff);
  color:var(--stasia-purple);
  font-size:32px;
  border:1px solid var(--stasia-line);
}
.branch-choice-img img{ width:100%; height:100%; object-fit:cover; }
.branch-choice-info{ display:grid; gap:5px; min-width:0; }
.branch-choice-info strong{ font-size:17px !important; line-height:1.12; }
.branch-choice-info span,.branch-choice-info small{ line-height:1.25; }
.branch-empty-state{
  grid-column:1/-1;
  display:grid;
  gap:6px;
  padding:24px;
  border:1px dashed var(--stasia-line-strong);
  border-radius:22px;
  background:#fff;
  color:var(--stasia-purple);
  text-align:center;
}
.branch-empty-state span{ color:var(--stasia-muted); }
@media(max-width:560px){
  .branch-choice-grid{ grid-template-columns:1fr !important; }
  .branch-choice-photo-card{ grid-template-columns:84px 1fr !important; min-height:108px; }
  .branch-choice-img{ width:84px; height:84px; }
}


/* FIX14 — Buyer branch selection grouped by city */
.buyer-branch-city-group{display:grid;gap:12px;margin-top:12px;}
.buyer-branch-city-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:var(--stasia-purple);}
.buyer-branch-city-head strong{font-size:18px;}
.buyer-branch-city-head span{color:var(--stasia-muted);font-weight:850;font-size:12px;}
.buyer-branch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;}
.branch-choice-grid{display:block;}
@media(max-width:560px){.buyer-branch-grid{grid-template-columns:1fr}.buyer-branch-city-head{display:grid}}

/* FIX23: Remove online shop product count pill below sort control */
body.buyer-page:not(.customer-gate-active) #productCount,
body.buyer-page:not(.customer-gate-active) .product-count-pill{
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
}
body.buyer-page:not(.customer-gate-active) .cb-shop-mode-row{
  grid-template-columns:1fr !important;
  justify-items:center !important;
}
body.buyer-page:not(.customer-gate-active) .cb-shop-mode-row .cb-sort-control{
  justify-self:center !important;
}


/* Google auth + profile modal */
.auth-modal,
.profile-modal{
  position:fixed;
  inset:0;
  z-index:9900;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(41,33,59,.42);
  backdrop-filter:blur(12px);
}
.auth-modal.hidden,
.profile-modal.hidden{ display:none !important; }
.auth-modal-card,
.profile-modal-card{
  position:relative;
  width:min(470px,100%);
  max-height:calc(100dvh - 36px);
  overflow:auto;
  padding:26px;
  border:1px solid var(--stasia-line);
  border-radius:30px;
  background:linear-gradient(180deg,#fff,#fbf5ff);
  box-shadow:0 30px 90px rgba(41,33,59,.3);
}
.auth-modal-card h2,
.profile-modal-card h2{ margin:6px 0 8px; color:var(--stasia-purple); }
.google-login-btn{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:18px 0 10px;
  border:0;
  border-radius:18px;
  color:#fff;
  background:#1877f2;
  font-weight:950;
  box-shadow:0 16px 30px rgba(24,119,242,.2);
}
.google-login-btn span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:#1877f2;
  background:#fff;
  font-family:Arial, sans-serif;
  font-size:22px;
  font-weight:900;
}
.profile-header-row{ display:flex; align-items:center; gap:14px; margin:12px 0 18px; }
.profile-avatar{ width:72px; height:72px; border-radius:999px; object-fit:cover; border:4px solid #fff; box-shadow:var(--stasia-shadow-soft); background:#f5edff; }
.profile-fields{ display:grid; gap:12px; }
.profile-fields label{ display:grid; gap:7px; color:var(--stasia-purple); font-weight:900; }
.profile-fields input{ min-height:48px; border:1px solid var(--stasia-line); border-radius:16px; padding:0 14px; background:#fff; color:var(--stasia-ink); font:inherit; }
.profile-fields input:focus{ outline:none; border-color:var(--stasia-lilac); box-shadow:0 0 0 4px rgba(143,117,223,.12); }
.profile-actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.profile-actions button{ min-height:46px; }
.danger-account-btn{
  grid-column:1 / -1;
  min-height:46px;
  border:1px solid rgba(244,63,94,.22);
  border-radius:15px;
  color:#be123c;
  background:#fff1f2;
  font-weight:950;
}
.profile-note{ margin-top:12px; font-size:12px; }
@media(max-width:520px){
  .auth-modal-card,.profile-modal-card{ padding:22px 16px; border-radius:24px; }
  .profile-actions{ grid-template-columns:1fr; }
}

/* Google account modal buttons */
.auth-modal-card .close,
.profile-modal-card .close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:var(--stasia-purple);
  font-size:22px;
  font-weight:900;
  box-shadow:0 8px 22px rgba(41,33,59,.12);
}
.auth-modal-card .wide,
.profile-modal-card .wide{ width:100%; }

/* ---------- Product details, verified reviews, and related products ---------- */
body.buyer-page.product-detail-open{ overflow:hidden; }
.product-detail-modal{
  position:fixed;
  inset:0;
  z-index:9500;
  display:grid;
  place-items:center;
  padding:clamp(12px,3vw,28px);
  background:rgba(30,18,52,.58);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.product-detail-card{
  position:relative;
  width:min(1120px,100%);
  max-height:min(92dvh,920px);
  overflow:auto;
  border:1px solid rgba(188,168,255,.5);
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(252,247,255,.98));
  box-shadow:0 30px 80px rgba(24,12,52,.28);
}
.product-detail-close{
  position:sticky;
  top:14px;
  left:calc(100% - 58px);
  z-index:4;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--stasia-line);
  border-radius:999px;
  color:var(--stasia-purple);
  background:rgba(255,255,255,.94);
  box-shadow:var(--stasia-shadow-soft);
  font-size:26px;
  font-weight:900;
}
.product-detail-content{ padding:clamp(16px,3vw,34px); padding-top:6px; }
.product-detail-main{
  display:grid;
  grid-template-columns:minmax(280px, 430px) minmax(0,1fr);
  gap:clamp(18px,4vw,36px);
  align-items:start;
}
.product-detail-media{
  display:grid;
  gap:12px;
  align-content:start;
}
.product-detail-img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:var(--img-x,50%) var(--img-y,62%);
  border-radius:26px;
  border:1px solid var(--stasia-line);
  background:#f7efff;
  box-shadow:var(--stasia-shadow-soft);
}
.view-photo-link{
  width:100%;
  min-height:46px;
  border:1px solid var(--stasia-line);
  border-radius:16px;
  color:var(--stasia-purple);
  background:#fff;
  font-weight:900;
}
.product-detail-info{ display:grid; gap:12px; }
.product-detail-info h2{
  margin:0;
  color:var(--stasia-purple);
  font-size:clamp(28px,4vw,46px);
  line-height:1.04;
  letter-spacing:-.04em;
}
.product-detail-price{
  width:max-content;
  padding:10px 16px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,var(--stasia-pink),var(--stasia-lilac));
  box-shadow:0 12px 25px rgba(243,107,165,.23);
  font-size:clamp(24px,3vw,34px);
  font-weight:950;
}
.product-detail-rating{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:9px 13px;
  border:1px solid rgba(243,107,165,.2);
  border-radius:999px;
  color:var(--stasia-purple);
  background:var(--stasia-blush);
  font-weight:900;
}
.product-detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
  margin-top:4px;
}
.product-detail-grid div{
  display:grid;
  gap:5px;
  padding:12px;
  border:1px solid var(--stasia-line);
  border-radius:17px;
  background:#fff;
}
.product-detail-grid span{
  color:var(--stasia-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.product-detail-grid strong{ color:var(--stasia-purple); font-size:14px; }
.product-detail-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}
.product-detail-actions button{ min-width:150px; }
.product-detail-section{
  margin-top:24px;
  padding:18px;
  border:1px solid var(--stasia-line);
  border-radius:24px;
  background:rgba(255,255,255,.72);
}
.detail-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.detail-section-head h3{ margin:0; color:var(--stasia-purple); font-size:24px; letter-spacing:-.03em; }
.detail-section-head span{ color:var(--stasia-muted); font-size:13px; font-weight:850; }
.product-review-list{ display:grid; gap:12px; }
.product-review-item{
  padding:14px;
  border:1px solid rgba(154,126,220,.22);
  border-radius:18px;
  background:#fff;
}
.review-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:6px;
}
.review-head strong{ color:var(--stasia-purple); }
.review-head span{ color:#ff9f2e; font-size:13px; font-weight:950; text-align:right; }
.product-review-item p{ margin:0 0 6px; color:var(--stasia-ink); line-height:1.55; }
.product-review-item small{ color:var(--stasia-muted); font-weight:750; }
.product-review-box{
  margin-top:14px;
  padding:14px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,241,250,.9),rgba(246,240,255,.95));
  border:1px solid rgba(188,168,255,.35);
}
.product-review-box h4{ margin:0 0 10px; color:var(--stasia-purple); font-size:18px; }
.review-gate-note{
  display:grid;
  gap:7px;
  padding:12px;
  border:1px dashed rgba(143,117,223,.45);
  border-radius:16px;
  color:var(--stasia-purple);
  background:rgba(255,255,255,.65);
}
.review-gate-note span{ color:var(--stasia-muted); line-height:1.45; }
.review-gate-note button{ width:max-content; margin-top:4px; }
.product-review-form{ display:grid; gap:10px; }
.product-review-form label{ display:grid; gap:6px; color:var(--stasia-purple); font-weight:900; }
.product-review-form select,
.product-review-form textarea{
  width:100%;
  border:1px solid var(--stasia-line);
  border-radius:16px;
  padding:12px 14px;
  outline:0;
  color:var(--stasia-ink);
  background:#fff;
  resize:vertical;
}
.product-review-form select:focus,
.product-review-form textarea:focus{ border-color:var(--stasia-lilac); box-shadow:0 0 0 4px rgba(143,117,223,.12); }
.related-product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(135px,1fr));
  gap:12px;
}
.related-product-card{
  min-width:0;
  display:grid;
  gap:8px;
  text-align:left;
  border:1px solid var(--stasia-line);
  border-radius:18px;
  padding:10px;
  background:#fff;
  color:var(--stasia-ink);
  box-shadow:var(--stasia-shadow-soft);
}
.related-product-card:hover{ transform:translateY(-2px); box-shadow:var(--stasia-shadow); }
.related-product-img{ overflow:hidden; border-radius:14px; background:#f7efff; }
.related-img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:var(--img-x,50%) var(--img-y,62%);
}
.related-product-card strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:var(--stasia-purple);
  font-size:13px;
  line-height:1.25;
}
.related-product-card span{ color:var(--stasia-pink); font-weight:950; }
.buyer-product-card{ cursor:pointer; }
.buyer-product-card .quick-view{
  min-width:72px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
}

@media (max-width: 760px){
  .product-detail-modal{ padding:0; place-items:end center; }
  .product-detail-card{ width:100%; max-height:94dvh; border-radius:28px 28px 0 0; }
  .product-detail-main{ grid-template-columns:1fr; }
  .product-detail-content{ padding:16px; padding-top:4px; }
  .product-detail-actions{ display:grid; grid-template-columns:1fr; }
  .product-detail-actions button{ width:100%; }
  .detail-section-head{ align-items:start; flex-direction:column; }
  .review-head{ align-items:start; flex-direction:column; }
  .related-product-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* =========================================================
   CALE BOUTIQUE STOREFRONT THEME PATCH
   Uses uploaded blush-pink CALE BOUTIQUE logo.
   ========================================================= */
body.buyer-page{
  background:
    radial-gradient(circle at 18% 0%, rgba(246,186,196,.34), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(17,16,18,.07), transparent 36%),
    linear-gradient(180deg,#fff7f9 0%, #ffffff 48%, #fff1f4 100%) !important;
}
.cb-top-nav{border-bottom:1px solid rgba(246,186,196,.55);box-shadow:0 12px 34px rgba(80,35,45,.10);}
.cb-brand-logo{width:238px;height:76px;object-fit:contain;border-radius:18px;filter:drop-shadow(0 8px 13px rgba(80,35,45,.10));}
.cb-feature-banner{
  background:
    radial-gradient(circle at 12% 44%, rgba(255,255,255,.95), transparent 18%),
    linear-gradient(105deg, rgba(255,247,249,.98) 0%, rgba(255,236,241,.94) 52%, rgba(246,186,196,.72) 100%) !important;
  border-color:rgba(246,186,196,.62);
}
.cb-feature-copy h1,.cb-hero-greeting,.cb-search-wrap .search-icon,.cb-icon-btn,.cb-bottom-nav button,.branch-copy strong{color:#111012 !important;}
.cb-feature-copy h1 span,.cart-count-badge,.cb-primary-cta{color:#d8798b;}
.buyer-primary,.primary,.customer-tab.active{background:linear-gradient(135deg,#111012,#d8798b);box-shadow:0 14px 24px rgba(80,35,45,.16);}
.cb-gift-card{background:linear-gradient(145deg,#111012,#d8798b);}
.cb-mascot-img{bottom:20px;width:min(500px,100%);border-radius:28px;box-shadow:0 18px 38px rgba(80,35,45,.13);}
.buyer-gate-panel{
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,241,244,.93)),
    url('assets/cale-boutique-logo-original.png') right -120px bottom -190px / 540px auto no-repeat;
}
.google-login-btn{background:#111012 !important;}


/* =========================================================
   CALE BOUTIQUE APP-STYLE BUYER VIEW PATCH
   Inspired by the uploaded mobile commerce UI: soft app shell,
   rounded product cards, floating buttons, sticky search, and
   bottom navigation. Scope: buyer/customer storefront only.
   ========================================================= */
:root{
  --cale-black:#111012;
  --cale-cream:#fff9fa;
  --cale-pink:#f6bac4;
  --cale-pink-strong:#d8798b;
  --cale-rose-dark:#6f3d49;
  --cale-glass:rgba(255,255,255,.78);
}

body.buyer-page:not(.customer-gate-active){
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.76), transparent 18%),
    radial-gradient(circle at 80% 16%, rgba(246,186,196,.45), transparent 28%),
    linear-gradient(145deg,#f6bac4 0%, #fff8fa 42%, #ffffff 72%, #f8d8df 100%) !important;
}

body.buyer-page:not(.customer-gate-active) .buyer-main{
  padding-top:14px !important;
}

.cb-shell{
  position:relative;
}

/* Desktop/tablet also gets the app-card treatment without breaking the wider catalog. */
.cb-top-nav{
  width:min(calc(100vw - 28px), var(--stasia-max)) !important;
  margin:0 auto 14px !important;
  padding:10px 14px !important;
  min-height:78px !important;
  border:1px solid rgba(255,255,255,.78) !important;
  border-radius:30px !important;
  background:rgba(255,255,255,.74) !important;
  box-shadow:0 18px 45px rgba(80,35,45,.13) !important;
}

.cb-brand-logo{
  height:58px !important;
  border-radius:20px !important;
}

.cb-search-wrap{
  min-height:50px !important;
  border-color:rgba(17,16,18,.08) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.88) !important;
  box-shadow:0 12px 28px rgba(80,35,45,.08) !important;
}

.cb-icon-btn{
  width:50px !important;
  height:50px !important;
  border:0 !important;
  color:var(--cale-black) !important;
  background:rgba(255,255,255,.9) !important;
  box-shadow:0 14px 28px rgba(80,35,45,.12) !important;
}

.cb-feature-banner{
  border:0 !important;
  border-radius:38px !important;
  background:
    radial-gradient(circle at 68% 34%, rgba(255,255,255,.92), transparent 16%),
    radial-gradient(circle at 81% 63%, rgba(246,186,196,.82), transparent 28%),
    linear-gradient(132deg,#fff8fa 0%,#f8cbd3 52%,#9d5e6d 100%) !important;
  box-shadow:0 26px 60px rgba(80,35,45,.15) !important;
}

.cb-feature-copy h1{
  letter-spacing:-.055em !important;
}

.cb-primary-cta,
.cb-gift-card button{
  color:var(--cale-black) !important;
  background:#fff !important;
  box-shadow:0 16px 28px rgba(80,35,45,.14) !important;
}

.cb-shop-mode-row{
  justify-content:center !important;
}

.cb-category-strip{
  margin-top:2px !important;
}

.buyer-category-option{
  border:0 !important;
  background:rgba(255,255,255,.78) !important;
  box-shadow:0 16px 32px rgba(80,35,45,.09) !important;
}

.buyer-category-option.active{
  color:#fff !important;
  background:var(--cale-black) !important;
}
.buyer-category-option.active .cat-copy strong,
.buyer-category-option.active .cat-copy small,
.buyer-category-option.active b{ color:#fff !important; }
.buyer-category-option.active .cat-icon{ background:rgba(255,255,255,.16) !important; color:#fff !important; }

.cb-catalog-wrap{
  border:0 !important;
  border-radius:34px !important;
  background:rgba(255,255,255,.54) !important;
  box-shadow:0 20px 48px rgba(80,35,45,.09) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.buyer-product-card{
  border:0 !important;
  border-radius:30px !important;
  background:rgba(255,255,255,.86) !important;
  box-shadow:0 22px 42px rgba(80,35,45,.11) !important;
}

.buyer-product-card:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 26px 55px rgba(80,35,45,.17) !important;
}

.buyer-img-wrap{
  border-radius:26px !important;
  background:linear-gradient(145deg,#fff,#fff4f6 72%,#f6bac4) !important;
}

.product-heart,
.quick-view{
  border:0 !important;
  color:var(--cale-black) !important;
  background:rgba(255,255,255,.93) !important;
  box-shadow:0 12px 22px rgba(80,35,45,.12) !important;
}

.quick-add{
  border:0 !important;
  color:#fff !important;
  background:var(--cale-black) !important;
  box-shadow:0 14px 25px rgba(17,16,18,.22) !important;
}

.cb-bottom-nav{
  border:0 !important;
  background:rgba(255,255,255,.9) !important;
  box-shadow:0 18px 40px rgba(80,35,45,.18) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.cb-bottom-nav button.active{
  color:#fff !important;
  background:var(--cale-black) !important;
}

/* Product details becomes more like a premium mobile shopping sheet. */
.product-detail-modal{
  background:rgba(17,16,18,.54) !important;
}
.product-detail-card{
  border:0 !important;
  background:linear-gradient(180deg,#fffafa 0%, #ffffff 72%, #fff1f4 100%) !important;
  box-shadow:0 36px 90px rgba(17,16,18,.32) !important;
}
.product-detail-close{
  border:0 !important;
  color:var(--cale-black) !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 12px 28px rgba(80,35,45,.16) !important;
}
.product-detail-img{
  border:0 !important;
  border-radius:34px !important;
  background:radial-gradient(circle at 50% 55%,#fff 0%,#fff4f6 54%,#f6bac4 100%) !important;
  box-shadow:0 24px 52px rgba(80,35,45,.12) !important;
}
.product-detail-price{
  color:#fff !important;
  background:var(--cale-black) !important;
  box-shadow:0 14px 26px rgba(17,16,18,.2) !important;
}
.product-detail-rating,
.product-detail-section,
.product-review-box,
.product-detail-grid div,
.related-product-card{
  border:0 !important;
  background:rgba(255,255,255,.78) !important;
  box-shadow:0 12px 28px rgba(80,35,45,.08) !important;
}

@media (max-width: 760px){
  :root{
    --stasia-nav-h:70px;
    --stasia-bottom-h:88px;
  }

  html{ scroll-padding-top:128px !important; }

  body.buyer-page:not(.customer-gate-active){
    background:
      radial-gradient(circle at 22% 0%, rgba(255,255,255,.44), transparent 22%),
      radial-gradient(circle at 82% 10%, rgba(17,16,18,.18), transparent 26%),
      linear-gradient(150deg,#f3aeb9 0%, #f8ccd4 38%, #fff7f9 70%, #ffffff 100%) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding:0 12px calc(34px + var(--stasia-bottom-h) + var(--stasia-cart-peek)) !important;
  }

  .cb-shell{
    width:min(100%, 460px) !important;
    padding-top:10px !important;
  }

  .cb-top-nav{
    position:sticky !important;
    top:8px !important;
    z-index:9000 !important;
    width:100% !important;
    min-height:56px !important;
    margin:0 !important;
    padding:6px 2px !important;
    grid-template-columns:auto 1fr auto !important;
    gap:8px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .cb-brand-block{
    min-width:0 !important;
  }

  .cb-brand-logo{
    width:54px !important;
    height:54px !important;
    padding:4px !important;
    border-radius:999px !important;
    object-fit:contain !important;
    background:rgba(255,255,255,.92) !important;
    box-shadow:0 14px 28px rgba(80,35,45,.13) !important;
  }

  .cb-top-nav::after{
    content:'Catalog';
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:start;
    color:var(--cale-black);
    font-size:29px;
    font-weight:950;
    letter-spacing:-.055em;
    pointer-events:none;
  }

  .cb-top-nav > .cb-search-wrap{ display:none !important; }

  .cb-utility-nav{
    gap:8px !important;
  }

  .cb-search-shortcut{ display:none !important; }

  .cb-icon-btn{
    width:46px !important;
    height:46px !important;
    font-size:20px !important;
  }

  .cb-mobile-search{
    display:block !important;
    position:sticky !important;
    top:72px !important;
    z-index:8990 !important;
    margin:8px 0 12px !important;
    padding:0 !important;
  }

  body.search-open .cb-mobile-search{ display:block !important; }

  .cb-mobile-search .cb-search-wrap{
    min-height:48px !important;
    padding:0 14px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.94) !important;
    box-shadow:0 15px 30px rgba(80,35,45,.14) !important;
  }

  .cb-mobile-search input{ font-size:13px !important; }

  .cb-feature-banner{
    display:block !important;
    min-height:354px !important;
    margin:8px 0 14px !important;
    padding:72px 18px 18px !important;
    border-radius:34px !important;
    color:#fff !important;
    background:
      radial-gradient(circle at 50% 44%, rgba(255,255,255,.24), transparent 25%),
      radial-gradient(circle at 50% 70%, rgba(246,186,196,.44), transparent 32%),
      linear-gradient(180deg,#1d1518 0%, #58323c 52%, #965b6a 100%) !important;
    box-shadow:0 26px 58px rgba(17,16,18,.24) !important;
    overflow:hidden !important;
  }

  .cb-feature-banner::before{ content:'♡'; left:18px !important; top:18px !important; width:42px; height:42px; display:grid; place-items:center; border-radius:999px; color:#fff !important; background:rgba(255,255,255,.14); font-size:19px !important; }
  .cb-feature-banner::after{ content:'🛍'; right:18px !important; top:18px !important; width:42px; height:42px; display:grid; place-items:center; border-radius:999px; color:#fff !important; background:rgba(255,255,255,.14); font-size:17px !important; }

  .cb-feature-copy{
    position:relative !important;
    z-index:3 !important;
    text-align:center !important;
    display:grid !important;
    justify-items:center !important;
    gap:6px !important;
  }

  .cb-hero-greeting{
    color:rgba(255,255,255,.9) !important;
    font-size:12px !important;
    letter-spacing:.04em !important;
  }

  .cb-hero-greeting::before{
    content:'🏬 ';
  }

  .cb-feature-copy h1{
    max-width:340px !important;
    color:#fff !important;
    font-size:34px !important;
    line-height:1.02 !important;
    letter-spacing:-.055em !important;
  }

  .cb-feature-copy h1 span{ color:#fff !important; }

  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }

  .cb-primary-cta{
    position:absolute !important;
    left:50% !important;
    bottom:18px !important;
    z-index:5 !important;
    transform:translateX(-50%) !important;
    width:74% !important;
    min-height:50px !important;
    display:grid !important;
    place-items:center !important;
    color:var(--cale-black) !important;
    background:#fff !important;
    border-radius:999px !important;
  }

  .cb-feature-art{
    position:absolute !important;
    left:50% !important;
    right:auto !important;
    bottom:70px !important;
    z-index:2 !important;
    width:86% !important;
    height:158px !important;
    transform:translateX(-50%) !important;
    opacity:.98 !important;
  }

  .cb-mascot-img{
    left:50% !important;
    bottom:-118px !important;
    width:330px !important;
    max-width:118% !important;
    transform:translateX(-50%) !important;
    border-radius:36px !important;
    box-shadow:none !important;
  }

  .cb-sparkle,
  .cb-carousel-dots,
  .cb-gift-card{ display:none !important; }

  .cb-shop-mode-row{
    display:none !important;
  }

  .cb-category-strip{
    margin:0 0 12px !important;
  }

  .buyer-category-options{
    display:flex !important;
    grid-auto-flow:unset !important;
    grid-auto-columns:unset !important;
    gap:9px !important;
    padding:2px 0 8px !important;
    overflow-x:auto !important;
    scrollbar-width:none !important;
  }

  .buyer-category-options::-webkit-scrollbar{ display:none !important; }

  .buyer-category-option{
    flex:0 0 auto !important;
    min-height:38px !important;
    min-width:auto !important;
    display:inline-flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    padding:0 16px !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    color:var(--cale-black) !important;
    background:rgba(255,255,255,.86) !important;
    box-shadow:0 10px 22px rgba(80,35,45,.09) !important;
  }

  .buyer-category-option.active{
    color:#fff !important;
    background:var(--cale-black) !important;
  }

  .cat-icon,
  .cat-copy small,
  .buyer-category-option b{ display:none !important; }

  .cat-copy{ display:block !important; }
  .cat-copy strong{
    color:inherit !important;
    font-size:13px !important;
    font-weight:900 !important;
  }

  .cb-catalog-wrap{
    margin:0 0 14px !important;
    padding:12px 0 0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .cb-catalog-head{
    padding:0 2px !important;
    margin-bottom:12px !important;
  }

  .cb-catalog-icon,
  .cb-filter-btn{ display:none !important; }

  .cb-catalog-title h2{
    color:var(--cale-black) !important;
    font-size:24px !important;
    letter-spacing:-.045em !important;
  }

  .buyer-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  .buyer-product-card{
    min-height:246px !important;
    padding:8px !important;
    gap:7px !important;
    border-radius:26px !important;
    background:rgba(255,255,255,.82) !important;
    box-shadow:0 16px 32px rgba(80,35,45,.11) !important;
    overflow:visible !important;
  }

  .buyer-product-card .buyer-img-wrap{
    height:136px !important;
    border-radius:23px !important;
    background:radial-gradient(circle at 50% 57%, #fff 0%, #fff2f5 55%, #f6bac4 100%) !important;
    overflow:hidden !important;
  }

  .buyer-product-card .buyer-product-img{
    padding:7px !important;
    object-fit:contain !important;
  }

  .buyer-card-body{
    padding:0 4px 48px !important;
    gap:4px !important;
  }

  .buyer-card-body .mini-label,
  .buyer-meta-grid,
  .buyer-seller-line{ display:none !important; }

  .buyer-card-body h3{
    min-height:32px !important;
    color:var(--cale-black) !important;
    font-size:13px !important;
    line-height:1.18 !important;
    font-weight:900 !important;
    letter-spacing:-.012em !important;
  }

  .buyer-card-foot{
    display:block !important;
  }

  .buyer-card-foot strong{
    color:var(--cale-black) !important;
    font-size:16px !important;
    font-weight:950 !important;
  }

  .buyer-card-foot span{
    display:none !important;
  }

  .product-rating{
    min-height:17px !important;
    color:#ff9f2e !important;
    font-size:11px !important;
  }

  .product-rating small{
    display:none !important;
  }

  .product-heart{
    top:9px !important;
    right:9px !important;
    width:36px !important;
    height:36px !important;
    color:#fff !important;
    background:var(--cale-black) !important;
  }

  .quick-view{
    display:grid !important;
    top:9px !important;
    left:9px !important;
    width:34px !important;
    min-width:34px !important;
    height:34px !important;
    padding:0 !important;
    overflow:hidden !important;
    text-indent:-999px !important;
    color:var(--cale-black) !important;
    background:rgba(255,255,255,.94) !important;
  }

  .quick-view::before{
    content:'↗';
    text-indent:0;
    font-size:16px;
    font-weight:900;
  }

  .quick-add{
    position:absolute !important;
    right:10px !important;
    bottom:10px !important;
    width:42px !important;
    min-width:42px !important;
    height:42px !important;
    min-height:42px !important;
    display:grid !important;
    place-items:center !important;
    grid-template-columns:1fr !important;
    padding:0 !important;
    border-radius:999px !important;
    background:var(--cale-black) !important;
  }

  .quick-add span{
    justify-self:center !important;
    font-size:18px !important;
  }

  .quick-add b,
  .quick-add i{ display:none !important; }

  .cb-rewards-panel{
    display:none !important;
  }

  .cb-bottom-nav{
    left:50% !important;
    right:auto !important;
    bottom:14px !important;
    width:min(352px, calc(100vw - 36px)) !important;
    height:60px !important;
    padding:6px !important;
    border-radius:999px !important;
    transform:translateX(-50%) !important;
  }

  .cb-bottom-nav button{
    min-width:0 !important;
    height:48px !important;
    border-radius:999px !important;
    color:var(--cale-black) !important;
  }

  .cb-bottom-nav button b{
    display:none !important;
  }

  .cb-bottom-nav button span{
    font-size:19px !important;
  }

  .cb-bottom-nav button.active{
    width:50px !important;
    flex:0 0 50px !important;
  }

  .buyer-ticket-panel.collapsed{
    display:none !important;
  }

  .buyer-ticket-panel:not(.collapsed){
    border-radius:30px 30px 0 0 !important;
    box-shadow:0 -18px 46px rgba(17,16,18,.24) !important;
  }

  .product-detail-modal{
    padding:0 !important;
    align-items:end !important;
  }

  .product-detail-card{
    width:100% !important;
    max-height:96dvh !important;
    border-radius:34px 34px 0 0 !important;
  }

  .product-detail-close{
    position:sticky !important;
    top:12px !important;
    left:14px !important;
    width:42px !important;
    height:42px !important;
    font-size:0 !important;
    z-index:10 !important;
  }

  .product-detail-close::before{
    content:'←';
    font-size:21px;
  }

  .product-detail-content{
    padding:10px 16px 22px !important;
  }

  .product-detail-main{
    display:block !important;
  }

  .product-detail-media{
    margin-top:-28px !important;
    display:grid !important;
    justify-items:center !important;
  }

  .product-detail-img{
    width:min(88vw, 360px) !important;
    aspect-ratio:1/1 !important;
    object-fit:contain !important;
    padding:16px !important;
    border-radius:38px !important;
  }

  .view-photo-link{
    width:max-content !important;
    min-height:38px !important;
    padding:0 14px !important;
    margin-top:-18px !important;
    border:0 !important;
    border-radius:999px !important;
    color:var(--cale-black) !important;
    background:#fff !important;
    box-shadow:0 12px 24px rgba(80,35,45,.14) !important;
  }

  .product-detail-info{
    margin-top:16px !important;
    gap:9px !important;
  }

  .product-detail-info h2{
    color:var(--cale-black) !important;
    font-size:25px !important;
    line-height:1.08 !important;
    letter-spacing:-.04em !important;
  }

  .product-detail-info .soft-text{
    display:none !important;
  }

  .product-detail-price{
    width:max-content !important;
    padding:0 !important;
    color:var(--cale-black) !important;
    background:transparent !important;
    box-shadow:none !important;
    font-size:25px !important;
  }

  .product-detail-rating{
    padding:8px 12px !important;
    border-radius:999px !important;
  }

  .product-detail-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .product-detail-actions{
    position:sticky !important;
    bottom:0 !important;
    z-index:8 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    margin:8px -16px -4px !important;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%) !important;
  }

  .product-detail-actions .primary{
    min-height:54px !important;
    border-radius:18px !important;
    background:var(--cale-black) !important;
  }

  .product-detail-actions .secondary{
    display:none !important;
  }

  .product-detail-section{
    margin-top:18px !important;
    padding:14px !important;
    border-radius:24px !important;
  }

  .detail-section-head h3{
    font-size:21px !important;
    color:var(--cale-black) !important;
  }

  .related-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .related-product-card{
    border-radius:22px !important;
  }
}


/* PRODUCT CLICK FIX: make the entire product card a reliable mobile tap target */
#shopProducts .buyer-product-card{
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(246,186,196,.28);
}
#shopProducts .buyer-product-card:active{
  transform:scale(.985);
}
#shopProducts .quick-add{
  touch-action:manipulation;
}
.product-detail-modal{
  z-index:12000 !important;
}
body.product-detail-open .cb-bottom-nav,
body.product-detail-open .buyer-ticket-panel.collapsed{
  pointer-events:none !important;
}


/* RELATED PRODUCT NAVIGATION + CART LAYER FIX
   Related-product taps replace the detail content; keep the sheet at the top.
   The cart drawer/backdrop must always sit above product details, reviews,
   image viewer, and floating mobile navigation when opened. */
body.cart-open .cart-modal-backdrop{
  z-index:24000 !important;
}
body.cart-open .buyer-ticket-panel{
  z-index:25000 !important;
  pointer-events:auto !important;
}
body.cart-open .cb-bottom-nav{
  z-index:12000 !important;
}
body.product-detail-open.cart-open .product-detail-modal{
  pointer-events:none !important;
}
body.product-detail-open.cart-open .buyer-ticket-panel,
body.product-detail-open.cart-open .cart-modal-backdrop{
  pointer-events:auto !important;
}
body.product-detail-open.cart-open .buyer-ticket-panel.collapsed{
  pointer-events:auto !important;
}


/* Product pagination: show only 20 products per page */
.buyer-pagination{
  margin:22px auto 4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  width:100%;
  padding:14px;
  border:1px solid rgba(216,121,139,.24);
  border-radius:24px;
  background:rgba(255,255,255,.82);
  box-shadow:0 14px 36px rgba(44,18,25,.08);
  backdrop-filter:blur(14px);
}
.buyer-pagination.hidden{ display:none !important; }
.pagination-summary{
  color:var(--stasia-muted, #7d6570);
  font-size:13px;
  font-weight:800;
}
.pagination-summary strong{ color:var(--stasia-purple, #3e1b74); }
.pagination-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
}
.pagination-actions button,
.pagination-actions .page-gap{
  min-width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(216,121,139,.25);
  background:#fff;
  color:var(--stasia-purple, #3e1b74);
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
}
.pagination-actions .page-btn{ min-width:96px; }
.pagination-actions button.active,
.pagination-actions button:hover:not(:disabled){
  background:linear-gradient(135deg,#f6bac4,#f7dfe5);
  color:#111;
  border-color:rgba(216,121,139,.55);
}
.pagination-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.pagination-actions .page-gap{
  border:0;
  background:transparent;
  min-width:20px;
  padding:0 4px;
  color:var(--stasia-muted, #7d6570);
}
@media (max-width:820px){
  .buyer-pagination{
    justify-content:center;
    text-align:center;
    padding:12px;
    margin-bottom:82px;
  }
  .pagination-summary{ width:100%; font-size:12px; }
  .pagination-actions{ width:100%; gap:6px; }
  .pagination-actions .page-btn{ min-width:86px; }
  .pagination-actions button,
  .pagination-actions .page-gap{ height:36px; min-width:34px; padding:0 10px; }
}

/* CATEGORY MODAL CLEANUP: replace the long horizontal category scroller with one clean button */
.cb-category-single{
  margin:0 0 16px !important;
  display:flex !important;
  justify-content:center !important;
  overflow:visible !important;
}
.cb-category-single .buyer-category-options{
  display:none !important;
}
.cb-category-modal-trigger{
  width:min(520px,100%);
  min-height:62px;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:8px 16px 8px 10px;
  border:1px solid rgba(246,186,196,.72);
  border-radius:24px;
  color:var(--stasia-purple,#3e1b74);
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,241,247,.96));
  box-shadow:0 14px 34px rgba(81,48,150,.10);
  text-align:left;
  cursor:pointer;
}
.cb-category-modal-trigger:hover,
.cb-category-modal-trigger:focus-visible{
  outline:0;
  border-color:var(--stasia-pink,#f06a9b);
  box-shadow:0 18px 42px rgba(81,48,150,.14);
}
.category-trigger-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.category-trigger-copy small{
  color:var(--stasia-muted,#7e6f95);
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.category-trigger-copy strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--stasia-purple,#3e1b74);
  font-size:17px;
  font-weight:950;
}
.cb-category-modal-trigger b{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,var(--stasia-pink,#f06a9b),var(--stasia-lilac,#8f75df));
  font-size:18px;
}

body.category-modal-open{ overflow:hidden; }
.category-modal{
  position:fixed;
  inset:0;
  z-index:14000;
  display:grid;
  place-items:center;
  padding:clamp(14px,3vw,28px);
}
.category-modal.hidden{ display:none !important; }
.category-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(30,18,52,.52);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.category-modal-card{
  position:relative;
  z-index:1;
  width:min(760px,100%);
  max-height:min(88dvh,760px);
  overflow:auto;
  padding:24px;
  border:1px solid rgba(246,186,196,.62);
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,246,250,.98));
  box-shadow:0 30px 90px rgba(30,18,52,.30);
}
.category-modal-card h2{
  margin:4px 52px 6px 0;
  color:var(--stasia-purple,#3e1b74);
  font-size:clamp(23px,4vw,32px);
  line-height:1;
}
.category-modal-card > .soft-text{
  margin:0 52px 18px 0;
  max-width:560px;
}
.category-modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--stasia-line,rgba(154,126,220,.22));
  border-radius:999px;
  color:var(--stasia-purple,#3e1b74);
  background:#fff;
  box-shadow:var(--stasia-shadow-soft,0 12px 25px rgba(81,48,150,.08));
  font-size:26px;
  font-weight:950;
  cursor:pointer;
}
.category-modal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.category-modal-option{
  min-height:78px;
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--stasia-line,rgba(154,126,220,.22));
  border-radius:22px;
  color:var(--stasia-purple,#3e1b74);
  background:#fff;
  box-shadow:0 10px 24px rgba(81,48,150,.06);
  text-align:left;
  cursor:pointer;
}
.category-modal-option:hover,
.category-modal-option:focus-visible{
  outline:0;
  border-color:rgba(246,106,155,.58);
  transform:translateY(-1px);
}
.category-modal-option.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg,var(--stasia-pink,#f06a9b),var(--stasia-lilac,#8f75df));
  box-shadow:0 16px 34px rgba(143,117,223,.22);
}
.category-modal-option.active .cat-icon{
  color:#fff;
  background:rgba(255,255,255,.18);
}
.category-modal-option.active .cat-copy strong,
.category-modal-option.active .cat-copy small,
.category-modal-option.active em{ color:#fff !important; }
.category-modal-option em{
  min-width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:var(--stasia-purple,#3e1b74);
  background:rgba(244,237,255,.9);
  font-style:normal;
  font-size:12px;
  font-weight:950;
}
.category-modal-option.active em{ background:rgba(255,255,255,.18); }

body.category-modal-open .category-modal{ pointer-events:auto; }
body.cart-open .category-modal{ pointer-events:none !important; }

@media (max-width: 760px){
  .cb-shop-mode-row{ justify-content:center; }
  .cb-category-single{ margin-bottom:12px !important; }
  .cb-category-modal-trigger{
    width:100%;
    min-height:58px;
    grid-template-columns:48px minmax(0,1fr) 34px;
    border-radius:22px;
  }
  .cb-category-modal-trigger .cat-icon{ width:46px; height:46px; font-size:23px; }
  .category-modal{
    align-items:end;
    padding:0;
  }
  .category-modal-card{
    width:100%;
    max-height:82dvh;
    padding:20px 16px max(20px, env(safe-area-inset-bottom));
    border-radius:28px 28px 0 0;
  }
  .category-modal-card h2{ margin-right:48px; }
  .category-modal-card > .soft-text{ margin-right:0; font-size:13px; }
  .category-modal-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .category-modal-option{
    min-height:68px;
    grid-template-columns:50px minmax(0,1fr) auto;
    border-radius:20px;
  }
}

/* CALE UPDATE: Product sort dropdown removed from buyer view */
body.buyer-page .cb-shop-mode-row,
body.buyer-page .cb-sort-control,
body.buyer-page #sortPicker {
  display: none !important;
}

/* =========================================================
   CALE FINAL CLEANUP: mobile buyer view polish
   - Removes remaining sort UI completely
   - Removes the large category trigger section if an older build still has it
   - Cleans the category modal into compact list rows
   - Simplifies the mobile hero so text/buttons never overlap the logo/art
   ========================================================= */

/* Kill all sort/product toolbar remnants */
body.buyer-page .cb-shop-mode-row,
body.buyer-page .cb-sort-control,
body.buyer-page #sortPicker,
body.buyer-page #sortProducts,
body.buyer-page select[id*="sort" i],
body.buyer-page button[id*="sort" i],
body.buyer-page [class*="sort" i]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Hide the big category trigger section; keep the small Categories button in the catalog header */
body.buyer-page .cb-category-strip.cb-category-single,
body.buyer-page #categoryModalOpenBtn{
  display:none !important;
}

/* Small category button in the Best Sellers header */
body.buyer-page #categoryPickerBtn{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  width:auto !important;
  height:auto !important;
  min-height:40px !important;
  padding:0 16px !important;
  border-radius:999px !important;
  background:#fff !important;
  color:var(--stasia-pink,#d96f8f) !important;
  border:1px solid rgba(236,154,176,.38) !important;
  box-shadow:0 12px 28px rgba(80,35,45,.08) !important;
}

/* Cleaner category modal */
.category-modal{
  z-index:15000 !important;
}
.category-modal-card{
  width:min(520px, calc(100vw - 24px)) !important;
  padding:22px !important;
  border-radius:28px !important;
  background:rgba(255,255,255,.98) !important;
}
.category-modal-card h2{
  margin:0 50px 6px 0 !important;
  font-size:24px !important;
  letter-spacing:-.04em !important;
}
.category-modal-card > .soft-text{
  margin:0 44px 16px 0 !important;
  max-width:390px !important;
  font-size:13px !important;
  line-height:1.35 !important;
}
.category-modal-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}
.category-modal-option{
  min-height:54px !important;
  grid-template-columns:42px minmax(0,1fr) auto !important;
  gap:10px !important;
  padding:9px 10px !important;
  border-radius:16px !important;
  box-shadow:none !important;
  background:#fff !important;
}
.category-modal-option .cat-icon{
  width:42px !important;
  height:42px !important;
  font-size:20px !important;
  flex:none !important;
}
.category-modal-option .cat-copy{
  min-width:0 !important;
  display:grid !important;
  gap:1px !important;
}
.category-modal-option .cat-copy strong{
  font-size:14px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.category-modal-option .cat-copy small{
  font-size:11px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.category-modal-option em{
  width:auto !important;
  min-width:34px !important;
  max-width:54px !important;
  height:28px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  background:#f7edf4 !important;
  color:#7a4558 !important;
  font-size:11px !important;
}
.category-modal-option.active{
  background:linear-gradient(135deg,#f2aebe,#df7896) !important;
  color:#fff !important;
}
.category-modal-option.active em{
  background:rgba(255,255,255,.24) !important;
  color:#fff !important;
}

/* Clean app-like mobile hero */
@media (max-width:820px){
  body.buyer-page:not(.customer-gate-active){
    background:linear-gradient(180deg,#efbcc8 0%,#f8dce3 44%,#fff7fb 100%) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-bottom:calc(110px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .cb-top-nav{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
  }

  .cb-brand-logo{
    width:44px !important;
    height:44px !important;
    border-radius:999px !important;
    object-fit:cover !important;
    background:#fff !important;
    box-shadow:0 12px 25px rgba(80,35,45,.10) !important;
  }

  .cb-brand-block::after{
    content:"Catalog";
    display:inline-block;
    margin-left:10px;
    color:#111;
    font-size:23px;
    font-weight:950;
    letter-spacing:-.04em;
  }

  .cb-feature-banner{
    display:block !important;
    min-height:auto !important;
    margin:10px 0 18px !important;
    padding:24px 20px !important;
    border-radius:26px !important;
    border:0 !important;
    background:
      radial-gradient(circle at 18% 18%,rgba(255,255,255,.28),transparent 28%),
      linear-gradient(145deg,#704155 0%,#8f5066 54%,#d991a6 100%) !important;
    box-shadow:0 22px 46px rgba(80,35,45,.18) !important;
    overflow:hidden !important;
  }

  .cb-feature-banner::before{
    content:"✦" !important;
    left:18px !important;
    top:18px !important;
    width:42px !important;
    height:42px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:rgba(255,255,255,.16) !important;
    font-size:18px !important;
  }

  .cb-feature-banner::after,
  .cb-feature-art,
  .cb-feature-art::before,
  .cb-feature-art::after,
  .cb-mascot-img,
  .cb-carousel-dots,
  .cb-sparkle{
    display:none !important;
  }

  .cb-feature-copy{
    position:relative !important;
    z-index:2 !important;
    max-width:100% !important;
    min-height:180px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:10px !important;
    padding:10px 4px !important;
  }

  .cb-hero-greeting{
    margin:0 !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:900 !important;
    text-shadow:none !important;
  }

  .cb-feature-copy h1{
    margin:0 !important;
    max-width:260px !important;
    color:#fff !important;
    font-size:31px !important;
    line-height:.98 !important;
    letter-spacing:-.05em !important;
    text-shadow:0 10px 25px rgba(0,0,0,.14) !important;
  }

  .cb-feature-copy h1 span{
    color:#fff !important;
    text-shadow:none !important;
  }

  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }

  .cb-primary-cta{
    min-width:176px !important;
    min-height:44px !important;
    margin-top:4px !important;
    border-radius:999px !important;
    color:#7a4558 !important;
    background:#fff !important;
    box-shadow:0 14px 28px rgba(0,0,0,.10) !important;
  }

  .cb-catalog-wrap{
    margin-top:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  .cb-catalog-head{
    align-items:center !important;
    margin:0 0 10px !important;
  }

  .cb-catalog-icon{
    display:none !important;
  }

  .cb-catalog-title h2{
    color:#111 !important;
    font-size:22px !important;
    letter-spacing:-.04em !important;
  }

  .buyer-product-grid{
    padding-bottom:18px !important;
  }

  .cb-bottom-nav{
    z-index:9200 !important;
    left:18px !important;
    right:18px !important;
    bottom:16px !important;
    height:58px !important;
    border-radius:999px !important;
    box-shadow:0 18px 42px rgba(80,35,45,.18) !important;
  }

  .cb-bottom-nav b{
    display:none !important;
  }

  .cb-bottom-nav button.active{
    color:#fff !important;
    background:#0f0f12 !important;
  }
}

@media (max-width:520px){
  .category-modal{
    align-items:end !important;
    padding:0 !important;
  }
  .category-modal-card{
    width:100% !important;
    max-height:78dvh !important;
    border-radius:26px 26px 0 0 !important;
    padding:20px 16px max(18px, env(safe-area-inset-bottom)) !important;
  }
  .category-modal-close{
    top:14px !important;
    right:14px !important;
    width:40px !important;
    height:40px !important;
  }
  .category-modal-option{
    min-height:52px !important;
  }
}


/* =========================================================
   CALE FINAL FIX: clean mobile app view + restore product card details
   ========================================================= */

/* No remaining sort button/control */
body.buyer-page .cb-shop-mode-row,
body.buyer-page .cb-sort-control,
body.buyer-page #sortPicker,
body.buyer-page #sortProducts,
body.buyer-page select[id*="sort" i],
body.buyer-page button[id*="sort" i],
body.buyer-page [class*="sort" i]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Big category trigger removed; small Categories button remains */
body.buyer-page .cb-category-strip.cb-category-single,
body.buyer-page #categoryModalOpenBtn{
  display:none !important;
}

/* Fix double "Catalog" text */
@media (max-width:820px){
  .cb-top-nav::after{
    content:none !important;
    display:none !important;
  }
  .cb-brand-block{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
  }
  .cb-brand-block::after{
    content:"Catalog" !important;
    display:inline-block !important;
    margin-left:10px !important;
    color:#111 !important;
    font-size:22px !important;
    font-weight:950 !important;
    letter-spacing:-.055em !important;
    white-space:nowrap !important;
  }
}

/* Cleaner category modal: compact list, not giant stretched bars */
.category-modal{
  z-index:15000 !important;
}
.category-modal-card{
  width:min(520px, calc(100vw - 24px)) !important;
  padding:22px !important;
  border-radius:28px !important;
  background:rgba(255,255,255,.98) !important;
}
.category-modal-card h2{
  margin:0 50px 6px 0 !important;
  font-size:24px !important;
  letter-spacing:-.04em !important;
  color:#111 !important;
}
.category-modal-card > .soft-text{
  margin:0 44px 16px 0 !important;
  max-width:390px !important;
  font-size:13px !important;
  line-height:1.35 !important;
}
.category-modal-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}
.category-modal-option{
  min-height:54px !important;
  grid-template-columns:42px minmax(0,1fr) auto !important;
  gap:10px !important;
  padding:9px 10px !important;
  border-radius:16px !important;
  box-shadow:none !important;
  background:#fff !important;
}
.category-modal-option .cat-icon{
  width:42px !important;
  height:42px !important;
  font-size:20px !important;
}
.category-modal-option .cat-copy{
  display:grid !important;
  gap:1px !important;
  min-width:0 !important;
}
.category-modal-option .cat-copy strong{
  color:#111 !important;
  font-size:14px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.category-modal-option .cat-copy small{
  color:#7a6b74 !important;
  font-size:11px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.category-modal-option em{
  width:auto !important;
  min-width:34px !important;
  max-width:54px !important;
  height:28px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  background:#f7edf4 !important;
  color:#7a4558 !important;
  font-size:11px !important;
}
.category-modal-option.active{
  background:linear-gradient(135deg,#f2aebe,#df7896) !important;
  color:#fff !important;
}
.category-modal-option.active .cat-copy strong,
.category-modal-option.active .cat-copy small,
.category-modal-option.active em{
  color:#fff !important;
}
.category-modal-option.active em{
  background:rgba(255,255,255,.24) !important;
}

/* Mobile buyer view polish */
@media (max-width:820px){
  body.buyer-page:not(.customer-gate-active){
    background:linear-gradient(180deg,#efbcc8 0%,#f8dce3 44%,#fff7fb 100%) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-left:12px !important;
    padding-right:12px !important;
    padding-bottom:calc(110px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .cb-top-nav{
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"brand icons" "branch branch" !important;
    padding:10px 8px 8px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  .cb-brand-logo{
    width:44px !important;
    height:44px !important;
    border-radius:999px !important;
    object-fit:cover !important;
    background:#fff !important;
    box-shadow:0 12px 25px rgba(80,35,45,.10) !important;
  }

  .cb-icon-btn{
    width:42px !important;
    height:42px !important;
    border:0 !important;
    background:#fff !important;
    color:#111 !important;
    box-shadow:0 12px 25px rgba(80,35,45,.10) !important;
  }

  .cb-mobile-search{
    top:8px !important;
    z-index:7990 !important;
    margin:6px 0 12px !important;
  }

  .cb-mobile-search .cb-search-wrap{
    min-height:50px !important;
    border-radius:999px !important;
    border:0 !important;
    background:#fff !important;
    box-shadow:0 12px 28px rgba(80,35,45,.10) !important;
  }

  /* Replace broken/cropped hero art with a clean promo card */
  .cb-feature-banner{
    display:block !important;
    min-height:auto !important;
    margin:8px 0 18px !important;
    padding:24px 20px !important;
    border-radius:26px !important;
    border:0 !important;
    background:
      radial-gradient(circle at 18% 18%,rgba(255,255,255,.28),transparent 28%),
      linear-gradient(145deg,#704155 0%,#8f5066 54%,#d991a6 100%) !important;
    box-shadow:0 22px 46px rgba(80,35,45,.18) !important;
    overflow:hidden !important;
  }

  .cb-feature-banner::before{
    content:"✦" !important;
    left:18px !important;
    top:18px !important;
    width:42px !important;
    height:42px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:rgba(255,255,255,.16) !important;
    font-size:18px !important;
  }

  .cb-feature-banner::after,
  .cb-feature-art,
  .cb-feature-art::before,
  .cb-feature-art::after,
  .cb-mascot-img,
  .cb-carousel-dots,
  .cb-sparkle{
    display:none !important;
  }

  .cb-feature-copy{
    position:relative !important;
    z-index:2 !important;
    max-width:100% !important;
    min-height:168px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:10px !important;
    padding:8px 4px !important;
  }

  .cb-hero-greeting{
    margin:0 !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:900 !important;
    text-shadow:none !important;
  }

  .cb-feature-copy h1{
    margin:0 !important;
    max-width:260px !important;
    color:#fff !important;
    font-size:30px !important;
    line-height:.98 !important;
    letter-spacing:-.05em !important;
    text-shadow:0 10px 25px rgba(0,0,0,.14) !important;
  }

  .cb-feature-copy h1 span{
    color:#fff !important;
    text-shadow:none !important;
  }

  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }

  .cb-primary-cta{
    min-width:176px !important;
    min-height:44px !important;
    margin-top:4px !important;
    border-radius:999px !important;
    color:#7a4558 !important;
    background:#fff !important;
    box-shadow:0 14px 28px rgba(0,0,0,.10) !important;
  }

  .cb-catalog-wrap{
    margin-top:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  .cb-catalog-head{
    align-items:center !important;
    margin:0 0 10px !important;
  }

  .cb-catalog-icon{
    display:none !important;
  }

  .cb-catalog-title h2{
    color:#111 !important;
    font-size:22px !important;
    letter-spacing:-.04em !important;
  }

  .cb-filter-btn,
  #categoryPickerBtn{
    display:inline-flex !important;
    min-height:38px !important;
    padding:0 16px !important;
    border-radius:999px !important;
    color:#d6738f !important;
    background:#fff !important;
    border:0 !important;
    box-shadow:0 12px 24px rgba(80,35,45,.08) !important;
  }

  /* Restore missing product card details */
  .buyer-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    padding-bottom:22px !important;
  }

  .buyer-product-card{
    display:flex !important;
    flex-direction:column !important;
    gap:7px !important;
    min-height:286px !important;
    padding:8px !important;
    border:0 !important;
    border-radius:22px !important;
    background:#fff !important;
    box-shadow:0 14px 32px rgba(80,35,45,.10) !important;
    overflow:hidden !important;
  }

  .buyer-product-card .buyer-img-wrap{
    height:126px !important;
    width:100% !important;
    border-radius:18px !important;
    background:#fdf7fa !important;
  }

  .buyer-product-img{
    padding:4px !important;
    object-fit:contain !important;
  }

  .quick-view{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
    position:absolute !important;
    left:9px !important;
    top:9px !important;
    width:auto !important;
    min-width:58px !important;
    height:30px !important;
    padding:0 10px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#111 !important;
    background:#fff !important;
    font-size:11px !important;
    font-weight:950 !important;
    box-shadow:0 10px 20px rgba(80,35,45,.08) !important;
    place-items:center !important;
  }

  .product-heart{
    display:grid !important;
    right:9px !important;
    top:9px !important;
    width:30px !important;
    height:30px !important;
    border:0 !important;
    color:#111 !important;
    background:#151515 !important;
    color:#fff !important;
  }

  .buyer-card-body{
    display:grid !important;
    gap:4px !important;
    padding:0 2px !important;
    min-width:0 !important;
  }

  .buyer-card-body .mini-label{
    display:block !important;
    margin:0 !important;
    color:#d6738f !important;
    font-size:10px !important;
    line-height:1.1 !important;
    letter-spacing:.08em !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .buyer-card-body h3{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    min-height:32px !important;
    margin:0 !important;
    color:#111 !important;
    font-size:12px !important;
    line-height:1.18 !important;
    font-weight:950 !important;
    overflow:hidden !important;
  }

  .buyer-card-foot{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:6px !important;
    margin-top:2px !important;
  }

  .buyer-card-foot strong{
    color:#111 !important;
    font-size:17px !important;
    line-height:1 !important;
    font-weight:950 !important;
  }

  .buyer-card-foot span{
    display:inline-flex !important;
    color:#7a6b74 !important;
    font-size:10px !important;
    font-weight:850 !important;
    white-space:nowrap !important;
  }

  .product-rating{
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
    min-height:14px !important;
    color:#f0a447 !important;
    font-size:10px !important;
  }

  .product-rating span,
  .product-rating small{
    display:inline !important;
  }

  .buyer-meta-grid{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:4px !important;
    min-height:18px !important;
    overflow:hidden !important;
  }

  .buyer-meta-grid span{
    max-width:100% !important;
    padding:3px 6px !important;
    border-radius:999px !important;
    background:#f7edf4 !important;
    color:#7a4558 !important;
    font-size:9px !important;
    font-weight:850 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .buyer-seller-line{
    display:block !important;
    margin:0 !important;
    color:#7a6b74 !important;
    font-size:9px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .quick-add{
    display:grid !important;
    grid-template-columns:22px 1fr 18px !important;
    min-height:34px !important;
    margin-top:auto !important;
    padding:0 8px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#111 !important;
    box-shadow:0 10px 22px rgba(0,0,0,.10) !important;
  }

  .quick-add span,
  .quick-add b,
  .quick-add i{
    display:inline-grid !important;
    color:#fff !important;
    font-size:11px !important;
  }

  .cb-bottom-nav{
    z-index:9200 !important;
    left:18px !important;
    right:18px !important;
    bottom:16px !important;
    height:58px !important;
    border-radius:999px !important;
    box-shadow:0 18px 42px rgba(80,35,45,.18) !important;
  }

  .cb-bottom-nav b{
    display:none !important;
  }

  .cb-bottom-nav button.active{
    color:#fff !important;
    background:#0f0f12 !important;
  }
}

@media (max-width:520px){
  .category-modal{
    align-items:end !important;
    padding:0 !important;
  }

  .category-modal-card{
    width:100% !important;
    max-height:78dvh !important;
    border-radius:26px 26px 0 0 !important;
    padding:20px 16px max(18px, env(safe-area-inset-bottom)) !important;
  }

  .category-modal-close{
    top:14px !important;
    right:14px !important;
    width:40px !important;
    height:40px !important;
  }

  .category-modal-option{
    min-height:52px !important;
  }

  .buyer-product-card{
    min-height:292px !important;
  }

  .buyer-product-card .buyer-img-wrap{
    height:120px !important;
  }
}

/* =========================================================
   SENIOR PATCH: mobile buyer view refactor v2
   Root cause fixed: older iterative overrides were fighting each other.
   This block establishes one authoritative mobile contract for header,
   hero, categories, and product-card details.
   ========================================================= */

.cb-mobile-title{ display:none; }

/* Never show the old full-width category trigger again. The catalog header button is the single entrypoint. */
body.buyer-page .cb-category-strip.cb-category-single,
body.buyer-page #categoryModalOpenBtn{
  display:none !important;
}

/* Sort was removed from the product browsing surface. */
body.buyer-page .cb-shop-mode-row,
body.buyer-page .cb-sort-control,
body.buyer-page #sortPicker,
body.buyer-page #sortProducts,
body.buyer-page select[id*="sort" i],
body.buyer-page button[id*="sort" i],
body.buyer-page [class*="sort" i]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

@media (max-width:820px){
  html{ scroll-padding-top:118px !important; }

  body.buyer-page:not(.customer-gate-active){
    background:
      radial-gradient(circle at 16% 0%, rgba(255,255,255,.42), transparent 24%),
      linear-gradient(180deg,#efbdc9 0%,#f5ccd6 42%,#fff7fb 100%) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding:0 10px calc(102px + env(safe-area-inset-bottom,0px)) !important;
  }

  .cb-shell{
    width:min(100%, 460px) !important;
    padding-top:10px !important;
  }

  /* Header: no pseudo-generated duplicate labels. Explicit title only. */
  .cb-top-nav{
    position:sticky !important;
    top:6px !important;
    z-index:9300 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"brand icons" !important;
    gap:10px !important;
    align-items:center !important;
    min-height:54px !important;
    padding:4px 0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  .cb-top-nav::after,
  .cb-brand-block::after{
    content:none !important;
    display:none !important;
  }
  .cb-brand-block{
    grid-area:brand !important;
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
    gap:10px !important;
  }
  .cb-brand-logo{
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    padding:3px !important;
    border-radius:999px !important;
    object-fit:contain !important;
    background:rgba(255,255,255,.95) !important;
    box-shadow:0 12px 24px rgba(80,35,45,.12) !important;
  }
  .cb-mobile-title{
    display:block !important;
    min-width:0 !important;
    color:#111 !important;
    font-size:24px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:-.055em !important;
    white-space:nowrap !important;
  }
  .cb-utility-nav{
    grid-area:icons !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }
  .cb-icon-btn{
    width:44px !important;
    height:44px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.95) !important;
    color:#111 !important;
    box-shadow:0 12px 24px rgba(80,35,45,.10) !important;
  }
  .cb-search-shortcut,
  .cb-top-nav > .cb-search-wrap{
    display:none !important;
  }

  /* Sticky search: stable, no jump, no overlay conflict. */
  .cb-mobile-search{
    display:block !important;
    position:sticky !important;
    top:64px !important;
    z-index:9100 !important;
    margin:4px 0 12px !important;
    padding:0 !important;
  }
  .cb-mobile-search .cb-search-wrap{
    min-height:46px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 14px 26px rgba(80,35,45,.10) !important;
  }
  .cb-mobile-search input{
    font-size:13px !important;
  }

  /* Hero: readable card; no chopped background/logo/text collision. */
  .cb-feature-banner{
    display:block !important;
    position:relative !important;
    min-height:154px !important;
    margin:0 0 18px !important;
    padding:18px !important;
    border:0 !important;
    border-radius:24px !important;
    overflow:hidden !important;
    background:
      radial-gradient(circle at 20% 18%, rgba(255,255,255,.26), transparent 25%),
      radial-gradient(circle at 92% 88%, rgba(255,255,255,.20), transparent 30%),
      linear-gradient(135deg,#704157 0%,#a75e78 58%,#df91a7 100%) !important;
    box-shadow:0 20px 40px rgba(80,35,45,.16) !important;
  }
  .cb-feature-banner::before{
    content:"✦" !important;
    position:absolute !important;
    left:16px !important;
    top:16px !important;
    width:34px !important;
    height:34px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:rgba(255,255,255,.16) !important;
    font-size:16px !important;
    z-index:1 !important;
  }
  .cb-feature-banner::after,
  .cb-feature-art,
  .cb-feature-art::before,
  .cb-feature-art::after,
  .cb-mascot-img,
  .cb-carousel-dots,
  .cb-sparkle,
  .cb-gift-card{
    display:none !important;
  }
  .cb-feature-copy{
    position:relative !important;
    z-index:2 !important;
    min-height:118px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    padding:10px 6px !important;
    text-align:center !important;
  }
  .cb-hero-greeting{
    margin:0 !important;
    color:rgba(255,255,255,.92) !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:950 !important;
    text-shadow:none !important;
  }
  .cb-feature-copy h1{
    margin:0 !important;
    max-width:290px !important;
    color:#fff !important;
    font-size:27px !important;
    line-height:.98 !important;
    letter-spacing:-.045em !important;
    text-shadow:0 10px 24px rgba(0,0,0,.12) !important;
  }
  .cb-feature-copy h1 span{
    color:#fff !important;
    text-shadow:none !important;
  }
  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }
  .cb-primary-cta{
    min-width:168px !important;
    min-height:39px !important;
    margin:0 !important;
    padding:0 20px !important;
    border-radius:999px !important;
    color:#764657 !important;
    background:#fff !important;
    font-size:12px !important;
    box-shadow:0 12px 26px rgba(0,0,0,.10) !important;
  }

  /* Catalog heading and single category entrypoint. */
  .cb-catalog-wrap{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  .cb-catalog-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    margin:0 0 12px !important;
  }
  .cb-catalog-icon,
  .cb-catalog-title p{
    display:none !important;
  }
  .cb-catalog-title h2{
    margin:0 !important;
    color:#111 !important;
    font-size:23px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:-.04em !important;
  }
  #categoryPickerBtn{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    width:auto !important;
    min-width:auto !important;
    min-height:38px !important;
    padding:0 16px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#d6738f !important;
    background:#fff !important;
    font-size:13px !important;
    font-weight:950 !important;
    box-shadow:0 12px 24px rgba(80,35,45,.08) !important;
  }
  #categoryPickerLabel{ font-size:13px !important; }

  /* Product cards: keep all commerce-critical data visible. */
  .buyer-product-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    padding-bottom:24px !important;
  }
  .buyer-product-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    min-height:322px !important;
    padding:9px !important;
    border:0 !important;
    border-radius:22px !important;
    background:#fff !important;
    box-shadow:0 14px 32px rgba(80,35,45,.10) !important;
    overflow:hidden !important;
  }
  .buyer-product-card .buyer-img-wrap{
    width:100% !important;
    height:128px !important;
    min-height:128px !important;
    border-radius:18px !important;
    background:#fdf7fa !important;
  }
  .buyer-product-img{
    width:100% !important;
    height:100% !important;
    padding:4px !important;
    object-fit:contain !important;
  }
  .quick-view{
    display:grid !important;
    position:absolute !important;
    top:9px !important;
    left:9px !important;
    width:34px !important;
    min-width:34px !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    color:#111 !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 10px 20px rgba(80,35,45,.08) !important;
    overflow:hidden !important;
    text-indent:-999px !important;
    place-items:center !important;
  }
  .quick-view::before{
    content:"↗" !important;
    text-indent:0 !important;
    font-size:16px !important;
    font-weight:950 !important;
  }
  .product-heart{
    display:grid !important;
    position:absolute !important;
    right:9px !important;
    top:9px !important;
    width:34px !important;
    height:34px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#111 !important;
    place-items:center !important;
  }
  .buyer-card-body{
    display:grid !important;
    gap:5px !important;
    padding:0 1px !important;
    min-width:0 !important;
    flex:1 1 auto !important;
  }
  .buyer-card-body .mini-label{
    display:block !important;
    margin:0 !important;
    color:#d6738f !important;
    font-size:10px !important;
    line-height:1.1 !important;
    letter-spacing:.08em !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .buyer-card-body h3{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    min-height:33px !important;
    margin:0 !important;
    color:#111 !important;
    font-size:13px !important;
    line-height:1.22 !important;
    font-weight:950 !important;
    overflow:hidden !important;
  }
  .buyer-card-foot{
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:6px !important;
    margin:0 !important;
  }
  .buyer-card-foot strong{
    color:#111 !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
  }
  .buyer-card-foot span{
    display:inline-flex !important;
    color:#7a6b74 !important;
    font-size:10px !important;
    line-height:1.1 !important;
    font-weight:850 !important;
    white-space:nowrap !important;
  }
  .product-rating{
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
    min-height:14px !important;
    color:#f0a447 !important;
    font-size:10px !important;
    line-height:1 !important;
  }
  .product-rating span,
  .product-rating small{
    display:inline !important;
    color:inherit !important;
  }
  .buyer-meta-grid{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:4px !important;
    min-height:20px !important;
    max-height:44px !important;
    overflow:hidden !important;
  }
  .buyer-meta-grid span{
    display:inline-flex !important;
    max-width:100% !important;
    padding:3px 7px !important;
    border-radius:999px !important;
    background:#f7edf4 !important;
    color:#7a4558 !important;
    font-size:9.5px !important;
    line-height:1.2 !important;
    font-weight:850 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .buyer-seller-line{
    display:block !important;
    margin:0 !important;
    color:#7a6b74 !important;
    font-size:9.5px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .quick-add{
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    width:100% !important;
    min-width:0 !important;
    height:34px !important;
    min-height:34px !important;
    display:grid !important;
    grid-template-columns:22px 1fr 18px !important;
    align-items:center !important;
    gap:4px !important;
    margin-top:auto !important;
    padding:0 10px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#111 !important;
    box-shadow:0 10px 22px rgba(0,0,0,.10) !important;
  }
  .quick-add span,
  .quick-add b,
  .quick-add i{
    display:inline-grid !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:1 !important;
    text-indent:0 !important;
  }

  /* Bottom nav and cart layering. */
  .cb-bottom-nav{
    z-index:9200 !important;
    left:18px !important;
    right:18px !important;
    bottom:16px !important;
    height:58px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.94) !important;
    box-shadow:0 18px 42px rgba(80,35,45,.18) !important;
  }
  .cb-bottom-nav b{ display:none !important; }
  .cb-bottom-nav button.active{
    color:#fff !important;
    background:#111 !important;
  }
  .buyer-ticket-panel,
  .cart-modal-backdrop{
    z-index:16000 !important;
  }
}

@media (max-width:380px){
  .cb-mobile-title{ font-size:21px !important; }
  .buyer-product-grid{ gap:10px !important; }
  .buyer-product-card{ min-height:310px !important; padding:8px !important; }
  .buyer-product-card .buyer-img-wrap{ height:116px !important; min-height:116px !important; }
  .buyer-card-body h3{ font-size:12px !important; }
  .buyer-card-foot strong{ font-size:17px !important; }
}

/* =========================================================
   SENIOR HOTFIX v3 — Cale Boutique mobile production pass
   Purpose: kill legacy override bleed, use real shop name,
   repair hero clipping, and prevent the bottom dock from
   covering product-card details.
   ========================================================= */

/* Desktop-safe: no old generated Catalog labels. */
.cb-top-nav::after,
.cb-brand-block::after{
  content:none !important;
  display:none !important;
}

@media (max-width: 820px){
  :root{
    --cale-mobile-dock-h: 54px;
    --cale-mobile-safe-bottom: calc(var(--cale-mobile-dock-h) + 34px + env(safe-area-inset-bottom, 0px));
  }

  html{
    scroll-padding-top:118px !important;
  }

  body.buyer-page:not(.customer-gate-active){
    background:
      radial-gradient(circle at 16% -2%, rgba(255,255,255,.45), transparent 24%),
      linear-gradient(180deg,#f0bdca 0%,#f7d4dd 42%,#fff7fb 100%) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding:0 10px var(--cale-mobile-safe-bottom) !important;
  }

  .cb-shell{
    width:min(100%, 460px) !important;
    margin:0 auto !important;
    padding-top:10px !important;
  }

  /* Header: logo + real shop name + actions. */
  .cb-top-nav{
    position:sticky !important;
    top:6px !important;
    z-index:9300 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"brand icons" !important;
    align-items:center !important;
    gap:10px !important;
    min-height:50px !important;
    margin:0 0 6px !important;
    padding:2px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .cb-top-nav::after,
  .cb-brand-block::after{
    content:none !important;
    display:none !important;
  }

  .cb-brand-block{
    grid-area:brand !important;
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    min-width:0 !important;
  }

  .cb-brand-logo{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    padding:3px !important;
    border-radius:999px !important;
    object-fit:contain !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 12px 24px rgba(80,35,45,.12) !important;
  }

  .cb-mobile-title{
    display:block !important;
    min-width:0 !important;
    max-width:210px !important;
    color:#111 !important;
    font-size:19px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:-.045em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .cb-utility-nav{
    grid-area:icons !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
  }

  .cb-icon-btn{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#111 !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 12px 24px rgba(80,35,45,.10) !important;
    font-size:18px !important;
  }

  .cb-search-shortcut,
  .cb-top-nav > .cb-search-wrap{
    display:none !important;
  }

  /* Sticky search stays under header and does not jump. */
  .cb-mobile-search{
    display:block !important;
    position:sticky !important;
    top:62px !important;
    z-index:9100 !important;
    margin:4px 0 12px !important;
    padding:0 !important;
  }

  .cb-mobile-search .cb-search-wrap{
    min-height:46px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 12px 26px rgba(80,35,45,.10) !important;
  }

  .cb-mobile-search input{
    font-size:13px !important;
  }

  /* Hero: compact, readable, no cropped artwork, no text overlap. */
  .cb-feature-banner{
    display:block !important;
    min-height:132px !important;
    margin:6px 0 16px !important;
    padding:18px 18px !important;
    border:0 !important;
    border-radius:24px !important;
    background:
      radial-gradient(circle at 14% 18%, rgba(255,255,255,.28), transparent 28%),
      linear-gradient(145deg,#754356 0%,#96536b 58%,#d88ea3 100%) !important;
    box-shadow:0 18px 40px rgba(80,35,45,.18) !important;
    overflow:hidden !important;
  }

  .cb-feature-banner::before{
    content:"✦" !important;
    position:absolute !important;
    left:16px !important;
    top:16px !important;
    width:34px !important;
    height:34px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:rgba(255,255,255,.16) !important;
    font-size:15px !important;
    z-index:1 !important;
  }

  .cb-feature-banner::after,
  .cb-feature-art,
  .cb-feature-art::before,
  .cb-feature-art::after,
  .cb-mascot-img,
  .cb-carousel-dots,
  .cb-sparkle,
  .cb-gift-card{
    display:none !important;
  }

  .cb-feature-copy{
    position:relative !important;
    z-index:2 !important;
    min-height:96px !important;
    max-width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    padding:6px 4px !important;
    text-align:center !important;
  }

  .cb-hero-greeting{
    margin:0 !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
    opacity:.96 !important;
  }

  .cb-feature-copy h1{
    margin:0 !important;
    max-width:290px !important;
    color:#fff !important;
    font-size:24px !important;
    line-height:1.05 !important;
    letter-spacing:-.04em !important;
    text-shadow:0 8px 22px rgba(0,0,0,.16) !important;
  }

  .cb-feature-copy h1 span{
    color:#fff !important;
  }

  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }

  .cb-primary-cta{
    min-width:154px !important;
    min-height:36px !important;
    padding:0 18px !important;
    margin-top:2px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#7a4558 !important;
    background:#fff !important;
    font-size:12px !important;
    font-weight:900 !important;
    box-shadow:0 12px 24px rgba(0,0,0,.12) !important;
  }

  /* Catalog header. */
  .cb-catalog-wrap{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  .cb-catalog-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin:0 0 10px !important;
  }

  .cb-catalog-icon,
  .cb-catalog-title p{
    display:none !important;
  }

  .cb-catalog-title h2{
    margin:0 !important;
    color:#111 !important;
    font-size:21px !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
    font-weight:950 !important;
  }

  #categoryPickerBtn{
    display:inline-flex !important;
    min-height:38px !important;
    padding:0 14px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#d6738f !important;
    background:#fff !important;
    box-shadow:0 12px 26px rgba(80,35,45,.09) !important;
    font-size:12px !important;
  }

  /* Product cards: details are visible and never clipped by the dock. */
  .buyer-product-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:14px !important;
    padding-bottom:calc(var(--cale-mobile-safe-bottom) + 28px) !important;
    align-items:stretch !important;
  }

  .buyer-product-card,
  #shopProducts .buyer-product-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    gap:7px !important;
    min-height:336px !important;
    padding:9px !important;
    border:0 !important;
    border-radius:22px !important;
    background:#fff !important;
    box-shadow:0 14px 32px rgba(80,35,45,.10) !important;
    overflow:hidden !important;
  }

  .buyer-product-card .buyer-img-wrap{
    width:100% !important;
    height:126px !important;
    min-height:126px !important;
    border-radius:18px !important;
    background:#fdf7fa !important;
  }

  .buyer-product-img{
    width:100% !important;
    height:100% !important;
    padding:4px !important;
    object-fit:contain !important;
  }

  .buyer-card-body{
    display:grid !important;
    gap:5px !important;
    padding:0 1px !important;
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  .buyer-card-body .mini-label,
  .buyer-card-body h3,
  .buyer-card-foot,
  .product-rating,
  .buyer-meta-grid,
  .buyer-seller-line{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .buyer-card-body .mini-label{
    margin:0 !important;
    color:#d6738f !important;
    font-size:9px !important;
    line-height:1.1 !important;
    letter-spacing:.08em !important;
    font-weight:950 !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .buyer-card-body h3{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    min-height:31px !important;
    margin:0 !important;
    color:#111 !important;
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:950 !important;
    overflow:hidden !important;
  }

  .buyer-card-foot{
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:6px !important;
    margin:0 !important;
  }

  .buyer-card-foot strong{
    color:#111 !important;
    font-size:17px !important;
    line-height:1 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
  }

  .buyer-card-foot span{
    display:inline-flex !important;
    color:#7a6b74 !important;
    font-size:9px !important;
    line-height:1.1 !important;
    font-weight:850 !important;
    white-space:nowrap !important;
  }

  .product-rating{
    align-items:center !important;
    gap:3px !important;
    min-height:12px !important;
    color:#f0a447 !important;
    font-size:9px !important;
    line-height:1 !important;
    overflow:hidden !important;
  }

  .product-rating span,
  .product-rating small{
    display:inline !important;
    color:inherit !important;
    white-space:nowrap !important;
  }

  .buyer-meta-grid{
    flex-wrap:wrap !important;
    gap:3px !important;
    min-height:18px !important;
    max-height:39px !important;
    overflow:hidden !important;
  }

  .buyer-meta-grid span{
    display:inline-flex !important;
    max-width:100% !important;
    padding:3px 6px !important;
    border-radius:999px !important;
    background:#f7edf4 !important;
    color:#7a4558 !important;
    font-size:8.5px !important;
    line-height:1.1 !important;
    font-weight:850 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .buyer-seller-line{
    margin:0 !important;
    color:#7a6b74 !important;
    font-size:9px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .quick-view{
    display:grid !important;
    position:absolute !important;
    top:9px !important;
    left:9px !important;
    width:32px !important;
    min-width:32px !important;
    height:32px !important;
    min-height:32px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:999px !important;
    color:#111 !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 10px 20px rgba(80,35,45,.08) !important;
    overflow:hidden !important;
    text-indent:-999px !important;
    place-items:center !important;
  }

  .quick-view::before{
    content:"↗" !important;
    text-indent:0 !important;
    font-size:15px !important;
    font-weight:950 !important;
  }

  .product-heart{
    display:grid !important;
    position:absolute !important;
    right:9px !important;
    top:9px !important;
    width:32px !important;
    height:32px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#111 !important;
    place-items:center !important;
  }

  .quick-add{
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    width:100% !important;
    min-width:0 !important;
    height:32px !important;
    min-height:32px !important;
    display:grid !important;
    grid-template-columns:20px 1fr 16px !important;
    align-items:center !important;
    gap:4px !important;
    margin-top:auto !important;
    padding:0 9px !important;
    border:0 !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#111 !important;
    box-shadow:0 10px 22px rgba(0,0,0,.10) !important;
  }

  .quick-add span,
  .quick-add b,
  .quick-add i{
    display:inline-grid !important;
    color:#fff !important;
    font-size:10px !important;
    line-height:1 !important;
    text-indent:0 !important;
  }

  /* Dock: smaller, centered, and less intrusive. It is still on the top layer,
     but the catalog has enough bottom padding so it won't hide final product rows. */
  .cb-bottom-nav{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:10px !important;
    transform:translateX(-50%) !important;
    width:min(260px, calc(100vw - 54px)) !important;
    height:var(--cale-mobile-dock-h) !important;
    z-index:9200 !important;
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:3px !important;
    padding:6px !important;
    border:0 !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.94) !important;
    box-shadow:0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter:blur(16px) !important;
    -webkit-backdrop-filter:blur(16px) !important;
  }

  .cb-bottom-nav button{
    min-width:0 !important;
    height:42px !important;
    border:0 !important;
    border-radius:999px !important;
    background:transparent !important;
    color:#111 !important;
    font-size:17px !important;
  }

  .cb-bottom-nav b{
    display:none !important;
  }

  .cb-bottom-nav button.active{
    color:#fff !important;
    background:#111 !important;
  }

  .cb-bottom-nav .cart-count-badge{
    top:3px !important;
    right:8px !important;
  }

  .buyer-ticket-panel,
  .cart-modal-backdrop{
    z-index:16000 !important;
  }
}

@media (max-width:380px){
  .cb-mobile-title{ font-size:17px !important; max-width:160px !important; }
  .buyer-product-grid{ gap:10px !important; }
  .buyer-product-card,
  #shopProducts .buyer-product-card{ min-height:322px !important; padding:8px !important; }
  .buyer-product-card .buyer-img-wrap{ height:112px !important; min-height:112px !important; }
  .buyer-card-body h3{ font-size:11px !important; min-height:29px !important; }
  .buyer-card-foot strong{ font-size:16px !important; }
  .buyer-meta-grid span{ font-size:8px !important; }
}


/* =========================================================
   SENIOR HOTFIX v4 — grid category modal + hero stabilization
   ========================================================= */
@media (max-width:820px){
  :root{
    --cale-mobile-dock-h:54px;
    --cale-mobile-safe-bottom:calc(var(--cale-mobile-dock-h) + 48px + env(safe-area-inset-bottom, 0px));
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-bottom:var(--cale-mobile-safe-bottom) !important;
  }

  /* Make the hero actually stable on narrow screens */
  .cb-feature-banner{
    min-height:148px !important;
    padding:16px 16px 18px !important;
    border-radius:22px !important;
  }

  .cb-feature-copy{
    min-height:112px !important;
    gap:8px !important;
    justify-content:center !important;
  }

  .cb-hero-greeting{
    font-size:10px !important;
    letter-spacing:.02em !important;
  }

  .cb-feature-copy h1{
    max-width:190px !important;
    font-size:20px !important;
    line-height:1.08 !important;
    letter-spacing:-.03em !important;
    text-wrap:balance !important;
    margin-inline:auto !important;
  }

  .cb-primary-cta{
    min-width:138px !important;
    min-height:34px !important;
    font-size:11px !important;
    margin-top:0 !important;
  }

  /* Category modal as a clean grid instead of stretched rows */
  .category-modal{
    align-items:end !important;
    padding:0 !important;
  }

  .category-modal-card{
    width:100% !important;
    max-height:78dvh !important;
    padding:16px 14px max(16px, env(safe-area-inset-bottom)) !important;
    border-radius:24px 24px 0 0 !important;
    overflow:auto !important;
  }

  .category-modal-card h2{
    margin-right:44px !important;
    font-size:24px !important;
    line-height:1 !important;
  }

  .category-modal-card > .soft-text{
    margin:4px 40px 14px 0 !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .category-modal-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  .category-modal-option{
    min-height:92px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:8px !important;
    padding:12px !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:none !important;
  }

  .category-modal-option .cat-icon{
    width:38px !important;
    height:38px !important;
    font-size:18px !important;
  }

  .category-modal-option .cat-copy{
    width:100% !important;
    gap:2px !important;
  }

  .category-modal-option .cat-copy strong{
    width:100% !important;
    font-size:13px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .category-modal-option .cat-copy small{
    display:none !important;
  }

  .category-modal-option em{
    align-self:flex-end !important;
    min-width:30px !important;
    height:24px !important;
    padding:0 8px !important;
    font-size:10px !important;
    font-weight:900 !important;
    background:#f7edf4 !important;
    color:#8d5870 !important;
  }

  .category-modal-option.active{
    background:linear-gradient(135deg,#ed9fb2 0%, #d9708f 100%) !important;
    color:#fff !important;
  }

  .category-modal-option.active .cat-copy strong,
  .category-modal-option.active em{
    color:#fff !important;
  }

  .category-modal-option.active em{
    background:rgba(255,255,255,.18) !important;
  }

  /* Make sure the product grid clears the bottom dock */
  .buyer-product-grid{
    padding-bottom:calc(var(--cale-mobile-safe-bottom) + 36px) !important;
  }
}

@media (max-width:420px){
  .cb-mobile-title{
    max-width:150px !important;
    font-size:17px !important;
  }

  .cb-feature-banner{
    min-height:142px !important;
  }

  .cb-feature-copy h1{
    max-width:176px !important;
    font-size:18px !important;
  }

  .category-modal-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
  }

  .category-modal-option{
    min-height:84px !important;
    padding:10px !important;
    border-radius:16px !important;
  }

  .category-modal-option .cat-copy strong{
    font-size:12px !important;
  }
}


/* =========================================================
   SENIOR HOTFIX v5 — hard hero repair
   This removes the mobile hero text collision by replacing the
   old stacked hero typography with a deterministic 3-row grid.
   ========================================================= */
@media (max-width:820px){
  .cb-feature-banner{
    min-height:116px !important;
    height:auto !important;
    padding:14px 14px 16px !important;
    margin:6px 0 16px !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }

  .cb-feature-copy{
    min-height:88px !important;
    height:auto !important;
    display:grid !important;
    grid-template-rows:auto auto auto !important;
    align-content:center !important;
    justify-items:center !important;
    row-gap:6px !important;
    padding:4px 8px !important;
    text-align:center !important;
  }

  .cb-hero-greeting{
    position:static !important;
    transform:none !important;
    margin:0 !important;
    padding:0 !important;
    font-size:10px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .cb-feature-copy h1{
    position:static !important;
    transform:none !important;
    display:block !important;
    width:100% !important;
    max-width:220px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    color:#fff !important;
    font-size:17px !important;
    line-height:1.12 !important;
    letter-spacing:-.02em !important;
    white-space:normal !important;
    overflow:visible !important;
    text-wrap:balance !important;
  }

  .cb-feature-copy h1 span{
    color:inherit !important;
  }

  .cb-feature-copy > p:not(.cb-hero-greeting){
    display:none !important;
  }

  .cb-primary-cta{
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:136px !important;
    max-width:170px !important;
    min-height:32px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 18px !important;
    border-radius:999px !important;
    font-size:11px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .cb-feature-art,
  .cb-feature-art *,
  .cb-gift-card,
  .cb-carousel-dots,
  .cb-sparkle{
    display:none !important;
  }
}

@media (max-width:380px){
  .cb-feature-copy h1{
    max-width:190px !important;
    font-size:16px !important;
  }

  .cb-primary-cta{
    min-width:128px !important;
    height:31px !important;
    min-height:31px !important;
  }
}


/* =========================================================
   SHOPEE-LIKE SELLER PAGE / SELLER PROFILE
   ========================================================= */
.seller-link-btn{
  width:fit-content;
  max-width:100%;
  border:0;
  padding:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}
.seller-mini-panel{
  margin:0 0 18px;
}
.seller-mini-public{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(222,120,148,.22);
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#fff5f8);
}
.seller-mini-public img{
  width:64px;
  height:64px;
  border-radius:999px;
  object-fit:cover;
  background:#fff;
  box-shadow:0 10px 24px rgba(80,35,45,.12);
}
.seller-mini-public h3{ margin:0; color:#111; }
.seller-badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:7px;
}
.seller-badge-chip{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:3px 9px;
  border-radius:999px;
  color:#8b4057;
  background:#ffe9f0;
  font-size:11px;
  font-weight:900;
}
.muted-chip{ color:#7b6870; background:#f7edf2; }

.seller-page-modal{
  position:fixed;
  inset:0;
  z-index:15500;
  display:grid;
  place-items:center;
  padding:18px;
}
.seller-page-modal.hidden{ display:none !important; }
.seller-page-backdrop{
  position:absolute;
  inset:0;
  background:rgba(30,18,52,.56);
  backdrop-filter:blur(12px);
}
.seller-page-card{
  position:relative;
  z-index:1;
  width:min(1080px,100%);
  max-height:92dvh;
  overflow:auto;
  border:1px solid rgba(222,120,148,.25);
  border-radius:30px;
  background:#fff;
  box-shadow:0 30px 90px rgba(30,18,52,.28);
}
.seller-page-close{
  position:sticky;
  top:14px;
  left:calc(100% - 58px);
  z-index:4;
  width:44px;
  height:44px;
  border:0;
  border-radius:999px;
  background:#fff;
  box-shadow:0 12px 28px rgba(80,35,45,.15);
  font-size:24px;
  font-weight:950;
}
.seller-page-content{
  padding:18px 24px 28px;
}
.seller-page-hero{
  display:grid;
  grid-template-columns:110px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(135deg,#fff5f8,#f9d4dd);
}
.seller-page-avatar{
  width:110px;
  height:110px;
  border-radius:999px;
  object-fit:cover;
  background:#fff;
  box-shadow:0 18px 40px rgba(80,35,45,.15);
}
.seller-page-copy h2{
  margin:0 0 8px;
  color:#111;
  font-size:clamp(28px,4vw,44px);
  line-height:1;
}
.seller-page-copy p{ margin:0; color:#6d4b58; }
.seller-page-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.seller-page-meta span{
  padding:5px 10px;
  border-radius:999px;
  background:#fff;
  color:#7a4558;
  font-size:12px;
  font-weight:850;
}
.seller-page-products{
  margin-top:20px;
}
.seller-page-product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.seller-page-product{
  display:grid;
  gap:7px;
  padding:12px;
  border:1px solid rgba(222,120,148,.18);
  border-radius:20px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(80,35,45,.06);
}
.seller-page-product-img{
  height:150px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#fff7fa;
  overflow:hidden;
}
.seller-page-img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:6px;
}
.seller-page-product h4{
  min-height:36px;
  margin:0;
  color:#111;
  font-size:14px;
  line-height:1.25;
}
.seller-page-product strong{
  color:#111;
  font-size:18px;
}
.seller-page-product small{
  color:#7b6870;
  font-weight:850;
}
@media(max-width:760px){
  .seller-mini-public{
    grid-template-columns:50px minmax(0,1fr);
  }
  .seller-mini-public img{ width:50px; height:50px; }
  .seller-mini-public button{ grid-column:1/-1; }
  .seller-page-modal{
    align-items:end;
    padding:0;
  }
  .seller-page-card{
    width:100%;
    max-height:88dvh;
    border-radius:26px 26px 0 0;
  }
  .seller-page-content{
    padding:12px 14px 26px;
  }
  .seller-page-hero{
    grid-template-columns:72px minmax(0,1fr);
    padding:16px;
    border-radius:22px;
  }
  .seller-page-avatar{
    width:72px;
    height:72px;
  }
  .seller-page-hero > button{
    grid-column:1/-1;
  }
  .seller-page-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .seller-page-product-img{
    height:112px;
  }
}


/* =========================================================
   SHOPEE-LIKE SELLER STRIP v2
   ========================================================= */
.seller-shop-strip{
  display:grid;
  grid-template-columns:minmax(250px, 1fr) minmax(420px, 1.7fr);
  gap:24px;
  align-items:center;
  padding:22px 28px;
  margin:0 0 18px;
  border:1px solid rgba(30,18,52,.06);
  border-radius:6px;
  background:#fff;
  box-shadow:0 1px 0 rgba(30,18,52,.04);
}
.seller-shop-left{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:16px;
  align-items:center;
  min-width:0;
  padding-right:20px;
  border-right:1px solid rgba(30,18,52,.08);
}
.seller-shop-avatar{
  width:86px;
  height:86px;
  border-radius:999px;
  object-fit:cover;
  background:#fff;
  border:1px solid rgba(30,18,52,.08);
}
.seller-shop-info{
  min-width:0;
}
.seller-shop-info h3{
  margin:0 0 4px;
  color:#222;
  font-size:18px;
  line-height:1.15;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.seller-shop-info p{
  margin:0 0 12px;
  color:#777;
  font-size:13px;
}
.seller-shop-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.seller-strip-btn{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 14px;
  border-radius:2px;
  border:1px solid #ee4d2d;
  color:#ee4d2d;
  background:#fff4f1;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.seller-strip-btn.neutral{
  border-color:#ddd;
  color:#333;
  background:#fff;
}
.seller-shop-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(120px,1fr));
  row-gap:18px;
  column-gap:26px;
}
.seller-shop-stats div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.seller-shop-stats span{
  color:#888;
  font-size:14px;
}
.seller-shop-stats b{
  color:#ee4d2d;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
}
.seller-shop-badges{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding-top:10px;
  border-top:1px solid rgba(30,18,52,.06);
}
.seller-page-about{
  margin:0 0 18px;
  padding:16px 22px;
  border-radius:6px;
  background:#fff;
  border:1px solid rgba(30,18,52,.06);
}
.seller-page-about p{
  margin:0 0 10px;
  color:#555;
  line-height:1.5;
}
.seller-page-modal .seller-shop-strip{
  margin:0 0 16px;
}
.product-detail-content .seller-shop-strip{
  margin-top:0;
}
@media(max-width:760px){
  .seller-shop-strip{
    grid-template-columns:1fr;
    gap:14px;
    padding:16px;
    border-radius:14px;
  }
  .seller-shop-left{
    grid-template-columns:64px minmax(0,1fr);
    border-right:0;
    padding-right:0;
  }
  .seller-shop-avatar{
    width:64px;
    height:64px;
  }
  .seller-shop-info h3{
    font-size:16px;
  }
  .seller-shop-actions{
    gap:6px;
  }
  .seller-strip-btn{
    min-height:32px;
    padding:0 10px;
    font-size:12px;
  }
  .seller-shop-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:10px;
    column-gap:12px;
    padding-top:12px;
    border-top:1px solid rgba(30,18,52,.07);
  }
  .seller-shop-stats div{
    display:grid;
    gap:2px;
  }
  .seller-shop-stats span,
  .seller-shop-stats b{
    font-size:12px;
  }
}


/* Seller strip placement above reviews in product modal */
.seller-strip-section{
  padding-top:0 !important;
  margin-top:-2px;
}
.seller-strip-section .seller-shop-strip{
  margin:0;
}
.product-detail-card .seller-strip-section + .product-detail-section{
  margin-top:10px;
}
@media(max-width:760px){
  .seller-strip-section{
    padding-top:0 !important;
  }
}


/* =========================================================
   CALE THEME SELLER SHOP PANEL
   Makes the seller block feel native to Cale Boutique instead of
   plain Shopee-copy styling.
   ========================================================= */
.seller-page-modal{
  background:rgba(64,35,54,.18);
}
.seller-page-card{
  border:1px solid rgba(232,132,160,.30) !important;
  border-radius:34px !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,216,226,.72), transparent 34%),
    linear-gradient(180deg,#fffafb 0%,#fff 48%,#fff7fb 100%) !important;
  box-shadow:0 30px 90px rgba(63,35,54,.28) !important;
}
.seller-page-close{
  color:#7a4558 !important;
  background:#fff !important;
  border:1px solid rgba(232,132,160,.22) !important;
}

.seller-shop-strip{
  grid-template-columns:minmax(290px, .95fr) minmax(420px, 1.35fr) !important;
  gap:20px !important;
  padding:24px !important;
  border:1px solid rgba(232,132,160,.24) !important;
  border-radius:28px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.88), transparent 34%),
    linear-gradient(135deg,#fff 0%,#fff2f6 48%,#f6d8e3 100%) !important;
  box-shadow:0 18px 46px rgba(107,61,80,.10) !important;
}
.seller-shop-left{
  grid-template-columns:92px minmax(0,1fr) !important;
  gap:16px !important;
  padding-right:20px !important;
  border-right:1px solid rgba(232,132,160,.22) !important;
}
.seller-shop-avatar{
  width:92px !important;
  height:92px !important;
  border:4px solid #fff !important;
  box-shadow:0 16px 32px rgba(148,82,105,.18) !important;
}
.seller-shop-info h3{
  color:#1f1720 !important;
  font-weight:950 !important;
  letter-spacing:-.03em !important;
}
.seller-shop-info p{
  color:#7f5d6b !important;
}
.seller-shop-actions{
  gap:9px !important;
}
.seller-strip-btn{
  min-height:36px !important;
  padding:0 16px !important;
  border-radius:999px !important;
  border:1px solid rgba(223,112,143,.34) !important;
  color:#8e415a !important;
  background:#fff !important;
  box-shadow:0 10px 22px rgba(107,61,80,.08) !important;
}
.seller-strip-btn.chat{
  color:#fff !important;
  border:0 !important;
  background:linear-gradient(135deg,#5b3440 0%,#d77291 100%) !important;
}
.seller-strip-btn.neutral{
  color:#8e415a !important;
  background:#fff7fa !important;
}

.seller-shop-stats{
  grid-template-columns:repeat(4,minmax(110px,1fr)) !important;
  gap:12px !important;
}
.seller-shop-stats div{
  display:grid !important;
  gap:4px !important;
  min-height:58px !important;
  padding:10px 12px !important;
  border:1px solid rgba(232,132,160,.18) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.72) !important;
}
.seller-shop-stats span{
  color:#8b6e79 !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.seller-shop-stats b{
  color:#c75f7e !important;
  font-size:15px !important;
  font-weight:950 !important;
}

.seller-shop-badges{
  border-top:1px solid rgba(232,132,160,.20) !important;
}
.seller-badge-chip{
  border:1px solid rgba(218,107,139,.18) !important;
  color:#9b405d !important;
  background:linear-gradient(135deg,#ffe8f0,#fff4f8) !important;
}

.seller-page-about{
  border:1px solid rgba(232,132,160,.22) !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 12px 30px rgba(107,61,80,.06) !important;
}
.seller-page-about p{
  color:#5d4650 !important;
}
.seller-page-products .detail-section-head h3{
  color:#1f1720 !important;
}
.seller-page-product{
  border:1px solid rgba(232,132,160,.20) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:0 14px 30px rgba(107,61,80,.08) !important;
}
.seller-page-product-img{
  border-radius:18px !important;
  background:#fff7fa !important;
}
.seller-page-product strong{
  color:#1f1720 !important;
}

.seller-page-modal .seller-strip-btn[data-open-seller]{
  display:none !important;
}

@media(max-width:760px){
  .seller-page-card{
    border-radius:26px 26px 0 0 !important;
  }
  .seller-shop-strip{
    grid-template-columns:1fr !important;
    padding:16px !important;
    border-radius:24px !important;
  }
  .seller-shop-left{
    grid-template-columns:68px minmax(0,1fr) !important;
    border-right:0 !important;
    padding-right:0 !important;
  }
  .seller-shop-avatar{
    width:68px !important;
    height:68px !important;
  }
  .seller-shop-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* =========================================================
   SELLER FOLLOWERS + BUYER FOLLOWED SELLERS
   ========================================================= */
.seller-strip-btn.follow{
  border:0 !important;
  color:#fff !important;
  background:linear-gradient(135deg,#d96f8f 0%,#5b3440 100%) !important;
}
.seller-strip-btn.follow.is-following{
  color:#8e415a !important;
  border:1px solid rgba(223,112,143,.28) !important;
  background:#fff !important;
}
.followed-sellers-panel{
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(232,132,160,.22);
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#fff7fa);
}
.followed-sellers-list{
  display:grid;
  gap:10px;
}
.followed-seller-card{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid rgba(232,132,160,.18);
  border-radius:18px;
  background:#fff;
}
.followed-seller-card img{
  width:48px;
  height:48px;
  border-radius:999px;
  object-fit:cover;
  background:#fff3f7;
}
.followed-seller-card strong{
  display:block;
  color:#1f1720;
  font-size:14px;
  font-weight:950;
}
.followed-seller-card span{
  display:block;
  color:#735866;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.followed-seller-card small{
  display:block;
  color:#c75f7e;
  font-size:11px;
  font-weight:900;
}
@media(max-width:640px){
  .followed-seller-card{
    grid-template-columns:44px minmax(0,1fr);
  }
  .followed-seller-card button{
    grid-column:1/-1;
    width:100%;
  }
}


/* =========================================================
   GLOBAL TOP-LAYER FIX
   Makes every modal/drawer/action sheet open above the clicked area.
   Applies to cart, product details, image viewer, seller page, profile,
   auth/login, customer orders, and category modal.
   ========================================================= */
:root{
  --cale-layer-base: 9000;
  --cale-layer-nav: 9200;
  --cale-layer-overlay: 100000;
  --cale-layer-modal: 100100;
  --cale-layer-cart: 100300;
  --cale-layer-toast: 100500;
}

/* Floating UI should stay below real modals */
.cb-bottom-nav,
.mobile-bottom-nav,
.buyer-bottom-nav{
  z-index: var(--cale-layer-nav) !important;
}

/* Shared modal shells */
.product-detail-modal,
.image-viewer,
.seller-page-modal,
.profile-modal,
.auth-modal,
.category-modal,
#productDetailModal,
#imageViewer,
#sellerPageModal,
#profileModal,
#authModal,
#customerOrdersModal,
#categoryModal{
  position: fixed !important;
  inset: 0 !important;
  z-index: var(--cale-layer-modal) !important;
  isolation: isolate !important;
}

/* Product details should appear over seller/category/profile layers */
.product-detail-modal,
#productDetailModal{
  z-index: 100220 !important;
}

/* Seller page should appear over product detail only when opened intentionally */
.seller-page-modal,
#sellerPageModal{
  z-index: 100260 !important;
}

/* Full image viewer should always be above product details/seller page */
.image-viewer,
#imageViewer{
  z-index: 100320 !important;
}

/* Cart must be top priority because user asked View Cart to be on top */
.cart-drawer,
.buyer-cart-drawer,
#cartDrawer,
.cart-backdrop,
#cartBackdrop{
  z-index: var(--cale-layer-cart) !important;
}

/* If cart is implemented as a drawer panel inside a lower parent, force it up */
#cartDrawer{
  position: fixed !important;
  inset-block: 0 !important;
}

/* Backdrops must cover the page, not just the clicked card area */
.product-detail-modal::before,
.profile-modal::before,
.auth-modal::before,
.category-modal::before,
.image-viewer::before,
.seller-page-backdrop,
.category-modal-backdrop,
.cart-backdrop,
#cartBackdrop{
  position: fixed !important;
  inset: 0 !important;
}

/* Modal cards must render above their own backdrops */
.product-detail-card,
.image-viewer-card,
.seller-page-card,
.profile-modal-card,
.auth-modal-card,
.category-modal-card{
  position: relative !important;
  z-index: 2 !important;
}

/* Close buttons always clickable */
.product-detail-close,
.image-viewer-close,
.seller-page-close,
.category-modal-close,
.icon-btn.close,
.close{
  position: absolute;
  z-index: 5 !important;
}

/* Toast/notification above everything */
.toast,
#toast,
#miniToast,
.mini-toast{
  z-index: var(--cale-layer-toast) !important;
}

/* Prevent transformed parent/card from trapping fixed children visually */
body.product-detail-open,
body.seller-page-open,
body.image-viewer-open,
body.category-modal-open,
body.cart-open{
  overflow: hidden;
}

/* Fallback: any modal not listed but using common modal class names */
[class*="modal"].hidden,
[class*="viewer"].hidden{
  display: none !important;
}

[class*="modal"]:not(.hidden),
[class*="viewer"]:not(.hidden){
  isolation: isolate;
}

/* Mobile-specific: drawer and modals still cover bottom nav */
@media(max-width:820px){
  .product-detail-modal,
  .image-viewer,
  .seller-page-modal,
  .profile-modal,
  .auth-modal,
  .category-modal,
  #productDetailModal,
  #imageViewer,
  #sellerPageModal,
  #profileModal,
  #authModal,
  #customerOrdersModal,
  #categoryModal{
    z-index: var(--cale-layer-modal) !important;
  }

  #productDetailModal{ z-index: 100220 !important; }
  #sellerPageModal{ z-index: 100260 !important; }
  #imageViewer{ z-index: 100320 !important; }
  #cartDrawer,
  #cartBackdrop,
  .buyer-cart-drawer,
  .cart-drawer{
    z-index: var(--cale-layer-cart) !important;
  }
}


/* =========================================================
   TRUE MODAL TOP-LAYER OVERRIDE
   The previous fixed z-index still failed when a login modal opened from
   inside product/seller layers. These rules plus the JS layer manager
   force the newest opened layer above every existing card/drawer/modal.
   ========================================================= */
.auth-modal,
#authModal,
.profile-modal,
#profileModal,
#customerOrdersModal{
  position:fixed !important;
  inset:0 !important;
  z-index:300000 !important;
  isolation:isolate !important;
}

#authModal:not(.hidden),
#profileModal:not(.hidden),
#customerOrdersModal:not(.hidden){
  display:grid !important;
  place-items:center !important;
}

#authModal::before,
#profileModal::before,
#customerOrdersModal::before{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  background:rgba(39,24,35,.50) !important;
  backdrop-filter:blur(10px) !important;
}

#authModal .auth-modal-card,
#profileModal .profile-modal-card,
#customerOrdersModal .profile-modal-card{
  position:relative !important;
  z-index:2 !important;
}

/* top order defaults; JS still bumps the active layer higher inline */
#categoryModal{ z-index:240000 !important; }
#productDetailModal{ z-index:250000 !important; }
#sellerPageModal{ z-index:260000 !important; }
#imageViewer{ z-index:280000 !important; }
#cartBackdrop{ z-index:290000 !important; }
#cartDrawer{ z-index:290010 !important; }
#authModal{ z-index:310000 !important; }
#profileModal{ z-index:310000 !important; }
#customerOrdersModal{ z-index:310000 !important; }
#toast,#miniToast,.toast,.mini-toast{ z-index:350000 !important; }

#cartBackdrop{
  position:fixed !important;
  inset:0 !important;
}
#cartBackdrop.active{
  display:block !important;
  opacity:1 !important;
  pointer-events:auto !important;
  background:rgba(39,24,35,.42) !important;
  backdrop-filter:blur(8px) !important;
}

#cartDrawer{
  position:fixed !important;
}

/* Any hidden layer stays hidden even with high z-index. */
#authModal.hidden,
#profileModal.hidden,
#customerOrdersModal.hidden,
#categoryModal.hidden,
#productDetailModal.hidden,
#sellerPageModal.hidden,
#imageViewer.hidden{
  display:none !important;
}


/* =========================================================
   SERVICES & RENTALS BUYER UI
   ========================================================= */
.cb-services-wrap{
  margin:18px 0 22px;
  padding:18px;
  border:1px solid rgba(232,132,160,.22);
  border-radius:28px;
  background:linear-gradient(135deg,#fff 0%,#fff7fa 100%);
  box-shadow:0 18px 46px rgba(107,61,80,.08);
}
.buyer-service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:14px;
}
.buyer-service-card{
  display:grid;
  overflow:hidden;
  border:1px solid rgba(232,132,160,.20);
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 30px rgba(107,61,80,.06);
}
.buyer-service-img{
  height:170px;
  display:grid;
  place-items:center;
  background:#fff7fa;
  overflow:hidden;
}
.service-card-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.service-no-img{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
.buyer-service-body{
  display:grid;
  gap:8px;
  padding:14px;
}
.buyer-service-body h3{
  margin:0;
  color:#1f1720;
  font-size:16px;
  line-height:1.2;
}
.buyer-service-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.buyer-service-meta span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 9px;
  border-radius:999px;
  color:#8b4057;
  background:#ffe9f0;
  font-size:11px;
  font-weight:900;
}
.buyer-service-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.buyer-service-foot strong{
  color:#1f1720;
  font-size:20px;
}
.buyer-service-foot .primary{
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
}
.service-booking-modal{
  position:fixed;
  inset:0;
  z-index:310000;
  display:grid;
  place-items:center;
  padding:18px;
}
.service-booking-modal.hidden{display:none!important}
.service-booking-backdrop{
  position:fixed;
  inset:0;
  background:rgba(39,24,35,.50);
  backdrop-filter:blur(10px);
}
.service-booking-card{
  position:relative;
  z-index:2;
  width:min(680px,100%);
  max-height:90dvh;
  overflow:auto;
  border:1px solid rgba(232,132,160,.28);
  border-radius:30px;
  background:#fff;
  box-shadow:0 30px 90px rgba(39,24,35,.28);
}
.service-booking-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:4;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#fff;
  box-shadow:0 12px 28px rgba(107,61,80,.16);
  font-size:22px;
  font-weight:950;
}
.service-booking-content{
  padding:24px;
}
.service-booking-head{
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:16px;
  align-items:center;
  margin-bottom:16px;
}
.service-booking-thumb{
  width:110px;
  height:110px;
  border-radius:22px;
  overflow:hidden;
  background:#fff7fa;
}
.service-booking-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.service-booking-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.service-booking-form label{
  display:grid;
  gap:6px;
  color:#6d4554;
  font-weight:900;
}
.service-booking-form input,
.service-booking-form textarea{
  min-height:44px;
  padding:10px 12px;
  border:1px solid rgba(232,132,160,.25);
  border-radius:14px;
  background:#fff;
  font:inherit;
}
.service-booking-form .wide,
.service-booking-form .primary.wide{
  grid-column:1/-1;
}
.booking-link-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0 0 14px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:950;
  background:linear-gradient(135deg,#5b3440,#d96f8f);
}
.seller-page-service-grid{
  display:grid;
  gap:10px;
}
.seller-page-service-card{
  display:grid;
  grid-template-columns:82px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(232,132,160,.20);
  border-radius:20px;
  background:#fff;
}
.seller-service-img{
  width:82px;
  height:82px;
  border-radius:16px;
  overflow:hidden;
  background:#fff7fa;
}
.seller-page-service-card h4{margin:0;color:#1f1720}
.seller-page-service-card p{margin:4px 0;color:#735866;font-size:12px}
@media(max-width:760px){
  .cb-services-wrap{padding:14px;border-radius:22px}
  .buyer-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .buyer-service-img{height:120px}
  .buyer-service-body{padding:10px}
  .buyer-service-foot{display:grid;gap:8px}
  .service-booking-modal{align-items:end;padding:0}
  .service-booking-card{width:100%;border-radius:26px 26px 0 0;max-height:88dvh}
  .service-booking-head{grid-template-columns:76px minmax(0,1fr)}
  .service-booking-thumb{width:76px;height:76px}
  .service-booking-form{grid-template-columns:1fr}
  .seller-page-service-card{grid-template-columns:64px minmax(0,1fr);gap:10px}
  .seller-service-img{width:64px;height:64px}
  .seller-page-service-card button{grid-column:1/-1}
}


/* =========================================================
   CALE BOUTIQUE SMOOTH TRANSITION EFFECTS
   Buyer shop: smooth cards, modals, cart, seller page, service booking
   ========================================================= */
:root{
  --cale-ease-soft:cubic-bezier(.22,.61,.36,1);
  --cale-ease-pop:cubic-bezier(.16,1,.3,1);
  --cale-speed-fast:160ms;
  --cale-speed:260ms;
  --cale-speed-slow:420ms;
}

/* General interactive polish */
button,
a,
input,
select,
textarea,
.buyer-product-card,
.buyer-service-card,
.seller-page-product,
.seller-page-service-card,
.category-modal-option,
.seller-strip-btn,
.buyer-category-btn,
.cb-bottom-nav button{
  transition:
    transform var(--cale-speed) var(--cale-ease-soft),
    box-shadow var(--cale-speed) var(--cale-ease-soft),
    background var(--cale-speed) var(--cale-ease-soft),
    border-color var(--cale-speed) var(--cale-ease-soft),
    color var(--cale-speed) var(--cale-ease-soft),
    opacity var(--cale-speed) var(--cale-ease-soft),
    filter var(--cale-speed) var(--cale-ease-soft) !important;
}

button:hover,
a:hover,
.buyer-category-btn:hover,
.seller-strip-btn:hover{
  transform:translateY(-1px);
}

button:active,
a:active,
.buyer-category-btn:active,
.seller-strip-btn:active{
  transform:translateY(0) scale(.985);
}

input:focus,
select:focus,
textarea:focus{
  outline:none !important;
  border-color:rgba(216,111,142,.55) !important;
  box-shadow:0 0 0 4px rgba(216,111,142,.12) !important;
}

/* Product/service card motion */
.buyer-product-card,
.buyer-service-card,
.seller-page-product,
.seller-page-service-card{
  will-change:transform, box-shadow;
  animation:caleCardIn var(--cale-speed-slow) var(--cale-ease-pop) both;
}

.buyer-product-card:hover,
.buyer-service-card:hover,
.seller-page-product:hover,
.seller-page-service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 48px rgba(107,61,80,.13) !important;
}

.buyer-product-card:hover img,
.buyer-service-card:hover img,
.seller-page-product:hover img,
.seller-page-service-card:hover img{
  transform:scale(1.025);
}

.buyer-product-card img,
.buyer-service-card img,
.seller-page-product img,
.seller-page-service-card img,
.service-card-img,
.seller-page-img{
  transition:transform var(--cale-speed-slow) var(--cale-ease-pop), filter var(--cale-speed) var(--cale-ease-soft) !important;
}

/* Hero soft entrance */
.cb-hero,
.buyer-hero,
.kiosk-hero-wrap{
  animation:caleHeroIn 520ms var(--cale-ease-pop) both;
}

/* Category / services / catalog sections */
.cb-catalog-wrap,
.cb-services-wrap,
.cb-rewards-panel{
  animation:caleSectionIn 460ms var(--cale-ease-pop) both;
}

/* Modal entrance animations */
#authModal:not(.hidden),
#profileModal:not(.hidden),
#customerOrdersModal:not(.hidden),
#productDetailModal:not(.hidden),
#sellerPageModal:not(.hidden),
#imageViewer:not(.hidden),
#categoryModal:not(.hidden),
#serviceBookingModal:not(.hidden){
  animation:caleOverlayFade var(--cale-speed) var(--cale-ease-soft) both;
}

#authModal:not(.hidden) .auth-modal-card,
#profileModal:not(.hidden) .profile-modal-card,
#customerOrdersModal:not(.hidden) .profile-modal-card,
#productDetailModal:not(.hidden) .product-detail-card,
#sellerPageModal:not(.hidden) .seller-page-card,
#imageViewer:not(.hidden) .image-viewer-card,
#categoryModal:not(.hidden) .category-modal-card,
#serviceBookingModal:not(.hidden) .service-booking-card{
  animation:caleModalRise var(--cale-speed-slow) var(--cale-ease-pop) both;
  will-change:transform, opacity;
}

#sellerPageModal:not(.hidden) .seller-page-card,
#serviceBookingModal:not(.hidden) .service-booking-card{
  animation-name:caleModalSoftZoom;
}

/* Backdrop fade */
.seller-page-backdrop,
.service-booking-backdrop,
.category-modal-backdrop,
.cart-modal-backdrop,
#cartBackdrop{
  transition:opacity var(--cale-speed) var(--cale-ease-soft), backdrop-filter var(--cale-speed) var(--cale-ease-soft) !important;
}

/* Cart drawer smooth slide */
#cartDrawer,
.buyer-ticket-panel,
.cart-drawer{
  transition:
    transform var(--cale-speed-slow) var(--cale-ease-pop),
    opacity var(--cale-speed) var(--cale-ease-soft),
    box-shadow var(--cale-speed) var(--cale-ease-soft) !important;
  will-change:transform;
}

#cartDrawer.collapsed{
  transform:translateY(calc(100% - 74px));
}

#cartDrawer.expanded{
  transform:translateY(0);
}

/* Bottom nav tactile feel */
.cb-bottom-nav{
  transition:transform var(--cale-speed) var(--cale-ease-soft), box-shadow var(--cale-speed) var(--cale-ease-soft) !important;
}

.cb-bottom-nav button:hover{
  transform:translateY(-2px);
}

.cb-bottom-nav button.active,
.cb-bottom-nav button:focus-visible{
  box-shadow:0 8px 18px rgba(107,61,80,.10);
}

/* Seller strip and booking panels */
.seller-shop-strip,
.seller-page-about,
.service-booking-card,
.product-detail-section{
  transition:transform var(--cale-speed) var(--cale-ease-soft), box-shadow var(--cale-speed) var(--cale-ease-soft), border-color var(--cale-speed) var(--cale-ease-soft) !important;
}

.seller-shop-strip:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 54px rgba(107,61,80,.13) !important;
}

/* Pagination and chips */
.buyer-pagination button,
.seller-badge-chip,
.buyer-service-meta span,
.category-pill,
.chip{
  transition:transform var(--cale-speed-fast) var(--cale-ease-soft), background var(--cale-speed) var(--cale-ease-soft), color var(--cale-speed) var(--cale-ease-soft), opacity var(--cale-speed) var(--cale-ease-soft) !important;
}

.buyer-pagination button:hover,
.seller-badge-chip:hover,
.category-pill:hover,
.chip:hover{
  transform:translateY(-1px);
}

/* Loading-feel stagger for grids */
.buyer-product-card:nth-child(2n),
.buyer-service-card:nth-child(2n){ animation-delay:35ms; }
.buyer-product-card:nth-child(3n),
.buyer-service-card:nth-child(3n){ animation-delay:70ms; }
.buyer-product-card:nth-child(4n),
.buyer-service-card:nth-child(4n){ animation-delay:105ms; }

@keyframes caleOverlayFade{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes caleModalRise{
  from{ opacity:0; transform:translateY(22px) scale(.985); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

@keyframes caleModalSoftZoom{
  from{ opacity:0; transform:translateY(16px) scale(.96); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

@keyframes caleCardIn{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes caleSectionIn{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes caleHeroIn{
  from{ opacity:0; transform:translateY(18px) scale(.99); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

/* Respect accessibility setting */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }
}

.seller-type-chip{
  background:linear-gradient(135deg,#5b3440,#d96f8f)!important;
  color:#fff!important;
}
.seller-empty-state{
  margin:14px 0 0;
  padding:18px;
  border:1px dashed rgba(216,111,142,.28);
  border-radius:18px;
  background:#fff7fa;
  color:#7d6070;
  text-align:center;
  font-weight:800;
}


/* =========================================================
   BUYER CATALOG PRODUCTS / SERVICES TOGGLE
   ========================================================= */
.catalog-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.shop-mode-toggle{
  display:flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid rgba(216,111,142,.20);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  box-shadow:0 10px 24px rgba(107,61,80,.08);
}
.shop-mode-toggle button{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  background:transparent;
  color:#9b6174;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  transition:all .22s cubic-bezier(.22,.61,.36,1);
}
.shop-mode-toggle button.active{
  background:linear-gradient(135deg,#5b3440,#d96f8f);
  color:#fff;
  box-shadow:0 8px 18px rgba(107,61,80,.16);
}
.shop-mode-toggle button:hover{
  transform:translateY(-1px);
}
.catalog-service-grid{
  animation:caleSectionIn 320ms cubic-bezier(.16,1,.3,1) both;
}
.catalog-head-actions .buyer-category-btn.hidden{
  display:none!important;
}
@media (max-width:720px){
  .cb-catalog-head{
    gap:12px;
  }
  .catalog-head-actions{
    width:100%;
    justify-content:space-between;
  }
  .shop-mode-toggle{
    flex:1;
  }
  .shop-mode-toggle button{
    flex:1;
    padding:9px 10px;
  }
  .catalog-head-actions .buyer-category-btn{
    flex:0 0 auto;
  }
}


/* =========================================================
   PRODUCTS / SERVICES TOGGLE V2 - force styled pills
   ========================================================= */
.buyer-page .catalog-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.buyer-page .shop-mode-toggle{
  display:flex!important;
  align-items:center!important;
  gap:3px!important;
  padding:4px!important;
  border:1px solid rgba(216,111,142,.22)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.86)!important;
  box-shadow:0 10px 24px rgba(107,61,80,.08)!important;
}
.buyer-page .shop-mode-toggle > .shop-mode-pill,
.buyer-page .shop-mode-toggle > button[data-shop-mode]{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  outline:0!important;
  margin:0!important;
  width:auto!important;
  min-width:0!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#9b6174!important;
  font:900 13px/1 system-ui,-apple-system,Segoe UI,sans-serif!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.buyer-page .shop-mode-toggle > .shop-mode-pill.active,
.buyer-page .shop-mode-toggle > button[data-shop-mode].active{
  background:linear-gradient(135deg,#5b3440,#d96f8f)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(107,61,80,.16)!important;
}
.buyer-page .catalog-head-actions #categoryPickerBtn{
  height:42px!important;
  min-height:42px!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
}
@media (max-width:720px){
  .buyer-page .catalog-head-actions{
    width:100%!important;
    justify-content:space-between!important;
  }
  .buyer-page .shop-mode-toggle{
    flex:1 1 auto!important;
    max-width:210px!important;
  }
  .buyer-page .shop-mode-toggle > .shop-mode-pill,
  .buyer-page .shop-mode-toggle > button[data-shop-mode]{
    flex:1 1 0!important;
    padding:0 8px!important;
    font-size:12px!important;
  }
  .buyer-page .catalog-head-actions #categoryPickerBtn{
    flex:0 0 auto!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* =========================================================
   MOBILE CATALOG ZOOM / OVERFLOW FIX
   Purpose: make the buyer catalog feel native on 390-430px phones.
   ========================================================= */
html,
body.buyer-page{
  max-width:100% !important;
  overflow-x:hidden !important;
}

body.buyer-page:not(.customer-gate-active) .buyer-main,
body.buyer-page:not(.customer-gate-active) .buyer-shop,
body.buyer-page:not(.customer-gate-active) .cb-shell{
  max-width:100% !important;
  overflow-x:hidden !important;
}

@media (max-width:540px){
  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .cb-shell{
    width:100% !important;
    max-width:100% !important;
  }

  .cb-catalog-wrap{
    padding:10px !important;
    border-radius:22px !important;
    overflow:hidden !important;
  }

  .cb-catalog-head{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    margin-bottom:10px !important;
  }

  .cb-catalog-title{
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  .cb-catalog-title h2{
    font-size:20px !important;
    line-height:.96 !important;
    letter-spacing:-.055em !important;
    max-width:96px !important;
  }

  .catalog-head-actions{
    width:auto !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    margin-left:auto !important;
  }

  .shop-mode-toggle{
    flex:0 0 auto !important;
    max-width:none !important;
    width:auto !important;
    height:34px !important;
    padding:3px !important;
    gap:2px !important;
  }

  .shop-mode-toggle > .shop-mode-pill,
  .shop-mode-toggle > button[data-shop-mode]{
    flex:0 0 auto !important;
    height:28px !important;
    padding:0 9px !important;
    font-size:11px !important;
    line-height:1 !important;
  }

  .catalog-head-actions #categoryPickerBtn,
  #categoryPickerBtn{
    height:34px !important;
    min-height:34px !important;
    padding:0 11px !important;
    border-radius:999px !important;
    font-size:11px !important;
    white-space:nowrap !important;
  }

  #categoryPickerLabel{
    font-size:11px !important;
  }

  /* Two real columns, no horizontal crop. */
  #shopProducts.buyer-product-grid{
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    padding-bottom:calc(var(--cale-mobile-safe-bottom, 120px) + 26px) !important;
    overflow:visible !important;
  }

  #shopProducts.buyer-service-grid,
  #shopProducts.catalog-service-grid{
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    padding-bottom:calc(var(--cale-mobile-safe-bottom, 120px) + 26px) !important;
  }

  #shopProducts .buyer-product-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:256px !important;
    padding:7px !important;
    gap:6px !important;
    border-radius:18px !important;
    overflow:hidden !important;
  }

  #shopProducts .buyer-product-card .buyer-img-wrap{
    width:100% !important;
    height:106px !important;
    min-height:106px !important;
    border-radius:15px !important;
  }

  #shopProducts .quick-view,
  #shopProducts .product-heart{
    top:7px !important;
    width:26px !important;
    height:26px !important;
  }

  #shopProducts .quick-view{
    left:7px !important;
    min-width:54px !important;
    width:auto !important;
    padding:0 8px !important;
    font-size:10px !important;
  }

  #shopProducts .product-heart{
    right:7px !important;
    font-size:12px !important;
  }

  #shopProducts .buyer-card-body{
    gap:4px !important;
    min-width:0 !important;
  }

  #shopProducts .buyer-card-body .mini-label{
    font-size:8px !important;
    line-height:1 !important;
    letter-spacing:.08em !important;
  }

  #shopProducts .buyer-card-body h3{
    min-height:29px !important;
    font-size:11px !important;
    line-height:1.16 !important;
    word-break:break-word !important;
  }

  #shopProducts .buyer-card-foot strong{
    font-size:15px !important;
    line-height:1 !important;
  }

  #shopProducts .buyer-card-foot span,
  #shopProducts .buyer-seller-line{
    font-size:8px !important;
  }

  #shopProducts .product-rating{
    font-size:9px !important;
    min-height:11px !important;
  }

  #shopProducts .buyer-meta-grid{
    gap:3px !important;
    min-height:18px !important;
  }

  #shopProducts .buyer-meta-grid span{
    max-width:100% !important;
    padding:3px 5px !important;
    font-size:7px !important;
  }

  #shopProducts .quick-add{
    min-height:31px !important;
    grid-template-columns:24px 1fr 20px !important;
    gap:3px !important;
    padding:0 7px !important;
    border-radius:999px !important;
    font-size:11px !important;
  }

  #shopProducts .quick-add i{
    font-size:14px !important;
  }
}

@media (max-width:380px){
  #shopProducts.buyer-product-grid{
    gap:7px !important;
  }

  #shopProducts .buyer-product-card{
    min-height:246px !important;
    padding:6px !important;
  }

  #shopProducts .buyer-product-card .buyer-img-wrap{
    height:98px !important;
    min-height:98px !important;
  }

  .shop-mode-toggle > .shop-mode-pill,
  .shop-mode-toggle > button[data-shop-mode]{
    padding:0 7px !important;
    font-size:10px !important;
  }

  .catalog-head-actions #categoryPickerBtn,
  #categoryPickerBtn{
    padding:0 9px !important;
  }
}


/* =========================================================
   MOBILE HEADER OVERLAP + SERVICES GRID MATCH PRODUCTS
   ========================================================= */
@media (max-width:540px){
  /* Stop Products/Services from sitting on top of Best Sellers */
  .cb-catalog-head{
    display:grid !important;
    grid-template-columns:1fr !important;
    align-items:start !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    margin-bottom:10px !important;
  }

  .cb-catalog-title{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .cb-catalog-title h2{
    max-width:none !important;
    width:100% !important;
    font-size:21px !important;
    line-height:1 !important;
    letter-spacing:-.05em !important;
    white-space:normal !important;
    overflow:visible !important;
  }

  .catalog-head-actions{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    margin:0 !important;
  }

  .shop-mode-toggle{
    flex:1 1 auto !important;
    max-width:190px !important;
    min-width:0 !important;
    height:34px !important;
    padding:3px !important;
  }

  .shop-mode-toggle > .shop-mode-pill,
  .shop-mode-toggle > button[data-shop-mode]{
    flex:1 1 0 !important;
    min-width:0 !important;
    height:28px !important;
    padding:0 8px !important;
    font-size:10px !important;
    text-align:center !important;
  }

  .catalog-head-actions #categoryPickerBtn,
  #categoryPickerBtn{
    flex:0 0 auto !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 11px !important;
    font-size:11px !important;
    white-space:nowrap !important;
  }

  /* Services mode must use the same 2-column catalog arrangement as products */
  #shopProducts.buyer-service-grid,
  #shopProducts.catalog-service-grid{
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    padding-bottom:calc(var(--cale-mobile-safe-bottom, 120px) + 26px) !important;
    overflow:visible !important;
  }

  #shopProducts .buyer-service-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:256px !important;
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
    padding:7px !important;
    border:0 !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 14px 32px rgba(80,35,45,.10) !important;
    overflow:hidden !important;
  }

  #shopProducts .buyer-service-img{
    width:100% !important;
    height:106px !important;
    min-height:106px !important;
    border-radius:15px !important;
    overflow:hidden !important;
  }

  #shopProducts .buyer-service-img img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  #shopProducts .buyer-service-body{
    display:grid !important;
    gap:4px !important;
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  #shopProducts .buyer-service-body .mini-label{
    font-size:8px !important;
    line-height:1 !important;
    letter-spacing:.08em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  #shopProducts .buyer-service-body h3{
    margin:0 !important;
    min-height:29px !important;
    font-size:11px !important;
    line-height:1.16 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  #shopProducts .buyer-service-body .soft-text{
    min-height:28px !important;
    font-size:8px !important;
    line-height:1.25 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  #shopProducts .buyer-service-meta{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:3px !important;
    min-height:18px !important;
  }

  #shopProducts .buyer-service-meta span{
    max-width:100% !important;
    padding:3px 5px !important;
    border-radius:999px !important;
    font-size:7px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  #shopProducts .buyer-service-foot{
    margin-top:auto !important;
    display:grid !important;
    gap:5px !important;
  }

  #shopProducts .buyer-service-foot strong{
    font-size:15px !important;
    line-height:1 !important;
  }

  #shopProducts .buyer-service-foot .primary{
    min-height:31px !important;
    width:100% !important;
    padding:0 7px !important;
    border-radius:999px !important;
    font-size:11px !important;
  }
}

@media (max-width:380px){
  #shopProducts.buyer-service-grid,
  #shopProducts.catalog-service-grid{
    gap:7px !important;
  }

  #shopProducts .buyer-service-card{
    min-height:246px !important;
    padding:6px !important;
  }

  #shopProducts .buyer-service-img{
    height:98px !important;
    min-height:98px !important;
  }

  .shop-mode-toggle{
    max-width:176px !important;
  }

  .shop-mode-toggle > .shop-mode-pill,
  .shop-mode-toggle > button[data-shop-mode]{
    font-size:9px !important;
    padding:0 6px !important;
  }
}

/* =========================================================
   HOTFIX — mobile catalog bottom spacing cleanup
   Goal: remove the huge blank gap above pagination and the
   extra dead space below pagination while keeping clearance
   for the fixed bottom nav.
   ========================================================= */
@media (max-width: 420px){
  /* Do not put the bottom-nav clearance inside the grid itself.
     That was creating the big empty block before pagination. */
  #shopProducts.buyer-product-grid,
  .cb-catalog-wrap #shopProducts.buyer-product-grid{
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }

  /* If services are shown in the same storefront section,
     keep the spacing tight and consistent. */
  #shopProducts.buyer-service-grid,
  #shopProducts.catalog-service-grid,
  #shopServices.buyer-service-grid,
  #shopServices.catalog-service-grid{
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }

  /* Keep pagination close to the grid, then leave just enough room
     below it so it clears the fixed bottom nav comfortably. */
  .buyer-pagination{
    margin: 10px auto calc(var(--cale-mobile-safe-bottom, 92px) - 22px) !important;
    padding: 12px !important;
  }

  .pagination-summary{
    margin: 0 0 6px !important;
  }

  .pagination-actions{
    margin: 0 !important;
  }

  /* Remove extra bottom spacing from the catalog wrapper itself. */
  .cb-catalog-wrap{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}


/* =========================================================
   REAL MOBILE BOTTOM GAP FIX
   Device width is around 430px, so the previous 420px media
   rule did not apply. This version targets 540px and overrides
   all older large bottom-padding rules.
   ========================================================= */
@media (max-width: 540px){
  :root{
    --cale-mobile-dock-h: 54px !important;
    --cale-mobile-safe-bottom: calc(var(--cale-mobile-dock-h) + 18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-bottom: var(--cale-mobile-safe-bottom) !important;
  }

  /* Remove the fake clearance from inside the product grid.
     This is what created the big blank area before pagination. */
  body.buyer-page #shopProducts.buyer-product-grid,
  body.buyer-page .cb-catalog-wrap #shopProducts.buyer-product-grid,
  body.buyer-page #shopProducts.buyer-service-grid,
  body.buyer-page #shopProducts.catalog-service-grid,
  body.buyer-page #shopServices.buyer-service-grid,
  body.buyer-page #shopServices.catalog-service-grid{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Put pagination immediately after the last product row. */
  body.buyer-page #productPagination,
  body.buyer-page .buyer-pagination{
    margin: 8px auto 0 !important;
    padding: 12px !important;
  }

  body.buyer-page .pagination-summary{
    margin: 0 0 6px !important;
  }

  body.buyer-page .pagination-actions{
    margin: 0 !important;
  }

  body.buyer-page .cb-catalog-wrap{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Keep bottom nav centered, but do not force large content clearance. */
  body.buyer-page .cb-bottom-nav{
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
  }
}


/* =========================================================
   MOBILE SCROLL-TO-TOP BUTTON
   Appears only after the user scrolls down, so buyers can jump
   back to the top quickly.
   ========================================================= */
.scroll-top-fab{
  position:fixed;
  left:16px;
  bottom:calc(84px + env(safe-area-inset-bottom, 0px));
  z-index:9300;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:999px;
  color:#fff;
  background:#111827;
  box-shadow:0 14px 28px rgba(17,24,39,.22);
  cursor:pointer;
  opacity:1;
  transform:translateY(0) scale(1);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease,
    box-shadow .18s ease;
}

.scroll-top-fab span{
  display:block;
  margin-top:2px;
  font-size:22px;
  line-height:1;
  font-weight:950;
}

.scroll-top-fab.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px) scale(.92);
}

.scroll-top-fab:hover,
.scroll-top-fab:focus-visible{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 18px 34px rgba(17,24,39,.28);
}

body.product-detail-open .scroll-top-fab,
body.seller-page-open .scroll-top-fab,
body.image-viewer-open .scroll-top-fab,
body.category-modal-open .scroll-top-fab,
body.cart-open .scroll-top-fab,
body.auth-open .scroll-top-fab,
body.profile-open .scroll-top-fab,
body.customer-gate-active .scroll-top-fab{
  display:none !important;
}

@media (max-width:820px){
  .scroll-top-fab{
    left:16px !important;
    bottom:calc(var(--cale-mobile-dock-h, 54px) + 24px + env(safe-area-inset-bottom, 0px)) !important;
    width:38px !important;
    height:38px !important;
  }

  .scroll-top-fab span{
    font-size:20px !important;
  }
}

@media (min-width:821px){
  .scroll-top-fab{
    right:24px;
    left:auto;
    bottom:24px;
  }
}


/* =========================================================
   Scroll-to-top button UI polish
   - place it beside the mobile bottom nav
   - improve visual style with icon + label
   ========================================================= */
.cb-mobile-dock-wrap{ display:contents; }

@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(246px, calc(100vw - 82px)) !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  .cb-mobile-dock-wrap .scroll-top-fab{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    padding: 0 12px 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(214, 128, 152, .28) !important;
    background: rgba(255,255,255,.97) !important;
    color: #111 !important;
    box-shadow: 0 18px 34px rgba(80,35,45,.16) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    flex: 0 0 auto !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    display: none !important;
  }

  .scroll-top-fab .scroll-top-fab-icon{
    display: inline-grid !important;
    place-items: center !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #111827 0%, #2b1020 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  }

  .scroll-top-fab .scroll-top-fab-text{
    display: inline-block !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    color: #111 !important;
  }
}

@media (min-width: 821px){
  .cb-mobile-dock-wrap .scroll-top-fab,
  .scroll-top-fab{
    position: fixed !important;
    right: 24px !important;
    left: auto !important;
    bottom: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    height: 48px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(214, 128, 152, .28) !important;
    background: rgba(255,255,255,.97) !important;
    color: #111 !important;
  }

  .scroll-top-fab.hidden{ display:none !important; }

  .scroll-top-fab .scroll-top-fab-icon{
    display: inline-grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #111827 0%, #2b1020 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .scroll-top-fab .scroll-top-fab-text{
    font-size: 12px !important;
    font-weight: 800 !important;
  }
}


/* =========================================================
   Scroll-to-top INSIDE bottom nav + animation
   Cleaner dock: Top button becomes part of the nav itself.
   ========================================================= */
@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    display: block !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 42px !important;
    grid-template-columns: none !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition:
      width .24s cubic-bezier(.22,.61,.36,1),
      transform .24s cubic-bezier(.22,.61,.36,1),
      box-shadow .24s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width: 42px !important;
    height: 42px !important;
    min-width: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    transform: translateZ(0) !important;
    transition:
      opacity .22s cubic-bezier(.22,.61,.36,1),
      transform .22s cubic-bezier(.22,.61,.36,1),
      background .22s cubic-bezier(.22,.61,.36,1),
      color .22s cubic-bezier(.22,.61,.36,1),
      width .22s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button span,
  .cb-mobile-dock-wrap .cb-bottom-nav button .scroll-top-fab-icon{
    font-size: 17px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav b,
  .cb-mobile-dock-wrap .scroll-top-fab-text{
    display: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button.active{
    color: #fff !important;
    background: #111 !important;
  }

  /* The Top button is now a real nav item. */
  .cb-mobile-dock-wrap .cb-bottom-nav .nav-scroll-top{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #111827 0%, #2b1020 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 9px 18px rgba(17,24,39,.18) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    animation: navTopPop .28s cubic-bezier(.22,.61,.36,1) both !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav .nav-scroll-top.hidden{
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(.72) translateY(8px) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav .nav-scroll-top .scroll-top-fab-icon{
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 950 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav .nav-scroll-top:not(.hidden)::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(17,24,39,.18);
    animation: navTopPulse 1.45s ease-out infinite;
    pointer-events: none;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button:not(.nav-scroll-top):active{
    transform: scale(.94) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav .cart-count-badge{
    top: 3px !important;
    right: 5px !important;
  }
}

@keyframes navTopPop{
  from{ opacity:0; transform:scale(.72) translateY(8px); }
  to{ opacity:1; transform:scale(1) translateY(0); }
}

@keyframes navTopPulse{
  0%{ opacity:.38; transform:scale(.9); }
  100%{ opacity:0; transform:scale(1.28); }
}


/* =========================================================
   Scroll-to-top right-side dock fix
   - Top button appears on the right side of the bottom nav.
   - The 4 nav buttons keep the same alignment and spacing.
   - Top button animates independently without resizing the nav.
   ========================================================= */
@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    pointer-events: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(236px, calc(100vw - 84px)) !important;
    min-width: 236px !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-flow: initial !important;
    grid-auto-columns: initial !important;
    gap: 3px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    pointer-events: auto !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button.active{
    color: #fff !important;
    background: #111 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav b{
    display: none !important;
  }

  /* Top button is independent, so it never pushes/moves the 4 nav items. */
  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    position: static !important;
    flex: 0 0 auto !important;
    width: 50px !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    min-width: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(214,128,152,.25) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.97) !important;
    color: #111 !important;
    box-shadow: 0 18px 36px rgba(80,35,45,.16) !important;
    display: grid !important;
    grid-template-rows: 24px 12px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
    overflow: hidden !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    animation: topSideIn .24s cubic-bezier(.22,.61,.36,1) both !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(12px) scale(.86) !important;
    width: 0 !important;
    min-width: 0 !important;
    border-width: 0 !important;
    margin-left: -8px !important;
    padding: 0 !important;
  }

  .scroll-top-side .scroll-top-fab-icon{
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #111827 0%, #2b1020 100%) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  }

  .scroll-top-side .scroll-top-fab-text{
    display: block !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
  }

  .scroll-top-side:not(.hidden)::after{
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px solid rgba(17,24,39,.14);
    animation: topSidePulse 1.5s ease-out infinite;
    pointer-events: none;
  }
}

@media (max-width: 380px){
  .cb-mobile-dock-wrap .cb-bottom-nav{
    width: min(224px, calc(100vw - 76px)) !important;
    min-width: 224px !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    width: 46px !important;
    min-width: 46px !important;
  }
}

@keyframes topSideIn{
  from{ opacity: 0; transform: translateX(12px) scale(.86); }
  to{ opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes topSidePulse{
  0%{ opacity:.34; transform:scale(.9); }
  100%{ opacity:0; transform:scale(1.18); }
}


/* =========================================================
   FINAL: keep bottom nav fixed center while Top appears right
   The wrapper is the exact nav width and stays centered.
   The Top button is absolutely positioned to the right, so it
   never changes the alignment of the 4 nav buttons.
   ========================================================= */
@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    display: block !important;
    width: min(236px, calc(100vw - 84px)) !important;
    min-width: 236px !important;
    max-width: calc(100vw - 84px) !important;
    pointer-events: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    pointer-events: auto !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button.active{
    color: #fff !important;
    background: #111 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav b{
    display: none !important;
  }

  /* Top button appears OUTSIDE the nav, on the right side.
     It is not part of nav layout, so the 4 icons remain centered. */
  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    position: absolute !important;
    left: calc(100% + 8px) !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(0) scale(1) !important;
    width: 50px !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    min-width: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(214,128,152,.25) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.97) !important;
    color: #111 !important;
    box-shadow: 0 18px 36px rgba(80,35,45,.16) !important;
    display: grid !important;
    grid-template-rows: 24px 12px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    animation: topSideIn .24s cubic-bezier(.22,.61,.36,1) both !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    width: 50px !important;
    min-width: 50px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(10px) scale(.86) !important;
    border-width: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .scroll-top-side .scroll-top-fab-icon{
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #111827 0%, #2b1020 100%) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  }

  .scroll-top-side .scroll-top-fab-text{
    display: block !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
  }
}

@media (max-width: 380px){
  .cb-mobile-dock-wrap{
    width: min(224px, calc(100vw - 76px)) !important;
    min-width: 224px !important;
    max-width: calc(100vw - 76px) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab,
  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    width: 46px !important;
    min-width: 46px !important;
    left: calc(100% + 6px) !important;
  }
}


/* =========================================================
   CLEAN RIGHT-SIDE TOP BUTTON
   Better visual treatment: no cramped label, same nav language,
   fixed nav stays centered, Top button floats to the right.
   ========================================================= */
@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    width: min(236px, calc(100vw - 84px)) !important;
    min-width: 236px !important;
    max-width: calc(100vw - 84px) !important;
    pointer-events: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 6px !important;
    border-radius: 999px !important;
    pointer-events: auto !important;
  }

  /* Right-side top button: clean circular action, not a squeezed mini-card. */
  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    position: absolute !important;
    left: calc(100% + 8px) !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) scale(1) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(17,17,17,.18) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: cleanTopIn .22s cubic-bezier(.22,.61,.36,1) both !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    width: 44px !important;
    min-width: 44px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) translateX(10px) scale(.82) !important;
    border: 0 !important;
  }

  .scroll-top-side .scroll-top-fab-icon,
  .scroll-top-fab .scroll-top-fab-icon{
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: none !important;
  }

  .scroll-top-side .scroll-top-fab-text,
  .scroll-top-fab .scroll-top-fab-text{
    display: none !important;
  }

  .scroll-top-side:not(.hidden)::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.16);
    animation: cleanTopPulse 1.4s ease-out infinite;
    pointer-events: none;
  }
}

@media (max-width: 380px){
  .cb-mobile-dock-wrap{
    width: min(224px, calc(100vw - 76px)) !important;
    min-width: 224px !important;
    max-width: calc(100vw - 76px) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab,
  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    left: calc(100% + 6px) !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}

@keyframes cleanTopIn{
  from{ opacity: 0; transform: translateY(-50%) translateX(10px) scale(.82); }
  to{ opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

@keyframes cleanTopPulse{
  0%{ opacity:.28; transform:scale(.88); }
  100%{ opacity:0; transform:scale(1.22); }
}


/* =========================================================
   FINAL WHITE DOCKED TOP BUTTON
   Goal:
   - Keep the 4-button bottom nav perfectly centered.
   - Dock the Top button to the right edge as a matching white control.
   - No black competing active state.
   - Smooth but subtle entrance animation.
   ========================================================= */
@media (max-width: 820px){
  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    width: min(236px, calc(100vw - 84px)) !important;
    min-width: 236px !important;
    max-width: calc(100vw - 84px) !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    display: block !important;
    pointer-events: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-flow: initial !important;
    grid-auto-columns: initial !important;
    gap: 3px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    pointer-events: auto !important;
    transition:
      transform .22s cubic-bezier(.22,.61,.36,1),
      box-shadow .22s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    transition:
      transform .18s cubic-bezier(.22,.61,.36,1),
      background .18s cubic-bezier(.22,.61,.36,1),
      color .18s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button.active{
    color: #fff !important;
    background: #111 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button:active{
    transform: scale(.94) !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav b{
    display: none !important;
  }

  /* Docked Top button. It is absolutely positioned outside the nav,
     so it never changes the nav alignment. */
  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    position: absolute !important;
    left: calc(100% + 8px) !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 50px !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    min-width: 50px !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    color: #111 !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.16) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    transform: translateX(0) scale(1) !important;
    animation: caleTopDockIn .24s cubic-bezier(.22,.61,.36,1) both !important;
    transition:
      opacity .22s cubic-bezier(.22,.61,.36,1),
      visibility .22s cubic-bezier(.22,.61,.36,1),
      transform .22s cubic-bezier(.22,.61,.36,1),
      box-shadow .22s cubic-bezier(.22,.61,.36,1),
      background .22s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    width: 50px !important;
    min-width: 50px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(12px) scale(.86) !important;
    margin: 0 !important;
    padding: 6px !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side:active,
  .cb-mobile-dock-wrap .scroll-top-fab:active{
    transform: translateX(0) scale(.94) !important;
  }

  .scroll-top-side .scroll-top-fab-icon,
  .scroll-top-fab .scroll-top-fab-icon{
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: none !important;
    transform: translateY(1px) !important;
  }

  .scroll-top-side .scroll-top-fab-text,
  .scroll-top-fab .scroll-top-fab-text{
    display: none !important;
  }

  /* Soft halo to connect it visually with the nav without competing
     with the selected black nav item. */
  .scroll-top-side:not(.hidden)::after,
  .scroll-top-fab:not(.hidden)::after{
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: rgba(245,190,205,.18);
    opacity: 0;
    animation: caleTopDockBreath 1.8s ease-out infinite;
    pointer-events: none;
  }
}

@media (max-width: 380px){
  .cb-mobile-dock-wrap{
    width: min(224px, calc(100vw - 76px)) !important;
    min-width: 224px !important;
    max-width: calc(100vw - 76px) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab,
  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    left: calc(100% + 6px) !important;
    width: 46px !important;
    height: var(--cale-mobile-dock-h, 54px) !important;
    min-width: 46px !important;
  }

  .scroll-top-side .scroll-top-fab-icon,
  .scroll-top-fab .scroll-top-fab-icon{
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

@keyframes caleTopDockIn{
  from{
    opacity: 0;
    transform: translateX(12px) scale(.86);
  }
  to{
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes caleTopDockBreath{
  0%{
    opacity: .5;
    transform: scale(.86);
  }
  100%{
    opacity: 0;
    transform: scale(1.25);
  }
}


/* =========================================================
   FINAL ALIGNMENT FIX — bottom nav + Top button
   Keeps the 4-button nav centered and aligns the Top button
   perfectly to the same top/bottom/center line.
   ========================================================= */
@media (max-width: 820px){
  :root{
    --cale-mobile-dock-h: 54px !important;
    --cale-main-nav-w: 236px;
    --cale-top-btn-w: 48px;
    --cale-dock-gap: 8px;
  }

  .cb-mobile-dock-wrap{
    position: fixed !important;
    left: 50% !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    transform: translateX(-50%) !important;
    z-index: 9300 !important;
    width: var(--cale-main-nav-w) !important;
    height: var(--cale-mobile-dock-h) !important;
    min-width: var(--cale-main-nav-w) !important;
    max-width: var(--cale-main-nav-w) !important;
    display: block !important;
    pointer-events: none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: var(--cale-main-nav-w) !important;
    min-width: var(--cale-main-nav-w) !important;
    max-width: var(--cale-main-nav-w) !important;
    height: var(--cale-mobile-dock-h) !important;
    min-height: var(--cale-mobile-dock-h) !important;
    max-height: var(--cale-mobile-dock-h) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-flow: initial !important;
    grid-auto-columns: initial !important;
    gap: 3px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button.active{
    color: #fff !important;
    background: #111 !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav b{
    display: none !important;
  }

  /* Top button aligned to same dock height. It does not affect nav layout. */
  .cb-mobile-dock-wrap .scroll-top-side,
  .cb-mobile-dock-wrap .scroll-top-fab{
    position: absolute !important;
    left: calc(var(--cale-main-nav-w) + var(--cale-dock-gap)) !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate3d(0,0,0) scale(1) !important;
    width: var(--cale-top-btn-w) !important;
    min-width: var(--cale-top-btn-w) !important;
    max-width: var(--cale-top-btn-w) !important;
    height: var(--cale-mobile-dock-h) !important;
    min-height: var(--cale-mobile-dock-h) !important;
    max-height: var(--cale-mobile-dock-h) !important;
    margin: 0 !important;
    padding: 6px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    color: #111 !important;
    box-shadow: 0 18px 42px rgba(80,35,45,.16) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    animation: caleTopAlignedIn .24s cubic-bezier(.22,.61,.36,1) both !important;
    transition:
      opacity .22s cubic-bezier(.22,.61,.36,1),
      visibility .22s cubic-bezier(.22,.61,.36,1),
      transform .22s cubic-bezier(.22,.61,.36,1),
      box-shadow .22s cubic-bezier(.22,.61,.36,1) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side.hidden,
  .cb-mobile-dock-wrap .scroll-top-fab.hidden{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(10px,0,0) scale(.86) !important;
    width: var(--cale-top-btn-w) !important;
    min-width: var(--cale-top-btn-w) !important;
    height: var(--cale-mobile-dock-h) !important;
    min-height: var(--cale-mobile-dock-h) !important;
  }

  .cb-mobile-dock-wrap .scroll-top-side:active,
  .cb-mobile-dock-wrap .scroll-top-fab:active{
    transform: translate3d(0,0,0) scale(.94) !important;
  }

  .scroll-top-side .scroll-top-fab-icon,
  .scroll-top-fab .scroll-top-fab-icon{
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
  }

  .scroll-top-side .scroll-top-fab-text,
  .scroll-top-fab .scroll-top-fab-text{
    display: none !important;
  }

  .scroll-top-side:not(.hidden)::after,
  .scroll-top-fab:not(.hidden)::after{
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: rgba(245,190,205,.18);
    opacity: 0;
    animation: caleTopAlignedBreath 1.8s ease-out infinite;
    pointer-events: none;
  }
}

@media (max-width: 380px){
  :root{
    --cale-main-nav-w: 224px;
    --cale-top-btn-w: 46px;
    --cale-dock-gap: 6px;
  }

  .scroll-top-side .scroll-top-fab-icon,
  .scroll-top-fab .scroll-top-fab-icon{
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

@keyframes caleTopAlignedIn{
  from{
    opacity: 0;
    transform: translate3d(10px,0,0) scale(.86);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes caleTopAlignedBreath{
  0%{
    opacity: .42;
    transform: scale(.86);
  }
  100%{
    opacity: 0;
    transform: scale(1.22);
  }
}


/* =========================================================
   Shopee-style buyer chat
   ========================================================= */
.buyer-chat-modal{
  position:fixed;
  inset:0;
  z-index:260000;
  display:grid;
  place-items:center;
  padding:18px;
}
.buyer-chat-modal.hidden{ display:none!important; }
.buyer-chat-backdrop{
  position:absolute;
  inset:0;
  background:rgba(45,27,36,.38);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.buyer-chat-card{
  position:relative;
  width:min(720px, 96vw);
  max-height:min(760px, 92vh);
  display:grid;
  grid-template-rows:auto auto 1fr auto auto;
  overflow:hidden;
  border:1px solid rgba(216,111,142,.25);
  border-radius:28px;
  background:linear-gradient(180deg,#fff,#fff5f8);
  box-shadow:0 30px 90px rgba(80,35,45,.24);
  animation:caleModalRise .22s cubic-bezier(.16,1,.3,1) both;
}
.buyer-chat-head{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-bottom:1px solid rgba(216,111,142,.16);
  background:rgba(255,255,255,.72);
}
.buyer-chat-seller{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.buyer-chat-seller img{
  width:48px;
  height:48px;
  border-radius:999px;
  object-fit:cover;
  background:#fff;
  box-shadow:0 10px 22px rgba(80,35,45,.12);
}
.buyer-chat-seller h2{
  margin:0;
  color:#211016;
  font-size:22px;
  line-height:1;
  letter-spacing:-.03em;
}
.buyer-chat-seller span{
  display:block;
  margin-top:4px;
  color:#7d6070;
  font-size:13px;
}
.buyer-chat-close{
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#211016;
  font-size:24px;
  font-weight:900;
  box-shadow:0 12px 24px rgba(80,35,45,.12);
}
.buyer-chat-product{
  margin:12px 16px 0;
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid rgba(216,111,142,.16);
  border-radius:18px;
  background:#fff;
}
.buyer-chat-product.hidden{ display:none!important; }
.chat-product-thumb{
  width:54px;
  height:54px;
  border-radius:14px;
  overflow:hidden;
  background:#fff3f7;
  flex:0 0 54px;
}
.chat-product-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.buyer-chat-product strong{
  display:block;
  color:#211016;
  font-size:14px;
  line-height:1.1;
}
.buyer-chat-product span{
  display:block;
  margin-top:4px;
  color:#8b6877;
  font-size:12px;
}
.buyer-chat-messages{
  min-height:320px;
  max-height:48vh;
  overflow:auto;
  padding:16px;
  display:grid;
  align-content:start;
  gap:10px;
}
.chat-empty-state{
  align-self:center;
  justify-self:center;
  color:#8b6877;
  text-align:center;
  padding:26px;
}
.chat-bubble-row{
  display:flex;
}
.chat-bubble-row.mine{ justify-content:flex-end; }
.chat-bubble-row.theirs{ justify-content:flex-start; }
.chat-bubble{
  max-width:min(78%, 420px);
  padding:10px 12px;
  border-radius:18px;
  background:#fff;
  color:#211016;
  box-shadow:0 10px 22px rgba(80,35,45,.08);
}
.chat-bubble-row.mine .chat-bubble{
  background:linear-gradient(135deg,#5b3440,#d96f8f);
  color:#fff;
}
.chat-bubble p{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  font-size:14px;
}
.chat-bubble small{
  display:block;
  margin-top:5px;
  opacity:.68;
  font-size:10px;
}
.chat-image-btn{
  display:block;
  border:0;
  padding:0;
  margin:0 0 7px;
  background:transparent;
  border-radius:14px;
  overflow:hidden;
}
.chat-image-btn img{
  display:block;
  max-width:220px;
  max-height:260px;
  object-fit:cover;
  border-radius:14px;
}
.buyer-chat-preview{
  margin:0 16px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(216,111,142,.18);
}
.buyer-chat-preview.hidden{ display:none!important; }
.buyer-chat-preview img{
  width:58px;
  height:58px;
  border-radius:14px;
  object-fit:cover;
}
.buyer-chat-preview button{
  border:0;
  border-radius:999px;
  background:#fff0f4;
  color:#8f4861;
  padding:8px 12px;
  font-weight:900;
}
.buyer-chat-compose{
  display:grid;
  grid-template-columns:1fr 42px 42px auto;
  gap:8px;
  padding:12px 16px;
  border-top:1px solid rgba(216,111,142,.16);
  background:#fff;
}
.buyer-chat-compose input{
  min-height:44px;
  border:1px solid rgba(216,111,142,.18);
  border-radius:999px;
  padding:0 14px;
  outline:0;
  font-weight:700;
}
.chat-tool-btn,
.chat-send-btn{
  min-height:44px;
  border:0;
  border-radius:999px;
  font-weight:950;
}
.chat-tool-btn{
  background:#fff4f7;
  color:#6a3948;
}
.chat-tool-btn.disabled{
  opacity:.48;
}
.chat-send-btn{
  padding:0 18px;
  background:#111;
  color:#fff;
}
.buyer-chat-note{
  margin:0;
  padding:0 16px 14px;
  color:#8b6877;
  font-size:11px;
}
.seller-strip-btn.chat{
  background:linear-gradient(135deg,#5b3440,#d96f8f)!important;
  color:#fff!important;
}

@media (max-width:640px){
  .buyer-chat-modal{
    align-items:end;
    padding:0;
  }
  .buyer-chat-card{
    width:100%;
    max-height:calc(100dvh - 16px);
    border-radius:28px 28px 0 0;
  }
  .buyer-chat-head{
    padding:14px;
  }
  .buyer-chat-seller h2{
    font-size:18px;
  }
  .buyer-chat-messages{
    min-height:300px;
    max-height:48dvh;
  }
  .buyer-chat-compose{
    grid-template-columns:1fr 38px 38px 58px;
    gap:6px;
    padding:10px;
  }
  .chat-send-btn{
    padding:0 12px;
  }
}


/* =========================================================
   GOOGLE AUTH MODAL POLISH + BUTTON FIX
   ========================================================= */
.auth-modal-card-google{
  width:min(540px, calc(100vw - 32px)) !important;
  padding:28px !important;
  border:1px solid rgba(216,121,139,.18) !important;
  background:
    radial-gradient(circle at top right, rgba(246,186,196,.18), transparent 30%),
    linear-gradient(180deg,#ffffff 0%, #fff8fa 100%) !important;
  box-shadow:0 28px 80px rgba(80,35,45,.18) !important;
}
.auth-modal-badge-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:4px;
}
.auth-badge-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(216,121,139,.22);
  color:#9a5461;
  font-size:12px;
  font-weight:800;
  box-shadow:0 10px 22px rgba(80,35,45,.08);
}
.auth-modal-card-google h2{
  margin:6px 0 10px !important;
  color:#111012 !important;
  font-size:clamp(28px, 4vw, 34px);
  line-height:1.08;
}
.auth-modal-card-google .soft-text{
  color:#6d555d;
  font-size:15px;
  line-height:1.55;
}
.auth-benefit-list{
  list-style:none;
  display:grid;
  gap:10px;
  margin:16px 0 18px;
  padding:0;
}
.auth-benefit-list li{
  position:relative;
  padding-left:28px;
  color:#4f3b42;
  font-size:14px;
  font-weight:600;
}
.auth-benefit-list li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  width:18px;
  height:18px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#d8798b,#111012);
  font-size:12px;
  font-weight:900;
}
.google-login-btn{
  width:100% !important;
  min-height:56px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  margin:8px 0 12px !important;
  padding:0 18px !important;
  border:1px solid rgba(17,16,18,.12) !important;
  border-radius:18px !important;
  background:#ffffff !important;
  color:#111012 !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.01em;
  cursor:pointer !important;
  box-shadow:0 14px 30px rgba(80,35,45,.10) !important;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease !important;
  appearance:none;
}
.google-login-btn:hover{ transform:translateY(-1px); box-shadow:0 18px 34px rgba(80,35,45,.14) !important; }
.google-login-btn:active{ transform:translateY(0); }
.google-login-btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(216,121,139,.20), 0 18px 34px rgba(80,35,45,.14) !important;
}
.google-login-btn:disabled{ opacity:.72; cursor:wait !important; }
.google-login-btn .google-icon{
  flex:0 0 32px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:#4285F4;
  border:1px solid rgba(17,16,18,.10);
  font-family:Arial, sans-serif;
  font-size:22px;
  font-weight:900;
  line-height:1;
}
.google-login-btn.is-loading .google-icon{
  color:transparent;
  position:relative;
}
.google-login-btn.is-loading .google-icon::after{
  content:'';
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  border:2px solid rgba(66,133,244,.25);
  border-top-color:#4285F4;
  animation:caleSpin .8s linear infinite;
}
.google-btn-text{ pointer-events:none; }
.auth-secondary-btn{
  min-height:52px;
  border-radius:18px !important;
  border:1px solid rgba(216,121,139,.24) !important;
  background:#fff7fa !important;
  color:#7f5b64 !important;
  font-weight:800 !important;
}
.auth-modal-card-google .profile-note{
  margin-top:14px !important;
  color:#7f5b64 !important;
  font-size:12px !important;
  line-height:1.5;
}
@keyframes caleSpin { to { transform:rotate(360deg); } }
@media (max-width: 560px){
  .auth-modal-card-google{ padding:22px !important; border-radius:28px !important; }
  .auth-modal-badge-row{ align-items:flex-start; flex-direction:column; }
  .auth-modal-card-google h2{ font-size:26px; }
}


/* =========================================================
   GOOGLE AUTH HOTFIX v2
   ========================================================= */
.auth-modal-card-google{max-width:520px !important;}
.auth-modal-badge-row{padding-right:56px; align-items:center !important;}
#closeAuthModal{z-index:10 !important;}
#googleSignInBtn,
#googleSignInBtn *{
  pointer-events:auto !important;
}
#googleSignInBtn{
  position:relative !important;
  z-index:4 !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  text-align:center !important;
  user-select:none;
}
#googleSignInBtn .google-btn-text{
  display:inline-block !important;
  white-space:nowrap !important;
  line-height:1.1 !important;
}
#googleSignInBtn .google-icon{
  flex-shrink:0 !important;
}
@media (max-width: 480px){
  .auth-badge-pill{display:none !important;}
  .auth-modal-badge-row{padding-right:0;}
  #googleSignInBtn{font-size:15px !important;}
}


/* =========================================================
   REPAIRED SHOPEE-STYLE BUYER CHAT
   ========================================================= */
.buyer-chat-modal{
  position:fixed;
  inset:0;
  z-index:260000;
  display:grid;
  place-items:center;
  padding:18px;
}
.buyer-chat-modal.hidden{ display:none!important; }
.buyer-chat-backdrop{
  position:absolute;
  inset:0;
  background:rgba(45,27,36,.38);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.buyer-chat-card{
  position:relative;
  width:min(720px,96vw);
  max-height:min(760px,92vh);
  display:grid;
  grid-template-rows:auto auto minmax(260px,1fr) auto auto;
  overflow:hidden;
  border:1px solid rgba(216,111,142,.25);
  border-radius:28px;
  background:linear-gradient(180deg,#fff,#fff5f8);
  box-shadow:0 30px 90px rgba(80,35,45,.24);
  animation:caleChatRise .22s cubic-bezier(.16,1,.3,1) both;
}
@keyframes caleChatRise{
  from{opacity:0;transform:translateY(18px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.buyer-chat-head{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-bottom:1px solid rgba(216,111,142,.16);
  background:rgba(255,255,255,.78);
}
.buyer-chat-seller{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.buyer-chat-seller img{
  width:48px;
  height:48px;
  border-radius:999px;
  object-fit:cover;
  background:#fff;
  box-shadow:0 10px 22px rgba(80,35,45,.12);
}
.buyer-chat-seller h2{
  margin:0;
  color:#211016;
  font-size:22px;
  line-height:1;
  letter-spacing:-.03em;
}
.buyer-chat-seller span{
  display:block;
  margin-top:4px;
  color:#7d6070;
  font-size:13px;
}
.buyer-chat-close{
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#211016;
  font-size:24px;
  font-weight:900;
  box-shadow:0 12px 24px rgba(80,35,45,.12);
}
.buyer-chat-product{
  margin:12px 16px 0;
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid rgba(216,111,142,.16);
  border-radius:18px;
  background:#fff;
}
.buyer-chat-product.hidden{ display:none!important; }
.chat-product-thumb{
  width:54px;
  height:54px;
  border-radius:14px;
  overflow:hidden;
  background:#fff3f7;
  flex:0 0 54px;
}
.chat-product-img{ width:100%; height:100%; object-fit:cover; }
.buyer-chat-product strong{
  display:block;
  color:#211016;
  font-size:14px;
  line-height:1.1;
}
.buyer-chat-product span{
  display:block;
  margin-top:4px;
  color:#8b6877;
  font-size:12px;
}
.buyer-chat-messages{
  min-height:300px;
  max-height:48vh;
  overflow:auto;
  padding:16px;
  display:grid;
  align-content:start;
  gap:10px;
}
.chat-empty-state{
  align-self:center;
  justify-self:center;
  color:#8b6877;
  text-align:center;
  padding:26px;
}
.chat-bubble-row{ display:flex; }
.chat-bubble-row.mine{ justify-content:flex-end; }
.chat-bubble-row.theirs{ justify-content:flex-start; }
.chat-bubble{
  max-width:min(78%,420px);
  padding:10px 12px;
  border-radius:18px;
  background:#fff;
  color:#211016;
  box-shadow:0 10px 22px rgba(80,35,45,.08);
}
.chat-bubble-row.mine .chat-bubble{
  background:linear-gradient(135deg,#5b3440,#d96f8f);
  color:#fff;
}
.chat-bubble p{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  font-size:14px;
}
.chat-bubble small{
  display:block;
  margin-top:5px;
  opacity:.68;
  font-size:10px;
}
.chat-image-btn{
  display:block;
  border:0;
  padding:0;
  margin:0 0 7px;
  background:transparent;
  border-radius:14px;
  overflow:hidden;
}
.chat-image-btn img{
  display:block;
  max-width:220px;
  max-height:260px;
  object-fit:cover;
  border-radius:14px;
}
.buyer-chat-preview{
  margin:0 16px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(216,111,142,.18);
}
.buyer-chat-preview.hidden{ display:none!important; }
.buyer-chat-preview img{
  width:58px;
  height:58px;
  border-radius:14px;
  object-fit:cover;
}
.buyer-chat-preview button{
  border:0;
  border-radius:999px;
  background:#fff0f4;
  color:#8f4861;
  padding:8px 12px;
  font-weight:900;
}
.buyer-chat-compose{
  display:grid;
  grid-template-columns:1fr 42px 42px auto;
  gap:8px;
  padding:12px 16px;
  border-top:1px solid rgba(216,111,142,.16);
  background:#fff;
}
.buyer-chat-compose input{
  min-height:44px;
  border:1px solid rgba(216,111,142,.18);
  border-radius:999px;
  padding:0 14px;
  outline:0;
  font-weight:700;
}
.chat-tool-btn,.chat-send-btn{
  min-height:44px;
  border:0;
  border-radius:999px;
  font-weight:950;
}
.chat-tool-btn{
  background:#fff4f7;
  color:#6a3948;
}
.chat-tool-btn.disabled{ opacity:.48; }
.chat-send-btn{
  padding:0 18px;
  background:#111;
  color:#fff;
}
.buyer-chat-note{
  margin:0;
  padding:0 16px 14px;
  color:#8b6877;
  font-size:11px;
}
.seller-strip-btn.chat{
  background:linear-gradient(135deg,#5b3440,#d96f8f)!important;
  color:#fff!important;
}
body.buyer-chat-open #floatingCatalogBar,
body.buyer-chat-open #catalogStickyBar{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

@media (max-width:640px){
  .buyer-chat-modal{
    align-items:end;
    padding:0;
  }
  .buyer-chat-card{
    width:100%;
    max-height:calc(100dvh - 16px);
    border-radius:28px 28px 0 0;
  }
  .buyer-chat-head{ padding:14px; }
  .buyer-chat-seller h2{ font-size:18px; }
  .buyer-chat-messages{
    min-height:300px;
    max-height:48dvh;
  }
  .buyer-chat-compose{
    grid-template-columns:1fr 38px 38px 58px;
    gap:6px;
    padding:10px;
  }
  .chat-send-btn{ padding:0 12px; }
}


/* =========================================================
   CHAT SEND BUTTON + IMAGE UPLOAD PROGRESS FIX
   Keeps the send button visible, makes the chat composer sticky
   inside the modal, and shows image upload progress.
   ========================================================= */
.buyer-chat-card{
  grid-template-rows:auto auto minmax(0,1fr) auto auto !important;
}
.buyer-chat-messages{
  min-height:0 !important;
  max-height:none !important;
}
.buyer-chat-preview{
  position:relative !important;
  min-height:76px !important;
  margin:0 14px 8px !important;
  display:grid !important;
  grid-template-columns:58px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:10px !important;
  padding:9px 10px !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid rgba(216,111,142,.18) !important;
  box-shadow:0 10px 26px rgba(80,35,45,.08) !important;
}
.buyer-chat-preview.hidden{ display:none!important; }
.buyer-chat-preview-thumb{
  position:relative !important;
  width:58px !important;
  height:58px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#fff4f7 !important;
}
.buyer-chat-preview-thumb img,
.buyer-chat-preview > img{
  width:100% !important;
  height:100% !important;
  border-radius:14px !important;
  object-fit:cover !important;
}
.buyer-chat-preview-info{
  min-width:0 !important;
  display:grid !important;
  gap:4px !important;
}
.buyer-chat-preview-info strong{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:#211016 !important;
  font-size:13px !important;
  line-height:1.1 !important;
}
.buyer-chat-preview-info span{
  color:#8b6877 !important;
  font-size:11px !important;
  line-height:1 !important;
}
.chat-upload-progress{
  height:5px !important;
  overflow:hidden !important;
  border-radius:999px !important;
  background:#f5dce5 !important;
}
.chat-upload-progress.hidden{ display:none!important; }
.chat-upload-progress i{
  display:block !important;
  width:0%;
  height:100%;
  border-radius:999px !important;
  background:linear-gradient(90deg,#5b3440,#d96f8f) !important;
  transition:width .22s ease !important;
}
.chat-upload-spinner{
  position:absolute !important;
  inset:0 !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(255,255,255,.62) !important;
}
.chat-upload-spinner.hidden{ display:none!important; }
.chat-upload-spinner::after{
  content:"" !important;
  width:22px !important;
  height:22px !important;
  border-radius:999px !important;
  border:3px solid rgba(91,52,64,.18) !important;
  border-top-color:#5b3440 !important;
  animation:chatSpin .75s linear infinite !important;
}
@keyframes chatSpin{ to{ transform:rotate(360deg); } }
.buyer-chat-preview.is-uploading #clearBuyerChatImage{
  opacity:.45 !important;
  pointer-events:none !important;
}
.buyer-chat-preview #clearBuyerChatImage{
  white-space:nowrap !important;
  min-height:36px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fff0f4 !important;
  color:#8f4861 !important;
  padding:8px 12px !important;
  font-weight:900 !important;
}
.buyer-chat-compose{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 44px 44px 72px !important;
  gap:8px !important;
  padding:10px 14px 12px !important;
  border-top:1px solid rgba(216,111,142,.16) !important;
  background:#fff !important;
  z-index:2 !important;
}
.buyer-chat-compose input{
  min-width:0 !important;
  width:100% !important;
}
.chat-send-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:72px !important;
  padding:0 14px !important;
  cursor:pointer !important;
}
.chat-send-btn:disabled{
  opacity:.72 !important;
  cursor:wait !important;
}
.chat-send-btn.is-loading{
  background:#2f2027 !important;
}
.buyer-chat-note{
  padding:0 14px 10px !important;
}

@media (max-width:640px){
  .buyer-chat-modal{
    align-items:end !important;
    padding:0 !important;
  }
  .buyer-chat-card{
    width:100% !important;
    height:min(720px, calc(100dvh - 10px)) !important;
    max-height:calc(100dvh - 10px) !important;
    border-radius:24px 24px 0 0 !important;
    grid-template-rows:auto auto minmax(0,1fr) auto auto !important;
  }
  .buyer-chat-messages{
    min-height:0 !important;
    max-height:none !important;
    padding:12px !important;
  }
  .buyer-chat-preview{
    grid-template-columns:48px minmax(0,1fr) auto !important;
    min-height:62px !important;
    margin:0 10px 8px !important;
    padding:7px 8px !important;
  }
  .buyer-chat-preview-thumb{
    width:48px !important;
    height:48px !important;
  }
  .buyer-chat-preview-info strong{
    font-size:12px !important;
  }
  .buyer-chat-preview-info span{
    font-size:10px !important;
  }
  .buyer-chat-preview #clearBuyerChatImage{
    min-height:32px !important;
    padding:7px 10px !important;
    font-size:12px !important;
  }
  .buyer-chat-compose{
    grid-template-columns:minmax(0,1fr) 40px 40px 64px !important;
    gap:6px !important;
    padding:9px 10px 10px !important;
  }
  .buyer-chat-compose input{
    min-height:42px !important;
    font-size:13px !important;
  }
  .chat-tool-btn,
  .chat-send-btn{
    min-height:42px !important;
    height:42px !important;
  }
  .chat-send-btn{
    min-width:64px !important;
    font-size:13px !important;
    padding:0 10px !important;
  }
}


/* =========================================================
   FINAL CHAT FOOTER FIX
   Problem: on some desktop/mobile heights, image preview pushes
   the compose/send row below the modal.
   Fix: force the chat modal to have a fixed viewport-safe height,
   keep messages as the only scrollable area, and pin preview +
   composer inside the visible footer.
   ========================================================= */
.buyer-chat-modal:not(.hidden){
  display:grid !important;
  place-items:center !important;
}

.buyer-chat-card{
  height:min(760px, calc(100dvh - 36px)) !important;
  max-height:calc(100dvh - 36px) !important;
  min-height:min(560px, calc(100dvh - 36px)) !important;
  display:grid !important;
  grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  overflow:hidden !important;
}

.buyer-chat-head{
  flex:0 0 auto !important;
}

.buyer-chat-product{
  flex:0 0 auto !important;
}

.buyer-chat-messages{
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
}

.buyer-chat-preview{
  flex:0 0 auto !important;
  max-height:86px !important;
  overflow:hidden !important;
}

.buyer-chat-compose{
  flex:0 0 auto !important;
  position:relative !important;
  z-index:5 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 44px 44px 78px !important;
  align-items:center !important;
  gap:8px !important;
  min-height:64px !important;
  padding:10px 14px !important;
  background:#fff !important;
  border-top:1px solid rgba(216,111,142,.16) !important;
  box-shadow:0 -10px 24px rgba(80,35,45,.06) !important;
}

.buyer-chat-compose input{
  min-width:0 !important;
  width:100% !important;
  min-height:44px !important;
}

.buyer-chat-compose .chat-tool-btn,
.buyer-chat-compose .chat-send-btn{
  height:44px !important;
  min-height:44px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.buyer-chat-compose .chat-send-btn{
  min-width:78px !important;
  width:78px !important;
  padding:0 12px !important;
  flex-shrink:0 !important;
}

.buyer-chat-note{
  flex:0 0 auto !important;
  min-height:18px !important;
  padding:0 14px 10px !important;
  background:#fff !important;
}

/* Make the image preview include a visual hint that the Send button is below/right. */
.buyer-chat-preview::after{
  content:"Press Send below";
  position:absolute;
  right:16px;
  bottom:5px;
  color:#b05a73;
  font-size:10px;
  font-weight:900;
  opacity:.75;
  pointer-events:none;
}

.buyer-chat-preview.is-uploading::after{
  content:"Uploading…";
}

@media (max-width:640px){
  .buyer-chat-modal:not(.hidden){
    align-items:end !important;
    padding:0 !important;
  }

  .buyer-chat-card{
    width:100% !important;
    height:calc(100dvh - 8px) !important;
    max-height:calc(100dvh - 8px) !important;
    min-height:calc(100dvh - 8px) !important;
    border-radius:24px 24px 0 0 !important;
    grid-template-rows:auto auto minmax(0,1fr) auto auto auto !important;
  }

  .buyer-chat-preview{
    max-height:72px !important;
    margin:0 10px 6px !important;
  }

  .buyer-chat-compose{
    grid-template-columns:minmax(0,1fr) 40px 40px 68px !important;
    gap:6px !important;
    min-height:58px !important;
    padding:8px 10px !important;
  }

  .buyer-chat-compose .chat-tool-btn,
  .buyer-chat-compose .chat-send-btn,
  .buyer-chat-compose input{
    height:42px !important;
    min-height:42px !important;
  }

  .buyer-chat-compose .chat-send-btn{
    width:68px !important;
    min-width:68px !important;
    font-size:13px !important;
  }

  .buyer-chat-note{
    display:block !important;
    font-size:10px !important;
    line-height:1.2 !important;
    padding:0 10px 8px !important;
  }

  .buyer-chat-preview::after{
    display:none !important;
  }
}

@media (max-height:620px){
  .buyer-chat-card{
    height:calc(100dvh - 18px) !important;
    max-height:calc(100dvh - 18px) !important;
    min-height:0 !important;
  }

  .buyer-chat-head{
    min-height:64px !important;
    padding:10px 14px !important;
  }

  .buyer-chat-seller img{
    width:42px !important;
    height:42px !important;
  }

  .buyer-chat-product{
    margin:8px 12px 0 !important;
    padding:8px !important;
  }

  .buyer-chat-preview{
    max-height:66px !important;
    min-height:58px !important;
    margin:0 12px 6px !important;
  }

  .buyer-chat-note{
    display:none !important;
  }
}


/* =========================================================
   SAFE BUYER CHAT INBOX REBUILD
   Only adds top chat inbox. Does not modify cart or bottom nav.
   ========================================================= */
.buyer-messages-btn,#buyerMessagesBtn,#profileMessagesBtn,[data-open-buyer-messages]{
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
#buyerMessagesBtn .cart-count-badge,#buyerChatUnreadBadge{
  top:2px!important;
  right:2px!important;
}
.buyer-chat-inbox-modal{
  position:fixed;
  inset:0;
  z-index:300000;
  display:grid;
  place-items:center;
  padding:18px;
}
.buyer-chat-inbox-modal.hidden{display:none!important;}
.buyer-chat-inbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(45,27,36,.38);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.buyer-chat-inbox-card{
  position:relative;
  z-index:300001;
  width:min(520px,96vw);
  max-height:min(740px,92vh);
  display:grid;
  grid-template-rows:auto minmax(260px,1fr);
  overflow:hidden;
  border:1px solid rgba(216,111,142,.25);
  border-radius:28px;
  background:linear-gradient(180deg,#fff,#fff5f8);
  box-shadow:0 30px 90px rgba(80,35,45,.24);
  animation:caleChatRise .22s cubic-bezier(.16,1,.3,1) both;
}
.buyer-chat-inbox-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  border-bottom:1px solid rgba(216,111,142,.16);
  background:rgba(255,255,255,.82);
}
.buyer-chat-inbox-head h2{
  margin:0;
  color:#211016;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
}
.buyer-chat-inbox-head span{
  display:block;
  margin-top:5px;
  color:#7d6070;
  font-size:13px;
}
.buyer-chat-inbox-list{
  min-height:0;
  overflow:auto;
  padding:12px;
  display:grid;
  align-content:start;
  gap:8px;
}
.buyer-chat-inbox-row{
  width:100%;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  border:1px solid rgba(216,111,142,.12);
  border-radius:20px;
  padding:10px;
  text-align:left;
  background:#fff;
  box-shadow:0 10px 22px rgba(80,35,45,.06);
  cursor:pointer;
}
.buyer-chat-inbox-row.unread{
  border-color:rgba(216,111,142,.34);
  background:linear-gradient(180deg,#fff,#fff6f9);
}
.buyer-chat-inbox-row img{
  width:48px;
  height:48px;
  border-radius:999px;
  object-fit:cover;
  background:#fff0f4;
}
.buyer-chat-inbox-main{
  min-width:0;
  display:grid;
  gap:3px;
}
.buyer-chat-inbox-main strong,.buyer-chat-inbox-main small,.buyer-chat-inbox-main em{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.buyer-chat-inbox-main strong{color:#211016;font-size:15px;}
.buyer-chat-inbox-main small{color:#8b6877;font-size:11px;font-weight:800;}
.buyer-chat-inbox-main em{color:#705260;font-size:12px;font-style:normal;}
.buyer-chat-inbox-side{
  display:grid;
  justify-items:end;
  gap:7px;
}
.buyer-chat-inbox-side small{color:#9d7a88;font-size:10px;white-space:nowrap;}
.buyer-chat-inbox-side b{
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#d96f8f;
  color:#fff;
  font-size:10px;
  font-weight:1000;
}
@media (max-width:640px){
  .buyer-chat-inbox-modal{align-items:end;padding:0;}
  .buyer-chat-inbox-card{
    width:100%;
    max-height:calc(100dvh - 10px);
    height:calc(100dvh - 10px);
    border-radius:24px 24px 0 0;
  }
  .buyer-chat-inbox-head{padding:16px 14px;}
  .buyer-chat-inbox-head h2{font-size:24px;}
}


/* Runtime guard: if JS removes .hidden, shop must render normally. */
#shopArea:not(.hidden){
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* =========================================================
   MESSAGES BUTTON HARDFIX
   Keeps messages above profile/cart and makes the Messages button clickable.
   ========================================================= */
#buyerMessagesBtn,
#profileMessagesBtn,
[data-force-chat-inbox],
[data-open-buyer-messages]{
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
}

#profileMessagesBtn{
  position:relative !important;
  z-index:5 !important;
}

.buyer-chat-inbox-modal{
  z-index:999999 !important;
}

.buyer-chat-inbox-modal:not(.hidden){
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
}

.buyer-chat-inbox-card{
  z-index:1000000 !important;
}

body.buyer-chat-inbox-open .profile-modal,
body.buyer-chat-inbox-open #cartDrawer,
body.buyer-chat-inbox-open #cartBackdrop{
  pointer-events:none !important;
}


/* =========================================================
   COMPACT MESSAGES OVERLAY FIX
   Independent compact overlay. It is fixed, centered, and never
   appears inside the page flow/bottom section.
   ========================================================= */
.cale-compact-messages-overlay{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483000 !important;
  display:grid !important;
  place-items:center !important;
  padding:18px !important;
}
.cale-compact-messages-overlay.hidden{
  display:none !important;
}
.cale-compact-messages-backdrop{
  position:absolute !important;
  inset:0 !important;
  background:rgba(47,30,39,.36) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
.cale-compact-messages-card{
  position:relative !important;
  z-index:1 !important;
  width:min(460px, 94vw) !important;
  max-height:min(620px, 88dvh) !important;
  min-height:360px !important;
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  overflow:hidden !important;
  border:1px solid rgba(216,111,142,.28) !important;
  border-radius:26px !important;
  background:linear-gradient(180deg,#fff,#fff6f9) !important;
  box-shadow:0 28px 85px rgba(60,31,42,.28) !important;
  animation:caleCompactMessagesIn .2s cubic-bezier(.16,1,.3,1) both !important;
}
@keyframes caleCompactMessagesIn{
  from{opacity:0;transform:translateY(14px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.cale-compact-messages-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:16px 18px !important;
  border-bottom:1px solid rgba(216,111,142,.15) !important;
  background:rgba(255,255,255,.88) !important;
}
.cale-compact-messages-head p{
  margin:0 0 4px !important;
  color:#d46f8b !important;
  font-size:11px !important;
  font-weight:950 !important;
  letter-spacing:.16em !important;
}
.cale-compact-messages-head h2{
  margin:0 !important;
  color:#201116 !important;
  font-size:25px !important;
  line-height:1 !important;
  letter-spacing:-.04em !important;
}
.cale-compact-messages-head span{
  display:block !important;
  margin-top:4px !important;
  color:#876777 !important;
  font-size:12px !important;
}
.cale-compact-messages-head button{
  width:40px !important;
  height:40px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#201116 !important;
  font-size:22px !important;
  font-weight:900 !important;
  box-shadow:0 10px 22px rgba(60,31,42,.12) !important;
}
.cale-compact-messages-list{
  min-height:0 !important;
  overflow:auto !important;
  padding:12px !important;
  display:grid !important;
  align-content:start !important;
  gap:8px !important;
}
.cale-compact-empty{
  min-height:240px !important;
  display:grid !important;
  place-items:center !important;
  align-content:center !important;
  gap:8px !important;
  color:#806171 !important;
  text-align:center !important;
  padding:24px !important;
}
.cale-compact-empty strong{
  color:#201116 !important;
  font-size:16px !important;
}
.cale-compact-empty span{
  max-width:320px !important;
  font-size:12px !important;
}
.cale-compact-message-row{
  width:100% !important;
  min-height:76px !important;
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:10px !important;
  border:1px solid rgba(216,111,142,.14) !important;
  border-radius:18px !important;
  padding:10px !important;
  background:#fff !important;
  text-align:left !important;
  cursor:pointer !important;
  box-shadow:0 10px 22px rgba(60,31,42,.06) !important;
}
.cale-compact-message-row:hover{
  border-color:rgba(216,111,142,.32) !important;
  background:#fff8fb !important;
}
.cale-compact-avatar{
  width:46px !important;
  height:46px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  background:#f8dce6 !important;
  color:#6c3246 !important;
  font-weight:950 !important;
}
.cale-compact-main{
  min-width:0 !important;
  display:grid !important;
  gap:3px !important;
}
.cale-compact-main strong,
.cale-compact-main small,
.cale-compact-main em{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.cale-compact-main strong{
  color:#201116 !important;
  font-size:14px !important;
}
.cale-compact-main small{
  color:#8b6877 !important;
  font-size:11px !important;
  font-weight:850 !important;
}
.cale-compact-main em{
  color:#6d5361 !important;
  font-size:12px !important;
  font-style:normal !important;
}
.cale-compact-side{
  display:grid !important;
  justify-items:end !important;
  gap:6px !important;
}
.cale-compact-side small{
  color:#a07d8a !important;
  font-size:10px !important;
  white-space:nowrap !important;
}
.cale-compact-side b{
  min-width:20px !important;
  height:20px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  background:#d96f8f !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:950 !important;
}
@media (max-width:640px){
  .cale-compact-messages-overlay{
    align-items:end !important;
    padding:0 !important;
  }
  .cale-compact-messages-card{
    width:100vw !important;
    max-height:calc(100dvh - 10px) !important;
    height:min(620px, calc(100dvh - 10px)) !important;
    border-radius:24px 24px 0 0 !important;
  }
}


/* =========================================================
   CHAT CLOSE RETURNS TO INBOX
   - X on seller chat returns to compact Messages inbox.
   - Cart/current order panel is hidden while chat is open.
   ========================================================= */
body.buyer-chat-open #cartDrawer,
body.buyer-chat-open #cartBackdrop{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}


/* =========================================================
   MODAL TOP-LAYER FIX
   JS controls the newest modal z-index using inline !important.
   These rules only prevent hidden/visible state conflicts.
   ========================================================= */
.buyer-chat-modal:not(.hidden),
.buyer-chat-inbox-modal:not(.hidden),
.profile-modal:not(.hidden),
.product-detail-modal:not(.hidden),
.seller-page-modal:not(.hidden),
.category-modal:not(.hidden),
.image-viewer:not(.hidden),
.cale-compact-messages-overlay:not(.hidden){
  pointer-events:auto !important;
}


/* =========================================================
   INBOX ONE-CLICK CONVERSATION FIX
   Conversation rows are real one-tap controls.
   ========================================================= */
.cale-compact-message-row,
[data-cale-conversation-id]{
  cursor:pointer !important;
  touch-action:manipulation !important;
  user-select:none !important;
  -webkit-tap-highlight-color:rgba(216,111,142,.16) !important;
}
.cale-compact-message-row:active{
  transform:scale(.985) !important;
}


/* =========================================================
   PURE CHAT MODE — no product inquiry tags/cards
   ========================================================= */
#buyerChatProduct,
.buyer-chat-product,
.chat-product-thumb,
.chat-product-img{
  display:none !important;
}
.cale-compact-main small,
.buyer-chat-inbox-main small,
#dashboardChatProduct{
  display:none !important;
}


/* =========================================================
   INBOX CONVERSATION OPEN FUNCTION FIX
   Ensures compact message rows are tappable and open one time.
   ========================================================= */
.cale-compact-message-row,
[data-cale-conversation-id]{
  cursor:pointer !important;
  touch-action:manipulation !important;
  user-select:none !important;
  -webkit-tap-highlight-color:rgba(216,111,142,.16) !important;
}
.cale-compact-message-row:active{
  transform:scale(.985) !important;
}


/* =========================================================
   INBOX FALLBACK + SELLER AVATAR FIX
   Compact inbox rows now show real seller profile pictures.
   ========================================================= */
.cale-compact-avatar.has-photo{
  overflow:hidden !important;
  background:#f8dce6 !important;
}
.cale-compact-avatar.has-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:999px !important;
  display:block !important;
}
.cale-compact-message-row{
  cursor:pointer !important;
  touch-action:manipulation !important;
}

/* =========================================================
   PERFORMANCE STABILITY FIX
   Removed heavy modal MutationObserver scanning.
   ========================================================= */
.buyer-chat-modal,
.buyer-chat-inbox-modal,
.cale-compact-messages-overlay,
.product-detail-modal,
.seller-page-modal,
.profile-modal,
.category-modal{
  contain: layout paint style !important;
}

/* Emergency unblank/cache-fix guard */
body.cale-force-visible #shopArea,
#shopArea.cale-force-visible,
body.cale-force-visible .buyer-app,
.buyer-app.cale-force-visible{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* =========================================================
   CART INITIAL CLOSED FIX
   The old top-layer CSS forced #cartDrawer inset-block:0, making
   the cart appear open on page load. These rules keep it hidden
   unless body.cart-open is present.
   ========================================================= */
body.buyer-page:not(.cart-open) #cartBackdrop,
body.buyer-page:not(.cart-open) .cart-modal-backdrop{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

body.buyer-page:not(.cart-open) #cartDrawer{
  position:fixed !important;
  top:auto !important;
  left:auto !important;
  right:18px !important;
  bottom:18px !important;
  inset:auto 18px 18px auto !important;
  width:min(430px, calc(100vw - 28px)) !important;
  height:auto !important;
  max-height:min(760px, calc(100dvh - 36px)) !important;
  transform:translateY(calc(100% + 24px)) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

body.buyer-page.cart-open #cartDrawer{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

body.buyer-page.cart-open #cartBackdrop,
body.buyer-page.cart-open .cart-modal-backdrop{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

@media (max-width:640px){
  body.buyer-page:not(.cart-open) #cartDrawer{
    left:0 !important;
    right:0 !important;
    top:auto !important;
    bottom:0 !important;
    inset:auto 0 0 0 !important;
    width:100vw !important;
    height:min(82dvh, 720px) !important;
    max-height:82dvh !important;
    border-radius:24px 24px 0 0 !important;
    transform:translateY(calc(100% + 24px)) !important;
  }
}


/* =========================================================
   CLEAN GOOGLE LOGIN MODAL FINAL
   Fixes: horizontal scrollbar, cut-off Google text, oversized layout,
   and messy spacing. This is the final override for the auth modal only.
   ========================================================= */
#authModal.auth-modal{
  position:fixed !important;
  inset:0 !important;
  display:grid !important;
  place-items:center !important;
  padding:16px !important;
  overflow:hidden !important;
  background:rgba(46,30,39,.54) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

#authModal.auth-modal.hidden{
  display:none !important;
}

#authModal .auth-modal-card-google{
  box-sizing:border-box !important;
  width:min(460px, calc(100vw - 32px)) !important;
  max-width:460px !important;
  min-width:0 !important;
  max-height:calc(100dvh - 32px) !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
  padding:26px 24px 24px !important;
  border-radius:28px !important;
  border:1px solid rgba(216,121,139,.22) !important;
  background:linear-gradient(180deg,#ffffff 0%,#fff8fa 100%) !important;
  box-shadow:0 30px 90px rgba(43,22,31,.30) !important;
  color:#171113 !important;
}

#authModal .auth-modal-card-google *,
#authModal .auth-modal-card-google *::before,
#authModal .auth-modal-card-google *::after{
  box-sizing:border-box !important;
  max-width:100% !important;
}

#authModal .auth-modal-card-google .close,
#authModal #closeAuthModal{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  display:grid !important;
  place-items:center !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#211016 !important;
  font-size:22px !important;
  line-height:1 !important;
  box-shadow:0 10px 24px rgba(43,22,31,.12) !important;
  z-index:10 !important;
}

#authModal .auth-modal-badge-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding-right:46px !important;
  margin:0 0 12px !important;
}

#authModal .mini-label{
  margin:0 !important;
  color:#d8798b !important;
  font-size:11px !important;
  font-weight:950 !important;
  letter-spacing:.16em !important;
  line-height:1.1 !important;
}

#authModal .auth-badge-pill{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:170px !important;
  min-height:30px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(216,121,139,.18) !important;
  background:#fff !important;
  color:#8d4d5c !important;
  font-size:11px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

#authModal .auth-modal-card-google h2{
  margin:0 0 10px !important;
  color:#141012 !important;
  font-size:clamp(26px, 5vw, 32px) !important;
  line-height:1.08 !important;
  letter-spacing:-.04em !important;
}

#authModal #authModalMessage,
#authModal .auth-modal-card-google .soft-text{
  margin:0 0 16px !important;
  color:#765c66 !important;
  font-size:14px !important;
  line-height:1.45 !important;
}

#authModal .auth-benefit-list{
  list-style:none !important;
  display:grid !important;
  gap:9px !important;
  margin:0 0 18px !important;
  padding:0 !important;
}

#authModal .auth-benefit-list li{
  position:relative !important;
  min-height:22px !important;
  padding-left:30px !important;
  color:#4f3b42 !important;
  font-size:13.5px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}

#authModal .auth-benefit-list li::before{
  content:'✓' !important;
  position:absolute !important;
  left:0 !important;
  top:1px !important;
  width:20px !important;
  height:20px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#d8798b,#6f3d49) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:950 !important;
}

#authModal #googleSignInBtn.google-login-btn{
  width:100% !important;
  min-width:0 !important;
  height:54px !important;
  min-height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  margin:0 0 10px !important;
  padding:0 14px !important;
  border:1px solid rgba(17,16,18,.12) !important;
  border-radius:17px !important;
  background:#fff !important;
  color:#171113 !important;
  font-size:16px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-align:center !important;
  box-shadow:0 12px 30px rgba(80,35,45,.10) !important;
}

#authModal #googleSignInBtn .google-icon{
  flex:0 0 30px !important;
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  border:1px solid rgba(17,16,18,.10) !important;
  background:#fff !important;
  color:#4285f4 !important;
  font-family:Arial, sans-serif !important;
  font-size:21px !important;
  font-weight:900 !important;
  line-height:1 !important;
}

#authModal #googleSignInBtn .google-btn-text{
  display:block !important;
  flex:0 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  max-width:calc(100% - 42px) !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  line-height:1.15 !important;
  pointer-events:none !important;
}

#authModal .auth-secondary-btn{
  width:100% !important;
  min-height:50px !important;
  margin:0 !important;
  border-radius:17px !important;
  border:1px solid rgba(216,121,139,.24) !important;
  background:#fff7fa !important;
  color:#76515d !important;
  font-size:14px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

#authModal .auth-modal-card-google .profile-note{
  margin:14px 0 0 !important;
  color:#856874 !important;
  font-size:11.5px !important;
  line-height:1.45 !important;
}

@media (max-width:520px){
  #authModal.auth-modal{
    padding:14px !important;
    place-items:center !important;
  }

  #authModal .auth-modal-card-google{
    width:calc(100vw - 28px) !important;
    max-height:calc(100dvh - 28px) !important;
    padding:24px 18px 20px !important;
    border-radius:24px !important;
  }

  #authModal .auth-modal-badge-row{
    padding-right:42px !important;
    align-items:flex-start !important;
  }

  #authModal .auth-badge-pill{
    display:none !important;
  }

  #authModal .auth-modal-card-google h2{
    font-size:27px !important;
  }

  #authModal #googleSignInBtn.google-login-btn{
    height:52px !important;
    min-height:52px !important;
    font-size:15px !important;
    padding:0 12px !important;
  }

  #authModal .auth-benefit-list li{
    font-size:13px !important;
  }
}

@media (max-width:360px){
  #authModal .auth-modal-card-google h2{
    font-size:25px !important;
  }

  #authModal #googleSignInBtn.google-login-btn{
    font-size:14px !important;
  }
}

/* =========================================================
   CALE RECOVERY PATCH
   Surgical fixes only: no generated Catalog label, no closed
   cart peeking over products, stable mobile app header/nav.
   ========================================================= */
.cb-top-nav::after{
  content:none !important;
  display:none !important;
}

body.buyer-page:not(.cart-open) #cartDrawer,
body.buyer-page:not(.cart-open) .buyer-ticket-panel{
  transform:translateY(120%) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

body.buyer-page:not(.cart-open) #cartDrawer .cart-collapsed-bar,
body.buyer-page:not(.cart-open) .buyer-ticket-panel .cart-collapsed-bar{
  display:none !important;
}

body.buyer-page:not(.cart-open) #cartBackdrop,
body.buyer-page:not(.cart-open) .cart-modal-backdrop{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

@media (max-width:820px){
  body.buyer-page{
    overflow-x:hidden !important;
  }

  body.buyer-page:not(.customer-gate-active) .buyer-main{
    padding-left:10px !important;
    padding-right:10px !important;
    padding-bottom:calc(112px + env(safe-area-inset-bottom,0px)) !important;
  }

  .cb-top-nav{
    min-height:58px !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:7px !important;
    padding:8px 10px !important;
  }

  .cb-brand-block{
    min-width:0 !important;
    gap:8px !important;
  }

  .cb-brand-logo{
    width:38px !important;
    height:38px !important;
    flex:0 0 38px !important;
    object-fit:contain !important;
  }

  .cb-mobile-title{
    display:block !important;
    max-width:120px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:13px !important;
    line-height:1.1 !important;
  }

  .cb-search-shortcut{
    display:none !important;
  }

  .cb-utility-nav{
    gap:5px !important;
  }

  .cb-icon-btn{
    width:36px !important;
    height:36px !important;
    min-height:36px !important;
    font-size:16px !important;
  }

  .cb-mobile-search{
    margin:8px 0 0 !important;
  }

  .cb-feature-banner{
    min-height:150px !important;
    margin:10px 0 !important;
    padding:16px !important;
    grid-template-columns:1fr !important;
  }

  .cb-feature-art{
    display:none !important;
  }

  .cb-feature-copy{
    max-width:100% !important;
    gap:7px !important;
  }

  .cb-feature-copy h1{
    max-width:240px !important;
    font-size:24px !important;
    line-height:1.15 !important;
  }

  .cb-hero-greeting::before,
  .cb-hero-greeting::after{
    content:none !important;
    display:none !important;
  }

  .cb-hero-greeting{
    font-size:12px !important;
    line-height:1.2 !important;
  }

  .cb-catalog-wrap{
    margin-top:8px !important;
    margin-bottom:16px !important;
  }

  .catalog-head-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;
  }

  .shop-mode-toggle{
    width:100% !important;
  }

  .shop-mode-toggle button{
    flex:1 1 0 !important;
  }

  .cb-mobile-dock-wrap{
    left:10px !important;
    right:10px !important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px)) !important;
    width:auto !important;
    transform:none !important;
  }

  .cb-bottom-nav{
    height:62px !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:4px !important;
    padding:5px !important;
    border-radius:22px !important;
  }

  .cb-bottom-nav button{
    min-width:0 !important;
    height:50px !important;
    gap:1px !important;
    overflow:hidden !important;
    font-size:16px !important;
  }

  .cb-bottom-nav b{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:9px !important;
    line-height:1 !important;
  }

  .cb-bottom-nav .cart-count-badge{
    top:2px !important;
    right:8px !important;
  }
}

@media (max-width:340px){
  .cb-mobile-title{
    max-width:94px !important;
    font-size:12px !important;
  }

  .cb-icon-btn{
    width:33px !important;
    height:33px !important;
    min-height:33px !important;
    font-size:14px !important;
  }

  .cb-feature-copy h1{
    font-size:22px !important;
  }
}

/* Cart/nav repair: keep cart states exclusive and remove stray side FAB. */
body.cart-open #cartDrawer .cart-collapsed-bar,
body.cart-open .buyer-ticket-panel .cart-collapsed-bar,
#cartDrawer.expanded .cart-collapsed-bar,
.buyer-ticket-panel.expanded .cart-collapsed-bar{
  display:none !important;
}

body.cart-open #cartDrawer .cart-expanded-content,
body.cart-open .buyer-ticket-panel .cart-expanded-content,
#cartDrawer.expanded .cart-expanded-content,
.buyer-ticket-panel.expanded .cart-expanded-content{
  display:grid !important;
  grid-template-rows:auto minmax(120px,1fr) auto !important;
}

body.cart-open #cartDrawer,
body.cart-open .buyer-ticket-panel,
#cartDrawer.expanded,
.buyer-ticket-panel.expanded{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

.cb-mobile-dock-wrap .scroll-top-fab,
.cb-mobile-dock-wrap .scroll-top-side,
#scrollTopBtn{
  display:none !important;
}

@media (max-width:820px){
  .cb-mobile-dock-wrap{
    display:block !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px)) !important;
    width:min(320px,calc(100vw - 24px)) !important;
    transform:translateX(-50%) !important;
    z-index:9990 !important;
    pointer-events:none !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav{
    width:100% !important;
    height:62px !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:4px !important;
    padding:5px !important;
    border-radius:999px !important;
    pointer-events:auto !important;
  }

  .cb-mobile-dock-wrap .cb-bottom-nav button{
    width:auto !important;
    min-width:0 !important;
    height:52px !important;
    border-radius:999px !important;
    display:grid !important;
    place-items:center !important;
  }

  body.cart-open .cb-mobile-dock-wrap{
    display:none !important;
  }

  body.cart-open #cartDrawer,
  body.cart-open .buyer-ticket-panel,
  #cartDrawer.expanded,
  .buyer-ticket-panel.expanded{
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    width:auto !important;
    max-height:calc(100dvh - 28px) !important;
    transform:translateY(0) !important;
    border-radius:24px !important;
  }
}


/* =========================================================
   Service Booking Modal UI Polish - 2026-06-19
   Cleaner compact booking form for service/rental requests
   ========================================================= */
.service-booking-card{
  width:min(590px, calc(100vw - 32px));
  border-radius:28px;
  overflow:hidden;
}
.service-booking-content{
  padding:26px 24px 24px;
}
.service-booking-head{
  grid-template-columns:82px minmax(0,1fr);
  gap:16px;
  margin-bottom:18px;
  padding-right:44px;
}
.service-booking-thumb{
  width:82px;
  height:82px;
  border-radius:20px;
  background:linear-gradient(135deg,#fff5f8,#f7edf2);
  box-shadow:inset 0 0 0 1px rgba(232,132,160,.14);
}
.service-booking-head .mini-label{
  margin:0 0 8px;
  letter-spacing:.16em;
  font-size:11px;
  line-height:1.25;
  color:#d87391;
}
.service-booking-head h2{
  margin:0 0 8px;
  font-size:clamp(22px,3vw,28px);
  line-height:1.05;
  color:#1f1720;
}
.service-booking-head .soft-text{
  margin:0 0 10px;
  color:#735866;
  font-size:13px;
  line-height:1.45;
}
.service-booking-form{
  gap:13px 12px;
}
.service-booking-form label{
  gap:7px;
  font-size:13px;
  letter-spacing:.01em;
}
.service-booking-form label > span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#6d4554;
}
.service-booking-form label small{
  color:#ad8796;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.service-booking-form input,
.service-booking-form textarea{
  min-height:46px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(232,132,160,.28);
  background:#fffdfd;
  color:#211820;
  font-size:14px;
  font-weight:700;
  outline:none;
  box-shadow:0 8px 22px rgba(107,61,80,.04);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.service-booking-form input:focus,
.service-booking-form textarea:focus{
  border-color:rgba(210,96,128,.78);
  background:#fff;
  box-shadow:0 0 0 4px rgba(232,132,160,.13);
}
.service-booking-form textarea{
  min-height:88px;
  resize:vertical;
  line-height:1.45;
  font-weight:650;
}
.service-booking-form input::placeholder,
.service-booking-form textarea::placeholder{
  color:#9f8993;
  font-size:13px;
  font-weight:650;
  opacity:1;
}
.service-booking-form .primary.wide{
  min-height:52px;
  margin-top:2px;
  border-radius:18px;
  font-size:15px;
  box-shadow:0 16px 34px rgba(107,61,80,.18);
}
.service-booking-close{
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  color:#1f1720;
}

@media(max-width:760px){
  .service-booking-card{
    width:100%;
    border-radius:24px 24px 0 0;
    max-height:92dvh;
  }
  .service-booking-content{
    padding:22px 18px 20px;
  }
  .service-booking-head{
    grid-template-columns:64px minmax(0,1fr);
    gap:12px;
    padding-right:40px;
  }
  .service-booking-thumb{
    width:64px;
    height:64px;
    border-radius:16px;
  }
  .service-booking-head h2{
    font-size:22px;
  }
  .service-booking-form input,
  .service-booking-form textarea{
    font-size:16px; /* prevents iOS zoom */
  }
  .service-booking-form textarea{
    min-height:78px;
  }
}

/* 2026-06-19 rentals + booking calendar update */
.booking-calendar-panel{
  grid-column:1/-1;
  border:1px solid rgba(126,63,83,.18);
  border-radius:22px;
  padding:14px;
  background:linear-gradient(180deg,#fff,rgba(255,246,250,.9));
  box-shadow:0 12px 30px rgba(126,63,83,.08);
  margin:4px 0 8px;
}
.booking-calendar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.booking-calendar-head b{display:block;font-size:.98rem;color:#25171c}
.booking-calendar-head small{display:block;margin-top:4px;color:#7a6470;line-height:1.35}
.booking-calendar-controls{display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:900;color:#7e3f53}
.booking-calendar-controls .ghost{width:34px;height:34px;border-radius:12px;padding:0;display:grid;place-items:center}
.booking-calendar-legend{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 10px;font-size:.78rem;font-weight:800;color:#6f5661}
.booking-calendar-legend span{display:inline-flex;align-items:center;gap:6px}
.booking-calendar-legend i{width:10px;height:10px;border-radius:50%;display:inline-block;background:#d9f4df;border:1px solid rgba(0,0,0,.05)}
.booking-calendar-legend i.pencil{background:#ffe7a8}
.booking-calendar-legend i.booked{background:#f6a8b8}
.booking-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.booking-calendar-dow{text-align:center;font-size:.68rem;font-weight:900;color:#9b7a88;text-transform:uppercase;letter-spacing:.08em;padding:4px 0}
.booking-calendar-empty{min-height:38px}
.booking-calendar-day{min-height:46px;border:1px solid rgba(126,63,83,.12);background:#fff;border-radius:14px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#2b1f24;font-weight:900;transition:.18s ease}
.booking-calendar-day:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(126,63,83,.12)}
.booking-calendar-day.selected{outline:3px solid rgba(126,63,83,.22);border-color:#7e3f53}
.booking-calendar-day.past{opacity:.35;cursor:not-allowed;background:#f7f1f3}
.booking-calendar-day.has-pencil{background:#fff8df;border-color:#edc66a}
.booking-calendar-day.has-booked{background:#ffe8ef;border-color:#e591a8}
.booking-calendar-day span{display:flex;gap:3px;min-height:14px}
.booking-calendar-day em{font-style:normal;font-size:.58rem;line-height:1;border-radius:999px;padding:3px 5px;color:#3f2630}
.booking-calendar-day em.pencil{background:#ffd974}
.booking-calendar-day em.booked{background:#e8879d;color:white}
.booking-calendar-note{grid-column:1/-1;margin:6px 0 0;color:#7a6470;font-size:.78rem}
@media(max-width:720px){
  .booking-calendar-head{flex-direction:column}
  .booking-calendar-controls{width:100%;justify-content:space-between}
  .booking-calendar-panel{padding:12px;border-radius:18px}
  .booking-calendar-grid{gap:4px}
  .booking-calendar-day{min-height:40px;border-radius:12px;font-size:.8rem}
}

/* =========================================================
   FINAL booking UI polish + visible Rentals tab
   ========================================================= */
body.buyer-page .shop-mode-toggle{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:5px!important;
  border:1px solid rgba(154,72,100,.18)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.9)!important;
  box-shadow:0 12px 30px rgba(70,24,42,.08)!important;
  max-width:100%!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
body.buyer-page .shop-mode-toggle::-webkit-scrollbar{display:none!important}
body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
  border:0!important;
  background:transparent!important;
  color:#8c5a6a!important;
  border-radius:999px!important;
  padding:10px 15px!important;
  min-width:82px!important;
  font-size:12px!important;
  font-weight:950!important;
  white-space:nowrap!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.buyer-page .shop-mode-toggle > button[data-shop-mode].active,
body.buyer-page .shop-mode-toggle > button[data-shop-mode][aria-selected="true"]{
  background:linear-gradient(135deg,#8e4a62,#cf6f90)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(142,74,98,.24)!important;
}
@media(max-width:720px){
  body.buyer-page .catalog-head-actions{width:100%!important;justify-content:flex-start!important}
  body.buyer-page .shop-mode-toggle{width:100%!important;justify-content:space-between!important}
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{flex:1!important;min-width:0!important;padding:10px 6px!important;font-size:10.5px!important}
}

body.service-booking-open{overflow:hidden!important}
body.buyer-page .service-booking-modal:not(.hidden){
  position:fixed!important;
  inset:0!important;
  z-index:10050!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:16px!important;
}
body.buyer-page .service-booking-backdrop{background:rgba(39,18,29,.58)!important;backdrop-filter:blur(10px)!important}
body.buyer-page .service-booking-card{
  width:min(820px,96vw)!important;
  max-height:92vh!important;
  border-radius:30px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fff,#fff8fb)!important;
  border:1px solid rgba(219,116,145,.24)!important;
  box-shadow:0 30px 90px rgba(52,18,34,.32)!important;
}
body.buyer-page .service-booking-content{
  max-height:92vh!important;
  overflow:auto!important;
  padding:28px 28px 30px!important;
}
body.buyer-page .service-booking-close{
  top:14px!important;
  right:14px!important;
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#25171c!important;
  box-shadow:0 12px 28px rgba(60,20,35,.14)!important;
}
body.buyer-page .service-booking-head{
  display:grid!important;
  grid-template-columns:108px 1fr!important;
  gap:18px!important;
  align-items:center!important;
  padding-right:44px!important;
  margin-bottom:16px!important;
}
body.buyer-page .service-booking-thumb{width:108px!important;height:108px!important;border-radius:24px!important}
body.buyer-page .service-booking-head h2{font-size:clamp(24px,3vw,34px)!important;line-height:1.05!important;margin:4px 0 7px!important}
body.buyer-page .service-booking-head .soft-text{line-height:1.42!important;margin:0 0 10px!important}

body.buyer-page .booking-calendar-panel{
  margin:16px 0 18px!important;
  padding:16px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff,#fff5f8)!important;
  border:1px solid rgba(219,116,145,.22)!important;
  box-shadow:0 14px 34px rgba(118,50,74,.08)!important;
}
body.buyer-page .booking-calendar-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
body.buyer-page .booking-calendar-head b{display:block!important;font-size:16px!important;color:#422534!important;margin-bottom:3px!important}
body.buyer-page .booking-calendar-head small{display:block!important;max-width:520px!important;color:#8f6877!important;font-size:11px!important;line-height:1.35!important}
body.buyer-page .booking-calendar-controls{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
body.buyer-page .booking-calendar-controls .ghost{width:36px!important;height:34px!important;min-width:36px!important;padding:0!important;border-radius:13px!important;display:grid!important;place-items:center!important;background:#fff!important;color:#8e4a62!important;border:1px solid rgba(219,116,145,.24)!important;box-shadow:none!important;font-size:18px!important}
body.buyer-page .booking-calendar-controls [data-calendar-label]{min-width:128px!important;text-align:center!important;color:#3a2630!important;font-size:12px!important;font-weight:950!important}
body.buyer-page .booking-calendar-legend{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 12px!important}
body.buyer-page .booking-calendar-legend span{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:28px!important;padding:6px 10px!important;border-radius:999px!important;background:#fff!important;border:1px solid rgba(219,116,145,.16)!important;color:#6e4b59!important;font-size:11px!important;font-weight:900!important}
body.buyer-page .booking-calendar-legend i{width:10px!important;height:10px!important;display:inline-block!important;border-radius:50%!important;background:#e7f5e9!important;border:1px solid rgba(55,154,80,.25)!important}
body.buyer-page .booking-calendar-legend i.pencil{background:#fff3cd!important;border-color:rgba(188,134,30,.38)!important}
body.buyer-page .booking-calendar-legend i.booked{background:#ffe1e8!important;border-color:rgba(197,67,98,.38)!important}
body.buyer-page .booking-calendar-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important}
body.buyer-page .booking-calendar-dow{text-align:center!important;color:#9b7180!important;font-size:10px!important;font-weight:950!important;letter-spacing:.06em!important;text-transform:uppercase!important;padding:4px 0!important}
body.buyer-page .booking-calendar-empty{min-height:44px!important}
body.buyer-page .booking-calendar-day{min-height:46px!important;border:1px solid rgba(219,116,145,.18)!important;border-radius:14px!important;background:#fff!important;padding:6px 4px!important;display:grid!important;gap:3px!important;align-content:center!important;justify-items:center!important;color:#33232b!important;font-weight:900!important;box-shadow:0 8px 18px rgba(110,40,70,.05)!important}
body.buyer-page .booking-calendar-day b{font-size:13px!important;line-height:1!important}
body.buyer-page .booking-calendar-day span{min-height:12px!important;display:flex!important;gap:3px!important;align-items:center!important;justify-content:center!important}
body.buyer-page .booking-calendar-day em{min-width:16px!important;height:16px!important;display:grid!important;place-items:center!important;border-radius:999px!important;font-style:normal!important;font-size:9px!important;font-weight:950!important}
body.buyer-page .booking-calendar-day em.booked{background:#8e2f4b!important;color:#fff!important}
body.buyer-page .booking-calendar-day em.pencil{background:#f3b53f!important;color:#3d2600!important}
body.buyer-page .booking-calendar-day.has-pencil{background:#fff8e7!important;border-color:rgba(218,163,53,.42)!important}
body.buyer-page .booking-calendar-day.has-booked{background:#fff0f4!important;border-color:rgba(197,67,98,.42)!important}
body.buyer-page .booking-calendar-day.selected{outline:3px solid rgba(207,111,144,.24)!important;border-color:#bd5f7c!important;background:#fff1f6!important}
body.buyer-page .booking-calendar-day.past{opacity:.42!important;background:#f3f0f1!important;color:#999!important;cursor:not-allowed!important}
body.buyer-page .booking-calendar-note{grid-column:1 / -1!important;margin:6px 0 0!important;padding:10px 12px!important;border-radius:14px!important;background:#fff8e1!important;color:#7a5630!important;font-size:12px!important;line-height:1.35!important;border:1px solid rgba(200,150,60,.20)!important}
body.buyer-page .service-booking-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.buyer-page .service-booking-form label{display:grid!important;gap:7px!important;margin:0!important}
body.buyer-page .service-booking-form label > span{color:#7a4557!important;font-weight:950!important;font-size:13px!important}
body.buyer-page .service-booking-form input,
body.buyer-page .service-booking-form textarea{width:100%!important;border-radius:16px!important;border:1px solid rgba(219,116,145,.24)!important;background:#fff!important;padding:13px 14px!important;font-weight:850!important}
body.buyer-page .service-booking-form textarea{min-height:84px!important;resize:vertical!important;line-height:1.4!important}
body.buyer-page .service-booking-form input::placeholder,
body.buyer-page .service-booking-form textarea::placeholder{color:#9b8089!important;font-weight:750!important}
body.buyer-page .service-booking-form .wide{grid-column:1 / -1!important}
body.buyer-page .service-booking-form button.primary.wide{min-height:52px!important;border-radius:18px!important;background:linear-gradient(135deg,#1f171b,#d46f91)!important;box-shadow:0 18px 34px rgba(110,40,70,.16)!important}
@media(max-width:760px){
  body.buyer-page .service-booking-modal:not(.hidden){align-items:flex-end!important;padding:0!important}
  body.buyer-page .service-booking-card{width:100vw!important;max-height:94vh!important;border-radius:28px 28px 0 0!important}
  body.buyer-page .service-booking-content{max-height:94vh!important;padding:22px 16px 28px!important}
  body.buyer-page .service-booking-head{grid-template-columns:72px 1fr!important;gap:12px!important;padding-right:42px!important}
  body.buyer-page .service-booking-thumb{width:72px!important;height:72px!important;border-radius:18px!important}
  body.buyer-page .booking-calendar-head{display:grid!important;gap:10px!important}
  body.buyer-page .booking-calendar-controls{justify-content:space-between!important;width:100%!important}
  body.buyer-page .booking-calendar-controls [data-calendar-label]{flex:1!important}
  body.buyer-page .booking-calendar-grid{gap:4px!important}
  body.buyer-page .booking-calendar-day{min-height:40px!important;border-radius:11px!important;padding:4px 2px!important}
  body.buyer-page .booking-calendar-empty{min-height:40px!important}
  body.buyer-page .service-booking-form{grid-template-columns:1fr!important}
  body.buyer-page .service-booking-form .wide{grid-column:auto!important}
}

/* === 2026-06-19 UI Reference Refresh === */
:root{
  --cale-bg:#fff9fb;
  --cale-surface:#ffffff;
  --cale-soft:#fff1f5;
  --cale-soft-2:#fdf4f7;
  --cale-border:rgba(226, 166, 186, .28);
  --cale-text:#23191d;
  --cale-muted:#77646b;
  --cale-primary:#ea6f96;
  --cale-primary-deep:#c35276;
  --cale-shadow:0 18px 45px rgba(120, 61, 81, .10);
}
body.buyer-page{background:linear-gradient(180deg,#fffafb 0%, #fff6f8 100%)!important;color:var(--cale-text)!important}
body.buyer-page .cb-shell{max-width:1440px!important;width:min(100%, 1440px)!important;margin:0 auto!important;padding:0 24px 110px!important}
body.buyer-page .cb-promo-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 2px;color:#6c575f;font-size:13px;font-weight:700}
body.buyer-page .cb-promo-center{display:flex;align-items:center;justify-content:center;gap:18px;flex:1;flex-wrap:wrap}
body.buyer-page .cb-promo-center span+span{position:relative;padding-left:18px}
body.buyer-page .cb-promo-center span+span::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:14px;background:rgba(120,85,99,.2)}
body.buyer-page .cb-promo-socials{display:flex;gap:12px}
body.buyer-page .cb-promo-socials a{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:var(--cale-surface);border:1px solid var(--cale-border);text-decoration:none;color:#3b2a31;font-weight:900;box-shadow:0 8px 18px rgba(110,40,70,.05)}
body.buyer-page .cb-top-nav{display:grid!important;grid-template-columns:200px minmax(320px,1fr) auto!important;align-items:center!important;gap:26px!important;padding:22px 10px 20px!important;background:transparent!important;border-bottom:1px solid rgba(232,188,202,.35)!important;box-shadow:none!important}
body.buyer-page .cb-brand-block{display:flex!important;align-items:center!important;gap:14px!important}
body.buyer-page .cb-brand-logo{width:160px!important;max-width:100%!important;height:auto!important;object-fit:contain!important;filter:none!important}
body.buyer-page .cb-search-wrap{height:54px!important;border-radius:999px!important;border:1px solid var(--cale-border)!important;background:#fff!important;box-shadow:0 8px 20px rgba(110,40,70,.05)!important;padding:0 18px!important}
body.buyer-page .cb-search-wrap input{font-size:15px!important;color:#43323a!important}
body.buyer-page .cb-utility-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
body.buyer-page .utility-text-link{display:grid!important;justify-items:center!important;gap:6px!important;width:72px!important;height:auto!important;padding:10px 6px!important;border-radius:18px!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative}
body.buyer-page .utility-icon{font-size:22px!important;line-height:1!important}
body.buyer-page .utility-label{font-size:11px!important;font-weight:800!important;color:#47353d!important;line-height:1.1!important}
body.buyer-page .utility-text-link:hover{background:#fff!important;border-color:var(--cale-border)!important;box-shadow:0 12px 20px rgba(110,40,70,.07)!important}
body.buyer-page .cb-main-nav{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:14px 0 18px;border-bottom:1px solid rgba(232,188,202,.35)}
body.buyer-page .cb-main-nav-link{border:0;background:none;color:#4f3d44;font-weight:800;font-size:14px;padding:10px 4px;border-bottom:2px solid transparent;cursor:pointer}
body.buyer-page .cb-main-nav-link.active,body.buyer-page .cb-main-nav-link:hover{color:#d95f89;border-bottom-color:#e683a5}
body.buyer-page .cb-feature-banner{display:grid!important;grid-template-columns:minmax(340px, 1fr) minmax(320px, 540px)!important;align-items:stretch!important;gap:12px!important;position:relative!important;overflow:hidden!important;padding:48px 42px!important;border-radius:32px!important;background:radial-gradient(circle at 75% 30%, rgba(255,255,255,.65), rgba(255,255,255,0) 34%), linear-gradient(90deg,#fff6f8 0%, #fffafd 45%, #ffe7ef 100%)!important;border:1px solid rgba(234,182,198,.28)!important;box-shadow:var(--cale-shadow)!important;min-height:380px!important;margin-top:16px!important}
body.buyer-page .cb-pill-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid rgba(231,173,192,.28);color:#34262b;font-size:13px;font-weight:900;box-shadow:0 10px 20px rgba(110,40,70,.05)}
body.buyer-page .cb-pill-badge.soft{background:#fff5f7}
body.buyer-page .cb-hero-greeting{font-size:13px!important;text-transform:none!important;color:#6f5f65!important;margin:18px 0 10px!important;letter-spacing:0!important}
body.buyer-page .cb-feature-copy h1{font-family:Georgia, 'Times New Roman', serif!important;font-size:clamp(40px, 5vw, 74px)!important;line-height:.92!important;letter-spacing:-.03em!important;color:#0f0d0e!important;margin:0 0 14px!important}
body.buyer-page .cb-feature-copy h1 span{color:#e25d88!important;font-weight:700!important}
body.buyer-page .cb-feature-copy p{max-width:420px!important;font-size:20px!important;line-height:1.45!important;color:#6d5b63!important;margin:0 0 24px!important}
body.buyer-page .cb-hero-actions{display:flex;gap:16px;flex-wrap:wrap}
body.buyer-page .cb-primary-cta,body.buyer-page .cb-secondary-cta{min-height:50px;border-radius:999px;padding:0 28px;font-size:15px;font-weight:900}
body.buyer-page .cb-primary-cta{background:linear-gradient(135deg,#ee6f98,#d55784)!important;color:#fff!important;border:0!important;box-shadow:0 18px 30px rgba(213,87,132,.24)!important}
body.buyer-page .cb-secondary-cta{background:#fff!important;color:#38272f!important;border:1px solid rgba(226,166,186,.35)!important;box-shadow:0 12px 24px rgba(110,40,70,.08)!important}
body.buyer-page .cb-feature-art{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:100%!important}
body.buyer-page .cb-hero-logo{position:relative;z-index:2;width:min(100%, 440px);height:auto;filter:drop-shadow(0 20px 36px rgba(110,40,70,.08))}
body.buyer-page .cb-hero-rose{position:absolute;right:-24px;top:-12px;bottom:-16px;width:min(44%,220px);background:radial-gradient(circle at 20% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 35%), linear-gradient(180deg, rgba(255,194,215,.12), rgba(239,140,176,.18)), url('assets/cale-boutique-logo-hero.png') center/cover no-repeat;border-radius:26px;opacity:.95;filter:saturate(1.05)}
body.buyer-page .cb-carousel-dots{position:absolute!important;left:50%!important;bottom:16px!important;transform:translateX(-50%)!important;display:flex!important;gap:8px!important}
body.buyer-page .cb-carousel-dots span{width:9px!important;height:9px!important;border-radius:999px!important;background:#dfbfca!important;display:block!important}
body.buyer-page .cb-carousel-dots span.active{background:#e56a93!important;width:24px!important}
body.buyer-page .cb-quick-categories{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:14px;margin:22px 0 18px}
body.buyer-page .cb-quick-card{background:#fff;border:1px solid var(--cale-border);border-radius:24px;padding:18px 14px;display:grid;justify-items:center;gap:8px;text-align:center;box-shadow:0 12px 24px rgba(110,40,70,.05);cursor:pointer;transition:.2s ease}
body.buyer-page .cb-quick-card:hover{transform:translateY(-2px);box-shadow:0 18px 28px rgba(110,40,70,.09)}
body.buyer-page .cb-quick-card i{font-style:normal;font-size:24px;line-height:1}
body.buyer-page .cb-quick-card strong{font-size:15px;color:#251a1f}
body.buyer-page .cb-quick-card span{font-size:12px;color:#77646b;font-weight:700}
body.buyer-page .cb-benefits-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:18px 22px;background:#fff;border:1px solid var(--cale-border);border-radius:24px;box-shadow:0 12px 24px rgba(110,40,70,.05);margin-bottom:24px}
body.buyer-page .cb-benefit-item{display:flex;align-items:center;gap:14px;padding:10px 8px}
body.buyer-page .cb-benefit-item i{font-style:normal;font-size:26px;color:#de668f}
body.buyer-page .cb-benefit-item strong{display:block;font-size:15px;color:#23191d}
body.buyer-page .cb-benefit-item span{display:block;font-size:12px;color:#77646b;font-weight:700}
body.buyer-page .cb-catalog-wrap,body.buyer-page .cb-services-highlight,body.buyer-page .cb-rentals-showcase{background:#fff!important;border:1px solid var(--cale-border)!important;border-radius:32px!important;box-shadow:var(--cale-shadow)!important;padding:28px!important;margin:0 0 26px!important}
body.buyer-page .cb-catalog-head{margin-bottom:18px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:18px!important}
body.buyer-page .cb-catalog-title h2,body.buyer-page .cb-section-title-row h2{font-size:40px!important;line-height:1.05!important;letter-spacing:-.03em!important;font-family:Georgia,'Times New Roman',serif!important;margin:0!important;color:#151214!important}
body.buyer-page .cb-catalog-title p,body.buyer-page .cb-section-title-row p{font-size:15px!important;color:#78656d!important;margin:8px 0 0!important}
body.buyer-page .catalog-head-actions{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}
body.buyer-page .shop-mode-toggle{padding:4px!important;background:#fff7fa!important;border:1px solid rgba(226,166,186,.3)!important;border-radius:999px!important;gap:4px!important;box-shadow:none!important;overflow:auto!important}
body.buyer-page .shop-mode-toggle > button[data-shop-mode]{border-radius:999px!important;padding:11px 18px!important;min-width:104px!important;background:transparent!important;color:#5a454e!important;font-size:13px!important;font-weight:900!important}
body.buyer-page .shop-mode-toggle > button[data-shop-mode].active,body.buyer-page .shop-mode-toggle > button[data-shop-mode][aria-selected="true"]{background:linear-gradient(135deg,#ef789d,#d65984)!important;color:#fff!important;box-shadow:none!important}
body.buyer-page .cb-filter-btn{min-height:46px!important;border-radius:999px!important;padding:0 18px!important;background:#fff!important;border:1px solid rgba(226,166,186,.3)!important;color:#593841!important;font-weight:900!important;box-shadow:none!important}
body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:18px!important}
body.buyer-page .buyer-service-grid,body.buyer-page #shopProducts.buyer-service-grid,body.buyer-page #shopServices.buyer-service-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}
body.buyer-page .buyer-product-card,body.buyer-page .buyer-service-card{border:1px solid var(--cale-border)!important;background:#fff!important;border-radius:24px!important;overflow:hidden!important;box-shadow:0 12px 24px rgba(110,40,70,.05)!important;transition:.18s ease!important;position:relative!important}
body.buyer-page .buyer-product-card:hover,body.buyer-page .buyer-service-card:hover{transform:translateY(-2px)!important;box-shadow:0 18px 28px rgba(110,40,70,.09)!important}
body.buyer-page .buyer-img-wrap,body.buyer-page .buyer-service-img{background:linear-gradient(180deg,#fff5f7,#fff)!important;border-bottom:1px solid rgba(226,166,186,.18)!important;aspect-ratio:1 / 1!important;padding:14px!important;display:grid!important;place-items:center!important}
body.buyer-page .buyer-product-card img,body.buyer-page .buyer-service-card img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:18px!important}
body.buyer-page .quick-view{top:14px!important;left:14px!important;border-radius:999px!important;padding:8px 12px!important;background:#fff!important;border:1px solid rgba(226,166,186,.28)!important;color:#a84a6d!important;font-size:11px!important;font-weight:900!important}
body.buyer-page .product-heart{top:14px!important;right:14px!important;width:34px!important;height:34px!important;border-radius:999px!important;background:#fff!important;border:1px solid rgba(226,166,186,.28)!important;color:#d56a90!important}
body.buyer-page .buyer-card-body,body.buyer-page .buyer-service-body{padding:16px 16px 18px!important}
body.buyer-page .buyer-card-body .mini-label,body.buyer-page .buyer-service-body .mini-label{font-size:11px!important;color:#e06a92!important;font-weight:900!important;letter-spacing:.03em!important;text-transform:uppercase!important}
body.buyer-page .buyer-card-body h3,body.buyer-page .buyer-service-body h3{font-size:16px!important;line-height:1.25!important;min-height:42px!important;color:#241a1f!important;margin:8px 0 10px!important}
body.buyer-page .buyer-card-foot strong,body.buyer-page .buyer-service-foot strong{font-size:24px!important;line-height:1!important;color:#1e1518!important}
body.buyer-page .buyer-card-foot span{font-size:12px!important;color:#7c6971!important;font-weight:800!important}
body.buyer-page .buyer-service-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:8px 0 14px!important}
body.buyer-page .buyer-service-meta span,body.buyer-page .buyer-meta-grid span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:6px 10px!important;border-radius:999px!important;background:#fff5f8!important;border:1px solid rgba(226,166,186,.22)!important;color:#714e5b!important;font-size:11px!important;font-weight:900!important}
body.buyer-page .buyer-service-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.buyer-page .buyer-service-foot .primary,body.buyer-page .quick-add{border-radius:999px!important;min-height:38px!important;padding:0 16px!important;background:linear-gradient(135deg,#ef789d,#d65984)!important;color:#fff!important;border:0!important;box-shadow:none!important;font-weight:900!important}
body.buyer-page .quick-add{position:static!important;width:100%!important;margin-top:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
body.buyer-page .seller-link-btn{display:block!important;margin-top:10px!important;text-decoration:none!important;color:#8f6877!important;font-size:12px!important;font-weight:800!important}
body.buyer-page .cb-section-title-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
body.buyer-page .cb-section-link{border:0;background:none;color:#db658e;font-weight:900;font-size:15px;cursor:pointer}
body.buyer-page .cb-services-highlight{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
body.buyer-page .cb-services-highlight .cb-section-title-row{grid-column:1 / -1;margin-bottom:2px}
body.buyer-page .cb-booking-promo{align-self:stretch;background:linear-gradient(180deg,#fff4f7,#ffe8ef);border:1px solid rgba(226,166,186,.28);border-radius:28px;padding:28px;display:grid;align-content:center;gap:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
body.buyer-page .cb-booking-promo h3{font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.04;margin:0;color:#d95f89}
body.buyer-page .cb-booking-promo p{font-size:15px;margin:0;color:#6d5b63}
body.buyer-page .cb-rentals-callout{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;border-radius:26px;background:linear-gradient(120deg,#fff5f8 0%, #fff 100%);border:1px solid rgba(226,166,186,.2)}
body.buyer-page .cb-rentals-callout h3{font-size:26px;line-height:1.15;margin:10px 0;color:#241a1f;max-width:680px}
body.buyer-page .cb-rentals-callout p{margin:0;color:#736169;font-size:15px;max-width:760px}
body.buyer-page .buyer-pagination{margin-top:22px!important;display:grid!important;gap:12px!important}
body.buyer-page .pagination-summary{font-size:13px!important;color:#7c6971!important;font-weight:800!important}
body.buyer-page .pagination-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
body.buyer-page .page-number,body.buyer-page .page-btn{min-width:44px!important;height:42px!important;border-radius:14px!important;border:1px solid rgba(226,166,186,.28)!important;background:#fff!important;color:#513f46!important;font-weight:900!important}
body.buyer-page .page-number.active{background:linear-gradient(135deg,#ef789d,#d65984)!important;color:#fff!important;border-color:transparent!important}
body.buyer-page .cb-newsletter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:28px 32px;border:1px solid var(--cale-border);border-radius:28px;background:linear-gradient(180deg,#fff4f8,#fff)!important;box-shadow:var(--cale-shadow)!important;margin:26px 0}
body.buyer-page .cb-newsletter h3{font-size:32px;font-family:Georgia,'Times New Roman',serif;line-height:1.05;margin:0 0 8px}
body.buyer-page .cb-newsletter p{margin:0;color:#76636b;font-size:15px}
body.buyer-page .cb-newsletter-form{display:flex;align-items:center;gap:12px;min-width:min(100%, 520px)}
body.buyer-page .cb-newsletter-form input{width:360px;max-width:100%;height:52px;border-radius:999px;border:1px solid rgba(226,166,186,.28);background:#fff;padding:0 18px;font-size:14px;font-weight:700;color:#35262d}
body.buyer-page .cb-newsletter-form button{height:52px;border-radius:999px;padding:0 24px;border:0;background:linear-gradient(135deg,#ef789d,#d65984);color:#fff;font-weight:900}
body.buyer-page .cb-footer{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;padding:26px 6px 0;color:#544148}
body.buyer-page .cb-footer-brand img{width:150px;height:auto;display:block;margin-bottom:12px}
body.buyer-page .cb-footer-brand p{font-size:14px;line-height:1.6;color:#75636a;margin:0 0 14px}
body.buyer-page .cb-footer-socials{display:flex;gap:10px}
body.buyer-page .cb-footer-socials a{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;text-decoration:none;background:#fff;border:1px solid rgba(226,166,186,.28);color:#453138;font-weight:900}
body.buyer-page .cb-footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
body.buyer-page .cb-footer-cols h4{font-size:15px;color:#251a1f;margin:0 0 14px}
body.buyer-page .cb-footer-cols a{display:block;text-decoration:none;color:#75636a;font-size:14px;line-height:1.9}
body.buyer-page .cb-footer-cols a:hover{color:#db658e}
body.buyer-page .cb-mobile-search{display:none!important}
body.buyer-page .scroll-top-side{bottom:98px!important}
body.buyer-page .service-booking-modal-card,body.buyer-page .service-booking-card{max-width:880px!important}
body.buyer-page .service-booking-head{padding-bottom:8px!important;border-bottom:1px solid rgba(226,166,186,.16)!important;margin-bottom:12px!important}
body.buyer-page .booking-calendar-panel{background:linear-gradient(180deg,#fff8fb,#fff)!important;border:1px solid rgba(226,166,186,.22)!important;border-radius:22px!important;padding:18px!important}
@media (max-width: 1280px){
  body.buyer-page .cb-shell{padding:0 18px 110px!important}
  body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.buyer-page .buyer-service-grid,body.buyer-page #shopProducts.buyer-service-grid,body.buyer-page #shopServices.buyer-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.buyer-page .cb-quick-categories{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width: 1024px){
  body.buyer-page .cb-top-nav{grid-template-columns:1fr!important;justify-items:center!important}
  body.buyer-page .cb-utility-nav{justify-content:center!important;flex-wrap:wrap!important}
  body.buyer-page .cb-main-nav{overflow:auto;justify-content:flex-start;padding-bottom:14px}
  body.buyer-page .cb-feature-banner{grid-template-columns:1fr!important;padding:32px 24px!important;min-height:auto!important}
  body.buyer-page .cb-feature-copy p{font-size:17px!important}
  body.buyer-page .cb-hero-rose{display:none}
  body.buyer-page .cb-quick-categories{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.buyer-page .cb-benefits-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.buyer-page .cb-services-highlight{grid-template-columns:1fr}
  body.buyer-page .cb-newsletter{grid-template-columns:1fr}
  body.buyer-page .cb-newsletter-form{width:100%;min-width:0}
  body.buyer-page .cb-footer{grid-template-columns:1fr}
  body.buyer-page .cb-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 768px){
  body.buyer-page .cb-shell{padding:0 14px 120px!important}
  body.buyer-page .cb-promo-strip{display:none}
  body.buyer-page .cb-top-nav{grid-template-columns:1fr auto!important;gap:12px!important;padding:16px 0 14px!important}
  body.buyer-page .cb-top-nav > .cb-search-wrap{grid-column:1 / -1!important;order:3!important;display:flex!important}
  body.buyer-page .cb-brand-logo{width:120px!important}
  body.buyer-page .utility-text-link{width:54px!important;padding:8px 2px!important}
  body.buyer-page .utility-label{font-size:9.5px!important}
  body.buyer-page .cb-main-nav{gap:10px!important;font-size:12px!important;flex-wrap:nowrap!important;overflow:auto!important;white-space:nowrap!important}
  body.buyer-page .cb-main-nav-link{font-size:13px!important;padding:10px 2px!important}
  body.buyer-page .cb-feature-banner{padding:24px 18px!important;border-radius:26px!important}
  body.buyer-page .cb-feature-copy h1{font-size:clamp(34px, 11vw, 50px)!important}
  body.buyer-page .cb-feature-copy p{font-size:15px!important}
  body.buyer-page .cb-hero-actions{gap:10px!important}
  body.buyer-page .cb-primary-cta,body.buyer-page .cb-secondary-cta{width:100%;justify-content:center}
  body.buyer-page .cb-quick-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.buyer-page .cb-benefits-strip{grid-template-columns:1fr!important;padding:14px!important}
  body.buyer-page .cb-catalog-wrap,body.buyer-page .cb-services-highlight,body.buyer-page .cb-rentals-showcase,body.buyer-page .cb-newsletter{padding:18px!important;border-radius:24px!important}
  body.buyer-page .cb-catalog-head,body.buyer-page .cb-section-title-row{grid-template-columns:1fr!important;display:grid!important;gap:14px!important}
  body.buyer-page .cb-catalog-title h2,body.buyer-page .cb-section-title-row h2{font-size:31px!important}
  body.buyer-page .catalog-head-actions{display:grid!important;gap:10px!important}
  body.buyer-page .shop-mode-toggle{width:100%!important}
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{flex:1!important;min-width:0!important;padding:11px 12px!important}
  body.buyer-page .cb-filter-btn{width:100%!important;justify-content:space-between!important}
  body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.buyer-page .buyer-service-grid,body.buyer-page #shopProducts.buyer-service-grid,body.buyer-page #shopServices.buyer-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.buyer-page .buyer-card-body h3,body.buyer-page .buyer-service-body h3{font-size:14px!important;min-height:36px!important}
  body.buyer-page .buyer-card-foot strong,body.buyer-page .buyer-service-foot strong{font-size:19px!important}
  body.buyer-page .cb-booking-promo{padding:20px!important;border-radius:22px!important}
  body.buyer-page .cb-booking-promo h3{font-size:24px!important}
  body.buyer-page .cb-rentals-callout{flex-direction:column!important;align-items:flex-start!important;padding:18px!important;border-radius:22px!important}
  body.buyer-page .cb-newsletter h3{font-size:25px!important}
  body.buyer-page .cb-newsletter-form{display:grid!important;grid-template-columns:1fr!important}
  body.buyer-page .cb-newsletter-form input,body.buyer-page .cb-newsletter-form button{width:100%!important}
  body.buyer-page .cb-footer-cols{grid-template-columns:1fr!important}
}

/* product tile cleanup */
body.buyer-page .buyer-product-card-clean .buyer-card-body{
  padding:16px 16px 14px!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-body h3{
  min-height:auto!important;
  margin:2px 0 12px!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-foot{
  margin-bottom:10px!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-body .mini-label,
body.buyer-page .buyer-product-card-clean .buyer-meta-grid,
body.buyer-page .buyer-product-card-clean .buyer-seller-line,
body.buyer-page .buyer-product-card-clean .seller-link-btn{
  display:none!important;
}

/* === 2026-06-19 Marketplace Conversion Polish === */
body.buyer-page .cb-icon-btn{width:48px!important;height:48px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(226,166,186,.35)!important;box-shadow:0 10px 22px rgba(110,40,70,.06)!important;color:#4a333c!important;display:grid!important;place-items:center!important;position:relative!important;font-weight:900!important}
body.buyer-page .cb-icon-btn:hover{transform:translateY(-1px)!important;box-shadow:0 14px 26px rgba(110,40,70,.09)!important}
body.buyer-page .cb-main-nav-link{font-family:inherit!important}
body.buyer-page .cb-main-nav-link.active{background:#fff!important;border-radius:999px!important;padding-inline:16px!important;box-shadow:0 10px 20px rgba(110,40,70,.06)!important}
body.buyer-page .cb-quick-card{font-family:inherit!important;border:0!important}
body.buyer-page .cb-quick-card.active{background:linear-gradient(180deg,#fff,#fff2f6)!important;outline:2px solid rgba(229,106,147,.25)!important;box-shadow:0 18px 34px rgba(213,87,132,.12)!important}
body.buyer-page .cb-quick-card.active strong{color:#d65984!important}
body.buyer-page .buyer-product-card-clean{cursor:pointer!important}
body.buyer-page .buyer-product-card-clean .buyer-img-wrap{min-height:0!important;aspect-ratio:1/1.04!important;padding:12px!important}
body.buyer-page .buyer-product-card-clean .buyer-product-img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:var(--img-x,50%) var(--img-y,50%)!important;background:#fff!important}
body.buyer-page .buyer-product-card-clean .quick-view{opacity:0!important;transform:translateY(-4px)!important;transition:.18s ease!important}
body.buyer-page .buyer-product-card-clean:hover .quick-view{opacity:1!important;transform:translateY(0)!important}
body.buyer-page .buyer-product-card-clean .product-heart{display:none!important}
body.buyer-page .buyer-product-card-clean .buyer-card-foot{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important}
body.buyer-page .buyer-product-card-clean .buyer-card-foot span{padding:5px 8px!important;border-radius:999px!important;background:#fff4f8!important;color:#9a506d!important;font-size:11px!important;white-space:nowrap!important}
body.buyer-page .buyer-product-card-clean .product-rating{min-height:20px!important;margin-top:4px!important;display:flex!important;align-items:center!important;gap:6px!important;color:#f0a744!important;font-size:12px!important}
body.buyer-page .buyer-product-card-clean .product-rating small{color:#8a727b!important;font-weight:800!important;font-size:11px!important}
body.buyer-page .catalog-service-grid .buyer-service-card{display:grid!important;grid-template-rows:auto 1fr!important}
body.buyer-page .catalog-service-grid .buyer-service-img{aspect-ratio:1.12/1!important;padding:12px!important}
body.buyer-page .catalog-service-grid .buyer-service-body{display:flex!important;flex-direction:column!important;min-height:260px!important}
body.buyer-page .catalog-service-grid .buyer-service-body .soft-text{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;line-height:1.45!important;min-height:61px!important}
body.buyer-page .catalog-service-grid .buyer-service-foot{margin-top:auto!important}
body.buyer-page .catalog-service-grid .buyer-service-foot .primary{min-width:132px!important}
body.buyer-page .cb-seller-cta{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:22px;align-items:stretch;margin:26px 0;padding:30px;border-radius:32px;border:1px solid rgba(226,166,186,.28);background:linear-gradient(135deg,#fff 0%,#fff4f8 58%,#ffe8f0 100%);box-shadow:var(--cale-shadow)}
body.buyer-page .cb-seller-cta-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,4vw,52px);line-height:1.02;letter-spacing:-.035em;margin:14px 0 12px;color:#171214}
body.buyer-page .cb-seller-cta-copy p{font-size:16px;line-height:1.65;color:#715e66;margin:0;max-width:760px}
body.buyer-page .cb-seller-cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
body.buyer-page .cb-seller-cta-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
body.buyer-page .cb-seller-cta-grid{display:grid;gap:12px}
body.buyer-page .cb-seller-cta-grid div{background:#fff;border:1px solid rgba(226,166,186,.26);border-radius:22px;padding:18px;box-shadow:0 12px 26px rgba(110,40,70,.05)}
body.buyer-page .cb-seller-cta-grid b{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:999px;background:#fff2f6;color:#d65984;font-size:12px;margin-bottom:12px}
body.buyer-page .cb-seller-cta-grid strong{display:block;color:#23191d;font-size:16px;margin-bottom:6px}
body.buyer-page .cb-seller-cta-grid span{display:block;color:#75636a;font-size:13px;line-height:1.5;font-weight:700}
body.buyer-page .cb-newsletter-form button{cursor:pointer!important}
body.buyer-page .cb-footer a[role="button"],body.buyer-page .cb-footer a{cursor:pointer}
body.buyer-page .service-booking-card{box-shadow:0 30px 80px rgba(61,31,45,.24)!important}
body.buyer-page .service-booking-form input[type="date"],body.buyer-page .service-booking-form input[type="time"]{font-size:16px!important}
body.buyer-page .booking-link-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;border-radius:999px!important;background:#1f171b!important;color:#fff!important;text-decoration:none!important;font-weight:900!important;padding:0 18px!important;margin:4px 0 12px!important}
body.buyer-page .cb-bottom-nav button.active{color:#d65984!important}
@media (max-width: 1180px){
  body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.buyer-page .buyer-service-grid,body.buyer-page #shopProducts.buyer-service-grid,body.buyer-page #shopServices.buyer-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.buyer-page .cb-seller-cta{grid-template-columns:1fr!important}
}
@media (max-width: 768px){
  body.buyer-page .cb-shell{padding-left:12px!important;padding-right:12px!important}
  body.buyer-page .cb-promo-strip{display:none!important}
  body.buyer-page .cb-main-nav{justify-content:flex-start!important;overflow:auto!important;scrollbar-width:none!important;padding:10px 2px 14px!important}
  body.buyer-page .cb-main-nav::-webkit-scrollbar{display:none!important}
  body.buyer-page .cb-main-nav-link{flex:0 0 auto!important;font-size:12px!important;padding:10px 12px!important;background:#fff!important;border-radius:999px!important;border:1px solid rgba(226,166,186,.24)!important}
  body.buyer-page .cb-feature-banner{grid-template-columns:1fr!important;margin-top:10px!important;gap:18px!important}
  body.buyer-page .cb-feature-art{min-height:220px!important}
  body.buyer-page .cb-gift-card{position:static!important;transform:none!important;width:100%!important;margin-top:10px!important}
  body.buyer-page .cb-quick-categories{grid-template-columns:repeat(4,minmax(112px,1fr))!important;overflow-x:auto!important;display:flex!important;padding-bottom:4px!important;scroll-snap-type:x mandatory!important}
  body.buyer-page .cb-quick-card{min-width:118px!important;scroll-snap-align:start!important;padding:14px 10px!important;border-radius:18px!important}
  body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.buyer-page .buyer-service-grid,body.buyer-page #shopProducts.buyer-service-grid,body.buyer-page #shopServices.buyer-service-grid{grid-template-columns:1fr!important;gap:12px!important}
  body.buyer-page .buyer-product-card-clean{border-radius:18px!important}
  body.buyer-page .buyer-product-card-clean .buyer-card-body{padding:12px!important}
  body.buyer-page .buyer-product-card-clean .buyer-card-body h3{font-size:13.5px!important;line-height:1.22!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:34px!important}
  body.buyer-page .buyer-product-card-clean .buyer-card-foot strong{font-size:17px!important}
  body.buyer-page .buyer-product-card-clean .quick-add{min-height:36px!important;margin-top:10px!important;font-size:12px!important}
  body.buyer-page .catalog-service-grid .buyer-service-card{grid-template-columns:114px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:stretch!important}
  body.buyer-page .catalog-service-grid .buyer-service-img{height:100%!important;aspect-ratio:auto!important;border-bottom:0!important;border-right:1px solid rgba(226,166,186,.18)!important}
  body.buyer-page .catalog-service-grid .buyer-service-body{min-height:0!important;padding:14px!important}
  body.buyer-page .catalog-service-grid .buyer-service-body h3{font-size:15px!important;min-height:auto!important;margin:4px 0 6px!important}
  body.buyer-page .catalog-service-grid .buyer-service-body .soft-text{min-height:0!important;-webkit-line-clamp:2!important;font-size:12px!important}
  body.buyer-page .catalog-service-grid .buyer-service-foot{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important}
  body.buyer-page .catalog-service-grid .buyer-service-foot .primary{width:100%!important}
  body.buyer-page .cb-seller-cta{padding:20px!important;border-radius:24px!important}
  body.buyer-page .cb-seller-cta-grid div{padding:15px!important;border-radius:18px!important}
  body.buyer-page .cb-footer{padding-bottom:24px!important}
}
@media (max-width: 420px){
  body.buyer-page .cb-feature-copy h1{font-size:34px!important;line-height:.98!important}
  body.buyer-page .cb-feature-copy p{font-size:14px!important}
  body.buyer-page .buyer-product-grid,body.buyer-page #shopProducts.buyer-product-grid{gap:9px!important}
  body.buyer-page .buyer-product-card-clean .buyer-img-wrap{padding:8px!important}
  body.buyer-page .buyer-product-card-clean .buyer-card-foot{display:grid!important;gap:4px!important;align-items:start!important}
  body.buyer-page .buyer-product-card-clean .buyer-card-foot span{width:max-content!important}
}

/* === Product card refresh based on latest reference === */
body.buyer-page .buyer-product-card-clean{
  background:#f5f1f2!important;
  border:1px solid #eee6e8!important;
  border-radius:28px!important;
  padding:12px!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  overflow:visible!important;
}
body.buyer-page .buyer-product-card-clean:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 16px 28px rgba(58,39,52,.08)!important;
}
body.buyer-page .buyer-product-card-clean .quick-view{
  position:absolute!important;
  top:22px!important;
  left:22px!important;
  z-index:3!important;
  opacity:1!important;
  transform:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #ece5e7!important;
  color:#171417!important;
  font-size:12px!important;
  font-weight:900!important;
  box-shadow:0 8px 18px rgba(67,47,59,.08)!important;
}
body.buyer-page .buyer-product-card-clean .product-heart{
  position:absolute!important;
  top:22px!important;
  right:22px!important;
  z-index:3!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #ece5e7!important;
  color:#171417!important;
  font-size:15px!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(67,47,59,.08)!important;
}
body.buyer-page .buyer-product-card-clean .buyer-img-wrap{
  aspect-ratio:1 / 1.02!important;
  min-height:0!important;
  padding:16px!important;
  background:#fff!important;
  border:none!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
}
body.buyer-page .buyer-product-card-clean .buyer-product-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:var(--img-x,50%) var(--img-y,50%)!important;
  border-radius:16px!important;
  background:#fff!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-body{
  padding:0 4px 2px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
body.buyer-page .buyer-product-card-clean .product-card-category{
  margin:0!important;
  color:#d97a97!important;
  text-transform:uppercase!important;
  letter-spacing:.1em!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-body h3{
  margin:0!important;
  color:#35304b!important;
  font-size:18px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  min-height:42px!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-foot{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-top:2px!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-foot strong{
  font-size:18px!important;
  line-height:1!important;
  color:#0f0d12!important;
  font-weight:1000!important;
}
body.buyer-page .buyer-product-card-clean .buyer-card-foot span{
  padding:0!important;
  background:none!important;
  color:#766d71!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
body.buyer-page .buyer-product-card-clean .product-rating{
  min-height:18px!important;
  margin-top:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
body.buyer-page .buyer-product-card-clean .product-rating span{
  color:#ef92ae!important;
  font-size:11px!important;
  letter-spacing:1.3px!important;
  line-height:1!important;
}
body.buyer-page .buyer-product-card-clean .product-rating small{
  color:#716b83!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
}
body.buyer-page .buyer-product-card-clean .quick-add{
  width:100%!important;
  margin-top:4px!important;
  min-height:46px!important;
  border-radius:16px!important;
  background:#0f0d12!important;
  color:#fff!important;
  border:0!important;
  display:grid!important;
  grid-template-columns:36px 1fr 22px!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 14px!important;
  box-shadow:none!important;
}
body.buyer-page .buyer-product-card-clean .quick-add .quick-add-icon{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border-radius:10px!important;
  font-size:15px!important;
  line-height:1!important;
}
body.buyer-page .buyer-product-card-clean .quick-add b{
  justify-self:center!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:900!important;
}
body.buyer-page .buyer-product-card-clean .quick-add i{
  justify-self:end!important;
  font-style:normal!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:700!important;
}

@media (max-width: 768px){
  body.buyer-page .buyer-product-card-clean{
    border-radius:24px!important;
    padding:10px!important;
  }
  body.buyer-page .buyer-product-card-clean .quick-view{
    top:18px!important;
    left:18px!important;
    min-height:32px!important;
    padding:0 12px!important;
    font-size:11px!important;
  }
  body.buyer-page .buyer-product-card-clean .product-heart{
    top:18px!important;
    right:18px!important;
    width:32px!important;
    height:32px!important;
    font-size:14px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-img-wrap{
    border-radius:18px!important;
    padding:12px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-body{
    padding:0 2px 2px!important;
    gap:7px!important;
  }
  body.buyer-page .buyer-product-card-clean .product-card-category{
    font-size:10px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-body h3{
    font-size:15px!important;
    min-height:36px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-foot strong{
    font-size:16px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-foot span,
  body.buyer-page .buyer-product-card-clean .product-rating small{
    font-size:11px!important;
  }
  body.buyer-page .buyer-product-card-clean .quick-add{
    min-height:42px!important;
    border-radius:14px!important;
    grid-template-columns:32px 1fr 18px!important;
    padding:0 12px!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .buyer-product-grid,
  body.buyer-page #shopProducts.buyer-product-grid{
    gap:12px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-body h3{
    font-size:14px!important;
  }
  body.buyer-page .buyer-product-card-clean .buyer-card-foot{
    align-items:center!important;
  }
}

/* === Mobile conversion/layout fix: remove dead space, improve navigation and seller trust sections === */
body.buyer-page .cb-shell{
  padding-bottom:104px!important;
}
body.buyer-page .buyer-main{
  padding-bottom:0!important;
}
body.buyer-page .cb-main-nav-link,
body.buyer-page .cb-footer-cols button{
  font:inherit!important;
}
body.buyer-page .cb-footer-cols button,
body.buyer-page .cb-footer-cols span{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  text-align:left!important;
  text-decoration:none!important;
  color:#75636a!important;
  font-size:14px!important;
  line-height:1.9!important;
  cursor:pointer!important;
}
body.buyer-page .cb-footer-cols button:hover{
  color:#db658e!important;
}
body.buyer-page .cb-footer-cols span{
  cursor:default!important;
}
body.buyer-page .buyer-pagination{
  margin:16px 0 0!important;
  padding:14px!important;
  border-radius:22px!important;
  box-shadow:0 12px 22px rgba(110,40,70,.06)!important;
}
body.buyer-page .pagination-summary{
  text-align:center!important;
}
body.buyer-page .pagination-actions{
  justify-content:center!important;
}
body.buyer-page .cb-rewards-panel,
body.buyer-page .cb-seller-cta,
body.buyer-page .cb-newsletter,
body.buyer-page .cb-footer{
  animation:caleSectionIn 460ms var(--cale-ease-pop, ease) both;
}
body.buyer-page .cb-seller-cta .cb-primary-cta,
body.buyer-page .cb-seller-cta .cb-secondary-cta{
  border:0!important;
  cursor:pointer!important;
}
body.buyer-page .cb-seller-cta .cb-secondary-cta{
  border:1px solid rgba(226,166,186,.35)!important;
}

@media (max-width: 768px){
  body.buyer-page{
    background:linear-gradient(180deg,#fffafd 0%,#fff5f8 100%)!important;
  }
  body.buyer-page .cb-shell{
    padding-left:10px!important;
    padding-right:10px!important;
    padding-bottom:calc(86px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.buyer-page.cart-has-items:not(.customer-gate-active) .buyer-main{
    padding-bottom:0!important;
  }
  body.buyer-page .cb-top-nav{
    padding:10px 4px 8px!important;
    gap:10px!important;
    border-bottom:0!important;
  }
  body.buyer-page .cb-brand-logo{
    width:132px!important;
  }
  body.buyer-page .cb-main-nav{
    margin:2px -2px 8px!important;
    padding:6px 2px 8px!important;
    gap:8px!important;
    border-bottom:0!important;
  }
  body.buyer-page .cb-main-nav-link{
    min-height:34px!important;
    padding:0 12px!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid rgba(226,166,186,.24)!important;
    box-shadow:0 6px 14px rgba(110,40,70,.05)!important;
    white-space:nowrap!important;
  }
  body.buyer-page .cb-main-nav-link.active{
    background:#111014!important;
    color:#fff!important;
    border-color:#111014!important;
  }
  body.buyer-page .cb-mobile-search{
    margin:6px 0 10px!important;
  }
  body.buyer-page .cb-feature-banner{
    min-height:0!important;
    padding:22px 16px!important;
    border-radius:28px!important;
  }
  body.buyer-page .cb-feature-copy h1{
    font-size:clamp(32px, 10vw, 44px)!important;
    line-height:.96!important;
    max-width:100%!important;
  }
  body.buyer-page .cb-feature-copy p{
    font-size:14px!important;
    max-width:100%!important;
  }
  body.buyer-page .cb-hero-actions{
    gap:10px!important;
  }
  body.buyer-page .cb-primary-cta,
  body.buyer-page .cb-secondary-cta{
    min-height:44px!important;
    padding:0 18px!important;
    font-size:13px!important;
  }
  body.buyer-page .cb-quick-categories{
    display:flex!important;
    overflow-x:auto!important;
    gap:10px!important;
    margin:14px -2px 12px!important;
    padding:0 2px 4px!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
  }
  body.buyer-page .cb-quick-categories::-webkit-scrollbar{
    display:none!important;
  }
  body.buyer-page .cb-quick-card{
    min-width:118px!important;
    border-radius:20px!important;
    padding:14px 10px!important;
    scroll-snap-align:start!important;
  }
  body.buyer-page .cb-benefits-strip{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:12px!important;
    margin-bottom:14px!important;
    border-radius:22px!important;
  }
  body.buyer-page .cb-benefit-item{
    gap:8px!important;
    padding:8px!important;
  }
  body.buyer-page .cb-benefit-item i{
    font-size:20px!important;
  }
  body.buyer-page .cb-benefit-item strong{
    font-size:12px!important;
  }
  body.buyer-page .cb-benefit-item span{
    font-size:10px!important;
    line-height:1.25!important;
  }
  body.buyer-page .cb-catalog-wrap,
  body.buyer-page .cb-services-wrap,
  body.buyer-page .cb-rewards-panel,
  body.buyer-page .cb-seller-cta,
  body.buyer-page .cb-newsletter{
    margin-bottom:14px!important;
  }
  body.buyer-page .cb-catalog-wrap{
    padding:14px!important;
    border-radius:24px!important;
  }
  body.buyer-page .cb-catalog-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-bottom:14px!important;
  }
  body.buyer-page .catalog-head-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.buyer-page .shop-mode-toggle{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    width:100%!important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    min-width:0!important;
    padding:10px 8px!important;
    font-size:12px!important;
  }
  body.buyer-page .buyer-pagination{
    margin-top:12px!important;
    padding:12px!important;
    border-radius:20px!important;
  }
  body.buyer-page .pagination-actions{
    display:grid!important;
    grid-template-columns:1fr auto auto 1fr!important;
    gap:7px!important;
  }
  body.buyer-page .pagination-actions .page-btn{
    min-width:0!important;
    width:100%!important;
  }
  body.buyer-page .pagination-actions button,
  body.buyer-page .pagination-actions .page-gap{
    height:36px!important;
    border-radius:13px!important;
  }
  body.buyer-page .cb-rewards-panel{
    grid-template-columns:1fr 1fr!important;
    padding:16px!important;
    border-radius:22px!important;
    gap:10px!important;
  }
  body.buyer-page .cb-rewards-copy,
  body.buyer-page .cb-reward-gift{
    grid-column:1 / -1!important;
  }
  body.buyer-page .cb-reward-gift{
    display:none!important;
  }
  body.buyer-page .cb-seller-cta{
    padding:18px!important;
    border-radius:24px!important;
    margin-top:14px!important;
  }
  body.buyer-page .cb-seller-cta-copy h2{
    font-size:30px!important;
  }
  body.buyer-page .cb-seller-cta-copy p{
    font-size:13px!important;
    line-height:1.55!important;
  }
  body.buyer-page .cb-seller-cta-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.buyer-page .cb-seller-cta-actions button{
    width:100%!important;
  }
  body.buyer-page .cb-newsletter{
    padding:18px!important;
    border-radius:24px!important;
  }
  body.buyer-page .cb-footer{
    padding:12px 4px 4px!important;
    gap:20px!important;
  }
  body.buyer-page .cb-footer-brand img{
    width:126px!important;
  }
  body.buyer-page .cb-bottom-nav{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px))!important;
    transform:translateX(-50%)!important;
    z-index:15000!important;
    width:min(92vw, 360px)!important;
    height:62px!important;
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:5px!important;
    padding:6px!important;
    border:1px solid rgba(226,166,186,.35)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 16px 40px rgba(66,36,49,.18)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  body.buyer-page .cb-bottom-nav button{
    min-width:0!important;
    height:50px!important;
    display:grid!important;
    grid-template-rows:22px 14px!important;
    place-items:center!important;
    gap:2px!important;
    border:0!important;
    border-radius:18px!important;
    background:transparent!important;
    color:#33252b!important;
    font-size:18px!important;
    padding:6px 4px!important;
  }
  body.buyer-page .cb-bottom-nav button span{
    display:block!important;
    font-size:18px!important;
    line-height:1!important;
  }
  body.buyer-page .cb-bottom-nav b{
    display:block!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  body.buyer-page .cb-bottom-nav button.active{
    background:#111014!important;
    color:#fff!important;
  }
  body.buyer-page .cb-bottom-nav .cart-count-badge{
    top:4px!important;
    right:13px!important;
    min-width:16px!important;
    height:16px!important;
    font-size:9px!important;
  }
  body.buyer-page .scroll-top-side{
    bottom:calc(82px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.buyer-page .toast{
    bottom:calc(84px + env(safe-area-inset-bottom, 0px))!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-shell{
    padding-bottom:calc(82px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.buyer-page .cb-bottom-nav{
    width:min(94vw, 344px)!important;
    height:58px!important;
    border-radius:22px!important;
  }
  body.buyer-page .cb-bottom-nav button{
    height:46px!important;
    border-radius:16px!important;
  }
  body.buyer-page .cb-benefits-strip{
    grid-template-columns:1fr!important;
  }
}

/* === 2026-06-19 working-file safe patch: remove quick category rail, move options into Categories button === */
body.buyer-page #shopCategories{
  display:none !important;
}
body.buyer-page #categoryPickerBtn{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Keep services and rentals on the same premium card system as products */
body.buyer-page .buyer-service-card-clean{
  min-height:100% !important;
}
body.buyer-page .buyer-service-card-clean .buyer-service-img{
  border:none !important;
  background:#fff !important;
}
body.buyer-page .buyer-service-card-clean .service-card-image{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:16px !important;
}
body.buyer-page .buyer-service-card-clean .service-card-rating{
  min-height:18px !important;
  margin-top:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
body.buyer-page .buyer-service-card-clean .service-card-rating small{
  color:#716b83 !important;
  font-size:12px !important;
  line-height:1.35 !important;
  font-weight:900 !important;
  display:block !important;
}
body.buyer-page .buyer-service-card-clean .buyer-service-foot span{
  color:#766d71 !important;
}
body.buyer-page .buyer-service-grid.home-service-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
body.buyer-page .catalog-service-grid,
body.buyer-page #shopProducts.catalog-service-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:18px !important;
}

@media (max-width:1180px){
  body.buyer-page .catalog-service-grid,
  body.buyer-page #shopProducts.catalog-service-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}
@media (max-width:768px){
  body.buyer-page .buyer-service-grid.home-service-grid,
  body.buyer-page .catalog-service-grid,
  body.buyer-page #shopProducts.catalog-service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  body.buyer-page .buyer-service-card-clean .service-card-rating small{
    font-size:11px !important;
  }
}
@media (max-width:420px){
  body.buyer-page .buyer-service-grid.home-service-grid,
  body.buyer-page .catalog-service-grid,
  body.buyer-page #shopProducts.catalog-service-grid{
    gap:12px !important;
  }
}

/* === Provider profile + related listings inside service/rental details === */
body.buyer-page .service-detail-section{
  margin:16px 0!important;
  padding:16px!important;
  border:1px solid rgba(226,166,186,.22)!important;
  border-radius:22px!important;
  background:#fff!important;
}
body.buyer-page .provider-strip-section .seller-shop-strip{
  margin:0!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
}
body.buyer-page .related-service-card{
  text-align:left!important;
}
body.buyer-page .listing-detail-gallery{
  display:grid!important;
  gap:10px!important;
  width:100%!important;
}
body.buyer-page .listing-detail-main-media{
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
body.buyer-page .listing-detail-thumbs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.buyer-page .listing-detail-thumb,
body.buyer-page .listing-detail-thumbs > img,
body.buyer-page .listing-detail-thumb-video{
  width:100%!important;
  aspect-ratio:1/1!important;
  border:1px solid rgba(226,166,186,.25)!important;
  border-radius:14px!important;
  background:#fff!important;
  overflow:hidden!important;
  object-fit:cover!important;
}
body.buyer-page .detail-gallery-thumb-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#fff!important;
}
body.buyer-page .listing-detail-video{
  width:100%!important;
  max-height:360px!important;
  border-radius:18px!important;
  background:#111!important;
}
body.buyer-page .service-gallery .listing-detail-thumbs{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Dashboard media uploader */
.listing-media-uploader{
  display:grid!important;
  gap:12px!important;
  border:1px dashed rgba(215,106,144,.35)!important;
  background:#fff7fa!important;
  border-radius:18px!important;
  padding:14px!important;
}
.media-upload-copy{
  display:grid!important;
  gap:4px!important;
}
.media-upload-copy strong{
  color:#241a1f!important;
  font-weight:900!important;
}
.media-upload-copy small{
  color:#7a6670!important;
  line-height:1.4!important;
}
.media-upload-actions{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.listing-media-preview{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important;
  gap:10px!important;
}
.media-preview-card{
  position:relative!important;
  border:1px solid rgba(226,166,186,.35)!important;
  background:#fff!important;
  border-radius:14px!important;
  overflow:hidden!important;
  min-height:104px!important;
  padding:6px!important;
  display:grid!important;
  gap:6px!important;
  cursor:pointer!important;
  color:#3a2a31!important;
}
.media-preview-card.selected{
  outline:3px solid rgba(220,90,134,.32)!important;
  border-color:#db658e!important;
}
.media-preview-card img{
  width:100%!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  border-radius:10px!important;
}
.media-preview-card span{
  font-size:11px!important;
  font-weight:900!important;
  color:#7a6670!important;
}
.media-preview-card i{
  position:absolute!important;
  top:4px!important;
  right:4px!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#141014!important;
  color:#fff!important;
  font-style:normal!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.media-preview-card.video-card{
  place-items:center!important;
  text-align:center!important;
}
.media-preview-card.video-card b{
  font-size:28px!important;
}
.media-empty-note{
  grid-column:1/-1!important;
  margin:0!important;
}

/* === footer spacing hotfix === */
body.buyer-page .cb-shell{
  padding-bottom:36px !important;
}
body.buyer-page .cb-footer{
  padding-bottom:10px !important;
  margin-bottom:0 !important;
}
body.buyer-page .cb-mobile-dock-wrap{
  display:contents;
}
@media (min-width: 769px){
  body.buyer-page .cb-shell{
    padding-bottom:28px !important;
  }
  body.buyer-page .cb-mobile-dock-wrap{
    display:none !important;
  }
}
@media (max-width: 768px){
  body.buyer-page .cb-shell{
    padding-bottom:calc(86px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.buyer-page .cb-footer{
    padding-bottom:4px !important;
  }
}
@media (max-width: 420px){
  body.buyer-page .cb-shell{
    padding-bottom:calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* === hero banner refresh using uploaded brand backgrounds === */
body.buyer-page .cb-feature-banner-v2{
  position:relative!important;
  padding:0!important;
  min-height:auto!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:30px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.buyer-page .cb-feature-banner-v2::before,
body.buyer-page .cb-feature-banner-v2::after,
body.buyer-page .cb-feature-banner-v2 .cb-gift-card,
body.buyer-page .cb-feature-banner-v2 .cb-feature-copy,
body.buyer-page .cb-feature-banner-v2 .cb-feature-art{
  display:none!important;
  content:none!important;
}
body.buyer-page .cb-hero-slider{
  position:relative!important;
  min-height:340px!important;
  border-radius:30px!important;
  overflow:hidden!important;
  background:#fff7fa!important;
  border:1px solid rgba(226,166,186,.3)!important;
  box-shadow:0 18px 40px rgba(117,76,99,.08)!important;
}
body.buyer-page .cb-hero-slide{
  position:absolute!important;
  inset:0!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .45s ease!important;
}
body.buyer-page .cb-hero-slide.is-active{
  opacity:1!important;
  pointer-events:auto!important;
  z-index:2!important;
}
body.buyer-page .cb-hero-slide-bg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
body.buyer-page .cb-hero-slide::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg, rgba(255,248,251,.97) 0%, rgba(255,247,250,.92) 33%, rgba(255,247,250,.26) 62%, rgba(255,247,250,.08) 100%)!important;
}
body.buyer-page .cb-hero-slide-copy,
body.buyer-page .cb-hero-logo-card,
body.buyer-page .cb-carousel-dots-v2{
  position:absolute!important;
  z-index:3!important;
}
body.buyer-page .cb-hero-slide-copy{
  left:34px!important;
  top:34px!important;
  bottom:34px!important;
  width:min(420px,42%)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:12px!important;
}
body.buyer-page .hero-season-badge{
  background:#fff!important;
  color:#5d4951!important;
  border:1px solid rgba(226,166,186,.28)!important;
  box-shadow:0 8px 16px rgba(92,64,77,.08)!important;
}
body.buyer-page .cb-hero-slide-copy h1{
  margin:0!important;
  font-family:Georgia, 'Times New Roman', serif!important;
  font-size:clamp(38px,4.4vw,64px)!important;
  line-height:.92!important;
  letter-spacing:-.05em!important;
  color:#171217!important;
  max-width:420px!important;
}
body.buyer-page .cb-hero-slide-copy h1 span{
  color:#e56792!important;
  display:block!important;
}
body.buyer-page .cb-hero-slide-copy p{
  margin:0!important;
  max-width:360px!important;
  color:#6f5b64!important;
  font-size:16px!important;
  line-height:1.55!important;
}
body.buyer-page .cb-feature-banner-v2 .cb-hero-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin-top:6px!important;
}
body.buyer-page .cb-feature-banner-v2 .cb-primary-cta,
body.buyer-page .cb-feature-banner-v2 .cb-secondary-cta{
  min-height:44px!important;
  border-radius:999px!important;
  padding:0 18px!important;
  font-size:13px!important;
  font-weight:900!important;
  box-shadow:0 10px 18px rgba(92,64,77,.10)!important;
}
body.buyer-page .cb-feature-banner-v2 .cb-primary-cta{
  background:linear-gradient(135deg,#ef789d,#d85c88)!important;
  color:#fff!important;
  border:0!important;
}
body.buyer-page .cb-feature-banner-v2 .cb-secondary-cta{
  background:#fff!important;
  border:1px solid rgba(226,166,186,.3)!important;
  color:#4b3840!important;
}
body.buyer-page .cb-hero-logo-card{
  left:50%!important;
  top:50%!important;
  transform:translate(-12%,-50%)!important;
  width:min(440px,40%)!important;
  max-width:440px!important;
  background:rgba(255,255,255,.30)!important;
  backdrop-filter:blur(5px)!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:28px!important;
  padding:12px 18px!important;
  box-shadow:0 14px 28px rgba(109,79,92,.08)!important;
}
body.buyer-page .cb-hero-logo-card img{
  width:100%!important;
  height:auto!important;
  display:block!important;
  border-radius:20px!important;
}
body.buyer-page .cb-carousel-dots-v2{
  left:50%!important;
  bottom:16px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
}
body.buyer-page .cb-carousel-dots-v2 button{
  width:9px!important;
  height:9px!important;
  border-radius:999px!important;
  border:0!important;
  padding:0!important;
  background:rgba(221,117,157,.35)!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.buyer-page .cb-carousel-dots-v2 button.is-active{
  width:26px!important;
  background:#df6792!important;
}

@media (max-width: 1100px){
  body.buyer-page .cb-hero-slider{min-height:320px!important;}
  body.buyer-page .cb-hero-slide-copy{width:min(390px,45%)!important;left:28px!important;top:28px!important;bottom:28px!important;}
  body.buyer-page .cb-hero-slide-copy h1{font-size:clamp(34px,4vw,54px)!important;}
  body.buyer-page .cb-hero-logo-card{width:min(390px,42%)!important;transform:translate(-6%,-50%)!important;}
}
@media (max-width: 768px){
  body.buyer-page .cb-feature-banner-v2{border-radius:24px!important;}
  body.buyer-page .cb-hero-slider{min-height:220px!important;border-radius:24px!important;}
  body.buyer-page .cb-hero-slide-bg{object-position:72% center!important;}
  body.buyer-page .cb-hero-slide::after{background:linear-gradient(90deg, rgba(255,248,251,.98) 0%, rgba(255,247,250,.94) 48%, rgba(255,247,250,.38) 72%, rgba(255,247,250,.16) 100%)!important;}
  body.buyer-page .cb-hero-slide-copy{left:18px!important;top:18px!important;bottom:18px!important;width:min(240px,58%)!important;gap:8px!important;}
  body.buyer-page .cb-hero-slide-copy h1{font-size:clamp(24px,7vw,34px)!important;max-width:210px!important;}
  body.buyer-page .cb-hero-slide-copy p{font-size:12px!important;line-height:1.45!important;max-width:200px!important;}
  body.buyer-page .hero-season-badge{font-size:10px!important;padding:6px 10px!important;}
  body.buyer-page .cb-feature-banner-v2 .cb-hero-actions{gap:8px!important;}
  body.buyer-page .cb-feature-banner-v2 .cb-primary-cta,
  body.buyer-page .cb-feature-banner-v2 .cb-secondary-cta{min-height:36px!important;padding:0 12px!important;font-size:11px!important;}
  body.buyer-page .cb-hero-logo-card{left:auto!important;right:10px!important;top:16px!important;transform:none!important;width:min(168px,37%)!important;padding:6px 8px!important;border-radius:18px!important;}
  body.buyer-page .cb-hero-logo-card img{border-radius:12px!important;}
  body.buyer-page .cb-carousel-dots-v2{bottom:10px!important;gap:6px!important;}
  body.buyer-page .cb-carousel-dots-v2 button{width:7px!important;height:7px!important;}
  body.buyer-page .cb-carousel-dots-v2 button.is-active{width:18px!important;}
}
@media (max-width: 480px){
  body.buyer-page .cb-hero-slider{min-height:205px!important;}
  body.buyer-page .cb-hero-slide-copy{width:58%!important;max-width:210px!important;}
  body.buyer-page .cb-hero-slide-copy h1{font-size:clamp(22px,7.5vw,30px)!important;}
  body.buyer-page .cb-hero-slide-copy p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  body.buyer-page .cb-feature-banner-v2 .cb-secondary-cta{display:none!important;}
}

/* === mobile top header refinement === */
@media (max-width: 768px){
  body.buyer-page .cb-shell{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.buyer-page .cb-top-nav{
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    padding:12px 2px 10px!important;
    margin:0 0 4px!important;
    background:transparent!important;
    border-bottom:0!important;
  }
  body.buyer-page .cb-brand-block{
    min-width:0!important;
    gap:10px!important;
    align-items:center!important;
  }
  body.buyer-page .cb-brand-logo{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:14px!important;
    object-fit:cover!important;
    object-position:left center!important;
    background:#fff!important;
    border:1px solid rgba(226,166,186,.24)!important;
    box-shadow:0 8px 18px rgba(110,40,70,.07)!important;
    padding:4px!important;
  }
  body.buyer-page .cb-mobile-title{
    display:block!important;
    font-size:15px!important;
    line-height:1.1!important;
    font-weight:900!important;
    color:#161216!important;
    letter-spacing:-.02em!important;
    max-width:120px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.buyer-page .cb-utility-nav{
    gap:6px!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
  }
  body.buyer-page .cb-icon-btn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:14px!important;
    font-size:16px!important;
    box-shadow:0 8px 18px rgba(110,40,70,.06)!important;
  }
  body.buyer-page .cb-icon-btn span[aria-hidden="true"]{
    line-height:1!important;
  }
  body.buyer-page .cart-count-badge{
    top:-4px!important;
    right:-2px!important;
    min-width:18px!important;
    height:18px!important;
    padding:0 4px!important;
    font-size:10px!important;
    border:2px solid #fff7fa!important;
  }
  body.buyer-page .cb-top-nav > .cb-search-wrap{display:none!important}
  body.buyer-page .cb-mobile-search{
    display:block!important;
    margin:0 0 10px!important;
    position:static!important;
  }
  body.buyer-page .cb-mobile-search .cb-search-wrap{
    display:flex!important;
    align-items:center!important;
    min-height:44px!important;
    padding:0 14px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid rgba(226,166,186,.24)!important;
    box-shadow:0 8px 18px rgba(110,40,70,.05)!important;
  }
  body.buyer-page .cb-mobile-search .search-icon{
    font-size:16px!important;
    color:#1a1519!important;
  }
  body.buyer-page .cb-mobile-search input{
    font-size:13px!important;
    color:#7c6970!important;
  }
  body.buyer-page .cb-main-nav{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    scrollbar-width:none!important;
    margin:0 -2px 10px!important;
    padding:2px 2px 6px!important;
  }
  body.buyer-page .cb-main-nav::-webkit-scrollbar{display:none!important}
  body.buyer-page .cb-main-nav-link{
    flex:0 0 auto!important;
    min-height:34px!important;
    padding:0 12px!important;
    font-size:11.5px!important;
    font-weight:800!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid rgba(226,166,186,.24)!important;
    box-shadow:0 6px 14px rgba(110,40,70,.05)!important;
  }
  body.buyer-page .cb-main-nav-link.active{
    background:#121014!important;
    color:#fff!important;
    border-color:#121014!important;
    box-shadow:none!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-top-nav{
    gap:8px!important;
    padding:10px 0 8px!important;
  }
  body.buyer-page .cb-brand-logo{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:12px!important;
  }
  body.buyer-page .cb-mobile-title{
    font-size:14px!important;
    max-width:108px!important;
  }
  body.buyer-page .cb-utility-nav{gap:5px!important}
  body.buyer-page .cb-icon-btn{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
  body.buyer-page .cb-mobile-search .cb-search-wrap{
    min-height:42px!important;
    border-radius:16px!important;
  }
  body.buyer-page .cb-main-nav-link{
    min-height:32px!important;
    padding:0 10px!important;
    font-size:11px!important;
  }
}


/* === mobile topbar simplification: remove redundant search/cart/profile icons === */
@media (max-width: 768px){
  body.buyer-page .cb-search-shortcut,
  body.buyer-page #myOrdersBtn,
  body.buyer-page #openCartBtn{
    display:none!important;
  }

  body.buyer-page .cb-top-nav{
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:12px 0 8px!important;
    margin-bottom:2px!important;
  }

  body.buyer-page .cb-brand-block{
    gap:10px!important;
  }

  body.buyer-page .cb-brand-logo{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:3px!important;
  }

  body.buyer-page .cb-mobile-title{
    max-width:180px!important;
    font-size:16px!important;
    font-weight:950!important;
    letter-spacing:-.03em!important;
  }

  body.buyer-page .cb-utility-nav{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:0!important;
  }

  body.buyer-page #buyerMessagesBtn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:15px!important;
    background:#fff!important;
    border:1px solid rgba(226,166,186,.28)!important;
    box-shadow:0 8px 18px rgba(110,40,70,.06)!important;
  }

  body.buyer-page .cb-mobile-search{
    margin:2px 0 10px!important;
  }

  body.buyer-page .cb-mobile-search .cb-search-wrap{
    min-height:42px!important;
    border-radius:18px!important;
    padding:0 15px!important;
  }

  body.buyer-page .cb-main-nav{
    margin:0 -2px 12px!important;
    padding:0 2px 7px!important;
    gap:7px!important;
  }

  body.buyer-page .cb-main-nav-link{
    min-height:32px!important;
    padding:0 12px!important;
    font-size:11.5px!important;
  }

  body.buyer-page .cb-feature-banner-v2{
    margin-top:0!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-mobile-title{
    max-width:150px!important;
    font-size:15px!important;
  }

  body.buyer-page .cb-brand-logo,
  body.buyer-page #buyerMessagesBtn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  body.buyer-page .cb-mobile-search .cb-search-wrap{
    min-height:40px!important;
  }

  body.buyer-page .cb-main-nav-link{
    min-height:31px!important;
    padding:0 10px!important;
    font-size:10.8px!important;
  }
}


/* === mobile Best Sellers cleanup only + sliding tab button === */
@media (max-width: 768px){
  body.buyer-page .cb-catalog-wrap{
    padding:15px !important;
    border-radius:24px !important;
  }
  body.buyer-page .cb-catalog-head{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    align-items:start !important;
    margin-bottom:12px !important;
  }
  body.buyer-page .cb-catalog-title{
    gap:10px !important;
    align-items:flex-start !important;
  }
  body.buyer-page .cb-catalog-title h2{
    margin:0 !important;
    font-size:22px !important;
    line-height:1.02 !important;
    letter-spacing:-.03em !important;
  }
  body.buyer-page .cb-catalog-title p{
    margin:4px 0 0 !important;
    font-size:10.8px !important;
    line-height:1.35 !important;
    color:#7f6a73 !important;
  }
  body.buyer-page .catalog-head-actions{
    display:block !important;
    width:100% !important;
    margin-top:0 !important;
  }
  body.buyer-page .shop-mode-toggle{
    width:100% !important;
    position:relative !important;
    isolation:isolate !important;
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:4px !important;
    padding:4px !important;
    border-radius:18px !important;
    background:#fff4f8 !important;
    border:1px solid rgba(226,166,186,.28) !important;
    overflow:hidden !important;
  }
  body.buyer-page .shop-mode-toggle::before{
    content:"" !important;
    position:absolute !important;
    top:4px !important;
    bottom:4px !important;
    left:4px !important;
    width:calc((100% - 8px) / 3) !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,#ef789d,#d95f89) !important;
    box-shadow:0 8px 14px rgba(217,95,137,.22) !important;
    transform:translateX(0) !important;
    transition:transform .32s cubic-bezier(.22,.8,.22,1) !important;
    z-index:0 !important;
  }
  body.buyer-page .shop-mode-toggle.mode-products::before{
    transform:translateX(0) !important;
  }
  body.buyer-page .shop-mode-toggle.mode-services::before{
    transform:translateX(100%) !important;
  }
  body.buyer-page .shop-mode-toggle.mode-rentals::before{
    transform:translateX(200%) !important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    position:relative !important;
    z-index:1 !important;
    min-width:0 !important;
    min-height:36px !important;
    padding:0 6px !important;
    border-radius:14px !important;
    background:transparent !important;
    color:#5f4a53 !important;
    font-size:11.4px !important;
    font-weight:900 !important;
    border:0 !important;
    box-shadow:none !important;
    transition:color .22s ease, transform .18s ease !important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode].active,
  body.buyer-page .shop-mode-toggle > button[data-shop-mode][aria-selected="true"]{
    background:transparent !important;
    color:#fff !important;
    box-shadow:none !important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]:active{
    transform:scale(.96) !important;
  }
  body.buyer-page #categoryPickerBtn,
  body.buyer-page .catalog-head-actions #categoryPickerBtn{
    display:none !important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-catalog-wrap{
    padding:14px !important;
  }
  body.buyer-page .cb-catalog-title h2{
    font-size:21px !important;
  }
  body.buyer-page .cb-catalog-title p{
    font-size:10.2px !important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    min-height:34px !important;
    font-size:10.6px !important;
  }
}

/* === center Best Sellers tab labels === */
@media (max-width: 768px){
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    line-height:1 !important;
  }
}

/* === mobile logo size + position refinement only === */
@media (max-width: 768px){
  body.buyer-page .cb-brand-block{
    gap:8px !important;
    align-items:center !important;
  }
  body.buyer-page .cb-brand-logo{
    width:58px !important;
    height:30px !important;
    min-width:58px !important;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    object-fit:contain !important;
    object-position:left center !important;
    margin-left:2px !important;
  }
  body.buyer-page .cb-mobile-title{
    max-width:128px !important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-brand-logo{
    width:54px !important;
    height:28px !important;
    min-width:54px !important;
    margin-left:1px !important;
  }
  body.buyer-page .cb-mobile-title{
    max-width:118px !important;
  }
}

/* === freeze background when buyer modal/drawer is open (performance helper for older devices) === */
html.ui-layer-frozen,
body.ui-layer-frozen{
  overscroll-behavior:none !important;
}
body.ui-layer-frozen{
  touch-action:none !important;
}
body.ui-layer-frozen .cb-shell,
body.ui-layer-frozen .cb-mobile-dock-wrap,
body.ui-layer-frozen .scroll-top-fab{
  pointer-events:none !important;
  user-select:none !important;
}
body.ui-layer-frozen #authModal,
body.ui-layer-frozen #profileModal,
body.ui-layer-frozen #imageViewer,
body.ui-layer-frozen #categoryModal,
body.ui-layer-frozen #sellerPageModal,
body.ui-layer-frozen #serviceBookingModal,
body.ui-layer-frozen #buyerChatModal,
body.ui-layer-frozen #productDetailModal,
body.ui-layer-frozen #buyerChatInboxModal,
body.ui-layer-frozen #customerOrdersModal,
body.ui-layer-frozen #cartBackdrop,
body.ui-layer-frozen #cartDrawer,
body.ui-layer-frozen #caleCompactMessagesOverlay{
  pointer-events:auto !important;
}


/* === footer ad slot with featured seller fallback === */
body.buyer-page .cb-footer-ad-slot{
  margin:22px 0 20px!important;
  padding:18px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#fffdfd 0%,#fff7fa 100%)!important;
  border:1px solid rgba(232,188,202,.38)!important;
  box-shadow:0 16px 32px rgba(110,40,70,.06)!important;
}
body.buyer-page .cb-footer-ad-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
body.buyer-page .cb-footer-ad-head span{
  color:#171317!important;
  font-weight:950!important;
  font-size:14px!important;
}
body.buyer-page .cb-footer-ad-head small{
  color:#8a737c!important;
  font-weight:800!important;
  font-size:12px!important;
}
body.buyer-page .cb-footer-ad-frame{
  min-height:92px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px dashed rgba(226,166,186,.55)!important;
  overflow:hidden!important;
}
body.buyer-page .cb-google-ad-unit{
  min-height:90px!important;
}
body.buyer-page .cb-ad-fallback{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px!important;
}
body.buyer-page .cb-ad-fallback.hidden{
  display:none!important;
}
body.buyer-page .cb-ad-fallback-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
}
body.buyer-page .cb-ad-fallback-copy strong{
  color:#171317!important;
  font-size:18px!important;
  line-height:1.1!important;
  font-family:Georgia,'Times New Roman',serif!important;
}
body.buyer-page .cb-ad-fallback-copy span{
  color:#7c6871!important;
  font-size:13px!important;
  line-height:1.4!important;
}
body.buyer-page .cb-featured-seller-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
body.buyer-page .cb-featured-seller-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:8px 10px!important;
  align-items:center!important;
  padding:10px!important;
  border-radius:18px!important;
  background:#fff7fa!important;
  border:1px solid rgba(226,166,186,.28)!important;
}
body.buyer-page .cb-featured-seller-card img{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  object-fit:cover!important;
  background:#fff!important;
  border:1px solid rgba(226,166,186,.3)!important;
}
body.buyer-page .cb-featured-seller-card div{
  min-width:0!important;
}
body.buyer-page .cb-featured-seller-card strong,
body.buyer-page .cb-featured-seller-card span,
body.buyer-page .cb-featured-seller-card small{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.buyer-page .cb-featured-seller-card strong{
  color:#171317!important;
  font-size:13px!important;
  font-weight:950!important;
}
body.buyer-page .cb-featured-seller-card span{
  color:#d6628d!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.buyer-page .cb-featured-seller-card small{
  color:#78656d!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.buyer-page .cb-featured-seller-card button{
  grid-column:1 / -1!important;
  min-height:30px!important;
  border:0!important;
  border-radius:999px!important;
  background:#111014!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
body.buyer-page .cb-footer-ad-slot.ad-loaded .cb-footer-ad-frame{
  border-style:solid!important;
  background:#fff!important;
}

@media (max-width: 900px){
  body.buyer-page .cb-ad-fallback{
    grid-template-columns:1fr!important;
  }
  body.buyer-page .cb-featured-seller-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width: 520px){
  body.buyer-page .cb-footer-ad-slot{
    margin:18px 0 16px!important;
    padding:12px!important;
    border-radius:24px!important;
  }
  body.buyer-page .cb-footer-ad-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:4px!important;
  }
  body.buyer-page .cb-ad-fallback{
    padding:12px!important;
  }
  body.buyer-page .cb-featured-seller-row{
    grid-template-columns:1fr!important;
  }
}


/* === clean footer sponsored section: remove explanatory labels/copy === */
body.buyer-page .cb-footer-ad-head{
  justify-content:flex-start!important;
}
body.buyer-page .cb-footer-ad-head small,
body.buyer-page .cb-ad-fallback-copy{
  display:none!important;
}
body.buyer-page .cb-ad-fallback{
  grid-template-columns:1fr!important;
}
body.buyer-page .cb-featured-seller-row{
  width:100%!important;
}


/* === remove top promo strip/header line === */
body.buyer-page .cb-promo-strip{
  display:none!important;
}


/* === desktop header fit fix + hero slide animation polish === */
body.buyer-page .cb-shell{
  overflow-x:clip!important;
}
body.buyer-page .cb-top-nav{
  grid-template-columns:minmax(150px, 190px) minmax(0,1fr) auto!important;
  gap:16px!important;
}
body.buyer-page .cb-search-wrap,
body.buyer-page .buyer-search-wrap.cb-search-wrap{
  min-width:0!important;
  width:100%!important;
}
body.buyer-page .cb-utility-nav{
  flex-wrap:nowrap!important;
  gap:8px!important;
}
body.buyer-page .cb-utility-nav .cb-icon-btn,
body.buyer-page .cb-utility-nav .utility-text-link,
body.buyer-page .cb-utility-nav > *{
  flex:0 0 auto!important;
}
@media (max-width: 1420px){
  body.buyer-page .cb-shell{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.buyer-page .cb-brand-logo{
    width:148px!important;
  }
  body.buyer-page .cb-top-nav{
    gap:14px!important;
    grid-template-columns:minmax(140px, 170px) minmax(0,1fr) auto!important;
  }
  body.buyer-page .cb-utility-nav{gap:6px!important;}
}
@media (max-width: 1260px){
  body.buyer-page .cb-brand-logo{
    width:136px!important;
  }
  body.buyer-page .cb-top-nav{
    grid-template-columns:minmax(128px, 150px) minmax(0,1fr) auto!important;
    gap:12px!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
  body.buyer-page .cb-top-nav .cb-icon-btn{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
  }
}

body.buyer-page .cb-hero-slider{
  isolation:isolate!important;
}
body.buyer-page .cb-hero-slide{
  transform:translateX(30px) scale(.985)!important;
  transition:opacity .7s ease, transform .7s cubic-bezier(.22,.8,.22,1)!important;
}
body.buyer-page .cb-hero-slide.is-active{
  transform:translateX(0) scale(1)!important;
}
body.buyer-page .cb-hero-slide-bg{
  transform:scale(1.05)!important;
  transition:transform 6s ease, filter .6s ease!important;
}
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-bg{
  transform:scale(1)!important;
}
body.buyer-page .cb-hero-slide-copy > *,
body.buyer-page .cb-hero-logo-card{
  opacity:0;
  will-change:transform, opacity;
}
body.buyer-page .cb-hero-slide-copy .hero-season-badge{transform:translateY(16px)!important;}
body.buyer-page .cb-hero-slide-copy h1{transform:translateY(22px)!important;}
body.buyer-page .cb-hero-slide-copy p{transform:translateY(26px)!important;}
body.buyer-page .cb-hero-slide .cb-hero-actions{transform:translateY(28px)!important;opacity:0!important;}
body.buyer-page .cb-hero-logo-card{transform:translate(-8%,-50%) scale(.94)!important;}
body.buyer-page .cb-hero-slide.is-active .hero-season-badge{animation:cbHeroFadeUp .55s cubic-bezier(.22,.8,.22,1) .08s both;}
body.buyer-page .cb-hero-slide.is-active h1{animation:cbHeroFadeUp .7s cubic-bezier(.22,.8,.22,1) .16s both;}
body.buyer-page .cb-hero-slide.is-active p{animation:cbHeroFadeUp .7s cubic-bezier(.22,.8,.22,1) .28s both;}
body.buyer-page .cb-hero-slide.is-active .cb-hero-actions{animation:cbHeroFadeUp .7s cubic-bezier(.22,.8,.22,1) .4s both;}
body.buyer-page .cb-hero-slide.is-active .cb-hero-logo-card{animation:cbHeroLogoPop .8s cubic-bezier(.2,.82,.2,1) .22s both;}
@keyframes cbHeroFadeUp{
  from{opacity:0; transform:translateY(22px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes cbHeroLogoPop{
  0%{opacity:0; transform:translate(-8%,-50%) scale(.92);}
  68%{opacity:1; transform:translate(-12%,-50%) scale(1.02);}
  100%{opacity:1; transform:translate(-12%,-50%) scale(1);}
}
@media (max-width:768px){
  body.buyer-page .cb-hero-slide{transform:translateX(18px) scale(.992)!important;}
  body.buyer-page .cb-hero-logo-card{transform:translateY(10px) scale(.94)!important;}
  body.buyer-page .cb-hero-slide.is-active .cb-hero-logo-card{animation:cbHeroLogoPopMobile .74s cubic-bezier(.2,.82,.2,1) .22s both;}
  @keyframes cbHeroLogoPopMobile{
    0%{opacity:0; transform:translateY(10px) scale(.92);}
    68%{opacity:1; transform:translateY(0) scale(1.02);}
    100%{opacity:1; transform:translateY(0) scale(1);}
  }
}


/* === catalog ad placement + desktop 5-column product grid === */
body.buyer-page #footerAdSlot.cb-footer-ad-slot{
  margin:18px 0 4px!important;
}

@media (min-width: 1025px){
  body.buyer-page #shopProducts.buyer-product-grid,
  body.buyer-page #shopProducts.catalog-service-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:18px!important;
  }
}

@media (min-width: 1280px){
  body.buyer-page #shopProducts.buyer-product-grid,
  body.buyer-page #shopProducts.catalog-service-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}


/* === desktop header sticky + right-edge overflow fix === */
body.buyer-page .cb-shell,
body.buyer-page .cb-top-nav,
body.buyer-page .cb-main-nav{
  box-sizing:border-box!important;
}

@media (min-width: 1025px){
  body.buyer-page .cb-shell{
    width:100%!important;
    max-width:1440px!important;
    margin:0 auto!important;
    padding-left:18px!important;
    padding-right:18px!important;
    overflow-x:clip!important;
  }

  body.buyer-page .cb-top-nav{
    position:sticky!important;
    top:0!important;
    z-index:3800!important;
    grid-template-columns:minmax(140px,180px) minmax(0,1fr) auto!important;
    gap:14px!important;
    padding:14px 0 14px!important;
    background:rgba(255,248,251,.96)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    border-bottom:1px solid rgba(232,188,202,.35)!important;
    box-shadow:0 10px 22px rgba(110,40,70,.06)!important;
    overflow:visible!important;
  }

  body.buyer-page .cb-top-nav > .cb-search-wrap{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
  }

  body.buyer-page .cb-brand-block{
    min-width:0!important;
  }

  body.buyer-page .cb-brand-logo{
    width:148px!important;
    max-width:100%!important;
    height:auto!important;
  }

  body.buyer-page .cb-utility-nav{
    min-width:max-content!important;
    flex-wrap:nowrap!important;
    justify-content:flex-end!important;
    gap:8px!important;
    overflow:visible!important;
  }

  body.buyer-page .cb-utility-nav > *{
    flex:0 0 auto!important;
  }

  body.buyer-page .cb-icon-btn{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
  }

  body.buyer-page .cb-main-nav{
    position:sticky!important;
    top:78px!important;
    z-index:3790!important;
    background:rgba(255,248,251,.94)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    padding:14px 0 16px!important;
    margin-bottom:14px!important;
    border-bottom:1px solid rgba(232,188,202,.28)!important;
  }
}

@media (min-width: 1025px) and (max-width: 1320px){
  body.buyer-page .cb-shell{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.buyer-page .cb-top-nav{
    grid-template-columns:minmax(128px,160px) minmax(0,1fr) auto!important;
    gap:12px!important;
  }
  body.buyer-page .cb-brand-logo{
    width:136px!important;
  }
  body.buyer-page .cb-utility-nav{
    gap:6px!important;
  }
  body.buyer-page .cb-icon-btn{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
  }
  body.buyer-page .cb-main-nav{
    top:74px!important;
  }
}


/* === professional Google sign-in button refinement === */
#authModal #googleSignInBtn.google-login-btn{
  position:relative !important;
  width:100% !important;
  min-height:58px !important;
  height:58px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  padding:0 20px !important;
  border:1px solid rgba(17,16,18,.10) !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#ffffff 0%, #fffdfd 100%) !important;
  color:#1f1f1f !important;
  box-shadow:0 10px 24px rgba(33,21,27,.08), inset 0 1px 0 rgba(255,255,255,.85) !important;
  letter-spacing:.01em !important;
  font-size:16px !important;
  font-weight:900 !important;
  transition:transform .16s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}
#authModal #googleSignInBtn.google-login-btn:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(66,133,244,.28) !important;
  box-shadow:0 14px 30px rgba(33,21,27,.10), 0 0 0 3px rgba(66,133,244,.06) !important;
}
#authModal #googleSignInBtn.google-login-btn:active{
  transform:translateY(0) scale(.998) !important;
}
#authModal #googleSignInBtn.google-login-btn:focus-visible{
  outline:none !important;
  border-color:rgba(66,133,244,.42) !important;
  box-shadow:0 0 0 4px rgba(66,133,244,.14), 0 14px 30px rgba(33,21,27,.10) !important;
}
#authModal #googleSignInBtn .google-icon{
  flex:0 0 34px !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  border:1px solid rgba(17,16,18,.08) !important;
  background:#ffffff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9) !important;
  overflow:hidden !important;
  padding:5px !important;
}
#authModal #googleSignInBtn .google-icon img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
#authModal #googleSignInBtn .google-btn-text{
  flex:0 1 auto !important;
  color:#2b2b2b !important;
  font-weight:900 !important;
  font-size:15px !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
}
#authModal #googleSignInBtn.is-loading .google-icon img{
  opacity:0 !important;
}
@media (max-width: 480px){
  #authModal #googleSignInBtn.google-login-btn{
    min-height:56px !important;
    height:56px !important;
    padding:0 16px !important;
    gap:10px !important;
    border-radius:16px !important;
  }
  #authModal #googleSignInBtn .google-icon{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
  }
  #authModal #googleSignInBtn .google-btn-text{
    font-size:14px !important;
  }
}


/* === minimal premium auth modal refresh === */
#authModal.auth-modal{
  background:rgba(26,18,24,.48)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
#authModal .auth-modal-card-google{
  width:min(460px, calc(100vw - 28px))!important;
  max-height:min(720px, calc(100dvh - 28px))!important;
  padding:26px 26px 24px!important;
  border:1px solid rgba(218,196,204,.72)!important;
  border-radius:30px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,250,252,.98) 100%)!important;
  box-shadow:0 28px 80px rgba(22,12,18,.24)!important;
  overflow:auto!important;
}
#authModal .auth-modal-badge-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding-right:56px!important;
}
#authModal .mini-label{
  margin:0!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
  color:#d56e89!important;
  font-weight:900!important;
}
#authModal .auth-badge-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0 14px!important;
  border:1px solid rgba(214,184,194,.68)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#8f6270!important;
  font-size:12px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
#authModal .auth-modal-card-google h2{
  margin:0 0 10px!important;
  color:#181216!important;
  font-size:31px!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:-.03em!important;
}
#authModal #authModalMessage,
#authModal .auth-modal-card-google .soft-text{
  margin:0 0 18px!important;
  color:#7d6770!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:500!important;
}
#authModal .auth-benefit-list{
  display:grid!important;
  gap:12px!important;
  margin:0 0 22px!important;
  padding:0!important;
}
#authModal .auth-benefit-list li{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0!important;
  color:#47353d!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
#authModal .auth-benefit-list li::before{
  content:'✓'!important;
  position:static!important;
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(180deg,#c77b92 0%, #b7657f 100%)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  box-shadow:none!important;
}
#authModal #googleSignInBtn.google-login-btn{
  min-height:56px!important;
  height:56px!important;
  margin:0 0 12px!important;
  padding:0 18px!important;
  border:1px solid rgba(197,203,214,.95)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#f7f9fc 0%, #eef3fa 100%)!important;
  box-shadow:none!important;
  color:#354151!important;
  gap:12px!important;
}
#authModal #googleSignInBtn.google-login-btn:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(162,176,197,.95)!important;
  background:linear-gradient(180deg,#fafcff 0%, #f2f6fc 100%)!important;
  box-shadow:0 10px 26px rgba(40,47,62,.08)!important;
}
#authModal #googleSignInBtn .google-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#authModal #googleSignInBtn .google-icon img{
  width:24px!important;
  height:24px!important;
}
#authModal #googleSignInBtn .google-btn-text{
  color:#344054!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
#authModal .auth-secondary-btn{
  min-height:56px!important;
  height:56px!important;
  margin:0!important;
  border:1px solid rgba(236,206,216,.95)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fffdfd 0%, #fff8fa 100%)!important;
  color:#8b6974!important;
  font-weight:850!important;
  box-shadow:none!important;
}
#authModal .auth-secondary-btn:hover{
  transform:translateY(-1px)!important;
  background:#ffffff!important;
  border-color:rgba(226,188,201,.98)!important;
}
#authModal .auth-modal-card-google .profile-note{
  margin-top:14px!important;
  color:#8f7d84!important;
  font-size:12px!important;
  line-height:1.5!important;
}
#authModal .auth-modal-card-google .close{
  top:16px!important;
  right:16px!important;
  width:40px!important;
  height:40px!important;
  border:1px solid rgba(227,217,221,.92)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#3c2a31!important;
  box-shadow:0 8px 18px rgba(40,21,28,.08)!important;
}
#authModal .auth-modal-card-google .close:hover{
  transform:translateY(-1px)!important;
}
@media (max-width:560px){
  #authModal .auth-modal-card-google{
    width:min(100vw - 20px, 430px)!important;
    padding:22px 18px 18px!important;
    border-radius:24px!important;
  }
  #authModal .auth-modal-badge-row{
    padding-right:48px!important;
    margin-bottom:12px!important;
  }
  #authModal .auth-modal-card-google h2{
    font-size:28px!important;
  }
  #authModal #authModalMessage,
  #authModal .auth-modal-card-google .soft-text{
    font-size:15px!important;
  }
}


/* === minimal premium login + legal links === */
#authModal.auth-modal{
  background:rgba(36,27,33,.46)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
#authModal .auth-modal-card-minimal{
  width:min(430px, calc(100vw - 28px))!important;
  padding:28px 28px 24px!important;
  border-radius:28px!important;
  background:#fff!important;
  border:1px solid rgba(229,210,218,.92)!important;
  box-shadow:0 26px 70px rgba(24,16,21,.24)!important;
}
#authModal .auth-minimal-mark{
  width:72px!important;
  height:72px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 0 20px!important;
  border-radius:22px!important;
  background:#f7b7c9!important;
  overflow:hidden!important;
  border:1px solid rgba(232,188,202,.65)!important;
}
#authModal .auth-minimal-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:5px!important;
}
#authModal .auth-modal-badge-row,
#authModal .auth-benefit-list,
#authModal .profile-note{
  display:none!important;
}
#authModal .auth-modal-card-minimal h2{
  margin:0 0 12px!important;
  color:#1a1418!important;
  font-size:30px!important;
  line-height:1.14!important;
  letter-spacing:-.035em!important;
  font-weight:950!important;
}
#authModal #authModalMessage{
  margin:0 0 26px!important;
  color:#75636b!important;
  font-size:15px!important;
  line-height:1.55!important;
  font-weight:500!important;
}
#authModal #googleSignInBtn.google-login-btn{
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  margin:0 0 12px!important;
  border-radius:999px!important;
  border:1px solid #d2d9e2!important;
  background:#f8fbff!important;
  color:#354151!important;
  box-shadow:none!important;
  font-size:15px!important;
  font-weight:850!important;
  gap:12px!important;
}
#authModal #googleSignInBtn.google-login-btn:hover{
  transform:translateY(-1px)!important;
  background:#fff!important;
  border-color:#bfc8d4!important;
  box-shadow:0 10px 24px rgba(31,41,55,.08)!important;
}
#authModal #googleSignInBtn .google-icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#authModal #googleSignInBtn .google-icon img{
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
}
#authModal #googleSignInBtn .google-btn-text{
  color:#344054!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
#authModal .auth-secondary-btn{
  height:52px!important;
  min-height:52px!important;
  border-radius:999px!important;
  border:1px solid rgba(232,188,202,.72)!important;
  background:#fff!important;
  color:#8a6370!important;
  font-weight:850!important;
  box-shadow:none!important;
}
#authModal .auth-legal-copy{
  margin:34px 0 0!important;
  color:#6f6570!important;
  font-size:12px!important;
  line-height:1.6!important;
  text-align:center!important;
}
#authModal .auth-legal-copy a{
  color:#344054!important;
  font-weight:850!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
#authModal .auth-modal-card-minimal .close{
  top:18px!important;
  right:18px!important;
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(226,211,218,.82)!important;
  color:#2e2228!important;
  box-shadow:0 8px 18px rgba(34,23,28,.08)!important;
}
body.buyer-page .cb-footer-cols a{
  display:block;
  color:#77616b;
  text-decoration:none;
  font-weight:700;
  margin:0 0 9px;
}
body.buyer-page .cb-footer-cols a:hover{
  color:#d95f89;
}
@media(max-width:520px){
  #authModal .auth-modal-card-minimal{
    padding:24px 20px 20px!important;
    border-radius:24px!important;
  }
  #authModal .auth-minimal-mark{
    width:62px!important;
    height:62px!important;
    border-radius:18px!important;
    margin-bottom:18px!important;
  }
  #authModal .auth-modal-card-minimal h2{
    font-size:27px!important;
  }
  #authModal #authModalMessage{
    font-size:14px!important;
    margin-bottom:22px!important;
  }
  #authModal .auth-legal-copy{
    margin-top:26px!important;
  }
}


/* === patch: cleaner mobile top area + better Best Sellers tabs + hero motion polish === */
@media (max-width: 768px){
  body.buyer-page .cb-top-nav{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    padding:12px 0 10px!important;
    margin:0 0 6px!important;
  }
  body.buyer-page .cb-brand-block{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
  }
  body.buyer-page .cb-brand-logo{
    width:70px!important;
    height:34px!important;
    min-width:70px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  body.buyer-page .cb-mobile-title{
    max-width:132px!important;
    font-size:14px!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:-.02em!important;
  }
  body.buyer-page .cb-utility-nav{
    gap:0!important;
    margin-left:auto!important;
    flex:0 0 auto!important;
  }
  body.buyer-page #buyerMessagesBtn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:14px!important;
  }
  body.buyer-page .cb-main-nav{
    margin:0 -2px 12px!important;
    padding:2px 2px 6px!important;
  }

  body.buyer-page .cb-catalog-wrap{
    padding:16px 14px 18px!important;
    border-radius:22px!important;
  }
  body.buyer-page .cb-catalog-head{
    gap:12px!important;
    margin-bottom:14px!important;
  }
  body.buyer-page .cb-catalog-title h2{
    font-size:19px!important;
    line-height:1.04!important;
  }
  body.buyer-page .shop-mode-toggle{
    padding:5px!important;
    gap:5px!important;
    border-radius:17px!important;
  }
  body.buyer-page .shop-mode-toggle::before{
    top:5px!important;
    bottom:5px!important;
    left:5px!important;
    width:calc((100% - 10px) / 3)!important;
    border-radius:13px!important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    min-height:38px!important;
    padding:0 8px!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:900!important;
  }
  body.buyer-page .shop-mode-toggle.mode-services::before{ transform:translateX(100%)!important; }
  body.buyer-page .shop-mode-toggle.mode-rentals::before{ transform:translateX(200%)!important; }

  body.buyer-page .cb-hero-slider{
    min-height:200px!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .cb-top-nav{
    padding:10px 0 8px!important;
    gap:10px!important;
  }
  body.buyer-page .cb-brand-logo{
    width:66px!important;
    height:32px!important;
    min-width:66px!important;
  }
  body.buyer-page .cb-mobile-title{
    max-width:118px!important;
    font-size:13px!important;
  }
  body.buyer-page #buyerMessagesBtn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
  body.buyer-page .cb-catalog-wrap{
    padding:14px 12px 16px!important;
  }
  body.buyer-page .cb-catalog-title h2{
    font-size:18px!important;
  }
  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    min-height:36px!important;
    font-size:10.5px!important;
    padding:0 6px!important;
  }
  body.buyer-page .cb-hero-slider{
    min-height:185px!important;
  }
}

body.buyer-page .cb-hero-slide{
  transition:opacity .55s ease!important;
}
body.buyer-page .cb-hero-slide-copy > *,
body.buyer-page .cb-hero-logo-card img{
  opacity:0;
  transform:translateY(16px) scale(.985);
  transition:opacity .5s ease, transform .6s cubic-bezier(.22,.8,.22,1);
}
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-copy > *,
body.buyer-page .cb-hero-slide.is-active .cb-hero-logo-card img{
  opacity:1;
  transform:translateY(0) scale(1);
}
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-copy > *:nth-child(1){ transition-delay:.04s; }
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-copy > *:nth-child(2){ transition-delay:.10s; }
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-copy > *:nth-child(3){ transition-delay:.16s; }
body.buyer-page .cb-hero-slide.is-active .cb-hero-slide-copy > *:nth-child(4){ transition-delay:.22s; }
body.buyer-page .cb-hero-slide.is-active .cb-hero-logo-card img{ transition-delay:.18s; }


/* === final mobile Best Sellers tab centering fix === */
@media (max-width: 768px){
  body.buyer-page .shop-mode-toggle{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    padding:4px!important;
    height:38px!important;
    min-height:38px!important;
    align-items:stretch!important;
  }

  body.buyer-page .shop-mode-toggle::before{
    top:4px!important;
    bottom:4px!important;
    left:4px!important;
    width:calc((100% - 8px) / 3)!important;
    height:auto!important;
    border-radius:999px!important;
  }

  body.buyer-page .shop-mode-toggle.mode-products::before{
    transform:translateX(0)!important;
  }

  body.buyer-page .shop-mode-toggle.mode-services::before{
    transform:translateX(100%)!important;
  }

  body.buyer-page .shop-mode-toggle.mode-rentals::before{
    transform:translateX(200%)!important;
  }

  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    height:30px!important;
    min-height:30px!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1!important;
    border-radius:999px!important;
  }
}

@media (max-width: 420px){
  body.buyer-page .shop-mode-toggle{
    height:36px!important;
    min-height:36px!important;
    padding:4px!important;
  }

  body.buyer-page .shop-mode-toggle > button[data-shop-mode]{
    height:28px!important;
    min-height:28px!important;
    font-size:10.5px!important;
  }
}


/* === social buttons: Facebook, TikTok, Instagram === */
body.buyer-page .cb-footer-socials,
body.buyer-page .cb-promo-socials{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

body.buyer-page .cb-footer-socials .social-icon-link,
body.buyer-page .cb-promo-socials .social-icon-link{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid rgba(226,166,186,.34)!important;
  box-shadow:0 8px 18px rgba(110,40,70,.06)!important;
  text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease!important;
}

body.buyer-page .cb-footer-socials .social-icon-link:hover,
body.buyer-page .cb-promo-socials .social-icon-link:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(217,95,137,.45)!important;
  box-shadow:0 12px 22px rgba(110,40,70,.09)!important;
}

body.buyer-page .cb-footer-socials .social-icon-link img,
body.buyer-page .cb-promo-socials .social-icon-link img{
  width:18px!important;
  height:18px!important;
  object-fit:contain!important;
  display:block!important;
}

body.buyer-page .cb-footer-socials .social-icon-link[href*="tiktok"] img,
body.buyer-page .cb-promo-socials .social-icon-link[href*="tiktok"] img{
  width:17px!important;
  height:17px!important;
  background:#111!important;
  border-radius:5px!important;
  padding:3px!important;
}

@media(max-width:520px){
  body.buyer-page .cb-footer-socials,
  body.buyer-page .cb-promo-socials{
    gap:8px!important;
  }
  body.buyer-page .cb-footer-socials .social-icon-link,
  body.buyer-page .cb-promo-socials .social-icon-link{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }
}


/* =========================================================
   FULL RENTAL BOOKING SYSTEM REFRESH
   Date/time -> verification details -> submitted confirmation
   ========================================================= */
#serviceBookingModal.rental-booking-mode{
  padding:14px!important;
  place-items:center!important;
}
#serviceBookingModal.rental-booking-mode .service-booking-backdrop{
  background:rgba(65,31,46,.38)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
#serviceBookingModal.rental-booking-mode .service-booking-card{
  width:min(1380px,calc(100vw - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid rgba(246,186,196,.72)!important;
  box-shadow:0 32px 100px rgba(70,30,48,.24)!important;
}
#serviceBookingModal.rental-booking-mode .service-booking-content{
  padding:0!important;
}
#serviceBookingModal.rental-booking-mode .service-booking-close{
  display:grid!important;
  place-items:center!important;
  top:22px!important;
  right:22px!important;
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(246,186,196,.85)!important;
  background:#fff7fa!important;
  color:#6f5560!important;
  box-shadow:0 10px 28px rgba(107,61,80,.14)!important;
  font-size:28px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.rental-booking-flow{
  color:#171217;
  background:linear-gradient(180deg,#fff 0%,#fffafc 100%);
  min-height:min(880px,calc(100dvh - 32px));
}
.rental-booking-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:36px 48px 28px;
  border-bottom:1px solid rgba(246,186,196,.72);
}
.rental-booking-title h2,
.rental-details-head h2,
.rental-step-success h2{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  font-weight:950;
  letter-spacing:-.045em;
  color:#171217;
}
.rental-booking-title h2{font-size:clamp(36px,4.5vw,58px);line-height:.95;}
.rental-booking-title p{
  display:flex;
  align-items:center;
  gap:10px;
  margin:14px 0 0;
  color:#231b20;
  font-size:20px;
}
.rental-booking-title p strong{color:#f03d78}
.rental-clock-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:2px solid #f03d78;
  border-radius:999px;
  color:#f03d78;
}
.rental-mini-provider{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(246,186,196,.8);
  background:#fff7fa;
  color:#8c5367;
  font-weight:900;
}
.rental-datetime-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(360px,.95fr);
  min-height:600px;
}
.rental-calendar-side{
  padding:32px 40px 38px;
  border-right:1px solid rgba(246,186,196,.75);
}
.rental-calendar-toolbar{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 58px;
  align-items:center;
  gap:18px;
  margin-bottom:24px;
}
.rental-calendar-toolbar button{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border:1px solid rgba(246,186,196,.8);
  border-radius:999px;
  background:#fff;
  color:#f03d78;
  font-size:42px;
  line-height:1;
  cursor:pointer;
}
.rental-calendar-toolbar strong{
  text-align:center;
  font-size:28px;
  letter-spacing:-.02em;
}
.rental-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:12px;
}
.rental-calendar-dow{
  text-align:center;
  color:#2c252a;
  font-size:16px;
  font-weight:850;
  padding:8px 0 12px;
}
.rental-calendar-loading{
  grid-column:1/-1;
  min-height:360px;
  display:grid;
  place-items:center;
  color:#8a747d;
  font-weight:800;
}
.rental-calendar-day{
  height:58px;
  display:grid;
  place-items:center;
  gap:3px;
  border:0;
  background:transparent;
  color:#111;
  border-radius:999px;
  font-size:22px;
  cursor:pointer;
  position:relative;
}
.rental-calendar-day span{line-height:1}
.rental-calendar-day i{
  width:8px;
  height:8px;
  border-radius:999px;
  display:block;
}
.rental-calendar-day i.fully{background:#ee3c78}
.rental-calendar-day i.limited{background:#ffc7d7}
.rental-calendar-day i.none{background:#cfd1d3}
.rental-calendar-day.muted{color:#8e97a3}
.rental-calendar-day.past{opacity:.45;cursor:not-allowed}
.rental-calendar-day.fully-booked{cursor:not-allowed}
.rental-calendar-day.selected{
  outline:2px solid #f03d78;
  outline-offset:-2px;
  color:#111;
}
.rental-date-legend{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:34px;
  padding:18px 24px;
  border:1px solid rgba(246,186,196,.8);
  border-radius:12px;
}
.rental-date-legend span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#1f1720;
  font-weight:750;
}
.rental-date-legend i{
  width:20px;
  height:20px;
  border-radius:999px;
  display:inline-block;
  box-shadow:0 4px 10px rgba(240,61,120,.16);
}
.rental-date-legend i.fully{background:#ee3c78}
.rental-date-legend i.limited{background:#ffc7d7}
.rental-date-legend i.none{background:#cfd1d3}
.rental-time-side{
  padding:32px 40px;
  display:grid;
  align-content:start;
  gap:28px;
}
.rental-side-block h3{
  margin:0 0 18px;
  font-size:20px;
  line-height:1.2;
}
.rental-duration-toggle{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.rental-duration-toggle button{
  min-height:60px;
  border-radius:8px;
  border:1px solid #bcc0c7;
  background:#fff;
  color:#1f1720;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}
.rental-duration-toggle button.active{
  border-color:#f03d78;
  color:#f03d78;
  box-shadow:0 0 0 1px rgba(240,61,120,.35) inset;
}
.rental-day-count{
  display:grid;
  gap:8px;
  margin-top:14px;
  color:#6d5560;
  font-weight:850;
}
.rental-day-count.hidden{display:none!important}
.rental-day-count input{
  min-height:48px;
  border:1px solid rgba(246,186,196,.9);
  border-radius:12px;
  padding:0 14px;
  font:inherit;
}
.rental-duration-note{
  display:flex;
  gap:12px;
  margin:20px 0 0;
  padding:16px 18px;
  border:1px solid rgba(246,186,196,.75);
  border-radius:10px;
  color:#4b4147;
  line-height:1.5;
}
.rental-duration-note strong{color:#f03d78}
.rental-ph-time{
  color:#f03d78;
  font-weight:850;
  margin:0 0 14px;
}
.rental-time-list{
  max-height:390px;
  overflow:auto;
  display:grid;
  gap:8px;
  padding-right:8px;
}
.rental-time-slot{
  min-height:46px;
  border:1px solid #d9dce2;
  border-radius:6px;
  background:#fff;
  color:#111;
  font-size:22px;
  cursor:pointer;
}
.rental-time-slot.selected{
  border-color:#f03d78;
  background:#fff4f8;
  box-shadow:0 0 0 1px rgba(240,61,120,.24) inset;
}
.rental-booking-summary{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr minmax(260px,.9fr);
  gap:26px;
  align-items:center;
  padding:24px 44px 32px;
  border-top:1px solid rgba(246,186,196,.75);
}
.rental-booking-summary > div{
  min-height:78px;
  padding:16px 20px;
  border:1px solid rgba(246,186,196,.8);
  background:#fff;
}
.rental-booking-summary span{
  display:block;
  color:#6c5962;
  font-size:13px;
  margin-bottom:4px;
}
.rental-booking-summary strong{
  font-size:24px;
  line-height:1.1;
}
.rental-book-now,
.rental-submit-booking,
.rental-home-btn{
  min-height:78px;
  border:0;
  border-radius:8px;
  background:linear-gradient(135deg,#f04f8b,#ee2f75);
  color:#fff;
  font-size:26px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 16px 34px rgba(238,47,117,.20);
}
.rental-book-now:disabled{opacity:.45;cursor:not-allowed}
.rental-step-details,
.rental-step-success{
  padding:32px 40px 40px;
}
.rental-back-btn{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:#fff2f7;
  color:#f03d78;
  font-weight:900;
  margin-bottom:28px;
}
.rental-details-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(460px,.95fr);
  gap:28px;
  align-items:start;
  margin-bottom:28px;
}
.rental-details-head h2{font-size:clamp(34px,4vw,52px);line-height:1}
.rental-details-head p{
  color:#3c3338;
  font-size:19px;
  margin:12px 0 14px;
}
.rental-details-head span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 16px;
  border-radius:10px;
  background:#fff2f7;
  color:#f03d78;
  font-weight:850;
}
.rental-selected-card{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:20px 22px;
  border:1px solid rgba(246,186,196,.8);
  border-radius:10px;
  background:#fff;
}
.rental-selected-card div{display:grid;grid-template-columns:auto 1fr;gap:0 12px}
.rental-selected-card b{
  grid-row:1 / 3;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:2px solid #f03d78;
  border-radius:8px;
  color:#f03d78;
}
.rental-selected-card span{background:transparent!important;color:#5d4f56!important;padding:0!important;min-height:0!important;font-size:13px}
.rental-selected-card strong{font-size:18px}
.rental-details-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.rental-form-card{
  display:grid;
  gap:20px;
  padding:24px;
  border:1px solid rgba(246,186,196,.9);
  border-radius:10px;
  background:#fff;
}
.rental-form-card h3{
  margin:0;
  font-size:21px;
}
.rental-form-card label{
  display:grid;
  gap:10px;
  color:#1f1720;
  font-size:17px;
  font-weight:800;
}
.rental-form-card label em{color:#f03d78;font-style:normal}
.rental-form-card input,
.rental-form-card textarea{
  width:100%;
  min-height:54px;
  padding:14px 16px;
  border:1px solid #cfd3da;
  border-radius:7px;
  background:#fff;
  color:#111;
  font:inherit;
}
.rental-upload-box{
  border:1px dashed #ff9fbd!important;
  border-radius:8px!important;
  min-height:150px;
  display:grid!important;
  place-items:center;
  text-align:center;
  padding:22px!important;
  position:relative;
  color:#3c3338!important;
}
.rental-upload-box input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  min-height:100%;
}
.rental-upload-box span{justify-self:start;align-self:start;width:100%;text-align:left}
.rental-upload-box b{
  color:#f03d78;
  font-size:36px;
  line-height:1;
}
.rental-upload-box strong{font-size:16px}
.rental-upload-box small{color:#8b939f}
.rental-outline-action{
  min-height:54px;
  border:2px solid #f03d78;
  border-radius:7px;
  background:#fff;
  color:#f03d78;
  font-size:18px;
  font-weight:850;
}
.rental-outline-action.done{
  background:#fff2f7;
}
.rental-security-note{
  display:flex;
  gap:16px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(246,186,196,.9);
  border-radius:9px;
  background:linear-gradient(90deg,#fff1f6,#fff);
}
.rental-security-note b{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f03d78;
  color:#fff;
}
.rental-security-note strong{display:block;margin-bottom:4px}
.rental-security-note p{margin:0;color:#4b4147}
.rental-submit-booking{
  grid-column:1/-1;
  min-height:72px;
}
.rental-secure-line{
  grid-column:1/-1;
  color:#8f98a2;
  text-align:center;
  font-weight:750;
}
.rental-step-success{
  text-align:center;
  display:grid;
  place-items:center;
  align-content:center;
}
.rental-success-hero{
  width:260px;
  height:190px;
  display:grid;
  place-items:center;
  margin:0 auto 20px;
}
.rental-success-illustration{
  width:120px;
  height:120px;
  display:grid;
  place-items:center;
  border-radius:42px;
  background:linear-gradient(135deg,#ff8caf,#f03d78);
  color:#fff;
  font-size:64px;
  box-shadow:0 22px 46px rgba(240,61,120,.25);
}
.rental-step-success h2{font-size:clamp(42px,5vw,68px);line-height:1}
.rental-step-success > p{
  margin:8px 0 26px;
  color:#47505d;
  font-size:20px;
}
.rental-success-alert{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  width:min(700px,100%);
  min-height:94px;
  border:1px solid rgba(246,186,196,.9);
  border-radius:10px;
  background:#fff6f9;
  color:#f03d78;
  font-size:28px;
  font-weight:850;
}
.rental-success-email{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:#3b3439!important;
  font-size:18px!important;
  margin:22px 0!important;
}
.rental-progress-card{
  width:min(800px,100%);
  display:grid;
  grid-template-columns:1fr 90px 1fr 90px 1fr;
  align-items:center;
  padding:24px;
  border:1px solid rgba(246,186,196,.9);
  border-radius:10px;
  background:#fff;
  margin:0 auto 34px;
}
.rental-progress-card div{display:grid;justify-items:center;gap:8px}
.rental-progress-card b{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(135deg,#ff8caf,#f03d78);
  color:#fff;
  font-size:34px;
}
.rental-progress-card i{
  height:2px;
  background:linear-gradient(90deg,#f03d78,#ffd4e1);
  display:block;
}
.rental-progress-card strong{font-size:16px}
.rental-progress-card span{color:#7f8994}
.rental-home-btn{
  width:min(560px,100%);
  min-height:70px;
}
@media(max-width:980px){
  #serviceBookingModal.rental-booking-mode{
    align-items:end!important;
    padding:0!important;
  }
  #serviceBookingModal.rental-booking-mode .service-booking-card{
    width:100%!important;
    max-height:94dvh!important;
    border-radius:28px 28px 0 0!important;
  }
  .rental-booking-title{
    padding:24px 22px 18px;
  }
  .rental-booking-title h2{font-size:34px}
  .rental-booking-title p{font-size:15px;align-items:flex-start}
  .rental-datetime-grid{
    grid-template-columns:1fr;
    min-height:0;
  }
  .rental-calendar-side{
    border-right:0;
    border-bottom:1px solid rgba(246,186,196,.75);
    padding:20px 18px 22px;
  }
  .rental-calendar-toolbar{
    grid-template-columns:42px 1fr 42px;
    gap:8px;
  }
  .rental-calendar-toolbar button{width:42px;height:42px;font-size:30px}
  .rental-calendar-toolbar strong{font-size:20px}
  .rental-calendar-grid{gap:7px}
  .rental-calendar-day{height:42px;font-size:16px}
  .rental-date-legend{
    grid-template-columns:1fr;
    gap:10px;
    padding:14px;
    margin-top:20px;
  }
  .rental-date-legend span{justify-content:flex-start}
  .rental-time-side{
    padding:20px 18px;
  }
  .rental-duration-toggle{gap:10px}
  .rental-duration-toggle button{min-height:52px;font-size:15px}
  .rental-time-list{max-height:260px}
  .rental-time-slot{min-height:42px;font-size:18px}
  .rental-booking-summary{
    grid-template-columns:1fr;
    gap:10px;
    padding:16px 18px 22px;
  }
  .rental-booking-summary > div{min-height:0;padding:12px 14px}
  .rental-booking-summary strong{font-size:18px}
  .rental-book-now{min-height:58px;font-size:20px}
  .rental-step-details,
  .rental-step-success{padding:24px 18px}
  .rental-details-head{
    grid-template-columns:1fr;
    gap:18px;
  }
  .rental-selected-card{
    grid-template-columns:1fr;
  }
  .rental-details-form{
    grid-template-columns:1fr;
  }
  .rental-form-card{padding:18px}
  .rental-submit-booking{min-height:62px;font-size:20px}
  .rental-success-alert{font-size:20px;padding:18px}
  .rental-progress-card{
    grid-template-columns:1fr;
    gap:14px;
  }
  .rental-progress-card i{
    width:2px;
    height:26px;
    justify-self:center;
  }
}

#serviceBookingModal.rental-booking-mode .rental-mini-provider{display:none!important;}

/* === Product card image fill + center fix (2026-06-22) === */
body.buyer-page .buyer-product-card-clean .buyer-img-wrap{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
  border-radius:22px !important;
}

body.buyer-page .buyer-product-card-clean .buyer-product-img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  border-radius:0 !important;
  background:#fff !important;
}

/* === Expanded image fill + center fix for service, rental, and seller cards (2026-06-22) === */
/* Service cards */
body.buyer-page .buyer-service-card-clean .buyer-service-img,
body.buyer-page .buyer-service-card .buyer-service-img{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
  border-radius:22px !important;
}

body.buyer-page .buyer-service-card-clean .service-card-image,
body.buyer-page .buyer-service-card .service-card-image,
body.buyer-page .buyer-service-card .buyer-service-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  border-radius:0 !important;
  background:#fff !important;
  padding:0 !important;
}

/* Seller listing cards */
body.buyer-page .seller-page-product-img,
body.buyer-page .seller-service-img,
body.buyer-page .seller-page-service-card .seller-service-img{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}

body.buyer-page .seller-page-img,
body.buyer-page .seller-page-service-card img,
body.buyer-page .seller-service-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#fff !important;
}

/* === Shopee-style product detail gallery thumbnail switching === */
body.buyer-page .listing-detail-thumbs{
  align-items:stretch!important;
}
body.buyer-page .listing-detail-thumb{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  padding:0!important;
  cursor:pointer!important;
  position:relative!important;
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease!important;
}
body.buyer-page .listing-detail-thumb:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(186,73,113,.55)!important;
  box-shadow:0 10px 22px rgba(80,35,45,.10)!important;
}
body.buyer-page .listing-detail-thumb.active,
body.buyer-page .listing-detail-thumb[aria-pressed="true"]{
  border-color:#ba4971!important;
  box-shadow:0 0 0 2px rgba(186,73,113,.18),0 12px 24px rgba(80,35,45,.12)!important;
}
body.buyer-page .listing-detail-video-thumb .listing-detail-thumb-video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:14px!important;
  pointer-events:none!important;
}
body.buyer-page .listing-detail-video-play{
  position:absolute!important;
  inset:auto auto 8px 8px!important;
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:rgba(17,16,18,.78)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  box-shadow:0 8px 18px rgba(17,16,18,.18)!important;
}
body.buyer-page .view-photo-link:disabled{
  opacity:.58!important;
  cursor:not-allowed!important;
}

/* Shopee-style product detail variants */
body.buyer-page .product-variant-picker{display:grid;gap:10px;margin:4px 0 8px;padding:14px;border:1px solid rgba(220,98,139,.16);border-radius:18px;background:linear-gradient(135deg,#fff7fa,#fff)}
body.buyer-page .variant-picker-label{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.buyer-page .variant-picker-label span{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#846575;font-weight:950}
body.buyer-page .variant-picker-label strong{color:#9d3e63;font-size:13px}
body.buyer-page .variant-choice-grid{display:flex;flex-wrap:wrap;gap:8px}
body.buyer-page .variant-choice{min-height:42px;border:1px solid rgba(226,166,186,.55);background:#fff;border-radius:10px;padding:6px 10px;display:inline-flex;align-items:center;gap:8px;color:#2a2027;font-weight:850;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
body.buyer-page .variant-choice:hover{transform:translateY(-1px);border-color:#d65d88;box-shadow:0 10px 24px rgba(204,70,117,.12)}
body.buyer-page .variant-choice.active,body.buyer-page .variant-choice[aria-pressed="true"]{border-color:#ee4d2d;background:#fff7f4;box-shadow:inset 0 0 0 1px #ee4d2d;position:relative;color:#ee4d2d}
body.buyer-page .variant-choice.active::after{content:'✓';position:absolute;right:-1px;bottom:-1px;width:18px;height:18px;background:#ee4d2d;color:#fff;font-size:11px;display:grid;place-items:center;border-radius:10px 0 9px 0;font-weight:950}
body.buyer-page .variant-choice-img{width:30px;height:30px;border-radius:6px;object-fit:cover;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
body.buyer-page .variant-choice span{font-size:13px;line-height:1.1}
@media(max-width:640px){body.buyer-page .product-variant-picker{padding:12px}body.buyer-page .variant-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.buyer-page .variant-choice{justify-content:flex-start;width:100%}}
