/*
Theme Name: GhorerBazar
Theme URI: https://ghorerbazar.com
Author: GhorerBazar
Author URI: https://ghorerbazar.com
Description: A clean, modern WooCommerce eCommerce theme inspired by GhorerBazar — organic & healthy food store for Bangladesh. Includes hero banners, category grid, flash sale, product cards, sticky header, cart drawer, and full WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ghorerbazar
Tags: woocommerce, ecommerce, food, grocery, organic, responsive, custom-menu, custom-logo, featured-images, full-width-template, sticky-post, translation-ready

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gb-green:       #2e7d32;
  --gb-green-light: #43a047;
  --gb-green-pale:  #e8f5e9;
  --gb-orange:      #e65100;
  --gb-orange-light:#ff6f00;
  --gb-yellow:      #ffc107;
  --gb-red:         #d32f2f;
  --gb-white:       #ffffff;
  --gb-off-white:   #f9fafb;
  --gb-gray-50:     #f3f4f6;
  --gb-gray-100:    #e5e7eb;
  --gb-gray-200:    #d1d5db;
  --gb-gray-500:    #6b7280;
  --gb-gray-700:    #374151;
  --gb-gray-900:    #111827;
  --gb-font-sans:   'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --gb-font-display:'Playfair Display', Georgia, serif;
  --gb-radius:      8px;
  --gb-radius-lg:   14px;
  --gb-shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --gb-shadow:      0 4px 12px rgba(0,0,0,.10);
  --gb-shadow-lg:   0 8px 30px rgba(0,0,0,.14);
  --gb-transition:  .2s ease;
  --gb-container:   1280px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--gb-font-sans);
  color: var(--gb-gray-900);
  background: var(--gb-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--gb-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* === TOP BAR === */
.gb-topbar {
  background: var(--gb-green);
  color: #fff;
  font-size: .78rem;
  padding: 6px 0;
}
.gb-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.gb-topbar-left { display: flex; align-items: center; gap: 16px; }
.gb-topbar-right { display: flex; align-items: center; gap: 16px; }
.gb-topbar a {
  color: #fff;
  opacity: .88;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity var(--gb-transition);
}
.gb-topbar a:hover { opacity: 1; }
.gb-topbar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* === HEADER === */
.gb-header {
  background: #fff;
  box-shadow: var(--gb-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .25s;
}
.gb-header.scrolled { box-shadow: var(--gb-shadow); }
.gb-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

/* Logo */
.gb-logo {
  flex-shrink: 0;
  font-family: var(--gb-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gb-green);
  letter-spacing: -.5px;
}
.gb-logo img { height: 48px; width: auto; }

/* Search */
.gb-search {
  flex: 1;
  max-width: 540px;
  position: relative;
}
.gb-search form {
  display: flex;
  border: 2px solid var(--gb-green);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}
.gb-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 18px;
  font-size: .93rem;
  font-family: inherit;
  background: transparent;
}
.gb-search button {
  background: var(--gb-green);
  color: #fff;
  padding: 0 18px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--gb-transition);
}
.gb-search button:hover { background: var(--gb-green-light); }

/* Header Actions */
.gb-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.gb-action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: var(--gb-radius);
  color: var(--gb-gray-700);
  font-size: .7rem;
  font-weight: 600;
  transition: color var(--gb-transition), background var(--gb-transition);
  letter-spacing: .3px;
}
.gb-action-btn:hover { color: var(--gb-green); background: var(--gb-green-pale); }
.gb-action-btn svg { width: 22px; height: 22px; }
.gb-action-badge {
  position: absolute;
  top: 2px; right: 4px;
  background: var(--gb-red);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.gb-cart-btn {
  background: var(--gb-green);
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 16px;
  flex-direction: row;
  gap: 8px;
  font-size: .82rem;
}
.gb-cart-btn:hover { background: var(--gb-green-light) !important; color: #fff; }
.gb-cart-btn .gb-action-badge { position: static; font-size: .75rem; }

/* === MAIN NAV === */
.gb-nav {
  background: var(--gb-green-pale);
  border-top: 1px solid var(--gb-gray-100);
}
.gb-nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gb-nav-inner::-webkit-scrollbar { display: none; }

.gb-nav-item {
  position: relative;
  flex-shrink: 0;
}
.gb-nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gb-gray-700);
  white-space: nowrap;
  transition: color var(--gb-transition), background var(--gb-transition);
  border-radius: var(--gb-radius);
}
.gb-nav-item > a:hover,
.gb-nav-item.current-menu-item > a { color: var(--gb-green); background: #fff; }

.gb-nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
}

