﻿/* ============================================================
   TUDAYONE – GhorerBazar-inspired Design v5
   ============================================================ */
:root {
  --g:        #04382B;   /* deep emerald green from photo */
  --g2:       #02261d;   /* dark green */
  --g-lt:     #eaf3ee;   /* light green tint */
  --g-mid:    #cde3d6;
  --yellow:   #ffb81c;   /* gold/amber from photo */
  --orange:   #e8590c;
  --red:      #c62828;
  --bkash:    #e2136e;
  --nagad:    #f15a22;
  --rocket:   #8b2fc9;
  --bg:       #f4f6f4;
  --white:    #fff;
  --text:     #1a2820;
  --muted:    #6c7c72;
  --border:   #e0e8e3;
  --shadow:   0 2px 10px rgba(0,0,0,.07);
  --r:        8px;
  --header-h: 70px;
  --header-h-sm: 56px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Hind Siliguri', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c8d8ce; border-radius: 4px; }

/* ── Focus ── */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ── Container ── */
.gb-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   ANNOUNCE BAR
   ============================================================ */
.gb-announce {
  background: linear-gradient(90deg, var(--g2) 0%, var(--g) 50%, var(--g2) 100%);
  color: #fff; text-align: center; padding: 8px 44px; font-size: 13px;
  font-weight: 500; position: relative; letter-spacing: .01em;
}
.gb-announce span { display: inline-flex; align-items: center; gap: 6px; }
.gb-announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); border: none; color: #fff; width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; font-size: 13px; display: flex;
  align-items: center; justify-content: center; transition: background .2s;
}
.gb-announce-close:hover { background: rgba(255,255,255,.32); }
@media (max-width:480px) { .gb-announce { font-size: 11.5px; padding: 7px 36px; } }

/* ============================================================
   HEADER
   ============================================================ */
.gb-header {
  background: var(--g); position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(4,56,43,.25);
}
.gb-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px; height: var(--header-h);
  width: 100%; max-width: 1360px; margin: 0 auto;
}

/* Logo */
.gb-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.gb-logo-icon { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.gb-logo-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.gb-logo-img { height: 56px; max-height: 60px; width: auto; max-width: 260px; object-fit: contain; display: block; }
.gb-logo-text { display: flex; flex-direction: column; }
.gb-logo-name { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: .08em; line-height: 1.1; font-family: 'Times New Roman', Georgia, serif; text-transform: uppercase; }
.gb-logo-tag  { font-size: 11px; color: rgba(255,255,255,.85); font-weight: 400; letter-spacing: .03em; }

/* Search */
.gb-search-wrap { flex: 1; min-width: 0; display: flex; justify-content: center; max-width: 520px; margin: 0 16px; }
.gb-search-box {
  display: flex; align-items: center; width: 100%;
  background: #fff; border-radius: 50px;
  padding: 3px 4px 3px 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.gb-search-box--mobile { max-width: 100%; border-radius: 50px; }
.gb-search-input {
  flex: 1; border: none; outline: none; font-family: inherit;
  font-size: 13.5px; color: var(--text); background: transparent; padding: 8px 0;
  min-width: 0;
}
.gb-search-input::placeholder { color: #8e9e95; font-size: 13px; }
.gb-search-btn-circle {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--g); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: transform .15s, background .15s;
}
.gb-search-btn-circle:hover { background: #074e3c; transform: scale(1.04); }
.gb-search-btn-circle i { font-size: 14px; line-height: 1; }

/* Backward compat button */
.gb-search-btn {
  background: var(--g); color: #fff; border: none; padding: 8px 18px;
  font-weight: 700; font-size: 13px; cursor: pointer; flex-shrink: 0;
  border-radius: 50px;
}

/* Right icons */
.gb-header-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.gb-icon-btn--user,
.gb-icon-btn--wish {
  display: flex; align-items: center; gap: 2px;
  background: none; border: none; color: #fff;
  padding: 4px 10px; border-radius: 6px; font-size: 12px;
  font-weight: 500; cursor: pointer; transition: opacity .2s;
  white-space: nowrap; flex-direction: column; text-align: center;
  line-height: 1.2; text-decoration: none;
}
.gb-icon-btn--user i, .gb-icon-btn--wish i { font-size: 21px; line-height: 1; color: #fff; }
.gb-icon-btn--user span, .gb-icon-btn--wish span { font-size: 11px; color: rgba(255,255,255,.9); font-weight: 500; }
.gb-icon-btn--user:hover, .gb-icon-btn--wish:hover { opacity: .85; }

.gb-header-divider {
  width: 1px; height: 26px;
  background: rgba(255,255,255,.2);
  margin: 0 4px; flex-shrink: 0;
}

.gb-cart-btn {
  position: relative; background: none; border: none; color: #fff;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: pointer;
  transition: opacity .2s; padding: 4px 10px; border-radius: 6px;
  gap: 2px; text-decoration: none;
}
.gb-cart-btn:hover { opacity: .85; }
.gb-cart-icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.gb-cart-icon-wrap i { font-size: 21px; line-height: 1; color: #fff; }
.gb-cart-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.9); }
.gb-cart-badge {
  position: absolute; top: -5px; right: -8px; background: var(--yellow); color: #111;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--g); line-height: 1;
}
.gb-ham {
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 8px; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile search row */
.gb-mobile-search {
  display: none; padding: 8px 14px 10px; background: var(--g);
}

/* ── Header Responsive ── */
@media (max-width: 991px) {
  /* Tablet: hide desktop search, show mobile search bar */
  .gb-mobile-search { display: block; }
  .gb-search-wrap   { display: none; }
  .gb-header-inner  { height: var(--header-h-sm); }
  /* Compress user button */
  .gb-icon-btn--user span { display: none; }
  .gb-icon-btn--user { padding: 5px 8px; flex-direction: row; }
}
@media (max-width: 768px) {
  .gb-logo-tag  { display: none; }
  .gb-icon-btn--user span, .gb-icon-btn--wish span { display: none; }
  .gb-icon-btn--user, .gb-icon-btn--wish { padding: 5px 7px; }
  /* Keep logo left, right aligned properly */
  .gb-header-inner { justify-content: space-between; }
  .gb-search-wrap  { display: none; }
}
@media (max-width: 480px) {
  .gb-header-inner  { padding: 0 10px; gap: 6px; }
  .gb-logo-img      { height: 46px; max-height: 50px; max-width: 200px; }
  .gb-logo-name     { font-size: 15px; }
  .gb-logo-icon, .gb-logo-mark { width: 32px; height: 32px; font-size: 16px; }
  .gb-icon-btn--wish { display: none !important; }
  .gb-icon-btn--user { display: none !important; }
  .gb-mobile-search  { padding: 7px 10px 9px; }
  .gb-search-btn-circle { width: 32px; height: 32px; }
  .gb-search-btn     { padding: 10px 14px; font-size: 12px; }
  /* Mobile: logo left, [cart + hamburger] right */
  .gb-header-right  { gap: 6px; margin-left: auto; }
}
@media (max-width: 360px) {
  .gb-logo-img      { height: 40px; max-height: 44px; max-width: 160px; }
  .gb-logo-name     { font-size: 13px; }
  .gb-logo-icon, .gb-logo-mark { width: 28px; height: 28px; font-size: 14px; }
  .gb-logo-text     { gap: 0; }
  .gb-logo          { gap: 7px; }
}

/* Category nav strip — replaced by gb-nav-bar below */
.gb-cat-nav { display: none; }
.gb-cat-nav-scroll { display: none; }

/* ============================================================
   SECONDARY NAV BAR  (All Categories + Links + Order Now)
   ============================================================ */
.gb-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  position: relative;
  width: 100%;
}
.gb-nav-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1360px; margin: 0 auto; padding: 0 24px;
  width: 100%; height: 48px;
}

/* ── All Categories button ── */
.gb-allcat-wrap { position: relative; flex-shrink: 0; }
.gb-allcat-btn {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px;
  background: transparent; border: none; color: #1a2820;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: color .2s; white-space: nowrap;
}
.gb-allcat-btn:hover { color: var(--g); }
.gb-allcat-btn i:first-child { font-size: 18px; line-height: 1; }
.gb-allcat-arrow { font-size: 11px; margin-left: 2px; transition: transform .2s; }
.gb-allcat-wrap.open .gb-allcat-arrow { transform: rotate(180deg); }

/* ── Category Dropdown ── */
.gb-cat-dropdown {
  display: none; position: absolute; left: 0; top: 100%; z-index: 1200;
  width: 260px; background: #fff; border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18); border: 1px solid var(--border);
  border-top: none; overflow: hidden;
  animation: dropDown .15s ease;
}
@keyframes dropDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.gb-allcat-wrap:hover .gb-cat-dropdown,
.gb-allcat-wrap.open  .gb-cat-dropdown { display: block; }
.gb-cat-dropdown-inner { max-height: 420px; overflow-y: auto; padding: 6px 0; }
.gb-cat-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; color: var(--text); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s; background: none;
  border: none; width: 100%; text-align: left; font-family: inherit;
}
.gb-cat-dd-item:hover { background: var(--g-lt); color: var(--g); }
.gb-cat-dd-item.active { background: var(--g-lt); color: var(--g); font-weight: 700; }
.gb-cat-dd-img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  background: #eef2ef; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 16px; overflow: hidden;
}
.gb-cat-dd-img img { width: 100%; height: 100%; object-fit: cover; }
.gb-cat-dd-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── Page Nav Links ── */
.gb-page-nav {
  display: flex; align-items: center; justify-content: center;
  flex: 1; overflow-x: auto;
  scrollbar-width: none; gap: 6px;
  margin: 0 20px;
}
.gb-page-nav::-webkit-scrollbar { display: none; }
.gb-nav-link {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  color: #2d3748; font-size: 14px; font-weight: 600;
  padding: 0 16px; height: 48px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; position: relative;
  text-decoration: none;
}
.gb-nav-link:hover { color: var(--g); }
.gb-nav-link.active {
  color: var(--g) !important; font-weight: 700;
  border-bottom-color: var(--g);
}

