@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ============================================================
   BD Basket Store — AliExpress-Inspired UI
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --primary:        #FF6600;
  --primary-dark:   #e65c00;
  --primary-light:  #fff3e6;
  --orange:         #FF8C00;
  --dark:           #111111;
  --text:           #222222;
  --text-muted:     #999999;
  --bg:             #F5F5F5;
  --white:          #ffffff;
  --border:         #e8e8e8;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.07);
  --shadow:         0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.14);
  --radius-sm:      4px;
  --radius:         8px;
  --radius-lg:      16px;
  --ease:           .2s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text); margin: 0; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== PRELOADER ===== */
#ox-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #111111;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
}
#ox-preloader .ox-pre-logo { max-height: 56px; opacity: .95; }
#ox-preloader .ox-pre-text { color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
#ox-preloader .ox-pre-bar-wrap { width: 200px; height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
#ox-preloader .ox-pre-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--orange)); border-radius: 99px; }

/* ===== CONTAINER ===== */
.ox-wrap { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.ox-header { background: var(--white); position: sticky; top: 0; z-index: 500; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* Top bar — white strip */
.ox-topbar {
  background: #ffffff;
  color: #555;
  font-size: 12px; font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid #eeeeee;
}
.ox-topbar .ox-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ox-topbar-left { display: flex; align-items: center; gap: 20px; }
.ox-topbar-social { display: flex; gap: 10px; }
.ox-topbar-social a { color: #aaa; font-size: 13px; transition: color var(--ease); }
.ox-topbar-social a:hover { color: var(--primary); }
.ox-topbar-links { display: flex; gap: 14px; }
.ox-topbar-links a { color: #555; transition: color var(--ease); }
.ox-topbar-links a:hover { color: var(--primary); }
.ox-topbar-promo { font-size: 11.5px; color: #666; text-align: center; letter-spacing: .3px; font-weight: 600; }

/* Main header */
.ox-mainhead { padding: 12px 0; background: var(--white); }
.ox-mainhead .ox-wrap { display: flex; align-items: center; gap: 18px; }
.ox-logo { flex-shrink: 0; }
.ox-logo img { max-height: 42px; width: auto; }
.ox-logo-text {
  font-size: 24px; font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.5px;
}

/* Search bar — AliExpress style */
.ox-search { flex: 1; max-width: 620px; }
.ox-search-inner {
  display: flex; border: 2px solid var(--primary);
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--white);
}
.ox-search-cat {
  background: #f8f8f8; border: none; border-right: 1px solid #e8e8e8;
  padding: 0 12px; font-size: 12.5px; color: var(--text-muted);
  cursor: pointer; white-space: nowrap; outline: none; font-weight: 500;
}
.ox-search-input { flex: 1; border: none; outline: none; padding: 10px 14px; font-size: 14px; background: transparent; min-width: 0; }
.ox-search-submit {
  background: var(--primary); color: #fff; border: none;
  padding: 0 22px; cursor: pointer; font-size: 19px;
  display: flex; align-items: center; transition: background var(--ease);
}
.ox-search-submit:hover { background: var(--primary-dark); }

/* Icon buttons */
.ox-head-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ox-icon-btn {
  position: relative; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.ox-icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.ox-icon-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 17px; height: 17px;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1; border: 2px solid var(--white);
}

/* Nav bar */
.ox-navbar { background: var(--primary); }
.ox-navbar .ox-wrap { display: flex; align-items: stretch; }
.ox-all-cats-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-dark); color: #fff;
  padding: 0 20px; border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: background var(--ease); flex-shrink: 0;
  text-transform: uppercase; letter-spacing: .3px;
}
.ox-all-cats-btn:hover { background: rgba(0,0,0,.25); }
.ox-nav-menu { display: flex; align-items: stretch; gap: 0; overflow: hidden; }
.ox-nav-menu li { display: flex; }
.ox-nav-menu li a {
  display: flex; align-items: center;
  padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9);
  white-space: nowrap; position: relative; transition: color var(--ease), background var(--ease);
}
.ox-nav-menu li a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: #fff;
  transform: scaleX(0); transition: transform var(--ease); transform-origin: center;
}
.ox-nav-menu li a:hover, .ox-nav-menu li.active a { color: #fff; background: rgba(255,255,255,.12); }
.ox-nav-menu li a:hover::after, .ox-nav-menu li.active a::after { transform: scaleX(1); }

/* Dropdown in red nav */
.ox-all-cats-btn + .dropdown-menu { border-radius: 0 0 var(--radius) var(--radius); border: none; box-shadow: var(--shadow-lg); min-width: 220px; }
.ox-all-cats-btn + .dropdown-menu .dropdown-item { font-size: 13.5px; padding: 9px 18px; }
.ox-all-cats-btn + .dropdown-menu .dropdown-item:hover { color: var(--primary); background: var(--primary-light); }

/* ===== HOME SECTION ===== */
.ox-home { background: var(--bg); }
.ox-home-inner { display: flex; gap: 0; min-height: 460px; }

/* Category sidebar */
.ox-home-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  border-radius: 0;
}
.ox-sidebar-hd {
  padding: 12px 18px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .8px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.ox-sidebar-list { flex: 1; overflow-y: auto; }
.ox-sidebar-list li a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; font-size: 13px; color: var(--text);
  border-bottom: 1px solid #f5f5f5;
  transition: background var(--ease), color var(--ease);
  font-weight: 500;
}
.ox-sidebar-list li a:hover { background: var(--primary-light); color: var(--primary); }
.ox-sidebar-list li a i { font-size: 16px; color: var(--primary); width: 18px; text-align: center; }

/* Banner area */
.ox-home-banners { flex: 1; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }

/* Main banner row */
.ox-banner-row { display: flex; height: 360px; }
.ox-banner-main-img { flex: 0 0 66.66%; overflow: hidden; position: relative; }
.ox-banner-main-img a { display: block; width: 100%; height: 100%; }
.ox-banner-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ox-banner-main-img:hover img { transform: scale(1.03); }
.ox-banner-stack { flex: 0 0 33.33%; display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.ox-banner-stack-item { flex: 1; overflow: hidden; }
.ox-banner-stack-item + .ox-banner-stack-item { border-top: 1px solid var(--border); }
.ox-banner-stack-item a { display: block; width: 100%; height: 100%; }
.ox-banner-stack-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ox-banner-stack-item:hover img { transform: scale(1.05); }

/* Category mini-banners */
.ox-banner-cats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); height: 96px; background: var(--white); }
.ox-banner-cat { overflow: hidden; border-right: 1px solid var(--border); }
.ox-banner-cat:last-child { border-right: none; }
.ox-banner-cat a { display: block; width: 100%; height: 100%; }
.ox-banner-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ox-banner-cat:hover img { transform: scale(1.07); }

/* ===== FEATURE BAR ===== */
.ox-features { background: var(--white); border-top: 1px solid var(--border); border-bottom: 3px solid var(--primary); }
.ox-features .ox-wrap { display: flex; flex-wrap: wrap; align-items: stretch; }
.ox-feature { flex: 1; min-width: 160px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-right: 1px solid var(--border); }
.ox-feature:last-child { border-right: none; }
.ox-feature-icon { font-size: 26px; color: var(--primary); flex-shrink: 0; }
.ox-feature-text h5 { font-size: 13px; font-weight: 700; margin: 0 0 1px; color: var(--dark); }
.ox-feature-text p { font-size: 11.5px; color: var(--text-muted); margin: 0; }