.gb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--gb-gray-100);
  border-radius: var(--gb-radius-lg);
  box-shadow: var(--gb-shadow-lg);
  min-width: 200px;
  z-index: 300;
  padding: 8px;
  animation: gbDropIn .15s ease;
}
@keyframes gbDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gb-nav-item:hover .gb-dropdown { display: block; }
.gb-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: .84rem;
  color: var(--gb-gray-700);
  border-radius: 6px;
  transition: background var(--gb-transition), color var(--gb-transition);
}
.gb-dropdown a:hover { background: var(--gb-green-pale); color: var(--gb-green); }

/* Flash sale badge in nav */
.gb-nav-flash {
  background: var(--gb-red);
  color: #fff !important;
  border-radius: 50px;
  animation: gbPulse 2s infinite;
}
@keyframes gbPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(211,47,47,.4); }
  50%     { box-shadow: 0 0 0 6px rgba(211,47,47,0); }
}

/* === HERO SLIDER === */
.gb-hero {
  position: relative;
  overflow: hidden;
  background: var(--gb-gray-50);
}
.gb-hero-slides {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gb-hero-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.gb-hero-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.gb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.gb-hero-content { color: #fff; max-width: 480px; }
.gb-hero-content .label {
  display: inline-block;
  background: var(--gb-orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.gb-hero-content h2 {
  font-family: var(--gb-font-display);
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.gb-hero-content p { font-size: .95rem; opacity: .9; margin-bottom: 22px; }
.gb-hero-content .btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gb-green);
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: background var(--gb-transition), transform var(--gb-transition);
}
.gb-hero-content .btn-shop:hover {
  background: var(--gb-green-light);
  transform: translateX(3px);
}

.gb-hero-prev, .gb-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--gb-transition);
  box-shadow: var(--gb-shadow);
}
.gb-hero-prev { left: 14px; }
.gb-hero-next { right: 14px; }
.gb-hero-prev:hover, .gb-hero-next:hover { background: #fff; }
.gb-hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.gb-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background var(--gb-transition), transform var(--gb-transition);
}
.gb-hero-dot.active { background: #fff; transform: scale(1.25); }

/* === PROMO BANNERS (2-col) === */
.gb-promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.gb-promo-banner {
  border-radius: var(--gb-radius-lg);
  overflow: hidden;
  position: relative;
  display: block;
}
.gb-promo-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .4s ease;
}
.gb-promo-banner:hover img { transform: scale(1.04); }
.gb-promo-banner-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* === SECTION HEADERS === */
.gb-section { padding: 32px 0; }
.gb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.gb-section-title {
  font-family: var(--gb-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gb-gray-900);
  position: relative;
  padding-left: 14px;
}
.gb-section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 26px;
  background: var(--gb-green);
  border-radius: 4px;
}
.gb-see-all {
  font-size: .83rem;
  font-weight: 600;
  color: var(--gb-green);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--gb-transition);
}
.gb-see-all:hover { gap: 8px; }

/* === CATEGORY GRID === */
.gb-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) { .gb-category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .gb-category-grid { grid-template-columns: repeat(3, 1fr); } }

.gb-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  background: #fff;
  border-radius: var(--gb-radius-lg);
  border: 2px solid transparent;
  transition: border-color var(--gb-transition), box-shadow var(--gb-transition), transform var(--gb-transition);
  text-align: center;
  cursor: pointer;
}
.gb-category-card:hover {
  border-color: var(--gb-green);
  box-shadow: var(--gb-shadow);
  transform: translateY(-3px);
}
.gb-category-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--gb-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gb-category-icon img { width: 44px; height: 44px; object-fit: contain; }
.gb-category-card span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gb-gray-700);
  line-height: 1.3;
}