/* ── Order Now / WhatsApp ── */
.gb-order-now {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 0 4px; background: transparent; color: #1a202c;
  text-decoration: none; height: 48px;
}
.gb-order-now:hover { text-decoration: none; }
.gb-wa-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.gb-order-now-text { display: flex; flex-direction: column; }
.gb-order-now-label { display: block; font-size: 10.5px; color: #718096; line-height: 1.1; font-weight: 500; }
.gb-order-now-num   { display: block; font-size: 13px; font-weight: 700; color: #1a202c; line-height: 1.3; }

@media (max-width: 991px) {
  .gb-page-nav { gap: 0; }
  .gb-nav-link  { padding: 0 10px; font-size: 13px; }
  .gb-order-now-num { font-size: 12px; }
  .gb-order-now { padding: 0 6px; }
}
@media (max-width: 768px) {
  .gb-nav-bar { display: none; }
}

/* User dropdown */
.gb-user-wrap { position: relative; }
.gb-user-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,.14); z-index: 1001;
}
.gb-user-dropdown.open { display: block; animation: fadeIn .15s ease; }
.gb-user-dropdown a, .gb-user-dropdown button {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  font-size: 13px; color: var(--text); border: none; background: none;
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.gb-user-dropdown a:hover, .gb-user-dropdown button:hover { background: var(--g-lt); color: var(--g); }
.gb-user-dropdown hr { margin: 4px 0; border-color: var(--border); }

/* Mobile menu */
.gb-mobile-menu {
  position: fixed; left: 0; right: 0; top: 100px;
  max-height: calc(100vh - 60px); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--border);
  display: none; flex-direction: column; z-index: 1250;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.gb-mobile-menu.open { display: flex; animation: slideDown .2s ease; }
.gb-mobile-menu a {
  padding: 13px 20px; border-bottom: 1px solid var(--border);
  font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 10px;
  transition: background .15s, padding-left .15s; color: var(--text);
}
.gb-mobile-menu a:hover { background: var(--g-lt); color: var(--g); padding-left: 26px; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

/* ============================================================
   HERO
   ============================================================ */
.gb-hero { width: 100%; overflow: hidden; position: relative; }
.gb-hero-default {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: clamp(32px,5vw,56px) clamp(5%,8vw,10%);
  min-height: clamp(260px,32vw,420px);
  background: linear-gradient(120deg,#0a3d28 0%,#0d6b3f 55%,#157a47 100%);
  position: relative; overflow: hidden;
}
/* JS adds .hero-loaded to body once banners are checked */
.hero-loading .gb-hero-default { visibility: hidden; }
/* Once loaded, animate in if needed */
.gb-hero-default[hidden]  { display: none !important; visibility: visible; }
.gb-hero-default::before {
  content:''; position:absolute; right:-60px; top:-60px;
  width:320px; height:320px; border-radius:50%;
  background:rgba(255,255,255,.04); pointer-events:none;
}
.gb-hero-default::after {
  content:''; position:absolute; right:80px; bottom:-80px;
  width:240px; height:240px; border-radius:50%;
  background:rgba(246,184,0,.06); pointer-events:none;
}
.gb-hero-content { flex:1; position:relative; z-index:1; max-width:580px; }
.gb-hero-badge {
  font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--yellow); margin-bottom:10px; display:inline-block;
}
.gb-hero-title {
  font-size:clamp(26px,3.8vw,48px); font-weight:700; color:#fff;
  line-height:1.22; margin-bottom:10px;
}
.gb-hero-title span { color:var(--yellow); }
.gb-hero-sub { font-size:clamp(13px,1.4vw,16px); color:rgba(255,255,255,.85); margin-bottom:22px; }
.gb-hero-btns { display:flex; flex-wrap:wrap; gap:12px; }
.gb-btn-primary {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--yellow); color:#111; font-weight:700; font-size:15px;
  padding:12px 28px; border-radius:6px; transition:background .2s,transform .15s; text-decoration:none;
}
.gb-btn-primary:hover { background:#e0a800; color:#111; transform:translateY(-1px); }
.gb-btn-outline {
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,255,255,.12); color:#fff; border:1.5px solid rgba(255,255,255,.4);
  font-weight:600; font-size:14px; padding:11px 22px; border-radius:6px; transition:all .2s; text-decoration:none;
}
.gb-btn-outline:hover { background:rgba(255,255,255,.22); color:#fff; }
.gb-hero-brand {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  flex-shrink:0; position:relative; z-index:1;
}
.gb-hero-brand-circle {
  width:100px; height:100px; border-radius:50%;
  background:rgba(255,255,255,.12); border:3px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center;
  font-size:44px; color:#fff; margin:0 auto 10px; overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}
.gb-hero-brand-circle img { width:100%; height:100%; object-fit:contain; padding:10px; }
.gb-hero-brand-name { font-family:Georgia,serif; font-size:22px; font-weight:700; color:#fff; }
.gb-hero-brand-tag  { font-size:11px; color:rgba(255,255,255,.65); margin-top:4px; }

/* ── Hero carousel ── */
.gb-hero-carousel {
  position: relative; overflow: hidden;
  width: 100%;
  height: clamp(200px, 23vw, 320px);
  background: #072d1f;
}
.gb-hero-carousel[hidden] { display: none !important; }
.gb-hero-default[hidden]  { display: none !important; }
.gb-hero-track { position: absolute; inset: 0; width: 100%; height: 100%; }
.gb-hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  visibility: hidden; opacity: 0; z-index: 1;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
  overflow: hidden;
  isolation: isolate;
}
.gb-hero-slide.active { visibility: visible; opacity: 1; z-index: 2; }

/* Dark overlay only when text content exists */
.gb-hero-slide:not(.gb-hero-slide--pure)::after { display: none !important; }
/* Pure image slide — NO overlay, image fills 100% */
.gb-hero-slide--pure::after { display: none !important; }
.gb-hero-slide--pure .gb-hero-slide-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1;
}
/* Full-screen link on pure image */
.gb-hero-slide-link {
  position: absolute; inset: 0; z-index: 5; display: block;
}

.gb-hero-slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 1;
}
.gb-hero-slide-content {
  position: relative; z-index: 6;
  width: min(600px, 75%); padding: clamp(20px, 3.5vw, 42px);
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.3);
  pointer-events: auto;
}
.gb-hero-slide-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 6px; color: var(--yellow);
}
.gb-hero-slide-title {
  font-size: clamp(20px, 2.8vw, 36px); font-weight: 700;
  line-height: 1.2; margin: 0 0 8px; color: #fff;
}
.gb-hero-slide-sub {
  font-size: clamp(12px, 1.2vw, 15px); line-height: 1.45;
  margin: 0 0 16px; opacity: .93; color: #fff;
}
.gb-hero-slide-cta {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 10px 24px; border-radius: 6px;
  background: var(--yellow); color: #111; font-weight: 700;
  text-shadow: none; transition: transform .2s, background .2s; text-decoration: none;
}
.gb-hero-slide-cta:hover { background: #ffd34c; color: #111; transform: translateY(-2px); }

/* Prev/Next controls */
.gb-hero-ctrl {
  position: absolute; z-index: 10; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 18px; cursor: pointer; transition: background .2s, transform .2s;
  backdrop-filter: blur(2px);
}
.gb-hero-ctrl:hover { background: rgba(0,0,0,.65); transform: translateY(-50%) scale(1.05); }
.gb-hero-ctrl[hidden] { display: none !important; }
.gb-hero-prev { left: clamp(10px,2vw,20px); }
.gb-hero-next { right: clamp(10px,2vw,20px); }

/* Dots */
.gb-hero-dots {
  position: absolute; z-index: 10; left: 50%; bottom: 14px;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.gb-hero-dot {
  width: 28px; height: 28px; background: transparent; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.gb-hero-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55); transition: background .2s, transform .2s;
}
.gb-hero-dot.active::before { background: #fff; transform: scale(1.4); }

/* Responsive hero */
@media (max-width: 768px) {
  .gb-hero-carousel { height: clamp(170px, 30vw, 240px); }
  .gb-hero-slide-content { width: 85%; padding: 18px 16px; }
  .gb-hero-slide-title { font-size: clamp(17px, 4vw, 24px); margin-bottom: 4px; }
  .gb-hero-slide-sub { font-size: 12px; margin-bottom: 12px; }
  .gb-hero-slide-cta { font-size: 12px; padding: 7px 16px; min-height: 36px; }
  .gb-hero-ctrl { width: 34px; height: 34px; font-size: 14px; }
  .gb-hero-default { flex-direction: column; align-items: flex-start; padding: 18px 5%; gap: 12px; min-height: auto; }
  .gb-hero-brand { display: none; }
}
@media (max-width: 480px) {
  .gb-hero-carousel { height: clamp(150px, 42vw, 200px); }
  .gb-hero-slide-content { width: 100%; padding: 14px 12px; }
  .gb-hero-slide-title { font-size: 16px; margin-bottom: 4px; }
  .gb-hero-slide-sub { font-size: 11px; margin-bottom: 10px; }
  .gb-hero-slide-cta { font-size: 11px; padding: 6px 14px; min-height: 32px; }
  .gb-hero-ctrl { width: 28px; height: 28px; font-size: 12px; }
  .gb-hero-prev { left: 4px; }
  .gb-hero-next { right: 4px; }
  .gb-hero-dots { bottom: 6px; }
  .gb-hero-default { padding: 16px 4%; }
  .gb-hero-title { font-size: 18px; }
  .gb-hero-btns { flex-direction: column; gap: 8px; }
  .gb-btn-primary, .gb-btn-outline { width: 100%; justify-content: center; font-size: 13px; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.gb-trust-strip {
  background: #f7f6f1;
  border-top: 1px solid #ece9df;
  border-bottom: 1px solid #ece9df;
  padding: 4px 0;
  overflow-x: auto;
}
.gb-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.gb-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 14px;
  border-right: 1px solid #d8d4c6;
}
.gb-trust-item:last-child { border-right: none; }
.gb-trust-icon-wrap {
  font-size: 24px;
  color: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.gb-trust-icon-wrap i { font-size: 24px; color: var(--g); }
.gb-trust-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.gb-trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--g);
  line-height: 1.25;
}
.gb-trust-sub {
  font-size: 11px;
  color: #7a7a72;
  margin-top: 1px;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .gb-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gb-trust-item { border-right: none; justify-content: flex-start; padding: 2px 6px; }
}
@media (max-width: 600px) {
  .gb-trust-inner { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; padding: 0 6px; }
  .gb-trust-inner::-webkit-scrollbar { display: none; }
  .gb-trust-item { flex-shrink: 0; padding: 2px 10px; border-right: 1px solid #ebebeb; gap: 6px; }
  .gb-trust-icon-wrap, .gb-trust-icon-wrap i { font-size: 19px; }
  .gb-trust-title { font-size: 11px; }
  .gb-trust-sub { font-size: 9.5px; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.gb-section { padding: 24px 0; background: #fff; }
.gb-section + .gb-section { border-top: 6px solid var(--bg); }
.gb-cats-section { background: #fff; padding: 4px 0 14px; }
.gb-cats-section .gb-section-head { display: none; margin: 0; }
.gb-cats-section .gb-section-head { margin-bottom: 10px; }
.gb-bestseller-section { background: var(--bg); }
.gb-section-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.gb-section-title {
  font-size: 18px; font-weight: 700; color: var(--text); margin: 0;
  position: relative; padding-bottom: 8px;
}
.gb-section-title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; background: var(--g); border-radius: 2px;
}
.gb-view-all {
  font-size: 13px; font-weight: 600; color: var(--g);
  display: flex; align-items: center; gap: 3px; border: 1px solid var(--g);
  padding: 5px 12px; border-radius: 20px; transition: all .2s;
}
.gb-view-all:hover { background: var(--g); color: #fff; }

/* ── Dots (shared) ── */
.gb-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gb-carousel-dot {
  width: 26px; height: 26px; background: transparent; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.gb-carousel-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #c8d8ce; transition: background .2s, transform .2s;
}
.gb-carousel-dot.active::before { background: var(--g); transform: scale(1.35); }

/* ============================================================
   FEATURED CATEGORIES SECTION
   ============================================================ */
.gb-feat-cats { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 0 6px; }
.gb-feat-cat-ctrl {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #e2ebe6;
  background: #fff; color: var(--g); display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: all .2s ease;
}
.gb-feat-cat-ctrl:hover {
  background: var(--g); color: #fff; border-color: var(--g);
  transform: scale(1.08); box-shadow: 0 4px 14px rgba(4,56,43,.25);
}
.gb-feat-cat-ctrl[hidden] { display: none; }
.gb-feat-cat-viewport { flex: 1; overflow: hidden; min-width: 0; padding: 4px 2px 8px; }
.gb-feat-cat-track {
  display: flex; transition: transform .45s cubic-bezier(.22,.75,.25,1); touch-action: pan-y;
}
.gb-feat-cat-page {
  display: grid; flex: 0 0 100%; min-width: 0;
  grid-template-columns: repeat(var(--cat-page-size, 10), minmax(0, 1fr));
  gap: 14px; align-items: start;
}

/* Category card - clean, no square border, pure focus on circular icon */
.gb-cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: transparent; border: none; outline: none;
  padding: 2px 2px 4px; cursor: pointer; font-family: inherit;
  color: var(--text); text-align: center; min-width: 0; width: 100%;
  transition: transform .2s ease;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.gb-cat-card:hover {
  background: transparent; border: none;
}
.gb-cat-card:focus-visible { outline: none; }
.gb-cat-card:focus-visible .gb-cat-img-wrap {
  outline: 3px solid var(--yellow); outline-offset: 3px;
}

/* Circular icon container with soft pastel sage background */
.gb-cat-img-wrap {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  background: #edf6f1; /* Soft pastel sage tint matching brand green */
  border: 2.5px solid #ddeadf; /* Subtle circular ring */
  display: flex; align-items: center; justify-content: center;
  padding: 10px; margin: 0 auto 9px;
  box-shadow: 0 3px 10px rgba(4,56,43,0.06);
  transition: border-color .25s ease, background-color .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  flex-shrink: 0;
}

/* HOVER & ACTIVE on the CIRCLE (circle, not square!) */
.gb-cat-card:hover .gb-cat-img-wrap {
  border-color: var(--g); /* Matches dark emerald green #04382B */
  background: #e1f1e8;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 22px rgba(4,56,43,0.22);
}
.gb-cat-card.active .gb-cat-img-wrap {
  border-color: var(--g);
  background: #d6ebe0;
  box-shadow: 0 0 0 3px rgba(4,56,43,0.18), 0 6px 18px rgba(4,56,43,0.2);
}

.gb-cat-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .25s ease;
}
.gb-cat-card:hover .gb-cat-img-wrap img {
  transform: scale(1.1);
}
.gb-cat-emoji {
  font-size: 32px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  transition: transform .25s ease;
}
.gb-cat-card:hover .gb-cat-emoji {
  transform: scale(1.12);
}

/* Category label */
.gb-cat-label {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.35; word-break: break-word;
  font-size: 12px; font-weight: 500; color: #2c3e35;
  margin-top: 0; width: 100%;
  transition: color .2s ease, font-weight .2s ease;
}
.gb-cat-card:hover .gb-cat-label,
.gb-cat-card.active .gb-cat-label {
  color: var(--g);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1200px) {
  .gb-feat-cat-page { gap: 11px; }
  .gb-cat-img-wrap  { width: 66px; height: 66px; padding: 9px; }
  .gb-cat-emoji     { font-size: 28px; }
  .gb-cat-label     { font-size: 11.5px; }
}
@media (max-width: 991px) {
  .gb-feat-cat-page { gap: 10px; }
  .gb-cat-img-wrap  { width: 60px; height: 60px; padding: 8px; }
  .gb-cat-emoji     { font-size: 26px; }
  .gb-cat-label     { font-size: 11px; }
}
@media (max-width: 767px) {
  .gb-feat-cat-page { gap: 8px; }
  .gb-cat-img-wrap  { width: 54px; height: 54px; padding: 7px; margin-bottom: 7px; }
  .gb-cat-emoji     { font-size: 24px; }
  .gb-cat-label     { font-size: 10.5px; }
}
@media (max-width: 479px) {
  .gb-cats-section  { padding: 20px 0 16px; }
  .gb-feat-cat-page { gap: 8px; }
  .gb-cat-img-wrap  { width: 50px; height: 50px; padding: 6px; margin-bottom: 6px; }
  .gb-cat-emoji     { font-size: 22px; }
  .gb-cat-label     { font-size: 10px; }
  .gb-feat-cat-ctrl { width: 32px; height: 32px; font-size: 13px; }
}
@media (max-width: 359px) {
  .gb-cat-img-wrap  { width: 44px; height: 44px; font-size: 19px; }
  .gb-cat-label     { font-size: 9.5px; }
}

/* ============================================================
   FLASH SALE
   ============================================================ */
.gb-flash {
  background: linear-gradient(135deg, #1a0a00, #3d1500, #1a0a00);
  padding: 18px 0 22px; border-bottom: 1px solid #5a2500;
}
.gb-flash-badge {
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px; animation: pulse 1.5s infinite;
}
.gb-flash-timer { display: flex; align-items: center; gap: 5px; }
.gb-timer-box {
  background: rgba(255,255,255,.15); border-radius: 5px; padding: 3px 8px;
  min-width: 40px; text-align: center;
}
.gb-timer-box .num { font-size: 17px; font-weight: 700; color: #fff; display: block; line-height: 1; }
.gb-timer-box .lbl { font-size: 8px; color: rgba(255,255,255,.6); text-transform: uppercase; }
.gb-timer-sep { color: rgba(255,255,255,.5); font-size: 17px; font-weight: 700; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* ============================================================
   SCROLLABLE PRODUCT ROW (Hot deals, Flash)
   ============================================================ */
.gb-scroll-row {
  overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gb-scroll-row::-webkit-scrollbar { height: 4px; }
.gb-scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gb-product-row { display: flex; gap: 12px; padding: 4px 2px; min-width: max-content; }

/* ============================================================
   HOT SECTION
   ============================================================ */
.gb-hot { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0 24px; }
.gb-hot-badge {
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 12px; margin-left: 6px; vertical-align: middle;
}

/* ============================================================
   PRODUCT CAROUSEL (Shop section)
   ============================================================ */
.gb-prod-carousel {
  --pc-gap: 12px; --pc-visible: 5;
  position: relative; padding: 0 2px;
}
.gb-prod-viewport { overflow: hidden; }
.gb-product-grid {
  display: flex; flex-wrap: nowrap; gap: var(--pc-gap); width: 100%;
  transition: none; /* JS handles transform */
}
.gb-product-grid > .gb-product-card,
.gb-product-grid > .product-card {
  flex: 0 0 calc((100% - (var(--pc-visible) - 1) * var(--pc-gap)) / var(--pc-visible));
  min-width: 0;
}
.gb-prod-ctrl {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; color: var(--g); display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: background .18s, color .18s, border-color .18s;
}
.gb-prod-ctrl:hover { background: var(--g); color: #fff; border-color: var(--g); }
.gb-prod-prev { left: -18px; }
.gb-prod-next { right: -18px; }
.gb-prod-dots { margin-top: 14px; }
.gb-prod-dots .gb-carousel-dot::before { width: 9px; height: 9px; }

@media (max-width: 1100px) { .gb-prod-carousel { --pc-visible: 4; } }
@media (max-width: 991px)  { .gb-prod-carousel { --pc-visible: 3; } }
@media (max-width: 575px)  {
  .gb-prod-carousel { --pc-visible: 2; }
  .gb-prod-prev { left: -10px; }
  .gb-prod-next { right: -10px; }
  .gb-prod-ctrl { width: 32px; height: 32px; font-size: 14px; }
}

/* ============================================================
   PRODUCT CARD  — GhorerBazar style
   ============================================================ */
.gb-product-card, .product-card {
  background: #fff; border: 1px solid #eef0ee; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s; position: relative; cursor: pointer;
}
.gb-product-card:hover, .product-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-3px);
  border-color: #d8e8dc;
}
/* Hot card width */
.hot-card { width: 200px; flex-shrink: 0; }
.gb-hot-carousel .product-card,
.gb-hot-carousel .hot-card,
.gb-hot-carousel .gb-skeleton-hot {
  width: auto;
  flex: 0 0 calc((100% - (var(--pc-visible) - 1) * var(--pc-gap)) / var(--pc-visible));
}

.product-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge-hot   { background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.badge-disc  { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.badge-lbl   { background: var(--yellow); color: #111; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.badge-flash { background: #e65100; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }

/* Wishlist btn */
.btn-wishlist {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  background: rgba(255,255,255,.92); border: 1px solid #eee; width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center; color: #ccc;
  transition: all .2s; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.btn-wishlist:hover, .btn-wishlist.active { color: var(--red); border-color: #ffa0a0; }

.product-img-wrap {
  aspect-ratio: 1/1; background: #f9faf9; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 12px; position: relative;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-img-wrap img,
.gb-product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-wrap .no-img { font-size: 48px; color: #ccc; }

.product-body { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.product-name {
  font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.45;
  flex: 1; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-short-description {
  font-size: 11px; line-height: 1.35; color: var(--muted); margin: -4px 0 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { font-size: 15px; font-weight: 700; color: var(--orange); margin-bottom: 3px; }
.product-price s { font-size: 11.5px; color: #aaa; font-weight: 400; margin-right: 4px; }
.product-save { font-size: 10.5px; font-weight: 600; color: var(--red); margin-bottom: 7px; }
.product-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.btn-cart {
  width: 100%; background: var(--g); color: #fff; border: none; border-radius: 6px;
  padding: 9px 10px; font-weight: 700; font-size: 12.5px; cursor: pointer; font-family: inherit;
  transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: auto;
}
.btn-cart:hover { background: var(--g2); }
.btn-cart.in-cart { background: #1565c0; }

/* Out of stock */
.out-of-stock-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; z-index: 4; border-radius: 10px; }
.out-of-stock-label { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

/* ── 4-col product grid ── */
.gb-prod-grid-4 {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
}
@media(max-width:991px){ .gb-prod-grid-4{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .gb-prod-grid-4{ grid-template-columns:repeat(2,1fr); gap:10px; } }

/* ── Category product section ── */
.gb-cat-prod-section { background: #fff; padding: 22px 0; border-top: 6px solid var(--bg); }
.gb-cat-prod-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
@media(max-width:1100px){ .gb-cat-prod-grid{ grid-template-columns:repeat(4,1fr); } }
@media(max-width:768px) { .gb-cat-prod-grid{ grid-template-columns:repeat(3,1fr); gap:10px; } }
@media(max-width:480px) { .gb-cat-prod-grid{ grid-template-columns:repeat(2,1fr); gap:8px; } }

/* ── Promo banner ── */
.gb-promo-banner { width: 100%; background: #f5f6f5; border-top: 6px solid var(--bg); }
.gb-promo-inner { max-width: 100%; }
.gb-promo-inner img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.gb-promo-inner a { display: block; }

/* ── Customer Reviews ── */
.gb-reviews-section { background: var(--bg); padding: 32px 0; border-top: 6px solid #e8ece8; }
.gb-reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:768px){ .gb-reviews-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .gb-reviews-grid{ grid-template-columns:1fr; } }
.gb-review-card {
  background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #eef0ee;
}
.gb-review-stars { color: var(--yellow); font-size: 15px; margin-bottom: 8px; }
.gb-review-text { font-size: 13.5px; color: #444; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.gb-review-author { display: flex; align-items: center; gap: 10px; }
.gb-review-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--g-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--g); font-weight: 700; flex-shrink: 0;
}
.gb-review-name { font-size: 13px; font-weight: 700; color: var(--text); }
.gb-review-role { font-size: 11px; color: var(--muted); }

/* ============================================================
   SKELETON
   ============================================================ */
.gb-skeleton { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.gb-skeleton-hot { width: 180px; flex-shrink: 0; }
.gb-skel-img {
  aspect-ratio: 1; background: linear-gradient(90deg,#eee 25%,#f5f5f5 50%,#eee 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.gb-skel-body { padding: 10px; }
.gb-skel-line {
  height: 12px; background: linear-gradient(90deg,#eee 25%,#f5f5f5 50%,#eee 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: 4px; margin-bottom: 8px;
}
.gb-skel-line.short { width: 55%; }
.gb-skel-line.mid   { width: 80%; }
.gb-skel-line.full  { width: 100%; height: 32px; margin-top: 6px; border-radius: 5px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   PAGINATION
   ============================================================ */
.gb-pagination {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; padding: 10px 0 24px;
}
.page-btn {
  min-width: 36px; height: 36px; border: 1px solid var(--border); background: #fff;
  color: var(--text); border-radius: var(--r); font-family: inherit; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0 10px; transition: all .15s;
}
.page-btn:hover:not([disabled]) { background: var(--g-lt); border-color: var(--g); color: var(--g); }
.page-btn.active { background: var(--g); color: #fff; border-color: var(--g); font-weight: 700; }
.page-btn[disabled] { opacity: .4; cursor: default; }
.page-ellipsis { min-width: 28px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.gb-track-section { background: var(--g); padding: 50px 0; }
.gb-track-box { max-width: 540px; margin: 0 auto; text-align: center; color: #fff; }
.gb-track-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.gb-track-box p  { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.gb-track-input  { display: flex; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.gb-track-input input { flex: 1; border: none; padding: 13px 16px; font-family: inherit; font-size: 14px; outline: none; color: var(--text); }
.gb-track-btn { background: var(--yellow); color: #111; border: none; padding: 13px 22px; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .2s; white-space: nowrap; }
.gb-track-btn:hover { background: #e0a800; }
.track-result { background: #fff; border-radius: var(--r); margin-top: 18px; overflow: hidden; text-align: left; }
.track-result-header { background: var(--g); color: #fff; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.track-result-body { padding: 14px 16px; }
.track-info-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; color: #333; flex-wrap: wrap; gap: 4px; }
.track-info-row strong { color: var(--text); }
.delivery-timeline { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.delivery-timeline h6 { font-size: 11px; font-weight: 700; color: var(--g); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.tl-item { display: flex; gap: 12px; margin-bottom: 12px; }
.tl-dot { display: flex; flex-direction: column; align-items: center; }
.t-dot  { width: 13px; height: 13px; border-radius: 50%; background: var(--g); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--g); flex-shrink: 0; margin-top: 3px; }
.t-line { width: 2px; flex: 1; background: #ddd; margin: 4px auto; }
.tl-content { flex: 1; }
.tl-label { font-size: 13px; font-weight: 600; color: var(--text); }
.tl-note  { font-size: 12px; color: var(--muted); }
.tl-time  { font-size: 11px; color: var(--muted); }

/* ============================================================
   ABOUT
   ============================================================ */
.gb-about { background: #fff; padding: 50px 0; border-top: 1px solid var(--border); }
.gb-about-title { font-size: 24px; font-weight: 700; color: var(--g); margin-bottom: 12px; }
.gb-about-text { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 16px; }
.gb-about-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.gb-about-list li { font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.gb-about-list li i { color: var(--g); font-size: 17px; }
.gb-about-card {
  background: linear-gradient(135deg, #f1f9f4, #e0f0e9); border-radius: 14px;
  padding: 36px 20px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.07);
  border: 1px solid var(--g-mid);
}
.gb-about-icon {
  width: 72px; height: 72px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--g); margin: 0 auto 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(26,122,60,.18);
}
.gb-about-icon img { width: 100%; height: 100%; object-fit: contain; }
.gb-about-card h4 { font-family: Georgia, serif; font-size: 24px; font-weight: 700; color: var(--g2); }
.gb-about-card p  { font-size: 13px; color: #666; margin-top: 5px; }
.gb-trust-badges  { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.gb-trust-badges span {
  background: #fff; border: 1px solid var(--g-mid); border-radius: 20px;
  padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--g);
  display: flex; align-items: center; gap: 5px;
}
@media (max-width: 768px) {
  .gb-about { padding: 32px 0; }
  .gb-about-title { font-size: 20px; }
  .gb-about-card { padding: 24px 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.gb-footer {
  background: linear-gradient(180deg, #0d4d26 0%, #082b1e 100%);
  color: #bdd8c8; padding: 44px 0 0; border-top: 4px solid var(--yellow);
}
.gb-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gb-footer-icon  { width: 38px; height: 38px; border-radius: 9px; object-fit: contain; }
.gb-footer-mark  {
  width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.12);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.gb-footer-logo  { height: 44px; max-height: 48px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.gb-footer-name  { font-family: Georgia, serif; font-size: 20px; font-weight: 700; color: #fff; }
.gb-footer-about { font-size: 13.5px; line-height: 1.65; color: #9ec4b2; margin-bottom: 16px; max-width: 310px; }
.gb-footer-wa {
  display: inline-flex; align-items: center; gap: 7px; background: #25d366;
  color: #fff; padding: 9px 18px; border-radius: 6px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(37,211,102,.25); transition: background .2s, transform .2s;
}
.gb-footer-wa:hover { background: #1ebe5d; color: #fff; transform: translateY(-2px); }
.gb-footer-heading {
  color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .07em; padding-bottom: 8px;
  border-bottom: 2px solid var(--g);
}
.gb-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gb-footer-links a { font-size: 13.5px; color: #9ec4b2; transition: color .2s, padding-left .2s; display: inline-block; }
.gb-footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.gb-pay-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.gb-pay { padding: 5px 13px; border-radius: 18px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.gb-pay.bkash  { background: var(--bkash); color: #fff; }
.gb-pay.nagad  { background: var(--nagad); color: #fff; }
.gb-pay.rocket { background: var(--rocket); color: #fff; }
.gb-pay.cod    { background: var(--yellow); color: #111; }
.gb-pay-note   { font-size: 12px; color: #8fb3a3; display: flex; align-items: center; gap: 5px; }
.gb-pay-note i { color: var(--yellow); }
.gb-footer-hr  { border-color: rgba(255,255,255,.1); margin: 28px 0 16px; }
.gb-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-bottom: 20px; }
.gb-footer-copy { text-align: center; font-size: 12.5px; color: #7fa090; margin: 0; }
.gb-footer-dev  {
  text-align: center; font-size: 12px; color: #7fa090; margin: 0;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px;
}
.gb-footer-dev strong { color: #cce5d9; font-weight: 600; margin: 0 2px; }
.gb-footer-dev a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.1);
  color: #fff; margin-left: 4px; font-size: 12px; transition: background .2s, transform .2s;
}
.gb-footer-dev a:hover { background: var(--g); transform: translateY(-2px); }

@media (max-width: 768px) {
  .gb-footer { padding: 30px 0 0; }
  .gb-footer-about { max-width: 100%; }
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2600; display: none; }
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; right: -420px; top: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: #fff; z-index: 2601; transition: right .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -4px 0 28px rgba(0,0,0,.15);
}
.cart-drawer.open { right: 0; }
.cart-head { background: var(--g); color: #fff; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.cart-head h5 { margin: 0; font-size: 16px; font-weight: 700; }
.cart-head button { background: rgba(255,255,255,.2); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px; }
.cart-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.cart-empty i { font-size: 52px; display: block; margin-bottom: 12px; color: #ddd; }
.cart-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cart-item-img { width: 60px; height: 60px; border-radius: 6px; object-fit: contain; background: #f5f5f5; flex-shrink: 0; }
.cart-item-img-ph { width: 60px; height: 60px; border-radius: 6px; background: #f0f5f2; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 13px; color: var(--orange); font-weight: 700; }
.cart-item-qty   { display: flex; align-items: center; gap: 5px; margin-top: 5px; }
.qty-s-btn { width: 26px; height: 26px; border-radius: 4px; background: var(--g-lt); border: none; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; color: var(--g); }
.qty-s-inp { width: 34px; text-align: center; border: 1px solid var(--border); border-radius: 4px; padding: 2px; font-size: 13px; font-weight: 700; }
.cart-item-del   { background: none; border: none; cursor: pointer; color: #ccc; font-size: 15px; padding: 3px; flex-shrink: 0; }
.cart-item-del:hover { color: var(--red); }
.cart-footer { padding: 12px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-totals { font-size: 13px; margin-bottom: 10px; }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 4px; color: #444; }
.cart-total-row.total { font-size: 15px; font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 7px; margin-top: 4px; }
.btn-checkout { width: 100%; background: var(--g); color: #fff; border: none; border-radius: 6px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 7px; }
.btn-checkout:hover { background: var(--g2); }

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; right: -100vw; }
  .cart-drawer.open { right: 0; }
}

/* ============================================================
   CHECKOUT / MODALS
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.58); display: none; place-items: center; padding: 12px; z-index: 2800; backdrop-filter: blur(3px); }
.modal-overlay.show { display: grid; }
.checkout-box { background: #fff; border-radius: 12px; width: 100%; max-width: 480px; overflow: hidden; box-shadow: 0 20px 56px rgba(0,0,0,.24); animation: slideUp .25s ease; max-height: 92vh; overflow-y: auto; }
@keyframes slideUp { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.order-header { background: var(--g); color: #fff; padding: 13px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-shrink: 0; }
.order-header h5 { margin: 0; font-size: 15px; font-weight: 700; }
.order-box { background: #fff; border-radius: 12px; width: 100%; max-width: 480px; overflow: hidden; animation: slideUp .25s ease; }
.modal-steps { display: flex; align-items: center; gap: 3px; margin-top: 5px; flex-wrap: wrap; }
.step { font-size: 11px; color: rgba(255,255,255,.6); font-weight: 500; }
.step.active { color: var(--yellow); font-weight: 700; }
.step-sep { color: rgba(255,255,255,.4); font-size: 11px; }
.close-modal { background: rgba(255,255,255,.18); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-step { padding: 15px 18px 18px; }
.form-group-custom { margin-bottom: 11px; }
.form-group-custom label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.form-group-custom label span { color: var(--red); }
.form-group-custom input, .form-group-custom textarea, .form-group-custom select { width: 100%; padding: 9px 11px; border: 1.5px solid #ccd3cf; border-radius: 6px; font-family: inherit; font-size: 13.5px; color: var(--text); transition: border-color .2s; }
.form-group-custom input:focus, .form-group-custom textarea:focus, .form-group-custom select:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(26,122,60,.1); }
.form-group-custom textarea { resize: vertical; }
.delivery-zones-list { display: flex; flex-direction: column; gap: 7px; }
.zone-card { border: 2px solid var(--border); border-radius: 7px; padding: 11px 13px; cursor: pointer; transition: all .18s; display: flex; justify-content: space-between; align-items: center; }
.zone-card:hover { border-color: var(--g); }
.zone-card.selected { border-color: var(--g); background: var(--g-lt); }
.zone-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.zone-est   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.zone-charge{ font-size: 13.5px; font-weight: 700; color: var(--g); }
.zone-free  { font-size: 11px; color: var(--g); }
.coupon-input-wrap { display: flex; border-radius: 6px; overflow: hidden; border: 1.5px solid #ccd3cf; }
.coupon-input-wrap input { flex: 1; padding: 8px 11px; border: none; font-family: inherit; font-size: 13.5px; letter-spacing: .05em; outline: none; }
.btn-apply-coupon { background: var(--g); color: #fff; border: none; padding: 0 15px; font-weight: 600; font-size: 13px; cursor: pointer; transition: background .2s; }
.btn-apply-coupon:hover { background: var(--g2); }
.coupon-msg { font-size: 12px; margin-top: 4px; min-height: 16px; }
.coupon-msg.ok { color: var(--g); }
.coupon-msg.err { color: var(--red); }
.order-summary { background: #f7faf8; border: 1px solid var(--border); border-radius: 6px; padding: 11px 13px; font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 4px; color: #444; }
.sum-row.total { font-weight: 700; color: var(--text); font-size: 14.5px; border-top: 1px solid var(--border); padding-top: 7px; margin-top: 4px; }
.sum-row.disc { color: var(--g); }
.pay-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pay-method-card { border: 2px solid var(--border); border-radius: 7px; padding: 11px; cursor: pointer; transition: all .18s; display: flex; align-items: center; gap: 8px; background: #fff; }
.pay-method-card:hover { border-color: var(--g); }
.pay-method-card.selected { border-color: var(--g); background: var(--g-lt); }
.pay-method-logo { width: 36px; height: 36px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.pay-method-logo.bkash { background: #fce4ef; }
.pay-method-logo.nagad { background: #fff0e6; }
.pay-method-logo.rocket{ background: #f3e8ff; }
.pay-method-logo.cod   { background: var(--g-lt); }
.pay-method-name { font-size: 12.5px; font-weight: 700; color: var(--text); }
.pay-method-num  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.txn-hint { font-size: 12px; color: var(--muted); margin-top: 4px; background: var(--g-lt); border-radius: 4px; padding: 5px 9px; }
.confirm-box { background: #f7faf8; border: 1px solid var(--border); border-radius: 7px; padding: 13px; font-size: 13px; }
.conf-row { display: flex; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
.conf-row .lbl { color: var(--muted); flex-shrink: 0; }
.conf-row .val { font-weight: 600; text-align: right; word-break: break-word; }
.confirm-box hr { border-color: var(--border); margin: 7px 0; }
.order-error { color: var(--red); font-size: 12px; min-height: 16px; margin-bottom: 4px; }
.btn-confirm { background: var(--g); color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; }
.btn-confirm:hover { background: var(--g2); }
.btn-confirm:disabled { opacity: .6; cursor: default; }
.btn-back { background: #f0f2f0; color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; font-size: 13.5px; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; }
.btn-back:hover { background: #e3e8e3; }

/* Success */
.success-box { background: #fff; border-radius: 16px; padding: 32px 26px; text-align: center; max-width: 400px; width: 100%; box-shadow: 0 20px 56px rgba(0,0,0,.24); animation: slideUp .3s ease; }
.success-icon { font-size: 60px; color: var(--g); margin-bottom: 14px; }
.success-box h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.success-track { background: var(--g-lt); border-radius: 6px; padding: 9px 13px; margin: 14px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.success-track strong { color: var(--g); font-size: 14px; letter-spacing: .04em; }
.success-actions { display: flex; gap: 8px; }
.success-actions .btn-confirm, .success-actions .btn-back { flex: 1; }

/* Toast */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(70px); background: #1b5e20; color: #fff; padding: 11px 22px; border-radius: 50px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 9px; box-shadow: 0 8px 28px rgba(0,0,0,.24); z-index: 3000; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s; opacity: 0; pointer-events: none; max-width: 90vw; }
.toast-wrap.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-wrap i { font-size: 19px; flex-shrink: 0; }

/* Empty state */
.empty-state { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state i { font-size: 52px; margin-bottom: 12px; color: #ccc; display: block; }

/* ============================================================
   REVIEWS (from product detail)
   ============================================================ */
.star-rating { display: flex; gap: 4px; margin-bottom: 4px; }
.star { font-size: 28px; cursor: pointer; color: #ddd; transition: color .15s; line-height: 1; user-select: none; }
.star.active, .star.hover { color: var(--yellow); }
.review-stars-sm { display: inline-flex; gap: 2px; }
.review-stars-sm .s { font-size: 13px; color: #ddd; }
.review-stars-sm .s.on { color: var(--yellow); }

/* ============================================================
   FLASH SALE SECTION CARD BORDER
   ============================================================ */
.gb-flash .product-card { border: 2px solid rgba(255,165,0,.28); }
.gb-flash .product-card:hover { border-color: var(--orange); }

/* ============================================================
   PRODUCT DETAIL MODAL
   ============================================================ */
.pd-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.66);
  z-index: 2500; display: flex; align-items: center; justify-content: center;
  padding: 12px; backdrop-filter: blur(4px); animation: fadeIn .2s ease;
}
.pd-box {
  background: #fff; border-radius: 12px; width: 100%; max-width: 920px;
  max-height: 92vh; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 56px rgba(0,0,0,.28); animation: slideUp .25s ease;
}
.pd-header { background: var(--g); color: #fff; padding: 13px 20px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.pd-header h5 { margin: 0; font-size: 15px; font-weight: 700; }
.pd-body { overflow-y: auto; flex: 1; }
.pd-skeleton { padding: 24px; }
.pd-content { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 18px; }
@media (max-width: 640px) { .pd-content { grid-template-columns: 1fr; gap: 14px; padding: 12px; } }
.pd-main-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; margin-bottom: 9px; }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pd-main-img img:hover { transform: scale(1.04); }
.pd-thumb-row { display: flex; gap: 7px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pd-thumb-row::-webkit-scrollbar { height: 4px; }
.pd-thumb-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.pd-thumb { width: 58px; height: 58px; border-radius: 6px; border: 2px solid var(--border); cursor: pointer; overflow: hidden; transition: border-color .15s; }
.pd-thumb.active { border-color: var(--g); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; background: #f5f5f5; }
.pd-category { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.pd-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 9px; line-height: 1.4; }
.pd-short-description { font-size: 13px; color: var(--muted); line-height: 1.6; margin: -4px 0 10px; }
.pd-rating-row { display: flex; align-items: center; gap: 4px; margin-bottom: 9px; }
.pd-price-block { margin-bottom: 11px; }
.pd-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pd-old-price { font-size: 15px; color: var(--muted); font-weight: 400; }
.pd-current-price { font-size: 25px; font-weight: 700; color: var(--orange); }
.pd-discount-badge { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 18px; }
.pd-saving { font-size: 12.5px; color: var(--g); font-weight: 600; margin-top: 3px; }
.pd-stock-row { margin-bottom: 10px; }
.pd-stock-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 18px; background: var(--g-lt); color: var(--g); }
.pd-stock-badge.low { background: #fff3cd; color: #856404; }
.pd-stock-badge.out { background: #f8d7da; color: #721c24; }
.pd-variants { margin-bottom: 12px; }
.variant-group { margin-bottom: 10px; }
.variant-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 5px; display: block; }
.variant-options { display: flex; flex-wrap: wrap; gap: 5px; }
.variant-btn { border: 1.5px solid var(--border); border-radius: 5px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; background: #fff; color: var(--text); transition: all .15s; font-family: inherit; }
.variant-btn:hover { border-color: var(--g); }
.variant-btn.selected { border-color: var(--g); background: var(--g-lt); color: var(--g); }
.variant-btn.out-stock { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.pd-actions { display: flex; gap: 9px; align-items: center; margin-bottom: 9px; }
.pd-qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.pd-add-cart-btn { flex: 1; background: var(--g); color: #fff; border: none; border-radius: 6px; padding: 10px 14px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background .2s; }
.pd-add-cart-btn:hover { background: var(--g2); }
.pd-buy-now-btn { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 6px; padding: 10px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background .2s; margin-bottom: 12px; }
.pd-buy-now-btn:hover { background: #c44b08; }
.pd-meta-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pd-meta-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #555; }
.pd-meta-item i { color: var(--g); font-size: 14px; }
.pd-extra-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-extra-btn { background: none; border: 1px solid var(--border); border-radius: 5px; padding: 5px 11px; font-size: 12px; cursor: pointer; font-family: inherit; color: var(--text); display: flex; align-items: center; gap: 4px; transition: all .18s; }
.pd-extra-btn:hover { background: var(--g-lt); border-color: var(--g); color: var(--g); }
/* Trust badge */
.pd-trust-badge { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; padding: 11px; background: linear-gradient(135deg, #e8f5ee, #f0f9f4); border: 1px solid var(--g-mid); border-radius: 9px; }
.pd-trust-item { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--g); flex: 1 1 auto; min-width: 0; }
.pd-trust-item i { font-size: 15px; color: var(--g); flex-shrink: 0; }
/* Related */
.pd-related { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.pd-related-title { font-size: 13.5px; font-weight: 700; color: var(--g); margin: 0 0 9px; display: flex; align-items: center; gap: 5px; }
.pd-related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 9px; }
.pd-related-loading { font-size: 13px; color: var(--muted); padding: 7px 0; }
.pd-related-card { background: #f8faf8; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; cursor: pointer; transition: box-shadow .18s, transform .18s; display: flex; flex-direction: column; }
.pd-related-card:hover { box-shadow: 0 5px 14px rgba(0,0,0,.09); transform: translateY(-2px); border-color: var(--g); }
.pd-related-img { aspect-ratio: 1; background: #f2f5f2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-related-img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pd-related-info { padding: 7px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pd-related-name { font-size: 11.5px; font-weight: 600; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-related-price { font-size: 12.5px; font-weight: 700; color: var(--orange); margin-top: auto; }
@media (max-width: 400px) { .pd-related-list { grid-template-columns: repeat(2,1fr); } }
/* Sections inside PD */
.pd-section { padding: 0 18px 18px; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .pd-section { padding: 0 12px 14px; } }
.pd-section-header { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; margin-bottom: 10px; }
.pd-section-title { font-size: 14.5px; font-weight: 700; color: var(--g); margin: 0; }
.pd-review-count { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.pd-write-review-btn { background: var(--g); color: #fff; border: none; border-radius: 5px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 4px; transition: background .2s; }
.pd-write-review-btn:hover { background: var(--g2); }
.pd-avg-rating { display: flex; align-items: center; gap: 12px; background: #f8faf8; border-radius: 7px; padding: 11px 14px; margin-bottom: 12px; }
.pd-avg-num { font-size: 38px; font-weight: 700; color: var(--g); line-height: 1; }
.pd-review-card { background: #f8faf8; border-radius: 7px; padding: 11px; margin-bottom: 9px; }
.pd-review-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.pd-description { font-size: 14px; color: #444; line-height: 1.7; padding-top: 11px; }
.no-img { font-size: 52px; color: #ccc; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-img-wrap .no-img { font-size: 44px; }

/* Featured category circles match the storefront reference */
.gb-cat-card { padding: 6px 4px; }
.gb-cat-img-wrap {
  width: 70px; height: 70px; padding: 0; margin-bottom: 8px;
  border: 1px solid #e8e8e8; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.gb-cat-img-wrap img { object-fit: cover; }
.gb-cat-card:hover .gb-cat-img-wrap {
  border-color: var(--g); background: var(--g-lt);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 0 3px rgba(4,56,43,.12), 0 5px 14px rgba(4,56,43,.2);
}
.gb-cat-card.active .gb-cat-img-wrap {
  border-color: var(--g); background: var(--g-lt);
  box-shadow: 0 0 0 2px rgba(4,56,43,.1), 0 3px 10px rgba(4,56,43,.16);
}
.gb-cat-card:hover .gb-cat-label,
.gb-cat-card.active .gb-cat-label {
  color: var(--g); font-weight: 700;
}
.gb-cat-label { color: #222; font-size: 12px; font-weight: 500; }
@media (max-width: 1200px) {
  .gb-cat-img-wrap { width: 66px; height: 66px; padding: 0; }
  .gb-cat-label { font-size: 11.5px; }
}
@media (max-width: 991px) {
  .gb-cat-img-wrap { width: 60px; height: 60px; padding: 0; }
  .gb-cat-label { font-size: 11px; }
}
@media (max-width: 767px) {
  .gb-cat-img-wrap { width: 54px; height: 54px; padding: 0; margin-bottom: 7px; }
  .gb-cat-label { font-size: 10.5px; }
}
@media (max-width: 479px) {
  .gb-cat-img-wrap { width: 50px; height: 50px; padding: 0; margin-bottom: 6px; }
  .gb-cat-label { font-size: 10px; }
}
@media (max-width: 359px) {
  .gb-cat-img-wrap { width: 44px; height: 44px; padding: 0; }
  .gb-cat-label { font-size: 9.5px; }
}
/* ── PD Qty Row ── */
.pd-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pd-qty-label { font-size: 14px; font-weight: 600; color: var(--text); }

/* ── PD Button Group (Order + Cart) ── */
.pd-btn-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pd-order-btn {
  width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 6px;
  padding: 13px 18px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s, transform .1s; box-shadow: 0 3px 10px rgba(221,72,20,.25);
}
.pd-order-btn:hover { background: #c44b08; }
.pd-order-btn:active { transform: scale(.98); }
.pd-order-btn--outline {
  background: transparent; color: var(--orange); border: 2px solid var(--orange);
  box-shadow: none;
}
.pd-order-btn--outline:hover { background: #fff5f0; }
.pd-cart-btn {
  width: 100%; background: #222; color: #fff; border: none; border-radius: 6px;
  padding: 12px 18px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s, transform .1s;
}
.pd-cart-btn:hover { background: #333; }
.pd-cart-btn:active { transform: scale(.98); }

/* ── Out of stock buttons ── */
.pd-order-btn--oos,
.pd-cart-btn--oos {
  background: #b0b0b0 !important; color: #fff !important; cursor: not-allowed !important;
  box-shadow: none !important; opacity: .85;
}
.pd-order-btn--oos:hover,
.pd-cart-btn--oos:hover { background: #b0b0b0 !important; }

/* ── PD Call Buttons ── */
.pd-call-buttons { margin-bottom: 12px; }
.pd-call-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s; font-family: inherit;
}
.pd-call-btn--primary { background: var(--g); color: #fff; }
.pd-call-btn--primary:hover { background: var(--g2); color: #fff; }
.pd-call-num { font-weight: 700; }

/* ── PD Delivery Info ── */
.pd-delivery-info {
  background: #f8faf9; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; margin-bottom: 12px;
}
.pd-delivery-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 13px; color: var(--text);
}
.pd-delivery-row + .pd-delivery-row { border-top: 1px dashed var(--border); }
.pd-delivery-row i { color: var(--g); }
.pd-delivery-charge { font-weight: 700; color: var(--orange); font-size: 14px; }

/* ── PD Payment Info ── */
.pd-payment-info {
  font-size: 13.5px; color: var(--text); padding: 8px 0 12px;
  font-weight: 500; text-align: center;
}
.pd-payment-info strong { color: var(--orange); }

/* ── PD Tab Header ── */
.pd-tab-header {
  display: flex; gap: 0; border-bottom: 2px solid var(--border); padding: 0 18px;
}
.pd-tab-btn {
  background: none; border: none; border-bottom: 2.5px solid transparent;
  padding: 11px 18px; font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: inherit; transition: all .2s; margin-bottom: -2px;
}
.pd-tab-btn.active { color: var(--g); border-bottom-color: var(--g); }
.pd-tab-btn:hover { color: var(--g); }
.pd-tab-panel { padding: 12px 18px; }
@media (max-width: 640px) { .pd-tab-panel { padding: 10px 12px; } .pd-tab-header { padding: 0 12px; } }
.pd-desc-section { padding: 0 0 14px; }

/* ── Rich Text Description (Quill rendered output) ── */
.pd-description.ql-editor {
  /* Reset Quill's container styles */
  padding: 0; min-height: unset; border: none; outline: none;
  font-family: 'Hind Siliguri', system-ui, sans-serif;
  font-size: 14px; line-height: 1.75; color: var(--text);
  overflow: visible;
}
/* Quill content styles */
.pd-description h1 { font-size: 20px; font-weight: 700; color: var(--g2); margin: 14px 0 8px; }
.pd-description h2 { font-size: 17px; font-weight: 700; color: var(--g2); margin: 12px 0 6px; }
.pd-description h3 { font-size: 15px; font-weight: 700; color: var(--g2); margin: 10px 0 5px; }
.pd-description p  { margin-bottom: 9px; }
.pd-description strong, .pd-description b { font-weight: 700; }
.pd-description em, .pd-description i { font-style: italic; }
.pd-description u  { text-decoration: underline; }
.pd-description s  { text-decoration: line-through; }
.pd-description ul { list-style: disc; padding-left: 20px; margin-bottom: 10px; }
.pd-description ol { list-style: decimal; padding-left: 20px; margin-bottom: 10px; }
.pd-description li { margin-bottom: 4px; }
.pd-description a  { color: var(--g); text-decoration: underline; }
.pd-description a:hover { color: var(--g2); }
.pd-description blockquote {
  border-left: 4px solid var(--g); padding: 8px 14px; background: var(--g-lt);
  border-radius: 0 6px 6px 0; margin: 10px 0; color: #444;
}
.pd-description pre.ql-syntax {
  background: #1e1e1e; color: #d4d4d4; padding: 12px 16px; border-radius: 6px;
  font-size: 13px; overflow-x: auto; margin-bottom: 10px;
}
.pd-description img {
  max-width: 100%; border-radius: 8px; margin: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.pd-description table {
  width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 13.5px;
}
.pd-description td, .pd-description th {
  border: 1px solid var(--border); padding: 7px 11px; text-align: left;
}
.pd-description th { background: var(--g-lt); font-weight: 700; color: var(--g); }
.pd-description tr:nth-child(even) td { background: #f8faf8; }
/* Quill checklist */
.pd-description .ql-ui { display: none; } /* hide Quill internal markers */
.pd-description li[data-list="checked"],
.pd-description li[data-list="unchecked"] { list-style: none; padding-left: 20px; position: relative; }
.pd-description li[data-list="checked"]::before {
  content: '✅'; position: absolute; left: 0;
}
.pd-description li[data-list="unchecked"]::before {
  content: '⬜'; position: absolute; left: 0;
}
/* Indent levels */
.pd-description .ql-indent-1 { padding-left: 2em; }
.pd-description .ql-indent-2 { padding-left: 4em; }
.pd-description .ql-indent-3 { padding-left: 6em; }
/* Alignment */
.pd-description .ql-align-center { text-align: center; }
.pd-description .ql-align-right  { text-align: right; }
.pd-description .ql-align-justify { text-align: justify; }
/* Code inline */
.pd-description code { background: #f0f5f2; padding: 1px 5px; border-radius: 3px; font-size: 12.5px; }

@media (max-width: 480px) {
  .pd-description { font-size: 13.5px; }
  .pd-description table { font-size: 12px; display: block; overflow-x: auto; }
  .pd-description td, .pd-description th { padding: 5px 8px; }
}

/* ── PD Related Order Button ── */
.pd-related-card { cursor: default; }
.pd-related-old { font-size: 11px; color: var(--muted); display: block; }
.pd-related-order-btn {
  display: block; width: calc(100% - 14px); margin: 0 7px 7px; padding: 6px 0;
  background: var(--orange); color: #fff; border: none; border-radius: 4px;
  font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.pd-related-order-btn:hover { background: #c44b08; }

/* Responsive PD */
@media (max-width: 860px) { .pd-box { max-width: 98vw; } }
@media (max-width: 640px) {
  .pd-overlay { padding: 0; align-items: flex-end; }
  .pd-box { border-radius: 16px 16px 0 0; max-height: 94vh; }
  .pd-current-price { font-size: 22px; }
  .pd-title { font-size: 15px; }
  .pd-btn-group { gap: 6px; }
  .pd-order-btn { padding: 11px 14px; font-size: 15px; }
  .pd-cart-btn { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 400px) {
  .pd-thumb { width: 46px; height: 46px; }
  .pd-current-price { font-size: 20px; }
}

/* Full-page product detail layout */
.pd-overlay {
  position: fixed; inset: 0; z-index: 950; display: block; overflow-y: auto;
  padding: 0; background: #fff; backdrop-filter: none; animation: none;
}
.pd-box {
  width: 100%; max-width: none; max-height: none; margin: 0; overflow: visible;
  display: block; border-radius: 0; box-shadow: none; animation: none;
}
.pd-body { overflow: visible; }
.pd-breadcrumb {
  position: relative; display: flex; align-items: center; gap: 8px;
  min-height: 35px; padding: 7px max(16px, calc((100% - 1050px) / 2));
  color: #fff; background: #050505; font-size: 13px;
  box-shadow: 0 0 0 100vmax #050505; clip-path: inset(0 -100vmax);
}
.pd-breadcrumb-separator { color: #aaa; }
.pd-page-close {
  margin-left: auto; padding: 3px 8px; border: 1px solid #777; border-radius: 4px;
  color: #fff; background: transparent; line-height: 1; cursor: pointer;
}
.pd-content {
  grid-template-columns: minmax(245px, 1fr) minmax(300px, 1.3fr) minmax(190px, .82fr);
  gap: 24px; max-width: 1050px; margin: 0 auto; padding: 18px 0 22px;
}
.pd-main-img { position: relative; border-radius: 0; margin-bottom: 8px; }
.pd-main-img img { object-fit: contain; }
.pd-image-arrow {
  position: absolute; top: 50%; display: grid; place-items: center;
  width: 31px; height: 38px; transform: translateY(-50%);
  border: 0; color: #fff; background: rgba(0,0,0,.3); font-size: 20px; cursor: pointer;
}
.pd-image-arrow--prev { left: 0; }
.pd-image-arrow--next { right: 0; }
.pd-image-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 7px;
}
.pd-image-dot {
  width: 12px; height: 12px; padding: 0; border: 1px solid #fff;
  border-radius: 50%; background: rgba(0,0,0,.3); cursor: pointer;
}
.pd-image-dot.active { background: #fff; }
.pd-title { font-size: 28px; font-weight: 500; }
.pd-current-price { color: #2189aa; }
.pd-order-btn {
  background: #edc95b; color: #342c12; border-radius: 3px;
  box-shadow: none; padding: 9px 14px; font-size: 15px;
}
.pd-order-btn:hover { background: #dfb83f; }
.pd-cart-btn {
  background: #3ca4c2; color: #fff; border-radius: 3px; padding: 9px 14px; font-size: 15px;
}
.pd-cart-btn:hover { background: #268aa8; }
.pd-call-buttons { margin-bottom: 7px; }
.pd-call-btn--primary { border-radius: 4px; padding: 9px 12px; }
.pd-trust-badge {
  display: flex; flex-direction: column; gap: 0; margin: 0 0 20px;
  padding: 12px; border: 1px solid #ddd; border-top: 4px solid #2189aa;
  border-radius: 0; background: #fff;
}
.pd-trust-item { min-height: 36px; color: #555; font-weight: 400; }
.pd-trust-item i { color: #777; }
.pd-sidebar-related { border: 1px solid #2589a4; }
.pd-sidebar-title {
  margin: 0; padding: 7px 9px; color: #fff; background: #168eb5;
  text-align: center; font-size: 13px; font-weight: 600;
}
.pd-sidebar-list { padding: 5px; }
.pd-sidebar-product {
  display: flex; align-items: center; gap: 7px; width: 100%; padding: 4px 0;
  border: 0; color: #444; background: #fff; text-align: left; cursor: pointer;
}
.pd-sidebar-product-img {
  display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px;
  overflow: hidden; background: #f4f4f4;
}
.pd-sidebar-product-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-sidebar-product-name { font-size: 12px; line-height: 1.35; }
.pd-sidebar .pd-extra-actions { margin-top: 12px; }
.pd-related {
  max-width: 1050px; margin: 15px auto 25px; padding: 14px 0 0;
  border-top: 0;
}
.pd-related-title {
  margin-bottom: 10px; color: var(--text); font-size: 17px;
}
.pd-related-list { grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 5px; }
.pd-related-card { border-radius: 0; background: #fff; }
.pd-related-order-btn {
  background: #edc95b; color: #342c12; border-radius: 2px;
}
.pd-related-order-btn:hover { background: #dfb83f; }
.pd-desc-section { border: 1px solid #ddd; margin: 0 auto; max-width: 1050px; }
.pd-desc-section .pd-tab-header { padding: 0 12px; }
.pd-desc-section .pd-tab-btn.active { border-top: 3px solid #2189aa; border-bottom-color: transparent; }
@media (max-width: 1080px) {
  .pd-content, .pd-related { margin-left: 16px; margin-right: 16px; }
  .pd-related { max-width: none; }
}
@media (max-width: 760px) {
  .pd-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
  .pd-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .pd-sidebar .pd-extra-actions { grid-column: 1 / -1; margin: 0; }
  .pd-sidebar .pd-trust-badge { margin: 0; }
  .pd-sidebar-related { align-self: start; }
  .pd-related-list { grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); }
}
@media (max-width: 560px) {
  .pd-content { grid-template-columns: 1fr; margin: 0; padding: 12px; gap: 14px; }
  .pd-sidebar { display: flex; flex-direction: column; }
  .pd-sidebar .pd-trust-badge { order: 0; }
  .pd-sidebar-related { order: 1; }
  .pd-sidebar .pd-extra-actions { order: 2; }
  .pd-title { font-size: 22px; }
  .pd-related { margin: 8px 12px 20px; }
  .pd-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-desc-section { margin: 0 12px; }
}

/* Full-page, two-column checkout */
#checkoutModal {
  position: fixed; inset: 0; z-index: 960; display: none; place-items: initial;
  overflow-y: auto; padding: 0; background: #fff; backdrop-filter: none;
}
#checkoutModal.show { display: block; }
.checkout-page { min-height: 100%; padding: 48px 16px 64px; background: #fff; }
.checkout-layout {
  display: grid; grid-template-columns: minmax(350px, .78fr) minmax(0, 1.22fr);
  align-items: start; gap: 24px; width: 100%; max-width: 1050px; margin: 0 auto;
}
.checkout-main, .checkout-summary-card {
  min-width: 0; overflow: hidden; border: 1px solid #ddd; border-radius: 3px; background: #fff;
}
.checkout-main .order-header {
  min-height: 46px; padding: 10px 14px; color: #292929; background: #f6f6f6;
  border-bottom: 1px solid #ddd;
}
.checkout-main .order-header h5, .checkout-summary-title { margin: 0; font-size: 19px; font-weight: 700; }
.checkout-main .modal-steps { gap: 5px; }
.checkout-main .step { color: #888; }
.checkout-main .step.active { color: #2189aa; }
.checkout-main .step-sep { color: #aaa; }
.checkout-main .close-modal { width: 28px; height: 28px; color: #555; background: #e8e8e8; }
.checkout-main .checkout-step { padding: 10px 8px 12px; }
.checkout-intro { margin: 0 0 16px; color: #555; text-align: center; font-size: 14px; line-height: 1.5; }
.checkout-main .form-group-custom { margin-bottom: 13px; }
.checkout-main .form-group-custom label { margin-bottom: 4px; font-size: 14px; }
.checkout-main .form-group-custom input,
.checkout-main .form-group-custom textarea,
.checkout-main .form-group-custom select { padding: 8px 10px; border-radius: 4px; }
.checkout-main .btn-confirm { border-radius: 4px; }
.checkout-summary-title {
  padding: 10px 14px; border-bottom: 1px solid #ddd; background: #f6f6f6;
}
.checkout-summary-content { padding: 7px; }
.checkout-summary-table-wrap { width: 100%; overflow-x: auto; }
.checkout-summary-table { width: 100%; min-width: 545px; border-collapse: collapse; font-size: 12px; }
.checkout-summary-table th, .checkout-summary-table td {
  padding: 6px 5px; border: 1px solid #dce0e3; text-align: center; vertical-align: middle;
}
.checkout-summary-table thead th { color: #333; background: #fff; font-weight: 700; white-space: nowrap; }
.checkout-summary-table tbody tr:nth-child(odd) { background: #f4f4f4; }
.checkout-summary-table .checkout-total-row { background: #fff; }
.checkout-summary-table .checkout-total-row th { text-align: right; }
.checkout-summary-table .checkout-grand-total { font-size: 13px; font-weight: 700; }
.checkout-summary-table .checkout-grand-total td { color: #1b6c37; font-weight: 700; }
.checkout-summary-table .checkout-discount-row td { color: #218048; }
.checkout-item-remove { padding: 3px; border: 0; color: #d15b63; background: transparent; cursor: pointer; }
.checkout-item-product { display: flex; align-items: center; gap: 6px; min-width: 150px; text-align: left; }
.checkout-item-product img, .checkout-item-placeholder {
  display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px;
  object-fit: contain; background: #f0f2f3;
}
.checkout-item-product small { display: block; color: #777; font-size: 10px; }
.checkout-qty { display: inline-flex; align-items: center; gap: 4px; }
.checkout-qty button {
  width: 21px; height: 23px; padding: 0; border: 0; color: #168eb5;
  background: transparent; font-size: 17px; font-weight: 700; cursor: pointer;
}
.checkout-qty span {
  display: inline-grid; place-items: center; min-width: 29px; height: 24px;
  border: 1px solid #bbb; background: #fff;
}
.checkout-summary-empty { margin: 10px; color: #777; text-align: center; }
.checkout-summary-actions {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px;
  border-top: 1px solid #eee; background: #f7f7f7;
}
.checkout-back-shop, .checkout-clear-cart {
  padding: 6px 10px; border: 0; border-radius: 3px; color: #fff; font-size: 12px; cursor: pointer;
}
.checkout-back-shop { background: #1e9eb4; }
.checkout-clear-cart { background: #d9434e; }
@media (max-width: 760px) {
  .checkout-page { padding: 22px 12px 36px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 16px; }
  .checkout-main .order-header h5, .checkout-summary-title { font-size: 17px; }
}
@media (max-width: 600px) {
  #checkoutModal { padding: 0; }
  .checkout-page { padding: 14px 10px 28px; }
  .checkout-main, .checkout-summary-card { border-radius: 3px; }
  .checkout-main .checkout-step { padding: 10px; }
  .checkout-summary-actions { padding: 9px; }
}

/* ============================================================
   HERO BANNER WITH ADMIN IMAGE
   ============================================================ */
.hero-banner-img { width: 100%; max-width: 380px; height: auto; display: block; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.hero-brand-box.has-image { background: none; box-shadow: none; padding: 0; min-width: 0; }

/* Stock bar */
.stock-bar-wrap { margin: 7px 0; }
.stock-bar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.stock-bar-fill { height: 100%; background: var(--g); border-radius: 2px; transition: width .5s; }
.stock-bar-fill.low { background: var(--orange); }
.stock-bar-fill.very-low { background: var(--red); }

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .checkout-box { border-radius: 16px 16px 0 0; max-height: 95vh; animation: slideUpMobile .3s ease; }
  .success-box { border-radius: 16px 16px 0 0; max-width: 100%; width: 100%; animation: slideUpMobile .3s ease; padding: 24px 18px; }
  #authModal .order-box, #reviewModal .order-box { border-radius: 16px 16px 0 0; max-width: 100%; animation: slideUpMobile .3s ease; }
  @keyframes slideUpMobile { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .success-actions { flex-direction: column; }
  .success-actions .btn-confirm, .success-actions .btn-back { width: 100%; }
}
@media (max-width: 480px) {
  .gb-about { padding: 24px 0; }
  .gb-track-section { padding: 36px 0; }
  .gb-track-box h3 { font-size: 18px; }
  .gb-pagination { gap: 3px; }
  .page-btn { min-width: 32px; height: 34px; font-size: 12px; }
  .btn-cart { font-size: 12px; padding: 8px 6px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 13.5px; }
  .gb-section { padding: 20px 0; }
}
@media (max-width: 360px) {
  .btn-cart span { display: none; }
  .btn-cart i { font-size: 16px; }
  .product-body { padding: 7px; }
}

/* ── Large desktop ── */
@media (min-width: 1600px) {
  .gb-prod-carousel { --pc-visible: 6; }
}

/* ── Print ── */
@media print {
  .gb-header, .gb-mobile-menu, .gb-trust-strip, .cat-icons-section,
  .gb-flash, .gb-hot, .gb-track-section, .gb-about, .gb-footer,
  .gb-cart-btn, .gb-wa, .btn-cart, .gb-announce { display: none !important; }
  body { background: #fff; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .gb-hero-slide, .gb-hero-ctrl, .gb-feat-cat-track, .gb-cat-card,
  .product-card, .gb-product-card, .toast-wrap { transition: none !important; }
}

/* ============================================================
   BACKWARD COMPAT — keep old class names working in app.js
   ============================================================ */
/* app.js uses #productGrid with .product-card children — these map to our grid */
#productGrid { display: flex; flex-wrap: nowrap; gap: var(--pc-gap, 12px); }
#productGrid > .product-card {
  flex: 0 0 calc((100% - (var(--pc-visible, 5) - 1) * var(--pc-gap, 12px)) / var(--pc-visible, 5));
  min-width: 0;
}
/* Category nav: app.js populates #catIconsContainer and #catNavScroll */
.cat-icons-section { display: none; } /* hidden — categories now shown as gb-feat-cats */

/* Topbar compat (old IDs used by app.js for JS hooks) */
#searchBarWrap { display: none; }
#searchInput { }

/* Old announce bar compat */
.announce-bar { display: none; }

/* ── Customer area ── */
.topbar-user-menu { position: relative; }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 7px); background: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.14); min-width: 178px; z-index: 1001; display: none; border: 1px solid var(--border); }
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown button { display: flex; align-items: center; gap: 7px; padding: 10px 13px; font-size: 13px; color: var(--text); border: none; background: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; transition: background .15s; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--g-lt); color: var(--g); }
.user-dropdown hr { margin: 4px 0; border-color: var(--border); }

/* Product carousel dots compat */
#prodCarouselDots .gb-carousel-dot::before { width: 9px; height: 9px; }

/* ── catIconsContainer maps to gb-feat-cat-track ── */
#catIconsContainer { display: flex; transition: transform .45s cubic-bezier(.22,.75,.25,1); touch-action: pan-y; }
#categoryCarousel .gb-feat-cat-page { display: grid; flex: 0 0 100%; gap: 10px; min-width: 0; }

/* Flash timer aliases */
.gb-timer-box { background: rgba(255,255,255,.15); border-radius: 5px; padding: 3px 8px; min-width: 40px; text-align: center; }
.gb-timer-box .num { font-size: 17px; font-weight: 700; color: #fff; display: block; line-height: 1; }
.gb-timer-box .lbl { font-size: 8px; color: rgba(255,255,255,.6); text-transform: uppercase; }
.gb-timer-sep { color: rgba(255,255,255,.5); font-size: 17px; font-weight: 700; }

/* customer-nav-btn alias */
.customer-nav-btn { background: rgba(255,255,255,.12); border: none; color: #fff; padding: 7px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 5px; font-family: inherit; transition: background .2s; }
.customer-nav-btn:hover { background: rgba(255,255,255,.24); }
.customer-nav-btn.logged { background: rgba(255,255,255,.22); }

/* ============================================================
   FLOATING CART WIDGET  (right side sticky)
   ============================================================ */
.fc-widget {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  background: var(--orange); color: #fff; border-radius: 10px 0 0 10px;
  padding: 12px 10px; display: flex; flex-direction: column; align-items: center;
  gap: 4px; cursor: pointer; z-index: 850; box-shadow: -3px 4px 16px rgba(0,0,0,.18);
  min-width: 68px; transition: background .2s, transform .2s;
  user-select: none;
}
.fc-widget:hover { background: #d44e08; transform: translateY(-50%) translateX(-3px); }
.fc-icon { font-size: 24px; line-height: 1; }
.fc-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fc-count { font-size: 11px; font-weight: 700; white-space: nowrap; }
.fc-total { font-size: 12px; font-weight: 700; white-space: nowrap; letter-spacing: .01em; }
.fc-widget.has-items { background: var(--orange); animation: fcPop .3s ease; }
@keyframes fcPop { 0%,100%{transform:translateY(-50%) scale(1)} 50%{transform:translateY(-50%) scale(1.08)} }

@media (max-width: 768px) {
  .fc-widget {
    top: auto; bottom: 80px; transform: none; border-radius: 50%;
    width: 54px; height: 54px; padding: 0; justify-content: center;
    right: 12px; min-width: unset;
  }
  .fc-widget:hover { transform: scale(1.06); }
  .fc-info { display: none; }
  .fc-icon { font-size: 22px; }
  .fc-widget::after {
    content: attr(data-count); position: absolute; top: -4px; right: -4px;
    background: var(--yellow); color: #111; font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 10px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
  }
}

/* ============================================================
   CATEGORY PAGE OVERLAY  (View All click)
   ============================================================ */
.cat-page-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 940; display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(3px);
}
.cat-page-overlay.open { display: flex; }
.cat-page-box {
  background: var(--bg); width: 100%; max-width: 1400px; max-height: 100%;
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
  animation: slideUpModal .3s ease; overflow: hidden;
}
@keyframes slideUpModal { from{transform:translateY(60px);opacity:0} to{transform:none;opacity:1} }
.cat-page-header {
  background: #fff; padding: 14px 20px; display: flex;
  align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
  position: sticky; top: 0; z-index: 2;
}
.cat-page-title-wrap { display: flex; align-items: center; gap: 10px; }
.cat-page-back {
  background: var(--g-lt); border: none; color: var(--g);
  width: 34px; height: 34px; border-radius: 50%; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-page-back:hover { background: var(--g); color: #fff; }
.cat-page-title { font-size: 17px; font-weight: 700; color: var(--text); margin: 0; }
.cat-page-count {
  background: var(--g-lt); color: var(--g); font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.cat-page-close {
  background: #f4f4f4; border: none; color: #666; width: 34px; height: 34px;
  border-radius: 50%; font-size: 14px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cat-page-close:hover { background: var(--red); color: #fff; }
.cat-page-body {
  overflow-y: auto; flex: 1; padding: 20px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.cat-page-body .gb-prod-grid-4 { margin-bottom: 20px; grid-template-columns: repeat(5,1fr); }
@media(max-width:1199px){ .cat-page-body .gb-prod-grid-4{ grid-template-columns:repeat(4,1fr); } }
@media(max-width:991px){ .cat-page-body .gb-prod-grid-4{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .cat-page-body .gb-prod-grid-4{ grid-template-columns:repeat(2,1fr); gap:10px; } }
#catPagePagination { justify-content: center; }

@media (max-width: 600px) {
  .cat-page-box { max-height: 100%; border-radius: 14px 14px 0 0; }
  .cat-page-body { padding: 12px; }
  .cat-page-header { padding: 12px 14px; }
  .cat-page-title { font-size: 15px; }
}

/* ============================================================
   FULL RESPONSIVE OVERHAUL
   ============================================================ */
/* Trust strip mobile */
@media (max-width: 600px) {
  .gb-trust-strip { display: block; overflow-x: auto; }
  .gb-trust-inner { display: flex; flex-wrap: nowrap; }
  .gb-trust-item { flex-shrink: 0; padding: 6px 14px; }
}

/* Featured categories */
@media (max-width: 480px) {
  .gb-cats-section { padding: 20px 0 16px; }
  .gb-feat-cat-page { gap: 8px; }
  .gb-cat-card { padding: 6px 3px; }
  .gb-cat-img-wrap { width: 50px; height: 50px; padding: 6px; margin-bottom: 6px; }
  .gb-cat-label { font-size: 10px; }
}

/* Product grid responsive */
@media (max-width: 1200px) { .gb-prod-carousel { --pc-visible: 4; } }
@media (max-width: 991px)  { .gb-prod-carousel { --pc-visible: 3; } }
@media (max-width: 600px)  { .gb-prod-carousel { --pc-visible: 2; } }
@media (max-width: 400px)  { .gb-prod-carousel { --pc-visible: 2; --pc-gap: 8px; } }

/* Cat section grid */
@media (max-width: 1200px) { .gb-cat-prod-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 991px)  { .gb-cat-prod-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .gb-cat-prod-grid { grid-template-columns: repeat(2,1fr); gap: 8px; } }
@media (max-width: 360px)  { .gb-cat-prod-grid { grid-template-columns: repeat(2,1fr); gap: 6px; } }

/* Product card mobile */
@media (max-width: 480px) {
  .product-body { padding: 8px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 13.5px; }
  .btn-cart { font-size: 11.5px; padding: 8px 6px; }
}
@media (max-width: 360px) {
  .product-name { font-size: 11px; }
  .btn-cart span { display: none; }
  .btn-cart i { font-size: 16px; }
}

/* Flash sale grid */
@media (max-width: 991px)  { .gb-prod-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px)  { .gb-prod-grid-4 { grid-template-columns: repeat(2,1fr); gap: 10px; } }

/* Hot scroll */
@media (max-width: 480px) {
  .hot-card { width: 160px; }
  .gb-skeleton-hot { width: 160px; }
}

/* Section title responsive */
@media (max-width: 480px) {
  .gb-section-title { font-size: 15px; }
  .gb-section { padding: 18px 0; }
  .gb-container { padding: 0 12px; }
}

/* Reviews grid */
@media (max-width: 991px) { .gb-reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .gb-reviews-grid { grid-template-columns: 1fr; } }

/* About */
@media (max-width: 768px) {
  .gb-about { padding: 28px 0; }
  .gb-about-card { padding: 22px 14px; }
}

/* Footer */
@media (max-width: 576px) {
  .gb-footer { padding: 24px 0 0; }
  .gb-pay-badges { gap: 5px; }
  .gb-pay { font-size: 11px; padding: 4px 10px; }
  .gb-footer-about { font-size: 13px; }
}

/* Track section */
@media (max-width: 480px) {
  .gb-track-section { padding: 32px 0; }
  .gb-track-box h3 { font-size: 17px; }
  .gb-track-input { border-radius: 6px; }
  .gb-track-input input { font-size: 13px; padding: 11px 12px; }
  .gb-track-btn { padding: 11px 14px; font-size: 12.5px; }
}

/* Cart drawer */
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; right: -100vw; }
  .cart-drawer.open { right: 0; }
}

/* Nav bar */
@media (max-width: 1024px) {
  .gb-nav-link { padding: 0 10px; font-size: 12.5px; }
  .gb-allcat-btn { padding: 0 12px; font-size: 12.5px; }
  .gb-order-now { padding: 0 12px; }
  .gb-order-now-num { font-size: 12px; }
}

/* Pagination */
@media (max-width: 480px) {
  .gb-pagination { gap: 3px; padding: 10px 0; }
  .page-btn { min-width: 32px; height: 32px; font-size: 12px; padding: 0 7px; }
}

/* Large screen */
@media (min-width: 1600px) {
  .gb-prod-carousel { --pc-visible: 6; }
  .gb-cat-prod-grid { grid-template-columns: repeat(6,1fr); }
}

/* ============================================================
   PRODUCT BUTTON MODE STYLES
   ============================================================ */

/* Wrapper for card buttons (supports 1 or 2 buttons) */
.product-btn-wrap {
  display: flex; flex-direction: column; gap: 6px; margin-top: auto;
}

/* Buy Now variant of btn-cart (orange) */
.btn-cart--buynow {
  background: var(--orange) !important;
}
.btn-cart--buynow:hover { background: #c94a08 !important; }
.btn-cart--buynow.in-cart { background: var(--orange) !important; }

/* Secondary cart button (lighter green outline) */
.btn-cart--secondary {
  background: transparent !important;
  color: var(--g) !important;
  border: 1.5px solid var(--g) !important;
}
.btn-cart--secondary:hover {
  background: var(--g-lt) !important;
}

/* Out of stock */
.btn-cart--oos {
  background: #ccc !important; cursor: not-allowed !important; opacity: .7;
}

/* When both buttons show on card — make them compact */
.product-btn-wrap .btn-cart + .btn-cart--buynow,
.product-btn-wrap .btn-cart--buynow + .btn-cart--secondary {
  font-size: 12px; padding: 7px 8px;
}

@media (max-width: 480px) {
  .product-btn-wrap { gap: 5px; }
  .product-btn-wrap .btn-cart { font-size: 11.5px; padding: 8px 5px; }
}

/* ── Product image placeholder (when image fails to load or is missing) ── */
.product-img-wrap.no-img-bg,
.product-img-wrap:not(:has(img[src]:not([src=""]))) {
  background: linear-gradient(135deg, #f0f5f2 0%, #e8f0eb 100%);
}
.product-img-wrap.no-img-bg::after {
  content: '';
  display: block;
  width: 48px; height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23b0c8b8' d='M8 1a2.5 2.5 0 0 1 2.5 2.5V4h-5v-.5A2.5 2.5 0 0 1 8 1zm3.5 3v-.5a3.5 3.5 0 1 0-7 0V4H1v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4h-3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  margin: auto;
}

/* Cart item placeholder icon */
.cart-item-img-ph {
  width: 60px; height: 60px; border-radius: 6px;
  background: #f0f5f2; display: flex; align-items: center;
  justify-content: center; font-size: 22px; color: #9abba5; flex-shrink: 0;
}

/* no-img for PD modal */
.no-img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 56px; color: #ccc;
}
.product-img-wrap .no-img { font-size: 44px; }



@media (max-width: 600px) {
  .gb-hero-slide-title { font-size: clamp(18px, 5.2vw, var(--bn-title-fs, 26px)) !important; }
  .gb-hero-slide-sub { font-size: clamp(12px, 3.2vw, var(--bn-sub-fs, 14px)) !important; }
}