/* ===== SECTION COMMON ===== */
.ox-section { padding: 40px 0; }
.ox-section-sm { padding: 28px 0; }
.ox-section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.ox-section-title {
  font-size: 20px; font-weight: 800; color: var(--dark); margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.ox-section-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 22px;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
.ox-section-title em { color: var(--primary); font-style: normal; }
.ox-view-all {
  font-size: 13px; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 14px; border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm); transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.ox-view-all:hover { background: var(--primary); color: #fff; }

/* ===== FLASH SALE — AliExpress bold style ===== */
.ox-flash {
  background: linear-gradient(135deg, #c0392b 0%, var(--primary) 40%, var(--orange) 100%);
  padding: 36px 0;
  position: relative; overflow: hidden;
}
.ox-flash::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ox-flash-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 16px; position: relative; }
.ox-flash-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ox-flash-meta h2 { font-size: 24px; font-weight: 900; color: #fff; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
.ox-flash-meta h2 em { color: #FFE066; font-style: normal; }

/* Timer — AliExpress bold box style */
.ox-timer { display: flex; align-items: center; gap: 4px; }
.ox-timer-unit {
  text-align: center; background: #fff;
  color: var(--primary); border-radius: var(--radius-sm);
  padding: 5px 10px; min-width: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.ox-timer-unit .ox-t-num { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.ox-timer-unit .ox-t-lbl { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; opacity: .7; margin-top: 2px; font-weight: 600; }
.ox-timer-sep { font-size: 22px; font-weight: 900; color: #fff; line-height: 1; margin: 0 1px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }

/* Flash sale view all button */
.ox-flash .ox-btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.ox-flash .ox-btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }

/* Flash sale product cards — white on coloured background */
.ox-flash .ox-card { box-shadow: 0 2px 10px rgba(0,0,0,.12); }

/* ===== PRODUCT CARD — AliExpress style ===== */
.ox-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
}
.ox-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }

/* Image */
.ox-card-img-wrap { position: relative; overflow: hidden; background: #fafafa; aspect-ratio: 1/1; display: block; }
.ox-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.ox-card:hover .ox-card-img-wrap img { transform: scale(1.08); }

/* Badges */
.ox-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.ox-badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: var(--radius-sm); line-height: 1.5; text-transform: uppercase; letter-spacing: .3px; }
.ox-badge-new { background: #22c55e; color: #fff; }
.ox-badge-sale { background: var(--primary); color: #fff; }

/* Hover action buttons */
.ox-card-actions {
  position: absolute; top: 8px; right: 8px;
  display: flex; flex-direction: column; gap: 6px; z-index: 3;
  opacity: 0; transform: translateX(10px);
  transition: opacity var(--ease), transform var(--ease);
}
.ox-card:hover .ox-card-actions { opacity: 1; transform: translateX(0); }
.ox-action-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.ox-action-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ox-action-btn.active { color: #ef4444; }

/* Body */
.ox-card-body { padding: 10px 12px 8px; flex: 1; }
.ox-card-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--primary); font-weight: 700; margin-bottom: 4px; display: block; }
.ox-card-name { font-size: 13.5px; font-weight: 500; color: var(--text); line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ox-card-price { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1; }
.ox-card-price del { font-size: 12.5px; color: var(--text-muted); font-weight: 400; margin-left: 6px; }

/* Footer / Add to Cart */
.ox-card-foot { padding: 8px 12px 12px; }
.ox-btn-cart {
  width: 100%; border: none;
  background: var(--primary); color: #fff;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background var(--ease), transform var(--ease);
  text-transform: uppercase; letter-spacing: .3px;
}
.ox-btn-cart:hover { background: var(--primary-dark); transform: scale(1.02); }
.ox-btn-cart i { font-size: 15px; }

/* ===== CAROUSEL (Swiper) ===== */
.ox-swiper { position: relative; padding: 4px 2px 10px; }
.ox-swiper .swiper { overflow: visible; }
.ox-swiper .swiper-slide { height: auto; }
.ox-swiper .swiper-button-prev,
.ox-swiper .swiper-button-next {
  width: 36px; height: 36px;
  background: var(--white); border-radius: 50%;
  box-shadow: var(--shadow); color: var(--primary);
  top: 50%; transform: translateY(-50%); margin-top: 0;
  border: 1px solid var(--border);
}
.ox-swiper .swiper-button-prev { left: -6px; }
.ox-swiper .swiper-button-next { right: -6px; }
.ox-swiper .swiper-button-prev::after,
.ox-swiper .swiper-button-next::after { font-size: 12px; font-weight: 900; }
.ox-swiper .swiper-button-disabled { opacity: .3; }

/* ===== NEWSLETTER ===== */
.ox-newsletter {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--orange) 100%);
  padding: 52px 0;
}
.ox-nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ox-nl-text { color: #fff; }
.ox-nl-text h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.ox-nl-text p { font-size: 14.5px; opacity: .85; margin: 0; }
.ox-nl-form-wrap { flex: 0 0 400px; max-width: 100%; }
.ox-nl-row {
  display: flex; border: 2px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(255,255,255,.1);
}
.ox-nl-input { flex: 1; background: transparent; border: none; outline: none; padding: 12px 16px; color: #fff; font-size: 14px; min-width: 0; }
.ox-nl-input::placeholder { color: rgba(255,255,255,.55); }
.ox-nl-submit {
  background: var(--white); color: var(--primary);
  border: none; padding: 12px 20px; font-weight: 800; font-size: 13.5px;
  cursor: pointer; white-space: nowrap; transition: background var(--ease);
  text-transform: uppercase; letter-spacing: .3px;
}
.ox-nl-submit:hover { background: #FFE8E8; }
.ox-nl-msg { font-size: 12.5px; color: rgba(255,255,255,.8); margin-top: 8px; }

/* ===== FOOTER ===== */
.ox-footer { background: var(--dark); padding: 52px 0 0; }
.ox-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.8fr;
  gap: 36px; padding-bottom: 44px;
}
.ox-footer-logo img { max-height: 42px; margin-bottom: 14px; }
.ox-footer-logo-text {
  font-size: 22px; font-weight: 900; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ox-footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.5); }
.ox-footer-social-list { display: flex; gap: 8px; margin-top: 20px; }
.ox-footer-social-list a {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: 14px;
  transition: background var(--ease), color var(--ease);
}
.ox-footer-social-list a:hover { background: var(--primary); color: #fff; }
.ox-footer-col-title {
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.ox-footer-links li { margin-bottom: 9px; }
.ox-footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color var(--ease); display: flex; align-items: center; gap: 5px; }
.ox-footer-links a:hover { color: var(--primary); }
.ox-footer-nl-row { display: flex; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); overflow: hidden; margin-top: 12px; }
.ox-footer-nl-row input { flex: 1; background: transparent; border: none; outline: none; padding: 9px 12px; font-size: 13px; color: #fff; min-width: 0; }
.ox-footer-nl-row input::placeholder { color: rgba(255,255,255,.3); }
.ox-footer-nl-row button { background: var(--primary); color: #fff; border: none; padding: 9px 13px; font-size: 15px; cursor: pointer; transition: background var(--ease); }
.ox-footer-nl-row button:hover { background: var(--primary-dark); }
.ox-footer-contact { margin-top: 16px; }
.ox-footer-contact p { font-size: 13px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 7px; margin: 0 0 7px; }
.ox-footer-contact p i { color: var(--primary); }
.ox-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.ox-footer-copy { font-size: 12px; color: rgba(255,255,255,.35); margin: 0; }
.ox-footer-copy a { color: var(--primary); }
.ox-payment-icons { display: flex; gap: 6px; align-items: center; }
.ox-payment-icons img { height: 22px; width: auto; border-radius: 3px; }

/* ===== MOBILE NAV ===== */
.ox-mob-nav li a { display: block; padding: 12px 20px; font-size: 14.5px; color: var(--text); border-bottom: 1px solid var(--border); transition: color var(--ease), background var(--ease); font-weight: 500; }
.ox-mob-nav li a:hover { color: var(--primary); background: var(--primary-light); }

/* ===== MINI CART ===== */
.ox-cart-offcanvas .offcanvas-header { border-bottom: 1px solid var(--border); }
.ox-cart-total-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.ox-cart-grand { color: var(--primary); font-weight: 800; }

/* ===== QUICK VIEW ===== */
.ox-qv-img-wrap { background: #f8f8f8; padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.ox-qv-img-wrap img { max-height: 260px; object-fit: contain; }

/* ===== SCROLL TO TOP ===== */
#ox-scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  width: 42px; height: 42px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(255,71,71,.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
#ox-scroll-top.show { opacity: 1; pointer-events: auto; }
#ox-scroll-top:hover { transform: translateY(-4px); }

/* ===== SHOP PAGE ===== */
.ox-shop-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 0; }
.ox-shop-hero h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.ox-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; }
.ox-breadcrumb a { color: var(--text-muted); transition: color var(--ease); }
.ox-breadcrumb a:hover { color: var(--primary); }
.ox-breadcrumb span.sep { opacity: .4; }
.ox-shop-body { padding: 24px 0 48px; }

/* Filter sidebar */
.ox-filter-card { background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; border: 1px solid var(--border); }
.ox-filter-head { padding: 12px 16px; font-size: 13.5px; font-weight: 700; color: var(--dark); border-bottom: 1px solid var(--border); background: #fafafa; }
.ox-filter-body { padding: 10px 0; }
.ox-filter-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; font-size: 13px; color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.ox-filter-list li a:hover, .ox-filter-list li a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.ox-filter-count { font-size: 11.5px; color: var(--text-muted); }

/* Toolbar */
.ox-toolbar { background: var(--white); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border: 1px solid var(--border); }
.ox-toolbar-info { font-size: 13px; color: var(--text-muted); }
.ox-toolbar-info strong { color: var(--dark); }
.ox-sort-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 7px 12px; font-size: 13px; outline: none; background: var(--white); color: var(--text); cursor: pointer; transition: border-color var(--ease); }
.ox-sort-select:focus { border-color: var(--primary); }

/* Empty state */
.ox-empty { text-align: center; padding: 56px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.ox-empty img { max-width: 140px; margin: 0 auto 18px; }
.ox-empty h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ox-empty p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; }

/* Pagination */
.ox-pagination .page-link { border-radius: var(--radius-sm) !important; margin: 0 2px; font-size: 13.5px; color: var(--text); border-color: var(--border); }
.ox-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.ox-pagination .page-link:hover { color: var(--primary); border-color: var(--primary); }

/* Clear filter */
.ox-btn-clear { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #ef4444; border: 1.5px solid #ef4444; padding: 7px 14px; border-radius: var(--radius-sm); transition: background var(--ease), color var(--ease); width: 100%; justify-content: center; }
.ox-btn-clear:hover { background: #ef4444; color: #fff; }

/* ===== UTILITY ===== */
.ox-btn-solid { display: inline-flex; align-items: center; gap: 7px; background: var(--primary); color: #fff; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13.5px; border: none; cursor: pointer; transition: background var(--ease); text-transform: uppercase; letter-spacing: .3px; }
.ox-btn-solid:hover { background: var(--primary-dark); color: #fff; }
.ox-btn-outline { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--primary); color: var(--primary); padding: 8px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; background: transparent; transition: background var(--ease), color var(--ease); }
.ox-btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== BRANDED HERO BANNER ===== */
.ox-hero-branded {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #c43d00 0%, #FF6600 45%, #FF8C00 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 0 52px;
}
.ox-hero-content { position: relative; z-index: 2; }
.ox-hero-tag {
  display: inline-block; background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.25);
}
.ox-hero-title {
  font-size: 48px; font-weight: 900; color: #fff; line-height: 1.1;
  margin: 0 0 14px; text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.ox-hero-title span { color: #FFE566; }
.ox-hero-sub { font-size: 15px; color: rgba(255,255,255,.85); margin: 0 0 28px; max-width: 360px; line-height: 1.6; }
.ox-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  font-size: 15px; font-weight: 800;
  padding: 13px 28px; border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ox-hero-link:hover .ox-hero-cta { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.ox-hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ox-hero-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.ox-hero-c1 { width: 380px; height: 380px; right: -60px; top: -80px; }
.ox-hero-c2 { width: 260px; height: 260px; right: 120px; bottom: -100px; background: rgba(255,255,255,.04); }
.ox-hero-c3 { width: 140px; height: 140px; right: 320px; top: 40px; background: rgba(255,255,255,.05); }

/* Right stacked promo cards */
.ox-promo-card {
  display: flex; align-items: center;
  width: 100%; height: 100%;
  padding: 20px 24px;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: filter .2s ease;
}
.ox-promo-card:hover { filter: brightness(1.05); }
.ox-promo-1 { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }
.ox-promo-2 { background: linear-gradient(135deg, #7b2d00 0%, #c44300 100%); }
.ox-promo-inner { position: relative; z-index: 2; }
.ox-promo-label { display: block; font-size: 11px; color: rgba(255,255,255,.7); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.ox-promo-label strong { color: #FFE566; font-size: 14px; }
.ox-promo-name { display: block; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ox-promo-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(255,255,255,.15); padding: 5px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* Category pills row (replaces banner images) */
.ox-banner-cats.ox-cat-pill { height: auto; display: flex; flex-wrap: wrap; background: #fff; border-top: 1px solid var(--border); }
.ox-banner-cat.ox-cat-pill { flex: 1; min-width: 120px; border-right: 1px solid var(--border); height: auto; }
.ox-banner-cat.ox-cat-pill a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 10px; height: auto;
  font-size: 12px; font-weight: 600; color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.ox-banner-cat.ox-cat-pill a i { font-size: 22px; color: var(--primary); }
.ox-banner-cat.ox-cat-pill a span { text-align: center; line-height: 1.3; }
.ox-banner-cat.ox-cat-pill:hover a { background: var(--primary-light); color: var(--primary); }

/* ===== BOOTSTRAP BLUE OVERRIDES ===== */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(255,102,0,.15);
  outline: none;
}
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn-outline-primary { color: var(--primary) !important; border-color: var(--primary) !important; }
.btn-outline-primary:hover { background-color: var(--primary) !important; color: #fff !important; }
.btn-outline-secondary { color: var(--text); border-color: var(--border); background: #fff; }
.btn-outline-secondary:hover { background-color: var(--primary); border-color: var(--primary); color: #fff; }
a { color: inherit; }
a:hover { color: inherit; }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.page-link { color: var(--text); }
.page-link:focus { box-shadow: 0 0 0 .2rem rgba(255,102,0,.15); color: var(--primary); }
.dropdown-item:hover, .dropdown-item:focus { background-color: var(--primary-light); color: var(--primary); }
.dropdown-item.active { background-color: var(--primary); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .ox-home-sidebar { display: none; }
  .ox-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}
@media (max-width: 991px) {
  .ox-banner-row { height: 260px; }
  .ox-banner-stack { display: none; }
  .ox-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ox-feature { padding: 12px 14px; }
}
@media (max-width: 767px) {
  .ox-topbar-promo, .ox-topbar-social { display: none; }
  .ox-section { padding: 28px 0; }
  .ox-flash-hd, .ox-nl-inner { flex-direction: column; align-items: flex-start; }
  .ox-nl-form-wrap { flex: 0 0 100%; }
  .ox-footer-grid { grid-template-columns: 1fr 1fr; }
  .ox-banner-cats { grid-template-columns: repeat(2, 1fr); height: 80px; }
}
@media (max-width: 575px) {
  .ox-search { display: none; }
  .ox-footer-grid { grid-template-columns: 1fr; }
  .ox-footer-bottom { flex-direction: column; text-align: center; }
  .ox-wrap { padding: 0 12px; }
  .ox-section-title { font-size: 17px; }
}


/* ============================================================
   BD Basket — Banggood-Style Homepage (bgg-* prefix)
   ============================================================ */

/* ── Container ─────────────────────────────────────────────── */
.bgg-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── TOP HERO ROW ───────────────────────────────────────────── */
.bgg-top {
  background: #f0f0f0;
  padding: 6px 0 0;
}
.bgg-top-inner {
  display: flex;
  gap: 0;
  align-items: stretch;
}
/* Right column: hero + coupon stacked, sidebar stretches alongside both */
.bgg-top-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 350px;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.bgg-sidebar {
  width: 215px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px 0 0 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.bgg-sidebar-hd {
  background: var(--primary, #FF6600);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .3px;
  flex-shrink: 0;
}
.bgg-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  flex: 1;
  overflow-y: auto;
}
.bgg-sidebar-list::-webkit-scrollbar { width: 3px; }
.bgg-sidebar-list::-webkit-scrollbar-thumb { background: #eee; border-radius: 4px; }
.bgg-sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: .82rem;
  color: #333;
  text-decoration: none;
  transition: background .15s, color .15s;
  border-bottom: 1px solid #f7f7f7;
}
.bgg-sidebar-link i:first-child {
  font-size: 1rem;
  color: var(--primary, #FF6600);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.bgg-sidebar-link span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgg-sb-arrow {
  margin-left: auto;
  font-size: .9rem;
  color: #ccc;
  flex-shrink: 0;
}
.bgg-sidebar-link:hover {
  background: #fff3e6;
  color: var(--primary, #FF6600);
}
.bgg-sidebar-link:hover .bgg-sb-arrow { color: var(--primary, #FF6600); }
.bgg-sidebar-all {
  border-top: 1px solid #f0f0f0;
  font-weight: 600;
  color: var(--primary, #FF6600);
}
.bgg-sidebar-all i:first-child { color: var(--primary, #FF6600); }

/* ── HERO CAROUSEL ──────────────────────────────────────────── */
.bgg-hero-area {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0 4px 0 0;
}
.bgg-hero-swiper {
  width: 100%;
  height: 350px;
}
.bgg-slide {
  display: flex;
  align-items: center;
  height: 350px;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
}

/* Slide colour themes */
.bgg-slide-1 { background: linear-gradient(135deg, #c43d00 0%, #FF6600 50%, #FF9500 100%); }
.bgg-slide-2 { background: linear-gradient(135deg, #0d1b6e 0%, #1565c0 55%, #1e88e5 100%); }
.bgg-slide-3 { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 55%, #388e3c 100%); }
.bgg-slide-4 { background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 55%, #9c27b0 100%); }

.bgg-slide-body {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 52%;
}
.bgg-slide-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.bgg-slide-h {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.bgg-slide-h em {
  font-style: normal;
  color: #ffe066;
  display: block;
}
.bgg-slide-2 .bgg-slide-h em,
.bgg-slide-3 .bgg-slide-h em,
.bgg-slide-4 .bgg-slide-h em { color: #fff176; }
.bgg-slide-p {
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 24px;
  line-height: 1.5;
}
.bgg-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary, #FF6600);
  font-weight: 700;
  font-size: .88rem;
  padding: 11px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.bgg-slide-2 .bgg-slide-btn { color: #1565c0; }
.bgg-slide-3 .bgg-slide-btn { color: #2e7d32; }
.bgg-slide-4 .bgg-slide-btn { color: #7b1fa2; }
.bgg-slide-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }

/* Decorative right side */
.bgg-slide-deco {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  z-index: 1;
}
.bgg-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
}
.bgg-dc-1 { width: 250px; height: 250px; top: 5px; left: 5px; }
.bgg-dc-2 { width: 180px; height: 180px; top: 40px; left: 40px; background: rgba(255,255,255,.07); }
.bgg-deco-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 6.5rem;
  color: rgba(255,255,255,.22);
  line-height: 1;
}
.bgg-deco-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: #fff;
  color: var(--primary, #FF6600);
  font-weight: 900;
  font-size: 1.2rem;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  letter-spacing: 1px;
}
.bgg-slide-2 .bgg-deco-badge { color: #1565c0; }
.bgg-slide-3 .bgg-deco-badge { color: #2e7d32; }
.bgg-slide-4 .bgg-deco-badge { color: #7b1fa2; }

/* Hero pagination */
.bgg-hero-dots { bottom: 14px !important; }
.bgg-hero-dots .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.5); opacity: 1;
}
.bgg-hero-dots .swiper-pagination-bullet-active {
  background: #fff; width: 24px; border-radius: 4px;
  transition: width .3s;
}
.bgg-hero-prev, .bgg-hero-next {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.92);
  border-radius: 50%; color: #333;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  --swiper-navigation-size: 16px;
}
.bgg-hero-prev:hover, .bgg-hero-next:hover { background: #fff; }
.bgg-hero-prev { left: 12px; }
.bgg-hero-next { right: 12px; }

/* ── CATEGORY STRIP — Today's Best Selling Category ────────── */
.bgg-cat-strip {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 12px 0 14px;
}
.bgg-cat-strip-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.bgg-cat-strip-hd-dot {
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--primary, #FF6600);
  border-radius: 2px;
  flex-shrink: 0;
}
.bgg-cat-strip-hd-title {
  font-size: .92rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -.2px;
  flex: 1;
}
.bgg-cat-strip-hd-more {
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary, #FF6600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  border: 1px solid var(--primary, #FF6600);
  padding: 3px 10px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.bgg-cat-strip-hd-more:hover {
  background: var(--primary, #FF6600);
  color: #fff;
}
.bgg-cat-strip-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bgg-cat-strip-inner::-webkit-scrollbar { display: none; }
.bgg-cat-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex: 1;
  min-width: 72px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: transform .18s;
}
.bgg-cat-strip-item:hover { transform: translateY(-3px); }
.bgg-cat-strip-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 4px rgba(0,0,0,.18);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.bgg-cat-strip-name {
  font-size: .72rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.25;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgg-cat-strip-item:hover .bgg-cat-strip-name { color: var(--primary, #FF6600); }

/* ── FEATURE BAR ────────────────────────────────────────────── */
.bgg-feat-bar {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 14px 0;
}
.bgg-feat-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
}
.bgg-feat-inner::-webkit-scrollbar { display: none; }
.bgg-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 20px;
  flex: 1;
  min-width: 140px;
  white-space: nowrap;
}
.bgg-feat i {
  font-size: 1.55rem;
  color: var(--primary, #FF6600);
  flex-shrink: 0;
}
.bgg-feat div {
  display: flex;
  flex-direction: column;
}
.bgg-feat b { font-size: .8rem; font-weight: 700; color: #222; }
.bgg-feat small { font-size: .7rem; color: #999; }
.bgg-feat-sep {
  width: 1px; height: 30px;
  background: #e8e8e8; flex-shrink: 0;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.bgg-section {
  background: #fff;
  margin: 10px 0 0;
  padding: 20px 0 24px;
}
.bgg-section-alt { background: #fafafa; }
.bgg-sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.bgg-sec-hd-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bgg-sec-dot {
  display: inline-block;
  width: 4px; height: 22px;
  background: var(--primary, #FF6600);
  border-radius: 2px; flex-shrink: 0;
}
.bgg-sec-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin: 0;
  letter-spacing: -.3px;
}
.bgg-flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary, #FF6600);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
}
.bgg-see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary, #FF6600);
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1px solid var(--primary, #FF6600);
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.bgg-see-all:hover { background: var(--primary, #FF6600); color: #fff; }

/* Countdown */
.bgg-countdown { display: flex; align-items: center; gap: 4px; }
.bgg-cd-unit { display: inline-flex; align-items: baseline; gap: 2px; }
.bgg-cd-unit span {
  font-size: .88rem; font-weight: 800; color: #fff;
  background: #111; padding: 2px 6px; border-radius: 3px;
  min-width: 28px; text-align: center; display: inline-block;
}
.bgg-cd-unit em { font-style: normal; font-size: .68rem; color: #888; }
.bgg-cd-sep { font-weight: 800; color: #888; }

/* ── PRODUCT SWIPER ─────────────────────────────────────────── */
.bgg-swiper-wrap { position: relative; padding: 0 4px; }
.bgg-prod-swiper { width: 100%; padding-bottom: 4px; }
.bgg-prod-swiper .swiper-button-prev,
.bgg-prod-swiper .swiper-button-next {
  width: 32px; height: 32px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  --swiper-navigation-size: 14px;
  color: #444;
  top: 36%;
}
.bgg-prod-swiper .swiper-button-prev { left: -2px; }
.bgg-prod-swiper .swiper-button-next { right: -2px; }
.bgg-prod-swiper .swiper-button-prev:hover,
.bgg-prod-swiper .swiper-button-next:hover {
  background: var(--primary, #FF6600);
  color: #fff;
  border-color: var(--primary, #FF6600);
}

/* ── PRODUCT GRID ───────────────────────────────────────────── */
.bgg-prod-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) { .bgg-prod-grid { grid-template-columns: repeat(5,1fr); } }
@media (max-width: 900px)  { .bgg-prod-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 640px)  { .bgg-prod-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px)  { .bgg-prod-grid { grid-template-columns: repeat(2,1fr); } }

/* ── HIT CATEGORIES GRID ────────────────────────────────────── */
.bgg-hit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .bgg-hit-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 768px)  { .bgg-hit-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px)  { .bgg-hit-grid { grid-template-columns: repeat(2,1fr); } }

.bgg-hit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 8px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.bgg-hit-card:hover {
  box-shadow: 0 6px 20px rgba(255,102,0,.14);
  transform: translateY(-3px);
  border-color: var(--primary, #FF6600);
}
.bgg-hit-thumb {
  width: 76px; height: 76px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.bgg-hit-label {
  font-size: .78rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgg-hit-card:hover .bgg-hit-label { color: var(--primary, #FF6600); }

/* ── NEWSLETTER ─────────────────────────────────────────────── */
.bgg-nl {
  background: linear-gradient(135deg, #FF6600 0%, #FF9500 100%);
  padding: 40px 0;
  margin-top: 10px;
}
.bgg-nl-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.bgg-nl-icon { font-size: 3.2rem; color: rgba(255,255,255,.65); flex-shrink: 0; }
.bgg-nl-copy { flex: 1; min-width: 200px; }
.bgg-nl-copy h3 { color: #fff; font-weight: 800; font-size: 1.3rem; margin: 0 0 4px; }
.bgg-nl-copy p  { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }
.bgg-nl-form { display: flex; gap: 0; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.bgg-nl-inp {
  border: none; outline: none;
  padding: 12px 18px; font-size: .9rem;
  border-radius: 4px 0 0 4px;
  width: 300px;
  background: rgba(255,255,255,.95);
  color: #111;
}
.bgg-nl-inp::placeholder { color: #aaa; }
.bgg-nl-btn {
  background: #111; color: #fff;
  font-weight: 700; font-size: .88rem;
  border: none; padding: 12px 24px;
  border-radius: 0 4px 4px 0;
  cursor: pointer; transition: background .15s;
  white-space: nowrap;
}
.bgg-nl-btn:hover { background: #333; }
.bgg-nl-msg { width: 100%; margin-top: 8px; color: rgba(255,255,255,.9); font-size: .82rem; }

/* ── COUPONS + MINI PRODUCTS ROW ───────────────────────────── */
.bgg-deals-row {
  background: #fff;
  margin: 10px 0 0;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
}
.bgg-deals-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Left column — coupons */
.bgg-coupons-col {
  width: 32%;
  flex-shrink: 0;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bgg-coupons-hd {
  font-size: .92rem;
  font-weight: 800;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.bgg-coupons-hd i {
  font-size: 1.1rem;
  color: var(--primary, #FF6600);
}
.bgg-coupons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bgg-cpn-card {
  display: flex;
  align-items: stretch;
  border: 1.5px dashed var(--cpn-bd, #FF6600);
  background: var(--cpn-bg, #fff3e6);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.bgg-cpn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
.bgg-cpn-left {
  background: var(--cpn-tx, #FF6600);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  min-width: 62px;
  flex-shrink: 0;
  line-height: 1;
  gap: 2px;
}
.bgg-cpn-num {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.bgg-cpn-off {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .5px;
  opacity: .9;
}
.bgg-cpn-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  gap: 4px;
  flex: 1;
}
.bgg-cpn-cat {
  font-size: .78rem;
  font-weight: 700;
  color: var(--cpn-tx, #FF6600);
  line-height: 1.25;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgg-cpn-btn {
  font-size: .7rem;
  font-weight: 600;
  color: var(--cpn-tx, #FF6600);
  border: 1px solid var(--cpn-tx, #FF6600);
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-block;
  align-self: flex-start;
  line-height: 1.6;
  transition: background .15s, color .15s;
}
.bgg-cpn-card:hover .bgg-cpn-btn {
  background: var(--cpn-tx, #FF6600);
  color: #fff;
}

/* Vertical divider */
.bgg-deals-sep {
  width: 1px;
  background: #eee;
  flex-shrink: 0;
  margin: 0 22px;
}

/* Right column — mini products */
.bgg-mini-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bgg-mini-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .92rem;
  font-weight: 800;
  color: #111;
}
.bgg-mini-more {
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary, #FF6600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--primary, #FF6600);
  padding: 3px 10px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.bgg-mini-more:hover {
  background: var(--primary, #FF6600);
  color: #fff;
}
.bgg-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bgg-mini-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  background: #fafafa;
  transition: box-shadow .18s, transform .18s, border-color .18s;
  padding-bottom: 8px;
}
.bgg-mini-card:hover {
  box-shadow: 0 4px 16px rgba(255,102,0,.14);
  transform: translateY(-2px);
  border-color: var(--primary, #FF6600);
}
.bgg-mini-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.bgg-mini-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform .2s;
}
.bgg-mini-card:hover .bgg-mini-img-wrap img { transform: scale(1.05); }
.bgg-mini-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--primary, #FF6600);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.4;
}
.bgg-mini-price {
  font-size: .82rem;
  font-weight: 800;
  color: var(--primary, #FF6600);
  padding: 0 8px;
  line-height: 1.2;
}
.bgg-mini-old {
  font-size: .7rem;
  color: #aaa;
  text-decoration: line-through;
  padding: 0 8px;
  line-height: 1;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .bgg-sidebar { display: none; }
  .bgg-hero-area { border-radius: 4px 4px 0 0; }
  .bgg-hero-swiper, .bgg-slide { height: 350px; }
  .bgg-top-right { height: 350px; }
  .bgg-slide { padding: 36px 44px; }
  .bgg-slide-h { font-size: 2.1rem; }
  .bgg-slide-deco { width: 200px; height: 200px; right: 28px; }
}
@media (max-width: 767px) {
  .bgg-hero-swiper, .bgg-slide { height: 300px; }
  .bgg-top-inner { min-height: 300px; }
  .bgg-slide { padding: 26px 30px; }
  .bgg-slide-h { font-size: 1.6rem; }
  .bgg-slide-body { max-width: 62%; }
  .bgg-slide-deco { width: 160px; height: 160px; right: 16px; }
  .bgg-deco-icon { font-size: 4.5rem; }
  .bgg-slide-p { display: none; }
  .bgg-nl-inp { width: 220px; }
  .bgg-cat-strip-icon { width: 50px; height: 50px; font-size: 1.4rem; border-radius: 10px; }
  .bgg-cat-strip-hd-title { font-size: .82rem; }
}
@media (max-width: 480px) {
  .bgg-hero-swiper, .bgg-slide { height: 220px; }
  .bgg-top-inner { min-height: 220px; }
  .bgg-slide { padding: 20px 22px; }
  .bgg-slide-h { font-size: 1.2rem; }
  .bgg-slide-tag { font-size: .64rem; }
  .bgg-slide-btn { padding: 8px 16px; font-size: .78rem; }
  .bgg-slide-deco { display: none; }
  .bgg-slide-body { max-width: 100%; }
  .bgg-nl-inner { gap: 16px; }
  .bgg-nl-form { flex-direction: column; width: 100%; }
  .bgg-nl-inp { width: 100%; border-radius: 4px; }
  .bgg-nl-btn { width: 100%; border-radius: 4px; }
  .bgg-cat-strip-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .bgg-feat { padding: 4px 12px; min-width: 120px; }
}

/* ── REAL IMAGE SLIDES ──────────────────────────────────── */
.bgg-real-slide {
  display: block;
  width: 100%;
  height: 350px;
  overflow: hidden;
}
.bgg-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1199px) { .bgg-real-slide { height: 350px; } }
@media (max-width: 767px)  { .bgg-real-slide { height: 260px; } }
@media (max-width: 480px)  { .bgg-real-slide { height: 200px; } }

/* ── GET MORE COUPONS ROW ───────────────────────────────── */
.bgg-mc-section {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 138px;
}
.bgg-mc-info {
  width: 200px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #FF6600 0%, #FF9500 100%);
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bgg-mc-title {
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
}
.bgg-mc-go {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-decoration: none;
  align-self: flex-start;
  transition: background .15s;
}
.bgg-mc-go:hover { background: rgba(255,255,255,.4); color: #fff; }
.bgg-mc-coupons { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.bgg-mc-cpn-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 5px 8px;
  text-decoration: none;
  transition: background .15s;
}
.bgg-mc-cpn-item:hover { background: rgba(255,255,255,.30); }
.bgg-mc-cpn-info {
  display: flex;
  align-items: baseline;
  gap: 1px;
  color: #fff;
  flex-shrink: 0;
}
.bgg-mc-cpn-num {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.bgg-mc-cpn-head {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.bgg-mc-cpn-pc  { font-size: .72rem; font-weight: 800; color: #fff; }
.bgg-mc-cpn-off { font-size: .58rem; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .4px; }
.bgg-mc-cpn-over {
  font-size: .68rem;
  color: rgba(255,255,255,.88);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgg-mc-products {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}
.bgg-mc-products::-webkit-scrollbar { display: none; }
.bgg-mc-pi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex: 1;
  min-width: 90px;
  padding: 6px 8px;
  border-right: 1px solid #f0f0f0;
  transition: background .15s;
}
.bgg-mc-pi:last-child { border-right: none; }
.bgg-mc-pi:hover { background: #fff8f4; }
.bgg-mc-pi-img {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bgg-mc-pi-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bgg-mc-pi-price {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary, #FF6600);
  text-align: center;
  line-height: 1.2;
}
.bgg-mc-pi-old {
  font-size: .68rem;
  color: #aaa;
  text-decoration: line-through;
  text-align: center;
}

/* ── DISCOVER NEW + TOP BRANDS ──────────────────────────── */
.bgg-disc-brands {
  background: #fff;
  margin-top: 8px;
}
.bgg-disc-brands-inner {
  display: flex;
  align-items: stretch;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.bgg-disc-col,
.bgg-brands-col {
  flex: 1;
  padding: 16px;
  min-width: 0;
}
.bgg-db-sep {
  width: 1px;
  background: #f0f0f0;
  flex-shrink: 0;
}
.bgg-db-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.bgg-db-title {
  font-size: .95rem;
  font-weight: 800;
  color: #111;
}
.bgg-db-more {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary, #FF6600);
  text-decoration: none;
  border: 1px solid var(--primary, #FF6600);
  padding: 2px 8px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.bgg-db-more:hover { background: var(--primary, #FF6600); color: #fff; }
.bgg-disc-list {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.bgg-disc-item {
  flex: 1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  transition: transform .15s;
}
.bgg-disc-item:hover { transform: translateY(-2px); }
.bgg-disc-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
  background: #fafafa;
}
.bgg-disc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.bgg-disc-price {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary, #FF6600);
  text-align: center;
}
.bgg-brands-list {
  display: flex;
  gap: 12px;
  align-items: center;
}
.bgg-brand-item {
  flex: 1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transition: transform .15s;
}
.bgg-brand-item:hover { transform: translateY(-2px); }
.bgg-brand-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  background: #fafafa;
}
.bgg-brand-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bgg-brand-logo {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.bgg-brand-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ── HOT CATEGORIES ─────────────────────────────────────── */
.bgg-hot-cate-section {
  background: #fff;
  margin-top: 8px;
  padding: 0 0 4px;
}
.bgg-hot-cate-row {
  display: flex;
  gap: 0;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  min-height: 340px;
}
.bgg-hot-featured {
  width: 210px;
  flex-shrink: 0;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}
.bgg-hot-feat-hd {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}
.bgg-hot-feat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
.bgg-hot-feat-name {
  font-size: .88rem;
  font-weight: 800;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  transition: color .15s;
}
.bgg-hot-feat-link:hover .bgg-hot-feat-name { color: var(--primary, #FF6600); }
.bgg-hot-feat-go {
  font-size: .72rem;
  color: var(--primary, #FF6600);
  display: flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}
.bgg-hot-feat-products { flex: 1; display: flex; flex-direction: column; }
.bgg-hot-feat-pi {
  display: block;
  border-bottom: 1px solid #f5f5f5;
  overflow: hidden;
  flex: 1;
  transition: background .15s;
}
.bgg-hot-feat-pi:last-child { border-bottom: none; }
.bgg-hot-feat-pi:hover { background: #fff8f4; }
.bgg-hot-feat-pi img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 6px;
  display: block;
}
.bgg-hot-right-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
}
.bgg-hot-cat-box {
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 10px 8px;
}
.bgg-hot-cat-box:nth-child(3n)   { border-right: none; }
.bgg-hot-cat-box:nth-last-child(-n+3) { border-bottom: none; }
.bgg-hot-cat-hd-link {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}
.bgg-hot-cat-name {
  font-size: .78rem;
  font-weight: 700;
  color: #111;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s;
}
.bgg-hot-cat-hd-link:hover .bgg-hot-cat-name { color: var(--primary, #FF6600); }
.bgg-hot-cat-prow { display: flex; gap: 4px; }
.bgg-hot-cat-pi {
  flex: 1;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  background: #fafafa;
  transition: border-color .15s;
}
.bgg-hot-cat-pi:hover { border-color: var(--primary, #FF6600); }
.bgg-hot-cat-pi img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 3px;
  display: block;
}

/* Hot categories responsive */
@media (max-width: 900px) {
  .bgg-hot-featured { width: 160px; }
  .bgg-hot-right-grid { grid-template-columns: repeat(2, 1fr); }
  .bgg-hot-cat-box:nth-child(3n)       { border-right: 1px solid #f0f0f0; }
  .bgg-hot-cat-box:nth-child(2n)       { border-right: none; }
  .bgg-hot-cat-box:nth-last-child(-n+3){ border-bottom: 1px solid #f0f0f0; }
  .bgg-hot-cat-box:nth-last-child(-n+2){ border-bottom: none; }
}
@media (max-width: 640px) {
  .bgg-hot-featured { display: none; }
  .bgg-hot-right-grid { grid-template-columns: repeat(2, 1fr); }
}

/* MC row responsive */
@media (max-width: 768px) {
  .bgg-mc-info { width: 160px; }
  .bgg-mc-pi-img { width: 76px; height: 76px; }
}
@media (max-width: 480px) {
  .bgg-mc-section { flex-wrap: wrap; }
  .bgg-mc-info { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .bgg-mc-title { width: 100%; }
  .bgg-mc-coupons { flex-direction: row; gap: 6px; width: 100%; }
  .bgg-mc-cpn-item { flex: 1; }
  .bgg-mc-products { padding: 6px 4px; }
}

/* Discover+brands responsive */
@media (max-width: 640px) {
  .bgg-disc-brands-inner { flex-direction: column; }
  .bgg-db-sep { width: 100%; height: 1px; }
}

/* Deals row responsive */
@media (max-width: 900px) {
  .bgg-deals-inner { flex-wrap: wrap; }
  .bgg-coupons-col { width: 100%; padding-right: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .bgg-coupons-hd { width: 100%; }
  .bgg-coupons-list { flex-direction: row; gap: 10px; width: 100%; }
  .bgg-cpn-card { flex: 1; min-width: 140px; }
  .bgg-deals-sep { display: none; }
  .bgg-mini-col { width: 100%; }
  .bgg-mini-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .bgg-coupons-list { flex-direction: column; }
  .bgg-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .bgg-cpn-num { font-size: 1.3rem; }
}

/* ============================================================
   PRODUCT CARD (bgg-card)
   ============================================================ */
.bgg-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.bgg-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  border-color: #e0e0e0;
  transform: translateY(-3px);
}

/* Image area */
.bgg-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fafafa;
  flex-shrink: 0;
}
.bgg-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .3s;
  display: block;
}
.bgg-card:hover .bgg-card-img { transform: scale(1.06); }

/* Badges */
.bgg-card-badges {
  position: absolute;
  top: 7px; left: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.bgg-badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.6;
  letter-spacing: .3px;
}
.bgg-badge-new  { background: #22c55e; color: #fff; }
.bgg-badge-sale { background: var(--primary, #FF6600); color: #fff; }

/* Hover action buttons */
.bgg-card-actions {
  position: absolute;
  top: 7px; right: 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .2s, transform .2s;
  z-index: 2;
}
.bgg-card:hover .bgg-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.bgg-card-act {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  color: #555;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.13);
  transition: background .15s, color .15s;
  padding: 0;
}
.bgg-card-act:hover { background: var(--primary, #FF6600); color: #fff; }
.bgg-card-act.active i { color: #ef4444; }

/* Body */
.bgg-card-body {
  padding: 8px 10px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.bgg-card-cat {
  font-size: .66rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.bgg-card-name {
  font-size: .8rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color .15s;
  margin-top: 2px;
}
.bgg-card-name:hover { color: var(--primary, #FF6600); }
.bgg-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 5px;
  flex-wrap: wrap;
}
.bgg-card-now {
  font-size: .9rem;
  font-weight: 800;
  color: var(--primary, #FF6600);
  line-height: 1;
}
.bgg-card-old {
  font-size: .72rem;
  color: #ccc;
  text-decoration: line-through;
  font-weight: 400;
}

/* Footer */
.bgg-card-foot {
  padding: 0 10px 10px;
  flex-shrink: 0;
}
.bgg-atc-btn {
  width: 100%;
  background: #fff;
  border: 1px solid var(--primary, #FF6600);
  color: var(--primary, #FF6600);
  font-size: .76rem;
  font-weight: 700;
  padding: 7px 0;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .15s, color .15s;
  line-height: 1;
}
.bgg-atc-btn:hover,
.bgg-atc-btn:disabled { background: var(--primary, #FF6600); color: #fff; }

/* ============================================================
   SHOP PAGE
   ============================================================ */

/* Hero / breadcrumb bar */
.bgg-shop-hero {
  background: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  padding: 14px 0;
}
.bgg-shop-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.bgg-shop-hero-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin: 0;
}
.bgg-shop-hero-title em { font-style: normal; color: var(--primary, #FF6600); }
.bgg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: #999;
  flex-wrap: wrap;
}
.bgg-breadcrumb a { color: #666; text-decoration: none; transition: color .15s; }
.bgg-breadcrumb a:hover { color: var(--primary, #FF6600); }
.bgg-breadcrumb i { font-size: .82rem; }
.bgg-breadcrumb span { color: #333; }

/* Layout */
.bgg-shop-body { padding: 20px 0 40px; background: #f5f5f5; }
.bgg-shop-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Sidebar */
.bgg-shop-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bgg-filter-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.bgg-filter-head {
  font-size: .82rem;
  font-weight: 800;
  color: #111;
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fafafa;
}
.bgg-filter-head i { color: var(--primary, #FF6600); font-size: .9rem; }
.bgg-filter-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.bgg-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  font-size: .8rem;
  color: #444;
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.bgg-filter-link:hover { background: #fff8f4; color: var(--primary, #FF6600); }
.bgg-filter-link.active {
  color: var(--primary, #FF6600);
  font-weight: 700;
  border-left-color: var(--primary, #FF6600);
  background: #fff3e6;
}
.bgg-filter-count {
  font-size: .68rem;
  background: #f0f0f0;
  color: #888;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 600;
}
.bgg-filter-link.active .bgg-filter-count { background: rgba(255,102,0,.12); color: var(--primary, #FF6600); }

/* Price filter */
.bgg-filter-body { padding: 12px 14px; }
.bgg-price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 10px;
}
.bgg-price-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bgg-price-field label { font-size: .68rem; color: #999; font-weight: 600; }
.bgg-price-field input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: .78rem;
  color: #333;
  outline: none;
  transition: border-color .15s;
}
.bgg-price-field input:focus { border-color: var(--primary, #FF6600); }
.bgg-price-dash { font-size: .8rem; color: #bbb; padding-bottom: 7px; flex-shrink: 0; }
.bgg-filter-apply {
  width: 100%;
  background: var(--primary, #FF6600);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.bgg-filter-apply:hover { background: #e55a00; }

/* Clear filters */
.bgg-filter-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: #e53935;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #ffcdd2;
  border-radius: 6px;
  background: #fff;
  transition: background .15s;
}
.bgg-filter-clear:hover { background: #ffebee; color: #c62828; }

/* Main product area */
.bgg-shop-main { flex: 1; min-width: 0; }

/* Toolbar */
.bgg-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.bgg-toolbar-info { font-size: .8rem; color: #888; }
.bgg-toolbar-info strong { color: #111; }
.bgg-toolbar-info em { font-style: normal; color: var(--primary, #FF6600); }
.bgg-toolbar-right { display: flex; align-items: center; gap: 10px; }
.bgg-filter-toggle {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  color: #444;
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 7px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.bgg-filter-toggle:hover { border-color: var(--primary, #FF6600); color: var(--primary, #FF6600); }
.bgg-sort-form { display: flex; align-items: center; gap: 6px; }
.bgg-sort-select {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: .78rem;
  color: #333;
  outline: none;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}
.bgg-sort-select:focus { border-color: var(--primary, #FF6600); }

/* Product grid */
.bgg-shop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 1400px) { .bgg-shop-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .bgg-shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .bgg-shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* Pagination */
.bgg-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.bgg-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.bgg-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  background: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.bgg-page-btn:hover { background: #fff3e6; border-color: var(--primary, #FF6600); color: var(--primary, #FF6600); }
.bgg-page-btn.active { background: var(--primary, #FF6600); border-color: var(--primary, #FF6600); color: #fff; }
.bgg-page-btn.disabled { color: #ccc; cursor: default; pointer-events: none; background: #fafafa; }

/* Empty state */
.bgg-shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  text-align: center;
}
.bgg-shop-empty img { max-width: 130px; opacity: .7; }
.bgg-shop-empty h3 { font-size: 1.1rem; font-weight: 800; color: #222; margin: 0; }
.bgg-shop-empty p { font-size: .88rem; color: #888; margin: 0; }
.bgg-shop-empty em { font-style: normal; color: var(--primary, #FF6600); }
.bgg-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary, #FF6600);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
}
.bgg-empty-btn:hover { background: #e55a00; color: #fff; }

/* Shop responsive */
@media (max-width: 900px) {
  .bgg-shop-sidebar {
    position: fixed;
    top: 0; left: -260px;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 1050;
    padding: 16px;
    box-shadow: 4px 0 20px rgba(0,0,0,.12);
    transition: left .3s;
    gap: 10px;
  }
  .bgg-shop-sidebar.bgg-sidebar-open { left: 0; }
  .bgg-filter-toggle { display: flex; }
}

/* ============================================================
   PRODUCT DETAIL PAGE (bgg-pd-*)
   ============================================================ */
.bgg-pd-page { padding: 24px 0 48px; background: #f5f5f5; }

/* Main two-column layout */
.bgg-pd-main {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}
@media (max-width: 768px) { .bgg-pd-main { flex-direction: column; padding: 16px; } }

/* Gallery */
.bgg-pd-gallery { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) { .bgg-pd-gallery { width: 320px; } }
@media (max-width: 768px) { .bgg-pd-gallery { width: 100%; } }

.bgg-pd-img-main {
  position: relative;
  aspect-ratio: 1/1;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bgg-pd-img-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s;
}
.bgg-pd-img-main:hover img { transform: scale(1.04); }
.bgg-pd-disc-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary, #FF6600); color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
}
.bgg-pd-new-badge {
  position: absolute; top: 10px; right: 10px;
  background: #22c55e; color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
}

/* Thumbs */
.bgg-pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.bgg-pd-thumb {
  width: 64px; height: 64px;
  border: 2px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s;
}
.bgg-pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.bgg-pd-thumb.active { border-color: var(--primary, #FF6600); }
.bgg-pd-thumb:hover { border-color: var(--primary, #FF6600); }

/* Info panel */
.bgg-pd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bgg-pd-cat {
  font-size: .72rem; font-weight: 700; color: var(--primary, #FF6600);
  text-decoration: none; text-transform: uppercase; letter-spacing: .5px;
  transition: opacity .15s;
}
.bgg-pd-cat:hover { opacity: .75; }
.bgg-pd-title {
  font-size: 1.25rem; font-weight: 800; color: #111;
  line-height: 1.35; margin: 0;
}
@media (max-width: 640px) { .bgg-pd-title { font-size: 1.05rem; } }

/* Price */
.bgg-pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bgg-pd-price {
  font-size: 1.8rem; font-weight: 900;
  color: var(--primary, #FF6600); line-height: 1;
}
.bgg-pd-old { font-size: 1rem; color: #ccc; text-decoration: line-through; }
.bgg-pd-save {
  font-size: .75rem; font-weight: 800;
  background: #fff3e6; color: var(--primary, #FF6600);
  padding: 3px 8px; border-radius: 4px;
}

/* Variants */
.bgg-pd-variants { display: flex; flex-direction: column; gap: 8px; }
.bgg-pd-var-label { font-size: .8rem; font-weight: 700; color: #555; }
.bgg-pd-var-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bgg-pd-var-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 2px; padding: 7px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px; background: #fff;
  cursor: pointer; font-size: .78rem; font-weight: 600; color: #333;
  transition: border-color .15s, background .15s, color .15s;
}
.bgg-pd-var-btn:hover { border-color: var(--primary, #FF6600); color: var(--primary, #FF6600); }
.bgg-pd-var-btn.active { border-color: var(--primary, #FF6600); background: #fff3e6; color: var(--primary, #FF6600); }
.bgg-pd-var-price { font-size: .72rem; font-weight: 800; color: var(--primary, #FF6600); }
.bgg-pd-var-err { font-size: .78rem; color: #e53935; min-height: 18px; }

/* Quantity */
.bgg-pd-qty-row { display: flex; align-items: center; gap: 12px; }
.bgg-pd-qty-label { font-size: .82rem; font-weight: 700; color: #555; }
.bgg-pd-qty { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.bgg-pd-qty-btn {
  width: 38px; height: 38px; border: none; background: #f7f7f7;
  color: #444; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.bgg-pd-qty-btn:hover { background: var(--primary, #FF6600); color: #fff; }
.bgg-pd-qty-input {
  width: 52px; height: 38px; border: none; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0;
  text-align: center; font-size: .9rem; font-weight: 700; color: #111; outline: none;
}

/* Actions */
.bgg-pd-actions { display: flex; gap: 10px; }
.bgg-pd-atc {
  flex: 1; background: var(--primary, #FF6600); color: #fff;
  border: 2px solid var(--primary, #FF6600);
  border-radius: 6px; font-size: .9rem; font-weight: 800;
  padding: 12px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s, border-color .15s;
}
.bgg-pd-atc:hover { background: #e55a00; border-color: #e55a00; }
.bgg-pd-wish {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 2px solid #e0e0e0; border-radius: 6px;
  background: #fff; color: #555; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
}
.bgg-pd-wish:hover { border-color: #ef4444; color: #ef4444; }
.bgg-pd-wish.active { border-color: #ef4444; color: #ef4444; }

/* Meta */
.bgg-pd-meta { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid #f0f0f0; }
.bgg-pd-meta-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.bgg-pd-meta-row span { color: #999; min-width: 90px; }
.bgg-pd-meta-row strong, .bgg-pd-meta-row a { color: #222; text-decoration: none; font-weight: 600; }
.bgg-pd-meta-row a:hover { color: var(--primary, #FF6600); }

/* Trust badges */
.bgg-pd-trust {
  display: flex; gap: 0;
  border: 1px solid #f0f0f0; border-radius: 6px; overflow: hidden;
}
.bgg-pd-trust-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; text-align: center;
  border-right: 1px solid #f0f0f0; font-size: .68rem; color: #666;
}
.bgg-pd-trust-item:last-child { border-right: none; }
.bgg-pd-trust-item i { font-size: 1.2rem; color: var(--primary, #FF6600); }
@media (max-width: 480px) { .bgg-pd-trust { flex-wrap: wrap; }
  .bgg-pd-trust-item { flex: 1 1 50%; border-bottom: 1px solid #f0f0f0; }
}

/* Description block */
.bgg-pd-desc-block {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  overflow: hidden; margin-bottom: 16px;
}
.bgg-pd-desc-head {
  font-size: .88rem; font-weight: 800; color: #111;
  padding: 12px 20px; background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.bgg-pd-desc-body {
  padding: 18px 20px; font-size: .85rem; color: #555;
  line-height: 1.75; max-width: 780px;
}

/* Related products */
.bgg-pd-related { margin-top: 8px; }
.bgg-pd-rel-hd {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.bgg-pd-rel-title { font-size: 1rem; font-weight: 800; color: #111; flex: 1; }

/* ============================================================
   CART PAGE (bgg-cart-*)
   ============================================================ */
.bgg-cart-page { padding: 24px 0 48px; background: #f5f5f5; min-height: 60vh; }

/* Empty */
.bgg-cart-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 70px 20px; text-align: center;
  background: #fff; border-radius: 8px; border: 1px solid #f0f0f0;
}
.bgg-cart-empty img { max-width: 150px; opacity: .75; }
.bgg-cart-empty h3 { font-size: 1.2rem; font-weight: 800; color: #222; margin: 0; }
.bgg-cart-empty p  { font-size: .88rem; color: #888; margin: 0; }

/* Two-column layout */
.bgg-cart-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 900px) { .bgg-cart-layout { flex-direction: column; } }

/* Items panel */
.bgg-cart-items {
  flex: 1; min-width: 0;
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  overflow: hidden;
}

/* Header row */
.bgg-cart-head {
  display: grid;
  grid-template-columns: 1fr 100px 140px 100px 44px;
  gap: 0;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: .75rem; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: .4px;
}
@media (max-width: 640px) {
  .bgg-cart-head { grid-template-columns: 1fr 90px 40px; }
  .bgg-cart-head span:nth-child(2),
  .bgg-cart-head span:nth-child(4) { display: none; }
}

/* Cart row */
.bgg-cart-row {
  display: grid;
  grid-template-columns: 1fr 100px 140px 100px 44px;
  align-items: center;
  gap: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #f8f8f8;
  transition: background .15s;
}
.bgg-cart-row:last-child { border-bottom: none; }
.bgg-cart-row:hover { background: #fafafa; }
@media (max-width: 640px) {
  .bgg-cart-row { grid-template-columns: 1fr 90px 40px; }
  .bgg-cart-price, .bgg-cart-line { display: none; }
}

/* Product cell */
.bgg-cart-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bgg-cart-img {
  width: 68px; height: 68px; flex-shrink: 0;
  border-radius: 6px; object-fit: contain;
  border: 1px solid #f0f0f0; background: #fafafa; padding: 4px;
}
.bgg-cart-prod-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bgg-cart-prod-name {
  font-size: .82rem; font-weight: 600; color: #222;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.bgg-cart-variant {
  font-size: .7rem; color: #888;
  display: flex; align-items: center; gap: 3px;
}

/* Price / line total */
.bgg-cart-price { font-size: .82rem; color: #666; }
.bgg-cart-line  { font-size: .88rem; font-weight: 800; color: var(--primary, #FF6600); }

/* Qty controls */
.bgg-cart-qty { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; width: fit-content; }
.bgg-qty-btn {
  width: 32px; height: 34px; border: none; background: #f7f7f7;
  color: #444; font-size: .95rem; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.bgg-qty-btn:hover { background: var(--primary, #FF6600); color: #fff; }
.bgg-qty-input {
  width: 44px; height: 34px; border: none;
  border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0;
  text-align: center; font-size: .82rem; font-weight: 700; color: #111; outline: none;
}

/* Remove button */
.bgg-cart-remove {
  width: 34px; height: 34px; border: 1px solid #ffcdd2; border-radius: 4px;
  background: #fff; color: #e53935; cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.bgg-cart-remove:hover { background: #e53935; color: #fff; border-color: #e53935; }

/* Footer row */
.bgg-cart-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-top: 1px solid #f0f0f0; background: #fafafa;
  flex-wrap: wrap; gap: 10px;
}
.bgg-cart-continue {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 600; color: #555;
  text-decoration: none; transition: color .15s;
}
.bgg-cart-continue:hover { color: var(--primary, #FF6600); }
.bgg-cart-clear {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 600; color: #e53935;
  border: 1px solid #ffcdd2; background: #fff;
  padding: 6px 14px; border-radius: 4px; cursor: pointer;
  transition: background .15s;
}
.bgg-cart-clear:hover { background: #ffebee; }

/* Summary panel */
.bgg-cart-summary {
  width: 320px; flex-shrink: 0;
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  overflow: hidden; position: sticky; top: 80px;
}
@media (max-width: 900px) { .bgg-cart-summary { width: 100%; position: static; } }

.bgg-summary-head {
  font-size: .9rem; font-weight: 800; color: #111;
  padding: 14px 18px; background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.bgg-summary-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.bgg-summary-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: #555;
}
.bgg-summary-row strong { color: #111; font-weight: 700; }
.bgg-free-ship { color: #22c55e !important; font-size: .82rem; }
.bgg-summary-divider { height: 1px; background: #f0f0f0; }
.bgg-summary-total { font-size: 1rem; font-weight: 800; }
.bgg-summary-total span { color: #111; }
.bgg-summary-total strong { font-size: 1.2rem; color: var(--primary, #FF6600); }

.bgg-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: calc(100% - 36px); margin: 0 18px 14px;
  background: var(--primary, #FF6600); color: #fff;
  border: none; border-radius: 6px; padding: 13px;
  font-size: .9rem; font-weight: 800; cursor: pointer;
  transition: background .15s;
}
.bgg-checkout-btn:hover { background: #e55a00; }

.bgg-summary-trust {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 0 18px 12px; font-size: .72rem; color: #888; flex-wrap: wrap;
}
.bgg-summary-trust span { display: flex; align-items: center; gap: 4px; }
.bgg-summary-trust i { color: var(--primary, #FF6600); }

.bgg-summary-payments {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px 16px; border-top: 1px solid #f0f0f0;
}
.bgg-summary-payments img { height: 22px; opacity: .7; }

/* ============================================================
   CHECKOUT PAGE (bgg-co-*)
   ============================================================ */
.bgg-checkout-steps { background: #fff; border-bottom: 1px solid #f0f0f0; padding: 14px 0; }
.bgg-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.bgg-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bgg-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #e0e0e0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #bbb;
}
.bgg-step.active .bgg-step-num { border-color: var(--primary,#FF6600); background: var(--primary,#FF6600); color: #fff; }
.bgg-step.done .bgg-step-num { border-color: #22c55e; background: #22c55e; color: #fff; font-size: .9rem; }
.bgg-step-label { font-size: .72rem; font-weight: 600; color: #bbb; }
.bgg-step.active .bgg-step-label { color: var(--primary,#FF6600); }
.bgg-step.done  .bgg-step-label { color: #22c55e; }
.bgg-step-line { flex: 1; max-width: 80px; height: 2px; background: #e0e0e0; }
.bgg-step-line.done { background: #22c55e; }

.bgg-co-page { padding: 24px 0 48px; background: #f5f5f5; }
.bgg-co-layout { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 900px) { .bgg-co-layout { flex-direction: column; } }

/* Card */
.bgg-co-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.bgg-co-left  { flex: 1; min-width: 0; }
.bgg-co-right { width: 300px; flex-shrink: 0; position: sticky; top: 80px; }
@media (max-width: 900px) { .bgg-co-right { width: 100%; position: static; } }

.bgg-co-card-head {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 800; color: #111;
  padding: 13px 18px; background: #fafafa; border-bottom: 1px solid #f0f0f0;
}
.bgg-co-card-head i { color: var(--primary,#FF6600); }
.bgg-co-card-body { padding: 16px 18px; }
.bgg-co-card-foot { padding: 0 18px 18px; }

/* Shipping address */
.bgg-co-addr { display: flex; flex-direction: column; gap: 8px; }
.bgg-co-addr-row { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: #333; }
.bgg-co-addr-row i { color: var(--primary,#FF6600); font-size: .9rem; width: 16px; flex-shrink: 0; }
.bgg-co-edit-addr {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .75rem; font-weight: 600; color: var(--primary,#FF6600);
  text-decoration: none; margin-top: 10px;
  border: 1px solid var(--primary,#FF6600); padding: 4px 12px; border-radius: 4px;
  transition: background .15s;
}
.bgg-co-edit-addr:hover { background: #fff3e6; }
.bgg-co-no-addr { font-size: .84rem; color: #888; margin: 0; }
.bgg-co-no-addr a { color: var(--primary,#FF6600); }

/* Order items list */
.bgg-co-items { padding: 8px 0; }
.bgg-co-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px; text-align: center; }
.bgg-co-empty img { max-width: 100px; opacity: .65; }
.bgg-co-empty p { font-size: .84rem; color: #888; margin: 0; }
.bgg-co-empty a { color: var(--primary,#FF6600); }

.bgg-co-item {
  display: grid;
  grid-template-columns: 60px 1fr 130px 90px 36px;
  align-items: center; gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid #f8f8f8;
  transition: background .15s;
}
.bgg-co-item:last-child { border-bottom: none; }
.bgg-co-item:hover { background: #fafafa; }
@media (max-width: 640px) {
  .bgg-co-item { grid-template-columns: 56px 1fr 100px 36px; }
  .bgg-co-item-line { display: none; }
}
.bgg-co-item-img { width: 60px; height: 60px; border-radius: 6px; object-fit: contain; border: 1px solid #f0f0f0; background: #fafafa; padding: 3px; }
.bgg-co-item-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bgg-co-item-name { font-size: .8rem; font-weight: 600; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bgg-co-item-var  { font-size: .68rem; color: #999; display: flex; align-items: center; gap: 3px; }
.bgg-co-item-price{ font-size: .75rem; color: #888; }
.bgg-co-item-line { font-size: .85rem; font-weight: 800; color: var(--primary,#FF6600); text-align: right; }

/* Order summary card */
.bgg-co-sum-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #555; padding: 4px 0; }
.bgg-co-sum-row strong { color: #111; font-weight: 700; }
.bgg-co-sum-divider { height: 1px; background: #f0f0f0; margin: 10px 0; }
.bgg-co-sum-total { font-size: 1rem; font-weight: 800; padding-top: 4px; }
.bgg-co-sum-total strong { font-size: 1.3rem; color: var(--primary,#FF6600); }

.bgg-place-order-btn {
  width: 100%; background: var(--primary,#FF6600); color: #fff;
  border: none; border-radius: 6px; padding: 14px;
  font-size: .92rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s; margin-bottom: 12px;
}
.bgg-place-order-btn:hover { background: #e55a00; }
.bgg-place-order-btn:disabled { opacity: .7; cursor: not-allowed; }

.bgg-co-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .72rem; color: #888; margin-bottom: 12px;
}
.bgg-co-secure i { color: #22c55e; }
.bgg-co-pay-icons { display: flex; justify-content: center; gap: 8px; }
.bgg-co-pay-icons img { height: 20px; opacity: .65; }


/* Nav left-align */
.ox-navbar .ox-wrap{justify-content:flex-start;}
.ox-navbar .ox-wrap .ox-nav-menu{margin-left:0;}
.bgg-sidebar { max-height: 350px; }

/* ─── Hot Categories — Icon Cards ─────────────────────── */
.bgg-hot-cate-row { display: flex; gap: 12px; align-items: stretch; }

/* Featured card (left) */
.bgg-hot-feat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  min-height: 200px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bgg-hot-feat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.22); color: #fff; }
.bgg-hot-feat-icon-wrap { font-size: 44px; line-height: 1; }
.bgg-hot-feat-info { text-align: center; }
.bgg-hot-feat-name { display: block; font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.bgg-hot-feat-go { display: inline-flex; align-items: center; gap: 2px; font-size: .78rem; font-weight: 600; opacity: .9; }

/* Right grid */
.bgg-hot-right-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Individual icon cards */
.bgg-hot-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px;
  border-radius: 10px;
  text-decoration: none;
  background: #f7f7f7;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 90px;
}
.bgg-hot-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.bgg-hot-cat-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.bgg-hot-cat-label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  text-align: center;
  line-height: 1.3;
}

/* Disc list — 4 products in 2x2 grid */
.bgg-disc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bgg-disc-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  background: #fafafa;
  transition: box-shadow 0.15s;
}
.bgg-disc-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bgg-disc-img { aspect-ratio: 1/1; overflow: hidden; }
.bgg-disc-img img { width: 100%; height: 100%; object-fit: cover; }
.bgg-disc-price {
  font-size: 11px; font-weight: 700;
  color: var(--primary, #FF6600);
  padding: 4px 6px;
}

@media (max-width: 768px) {
  .bgg-hot-cate-row { flex-direction: column; }
  .bgg-hot-right-grid { grid-template-columns: repeat(3, 1fr); }
  .bgg-hot-feat-card { min-height: 120px; }
}
@media (max-width: 480px) {
  .bgg-hot-right-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Promo Banner Slider ─────────────────────────────────────────────────── */
.bgg-promo-section { padding: 0 0 28px; }
.bgg-promo-swiper { width: 100%; overflow: hidden; border-radius: 14px; }
.bgg-promo-slide {
  display: flex; align-items: center; gap: 24px;
  padding: 32px 36px; border-radius: 14px; text-decoration: none;
  min-height: 160px; cursor: pointer; transition: opacity .2s;
}
.bgg-promo-slide:hover { opacity: .92; }
.bgg-promo-icon { font-size: 64px; color: rgba(255,255,255,.9); line-height: 1; flex-shrink: 0; }
.bgg-promo-text { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.bgg-promo-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.bgg-promo-name { font-size: 26px; font-weight: 800; line-height: 1.15; }
.bgg-promo-cta { font-size: 13px; font-weight: 600; opacity: .85; display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.bgg-promo-prev, .bgg-promo-next { color: #fff !important; }
.bgg-promo-prev::after, .bgg-promo-next::after { font-size: 18px !important; font-weight: 800 !important; }
@media(max-width:639px) {
  .bgg-promo-icon { font-size: 44px; }
  .bgg-promo-name { font-size: 20px; }
  .bgg-promo-slide { padding: 24px 20px; }
}

/* ── All Products Infinite Scroll ────────────────────────────────────────── */
.bgg-all-products-section { padding: 28px 0 48px; }
.bgg-sentinel { display: flex; justify-content: center; align-items: center; padding: 24px 0; min-height: 48px; }
.bgg-sentinel-loader { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; }
@keyframes bgg-spin { to { transform: rotate(360deg); } }
.bgg-spin { display: inline-block; animation: bgg-spin .8s linear infinite; }

/* ── Hot Categories — product image layout ──────────────────────────────── */
.bgg-hot-cate-section { padding: 0 0 28px; }
.bgg-hot-cate-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  align-items: start;
}
/* Featured left box */
.bgg-hot-featured {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.bgg-hot-feat-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.bgg-hot-feat-name { font-size: 14px; font-weight: 700; color: #222; }
.bgg-hot-feat-more { font-size: 12px; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.bgg-hot-feat-more:hover { text-decoration: underline; }
.bgg-hot-feat-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
}
.bgg-hot-feat-pi {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f8f8f8;
}
.bgg-hot-feat-pi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform .2s;
}
.bgg-hot-feat-pi:hover img { transform: scale(1.06); }
.bgg-hot-feat-pi--empty {
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #888;
  text-decoration: none;
  padding: 8px;
  text-align: center;
}
.bgg-hot-feat-pi--empty i { font-size: 28px; color: var(--primary); }

/* Right 3x2 grid */
.bgg-hot-right-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bgg-hot-cat-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.bgg-hot-cat-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
  border-bottom: 1px solid #f0f0f0;
}
.bgg-hot-cat-name { font-size: 12px; font-weight: 700; color: #222; line-height: 1.3; }
.bgg-hot-cat-more { font-size: 11px; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 1px; white-space: nowrap; flex-shrink: 0; }
.bgg-hot-cat-prow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 6px;
}
.bgg-hot-cat-pi {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #f8f8f8;
  border-radius: 4px;
  overflow: hidden;
}
.bgg-hot-cat-pi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  transition: transform .2s;
}
.bgg-hot-cat-pi:hover img { transform: scale(1.08); }
.bgg-hot-cat-pi--empty {
  font-size: 22px;
  color: var(--primary);
  text-decoration: none;
}
@media(max-width:900px) {
  .bgg-hot-cate-row { grid-template-columns: 1fr; }
  .bgg-hot-right-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:480px) {
  .bgg-hot-right-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Load More Button ────────────────────────────────────────────────────── */
.bgg-load-more-wrap { display:flex; justify-content:center; padding:32px 0 8px; }
.bgg-load-more-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 40px; border-radius:8px;
  background:var(--primary); color:#fff;
  font-size:15px; font-weight:700; border:none; cursor:pointer;
  transition:background .2s, transform .15s;
}
.bgg-load-more-btn:hover { background:var(--primary-dark); transform:translateY(-1px); }
.bgg-load-more-btn:disabled { opacity:.7; cursor:not-allowed; transform:none; }

/* ── Carousel equal-height slides ───────────────────────────────────────── */
.bgg-flash-swiper .swiper-wrapper,
.bgg-coll-swiper .swiper-wrapper { align-items: stretch; }
.bgg-flash-swiper .swiper-slide,
.bgg-coll-swiper .swiper-slide { height: auto !important; display: flex; flex-direction: column; }
.bgg-flash-swiper .swiper-slide > *,
.bgg-coll-swiper .swiper-slide > * { flex: 1; display: flex; flex-direction: column; width: 100%; }

/* ── Top Brands — always show 4 equal columns ───────────────────────────── */
.bgg-brands-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.bgg-brand-item { flex: unset; }