/* === PRODUCT GRID === */
.gb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .gb-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gb-product-grid { grid-template-columns: repeat(2, 1fr); } }

/* === PRODUCT CARD === */
.gb-product-card {
  background: #fff;
  border-radius: var(--gb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gb-gray-100);
  transition: box-shadow var(--gb-transition), transform var(--gb-transition);
  display: flex;
  flex-direction: column;
}
.gb-product-card:hover {
  box-shadow: var(--gb-shadow);
  transform: translateY(-4px);
}

.gb-product-thumb {
  position: relative;
  overflow: hidden;
  background: var(--gb-gray-50);
}
.gb-product-thumb a { display: block; }
.gb-product-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.gb-product-card:hover .gb-product-thumb img { transform: scale(1.06); }

.gb-product-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gb-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.gb-badge-sale    { background: var(--gb-red);    color: #fff; }
.gb-badge-new     { background: var(--gb-green);  color: #fff; }
.gb-badge-hot     { background: var(--gb-orange); color: #fff; }
.gb-badge-organic { background: #6a994e; color: #fff; }

.gb-wishlist-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gb-shadow-sm);
  transition: background var(--gb-transition), transform var(--gb-transition);
  opacity: 0;
  transform: scale(.85);
}
.gb-product-card:hover .gb-wishlist-btn {
  opacity: 1;
  transform: scale(1);
}
.gb-wishlist-btn:hover { background: var(--gb-green-pale); }
.gb-wishlist-btn svg { width: 16px; height: 16px; color: var(--gb-red); }

.gb-product-body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }

.gb-product-category {
  font-size: .7rem;
  font-weight: 600;
  color: var(--gb-green);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.gb-product-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gb-gray-900);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gb-product-title a:hover { color: var(--gb-green); }

.gb-product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.gb-price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gb-green);
}
.gb-price-original {
  font-size: .82rem;
  color: var(--gb-gray-500);
  text-decoration: line-through;
}
.gb-price-save {
  font-size: .7rem;
  font-weight: 700;
  background: #fff3e0;
  color: var(--gb-orange);
  padding: 1px 7px;
  border-radius: 50px;
}

.gb-product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.gb-btn-cart {
  background: var(--gb-green);
  color: #fff;
  padding: 9px 12px;
  border-radius: var(--gb-radius);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  transition: background var(--gb-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.gb-btn-cart:hover { background: var(--gb-green-light); }
.gb-btn-buy {
  background: var(--gb-orange);
  color: #fff;
  padding: 9px 12px;
  border-radius: var(--gb-radius);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background var(--gb-transition);
}
.gb-btn-buy:hover { background: var(--gb-orange-light); }

/* === FLASH SALE SECTION === */
.gb-flash-sale {
  background: linear-gradient(135deg, var(--gb-red) 0%, #b71c1c 100%);
  padding: 28px 0;
  color: #fff;
}
.gb-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.gb-flash-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--gb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.gb-flash-icon { font-size: 1.8rem; animation: gbFlicker 1.2s infinite alternate; }
@keyframes gbFlicker {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: .7; transform: scale(1.1); }
}
.gb-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gb-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 52px;
  backdrop-filter: blur(4px);
}
.gb-countdown-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.gb-countdown-label { font-size: .62rem; opacity: .75; text-transform: uppercase; letter-spacing: .5px; }
.gb-countdown-sep { font-size: 1.4rem; font-weight: 800; opacity: .6; }

.gb-flash-sale .gb-product-card {
  border-color: rgba(255,255,255,.1);
}

/* === TRUST BADGES === */
.gb-trust-strip {
  background: #fff;
  border-top: 1px solid var(--gb-gray-100);
  border-bottom: 1px solid var(--gb-gray-100);
  padding: 20px 0;
}
.gb-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .gb-trust-inner { grid-template-columns: repeat(2, 1fr); } }

.gb-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gb-trust-icon {
  width: 46px; height: 46px;
  background: var(--gb-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gb-green);
}
.gb-trust-icon svg { width: 22px; height: 22px; }
.gb-trust-text strong { display: block; font-size: .87rem; font-weight: 700; color: var(--gb-gray-900); }
.gb-trust-text span   { font-size: .75rem; color: var(--gb-gray-500); }

/* === NEWSLETTER === */
.gb-newsletter {
  background: linear-gradient(135deg, var(--gb-green) 0%, #1b5e20 100%);
  padding: 48px 0;
  color: #fff;
  text-align: center;
}
.gb-newsletter h3 {
  font-family: var(--gb-font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.gb-newsletter p { opacity: .85; font-size: .95rem; margin-bottom: 24px; }
.gb-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--gb-shadow-lg);
}
.gb-newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 22px;
  font-size: .93rem;
  font-family: inherit;
  outline: none;
}
.gb-newsletter-form button {
  background: var(--gb-orange);
  color: #fff;
  padding: 14px 28px;
  font-weight: 700;
  font-size: .9rem;
  font-family: inherit;
  transition: background var(--gb-transition);
}
.gb-newsletter-form button:hover { background: var(--gb-orange-light); }

/* === FOOTER === */
.gb-footer {
  background: var(--gb-gray-900);
  color: var(--gb-gray-200);
  padding: 48px 0 0;
}
.gb-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .gb-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gb-footer-grid { grid-template-columns: 1fr; } }

.gb-footer-brand .gb-logo { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.gb-footer-brand p { font-size: .84rem; line-height: 1.7; color: var(--gb-gray-500); margin-bottom: 18px; }

.gb-footer-social { display: flex; gap: 10px; }
.gb-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gb-gray-200);
  transition: background var(--gb-transition), color var(--gb-transition);
}
.gb-social-btn:hover { background: var(--gb-green); color: #fff; }
.gb-social-btn svg { width: 16px; height: 16px; }

.gb-footer-heading {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.gb-footer-links { display: flex; flex-direction: column; gap: 10px; }
.gb-footer-links a {
  font-size: .84rem;
  color: var(--gb-gray-500);
  transition: color var(--gb-transition), padding-left var(--gb-transition);
}
.gb-footer-links a:hover { color: var(--gb-green-light); padding-left: 5px; }

.gb-footer-contact { display: flex; flex-direction: column; gap: 12px; }
.gb-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .83rem;
  color: var(--gb-gray-500);
}
.gb-footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gb-green-light); }

.gb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.gb-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: var(--gb-gray-500);
}
.gb-payment-icons { display: flex; align-items: center; gap: 8px; }
.gb-payment-icon {
  height: 26px;
  padding: 3px 8px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--gb-gray-200);
  display: flex;
  align-items: center;
}

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce .products ul,
.woocommerce ul.products {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
}
.woocommerce ul.products li.product {
  background: #fff;
  border-radius: var(--gb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gb-gray-100);
  transition: box-shadow var(--gb-transition), transform var(--gb-transition);
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--gb-shadow);
  transform: translateY(-4px);
}
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 14px 4px;
  color: var(--gb-gray-900);
}
.woocommerce ul.products li.product .price {
  padding: 0 14px 10px;
  color: var(--gb-green);
  font-weight: 800;
  font-size: .95rem;
}
.woocommerce ul.products li.product .price del { color: var(--gb-gray-500); font-weight: 400; }
.woocommerce ul.products li.product .button {
  margin: 0 14px 14px;
  display: block;
  background: var(--gb-green) !important;
  color: #fff !important;
  border-radius: var(--gb-radius) !important;
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  padding: 9px 12px !important;
  transition: background var(--gb-transition) !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--gb-green-light) !important; }
.woocommerce span.onsale {
  background: var(--gb-red) !important;
  border-radius: 50px !important;
  min-height: auto !important;
  min-width: auto !important;
  padding: 3px 10px !important;
  font-size: .68rem !important;
  line-height: 1.4 !important;
}

/* Cart / Checkout */
.woocommerce .cart-collaterals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-order-details,
.woocommerce-cart table.cart { background: #fff; border-radius: var(--gb-radius-lg); padding: 24px; }
.woocommerce .woocommerce-cart-form .button,
.woocommerce .checkout_coupon .button,
.woocommerce #payment #place_order {
  background: var(--gb-green) !important;
  color: #fff !important;
  border-radius: var(--gb-radius) !important;
  font-weight: 700 !important;
}
.woocommerce .woocommerce-cart-form .button:hover,
.woocommerce #payment #place_order:hover { background: var(--gb-green-light) !important; }

/* Single product */
.woocommerce div.product div.summary .price {
  color: var(--gb-green) !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--gb-green) !important;
  color: #fff !important;
  border-radius: var(--gb-radius) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--gb-green-light) !important; }

/* === CART DRAWER === */
.gb-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.gb-cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.gb-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 380px;
  max-width: 95vw;
  background: #fff;
  z-index: 501;
  box-shadow: var(--gb-shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.gb-cart-drawer.open { transform: translateX(0); }
.gb-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gb-gray-100);
}
.gb-cart-drawer-header h3 { font-size: 1rem; font-weight: 700; }
.gb-cart-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gb-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--gb-transition);
}
.gb-cart-close:hover { background: var(--gb-gray-200); }
.gb-cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.gb-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gb-gray-100);
}
.gb-cart-item:last-child { border-bottom: none; }
.gb-cart-item-img {
  width: 68px; height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gb-gray-50);
}
.gb-cart-item-info { flex: 1; }
.gb-cart-item-info strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.gb-cart-item-info .price { font-size: .88rem; color: var(--gb-green); font-weight: 700; }
.gb-cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gb-gray-100);
}
.gb-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 14px;
}
.gb-checkout-btn {
  display: block;
  background: var(--gb-green);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: var(--gb-radius);
  font-weight: 700;
  font-size: .93rem;
  transition: background var(--gb-transition);
}
.gb-checkout-btn:hover { background: var(--gb-green-light); }

/* === BREADCRUMB === */
.gb-breadcrumb {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--gb-gray-100);
  font-size: .82rem;
  color: var(--gb-gray-500);
}
.gb-breadcrumb a { color: var(--gb-green); }
.gb-breadcrumb span { padding: 0 6px; }

/* === MAIN CONTENT AREA === */
.gb-main { min-height: 60vh; }
.gb-content-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px 0;
}
@media (max-width: 900px) { .gb-content-wrap { grid-template-columns: 1fr; } }

/* === SIDEBAR === */
.gb-sidebar { display: flex; flex-direction: column; gap: 18px; }
.gb-widget {
  background: #fff;
  border-radius: var(--gb-radius-lg);
  padding: 18px;
  border: 1px solid var(--gb-gray-100);
}
.gb-widget-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gb-gray-900);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gb-green-pale);
}
.gb-filter-list { display: flex; flex-direction: column; gap: 8px; }
.gb-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  cursor: pointer;
}
.gb-filter-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.gb-filter-count {
  font-size: .75rem;
  color: var(--gb-gray-500);
  background: var(--gb-gray-100);
  padding: 1px 8px;
  border-radius: 50px;
}

/* === MOBILE NAV TOGGLE === */
.gb-mobile-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--gb-radius);
  border: 2px solid var(--gb-green);
  color: var(--gb-green);
  font-size: .84rem;
  font-weight: 600;
}
.gb-mobile-toggle svg { width: 20px; height: 20px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .gb-search { display: none; }
  .gb-mobile-toggle { display: flex; }
  .gb-header-inner { padding: 10px 0; }
  .gb-hero-slide img { height: 220px; }
  .gb-hero-content h2 { font-size: 1.4rem; }
  .gb-hero-overlay { padding: 0 20px; }
  .gb-promo-banners { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-topbar-right { display: none; }
  .gb-flash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .gb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gb-category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gb-hero-content .btn-shop { display: none; }
  .gb-countdown-item { min-width: 42px; padding: 5px 8px; }
  .gb-countdown-num { font-size: 1.1rem; }
}

/* === UTILITIES === */
.gb-loading {
  text-align: center;
  padding: 40px;
  color: var(--gb-gray-500);
}
.gb-loading::after {
  content: '';
  display: inline-block;
  width: 28px; height: 28px;
  border: 3px solid var(--gb-gray-200);
  border-top-color: var(--gb-green);
  border-radius: 50%;
  animation: gbSpin .8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
@keyframes gbSpin { to { transform: rotate(360deg); } }

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