@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============================================================
   Section 1: CSS Variables & Reset
   ============================================================ */
:root {
  --bw-primary: #1B2E5C;
  --bw-accent: #E8734A;
  --bw-text: #4A5578;
  --bw-muted: #8B95A8;
  --bw-border: #E8ECF1;
  --bw-border-light: #F3F5F8;
  --bw-bg: #FFFFFF;
  --bw-bg-secondary: #F7F8FA;
  --bw-heading: #0F1D3D;
  --bw-success: #16a34a;
  --bw-warning: #d97706;
  --bw-danger: #dc2626;
  --bw-info: #0284c7;
  --bw-radius: 8px;
  --bw-radius-sm: 4px;
  --bw-radius-pill: 40px;
  --bw-shadow: 0 1px 3px rgba(27,46,92,0.06);
  --bw-shadow-lg: 0 4px 16px rgba(27,46,92,0.08);
  --bw-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--bw-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bw-text);
  background: var(--bw-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  font-size: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--bw-heading);
  line-height: 1.3;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

/* ============================================================
   Section 0: Image Containers + Body Scroll Lock
   ============================================================ */
body.bw-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.bw-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bw-bg);
}

.bw-product-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bw-pd-main-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
}

.bw-pd-main-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bw-blog-img {
  overflow: hidden;
  background: var(--bw-bg-secondary);
}

.bw-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bw-pd-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bw-bg);
  transition: border-color 0.2s ease;
}

.bw-pd-thumb:hover,
.bw-pd-thumb.active {
  border-color: var(--bw-accent);
}

.bw-pd-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================================================
   Section 2: Container
   ============================================================ */
.bw-container {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   Section 3: Top Bar
   ============================================================ */
.bw-topbar {
  background: var(--bw-border-light);
  font-size: 12px;
  padding: 5px 0;
  color: var(--bw-text);
  border-bottom: 1px solid var(--bw-border);
}

.bw-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bw-topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bw-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bw-topbar__link {
  color: var(--bw-primary);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.bw-topbar__link i,
.bw-topbar__link svg {
  color: var(--bw-accent);
  font-size: 12px;
}

.bw-topbar__link:hover {
  color: var(--bw-accent);
}

.bw-topbar__text {
  color: var(--bw-text);
  font-size: 12px;
}

/* ============================================================
   Section 4: Navbar
   ============================================================ */
.bw-navbar {
  background: var(--bw-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--bw-border);
}

.bw-navbar__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.bw-navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bw-navbar__logo-img {
  height: 36px;
  width: auto;
}

.bw-navbar__logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--bw-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.bw-navbar__search {
  flex-grow: 1;
  max-width: 480px;
  position: relative;
}

.bw-search-form {
  position: relative;
  width: 100%;
}

.bw-search-form__input {
  width: 100%;
  border: 2px solid var(--bw-border);
  border-radius: 40px;
  padding: 10px 48px 10px 20px;
  background: var(--bw-bg);
  font-size: 14px;
  color: var(--bw-heading);
  transition: border-color 0.2s ease;
}

.bw-search-form__input::placeholder {
  color: var(--bw-muted);
}

.bw-search-form__input:focus {
  border-color: var(--bw-accent);
}

.bw-search-form__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: var(--bw-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bw-search-form__btn:hover {
  background: var(--bw-primary);
}

.bw-search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow-lg);
  z-index: 1001;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.bw-search-suggestions.active,
.bw-search-suggestions.show {
  display: block;
}

.bw-search-suggestions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--bw-text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.bw-search-suggestions__item:hover {
  background: var(--bw-bg-secondary);
}

.bw-search-suggestions__item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--bw-radius-sm);
}

.bw-navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.bw-navbar__action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bw-primary);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bw-navbar__action:hover {
  color: var(--bw-accent);
}

.bw-navbar__action i,
.bw-navbar__action svg {
  font-size: 20px;
}

.bw-navbar__action-icon {
  font-size: 20px;
  position: relative;
}

.bw-navbar__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--bw-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.bw-navbar__action-label {
  font-size: 13px;
  font-weight: 500;
}

.bw-navbar__mobile-actions {
  display: none;
}

.bw-navbar__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--bw-primary);
  font-size: 22px;
  cursor: pointer;
}

.bw-navbar__mobile-search {
  display: none;
}

/* ============================================================
   Section 5: User Dropdown
   ============================================================ */
.bw-dropdown {
  position: relative;
}

.bw-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--bw-primary);
  font-size: 14px;
  font-weight: 500;
}

.bw-dropdown__toggle:hover {
  color: var(--bw-accent);
}

.bw-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow-lg);
  min-width: 200px;
  z-index: 1002;
  display: none;
  animation: bw-slideIn 0.15s ease;
}

.bw-dropdown__menu.active,
.bw-dropdown__menu.show {
  display: block;
}

.bw-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--bw-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.bw-dropdown__item:hover {
  background: var(--bw-bg-secondary);
  color: var(--bw-accent);
}

.bw-dropdown__item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  color: var(--bw-muted);
}

.bw-dropdown__item:hover i {
  color: var(--bw-accent);
}

.bw-dropdown__divider {
  height: 1px;
  background: var(--bw-border);
  margin: 4px 0;
}

/* ============================================================
   Section 6: Mobile Drawer
   ============================================================ */
.bw-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
}

.bw-mobile-drawer.active,
.bw-mobile-drawer.open {
  display: block;
}

.bw-mobile-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 29, 61, 0.5);
}

.bw-mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--bw-bg);
  overflow-y: auto;
  animation: bw-drawer-slide 0.25s ease;
  z-index: 1;
}

@keyframes bw-drawer-slide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.bw-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bw-border);
}

.bw-mobile-drawer__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bw-muted);
  cursor: pointer;
}

.bw-mobile-drawer__close:hover {
  color: var(--bw-danger);
}

.bw-mobile-drawer__body {
  padding: 16px 0;
}

.bw-mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bw-primary);
  transition: background 0.15s ease;
}

.bw-mobile-drawer__link:hover {
  background: var(--bw-bg-secondary);
  color: var(--bw-accent);
}

.bw-mobile-drawer__link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--bw-muted);
}

.bw-mobile-drawer__divider {
  height: 1px;
  background: var(--bw-border);
  margin: 8px 0;
}

/* ============================================================
   Section 6b: Mobile Bottom Nav
   ============================================================ */
.bw-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bw-bg);
  border-top: 1px solid var(--bw-border);
  z-index: 999;
  padding: 6px 0;
  box-shadow: 0 -2px 8px rgba(27,46,92,0.06);
}

.bw-mobile-bottom-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.bw-mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  color: var(--bw-muted);
  position: relative;
  transition: color 0.2s ease;
}

.bw-mobile-bottom-nav__item i {
  font-size: 20px;
}

.bw-mobile-bottom-nav__item:hover,
.bw-mobile-bottom-nav__item.active {
  color: var(--bw-accent);
}

.bw-mobile-bottom-nav__badge {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--bw-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ============================================================
   Section 7: Category Nav Bar
   ============================================================ */
.bw-catnav {
  background: var(--bw-bg);
  border-bottom: 1px solid var(--bw-border);
  position: sticky;
  top: 68px;
  z-index: 999;
}

.bw-catnav__inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bw-catnav__inner::-webkit-scrollbar {
  display: none;
}

.bw-catnav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bw-text);
  padding: 10px 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  position: relative;
}

.bw-catnav__link:hover {
  color: var(--bw-accent);
}

.bw-catnav__link--active {
  color: var(--bw-accent);
}

.bw-catnav__link--offers {
  color: var(--bw-accent);
  font-weight: 700;
}

.bw-catnav__link i {
  font-size: 12px;
}

/* ============================================================
   Section 8: Mega Menu
   ============================================================ */
.bw-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-top: none;
  box-shadow: var(--bw-shadow-lg);
  padding: 24px;
  z-index: 998;
  display: none;
  animation: bw-slideIn 0.15s ease;
}

.bw-mega-menu.active,
.bw-mega-menu.show {
  display: block;
}

.bw-mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bw-mega-menu__col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--bw-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bw-border);
}

.bw-mega-menu__link {
  display: block;
  font-size: 13px;
  color: var(--bw-muted);
  padding: 4px 0;
  transition: color 0.15s ease;
}

.bw-mega-menu__link:hover {
  color: var(--bw-accent);
}

/* ============================================================
   Section 9: Hero Section
   ============================================================ */
/* Hero - centered search layout */
.bw-hero-section {
  background: linear-gradient(160deg, #0f2b0a 0%, #1e4d14 35%, #2a6b1c 70%, #1e4d14 100%);
  padding: 65px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bw-hero-center { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.bw-hero-title {
  font-size: 40px; font-weight: 800; color: #fff; line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.3px;
}
.bw-hero-highlight { color: #a8e063; }
.bw-hero-desc { font-size: 16px; color: rgba(255,255,255,0.65); margin: 0 0 28px; line-height: 1.6; }
.bw-hero-search {
  display: flex; align-items: center; background: #fff; border-radius: 50px; padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18); max-width: 580px; margin: 0 auto 22px;
}
.bw-hero-search i { color: #94a3b8; font-size: 18px; flex-shrink: 0; }
.bw-hero-search input {
  flex: 1; border: none; outline: none; padding: 12px 14px; font-size: 15px; background: transparent; min-width: 0;
}
.bw-hero-search .rts-btn { border-radius: 40px; padding: 10px 28px; flex-shrink: 0; }
.bw-hero-tags { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.bw-hero-tags__label { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 500; }
.bw-hero-tags a {
  font-size: 13px; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1);
  padding: 4px 14px; border-radius: 20px; text-decoration: none; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
}
.bw-hero-tags a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.bw-hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.bw-hero-wave svg { width: 100%; height: 50px; }

/* Promise strip */
.bw-promise-strip { background: #f8f9fa; padding: 22px 0; border-bottom: 1px solid #e5e7eb; }
.bw-promise-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bw-promise {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; justify-content: center;
}
.bw-promise i { font-size: 24px; color: #629D23; flex-shrink: 0; }
.bw-promise strong { display: block; font-size: 14px; color: #1e293b; }
.bw-promise span { font-size: 12px; color: #94a3b8; }

@media (max-width: 991px) {
  .bw-hero-section { padding: 45px 0 65px; }
  .bw-hero-title { font-size: 32px; }
  .bw-promise-row { gap: 20px; }
  .bw-promise { min-width: 160px; }
}
@media (max-width: 575px) {
  .bw-hero-section { padding: 35px 0 55px; }
  .bw-hero-title { font-size: 26px; }
  .bw-hero-desc { font-size: 14px; }
  .bw-hero-search { border-radius: 12px; padding: 4px 4px 4px 14px; }
  .bw-hero-search .rts-btn { border-radius: 10px; padding: 10px 18px; }
  .bw-promise-row { justify-content: center; }
  .bw-promise { flex: 0 0 45%; }
}

/* ============================================================
   Section 9b: Product Assurance Sidebar
   ============================================================ */
.bw-assurance-box {
  background: #f8faf5;
  border: 1px solid #e2e8d8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.bw-assurance-box__header {
  background: #1a3a0e;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bw-assurance-box__header i { color: #a8e063; font-size: 16px; }
.bw-assurance-box__list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.bw-assurance-box__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #eef2e7;
}
.bw-assurance-box__list li:last-child { border-bottom: none; }
.bw-assurance-box__list li i {
  color: #629D23;
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   Section 10: Section Wrappers
   ============================================================ */
.bw-section {
  padding: 50px 0;
}

.bw-section-alt {
  padding: 50px 0;
  background: var(--bw-bg-secondary);
}

.bw-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.bw-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--bw-primary);
}

.bw-view-all {
  color: var(--bw-accent);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.bw-view-all:hover {
  text-decoration: underline;
  color: var(--bw-accent);
}

.bw-seo-heading,
.bw-main-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Section 11: Category Grid
   ============================================================ */
.bw-category-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.bw-category-scroll::-webkit-scrollbar {
  display: none;
}

.bw-category-circle {
  flex: 0 0 auto;
  text-align: center;
  width: 100px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  cursor: pointer;
}

.bw-category-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bw-bg-secondary);
  border: 2px solid var(--bw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.bw-category-icon-wrap i,
.bw-category-icon-wrap svg {
  font-size: 24px;
  color: var(--bw-primary);
  transition: color 0.25s ease;
}

.bw-category-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.bw-category-circle:hover .bw-category-icon-wrap {
  background: var(--bw-accent);
  border-color: var(--bw-accent);
  transform: scale(1.05);
}

.bw-category-circle:hover .bw-category-icon-wrap i,
.bw-category-circle:hover .bw-category-icon-wrap svg {
  color: #fff;
}

.bw-category-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bw-primary);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   Section 12: Product Cards
   ============================================================ */
.bw-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.bw-product-grid--featured {
  grid-template-columns: repeat(2, 1fr);
}

.bw-product-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.bw-product-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.bw-product-scroll::-webkit-scrollbar {
  display: none;
}

.bw-product-scroll .bw-product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.bw-product-card {
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bw-product-card:hover {
  box-shadow: var(--bw-shadow-lg);
  border-color: transparent;
}

.bw-badge {
  position: absolute;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--bw-radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
  color: #fff;
}

.bw-badge-discount {
  top: 8px;
  left: 8px;
  background: var(--bw-accent);
}

.bw-badge-rx {
  top: 8px;
  left: 8px;
  background: var(--bw-warning);
}

.bw-badge-discount + .bw-badge-rx {
  top: 30px;
}

.bw-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bw-bg);
  color: #ccc;
  border: none;
  box-shadow: var(--bw-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s ease;
}

.bw-wishlist-btn:hover,
.bw-wishlist-btn.active {
  color: var(--bw-accent);
}

.bw-product-card .bw-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 180px;
  background: var(--bw-bg);
  border-bottom: 1px solid var(--bw-border-light);
}

.bw-product-card .bw-product-img img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bw-product-card:hover .bw-product-img img {
  transform: scale(1.05);
}

.bw-product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.bw-product-brand {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bw-muted);
  font-weight: 600;
}

.bw-product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--bw-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.bw-product-name:hover {
  color: var(--bw-accent);
}

.bw-product-pack {
  font-size: 11px;
  color: var(--bw-muted);
}

.bw-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bw-rating-badge {
  background: var(--bw-accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.bw-product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.bw-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--bw-accent);
}

.bw-mrp {
  font-size: 12px;
  color: var(--bw-muted);
  text-decoration: line-through;
}

.bw-discount-text {
  font-size: 11px;
  color: var(--bw-success);
  font-weight: 600;
}

.bw-product-action {
  padding: 0 12px 12px;
  margin-top: 8px;
}

.bw-btn-cart {
  width: 100%;
  padding: 8px;
  background: transparent;
  border: 1.5px solid var(--bw-accent);
  color: var(--bw-accent);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.bw-btn-cart:hover {
  background: var(--bw-accent);
  color: #fff;
}

.bw-btn-disabled {
  width: 100%;
  padding: 8px;
  background: var(--bw-border-light);
  color: var(--bw-muted);
  border-radius: 40px;
  border: 1.5px solid var(--bw-border);
  font-size: 13px;
  font-weight: 600;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Section 13: Trust Section
   ============================================================ */
.bw-trust-section {
  background: var(--bw-bg-secondary);
  padding: 50px 0;
}

.bw-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bw-trust-card {
  text-align: center;
  padding: 24px 16px;
}

.bw-trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  color: var(--bw-accent);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.bw-trust-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--bw-primary);
  margin-bottom: 4px;
}

.bw-trust-text {
  font-size: 12px;
  color: var(--bw-muted);
  line-height: 1.5;
}

/* ============================================================
   Section 14: Footer
   ============================================================ */
.bw-footer {
  background: var(--bw-bg);
  color: var(--bw-primary);
  border-top: 1px solid var(--bw-border);
}

.bw-footer__main {
  padding: 48px 0 32px;
}

.bw-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bw-bg-secondary);
  border-radius: var(--bw-radius);
  padding: 24px;
  margin-bottom: 28px;
  gap: 24px;
}

.bw-footer__cta-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--bw-primary);
}

.bw-footer__cta-brand span {
  color: var(--bw-accent);
}

.bw-footer__cta-newsletter {
  display: flex;
  align-items: center;
  gap: 0;
}

.bw-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.bw-footer__logo {
  margin-bottom: 12px;
}

.bw-footer__logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--bw-primary);
}

.bw-footer__desc {
  font-size: 13px;
  color: var(--bw-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.bw-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bw-footer__badge {
  background: var(--bw-bg-secondary);
  color: var(--bw-primary);
  font-size: 11px;
  border-radius: var(--bw-radius-sm);
  padding: 4px 10px;
  font-weight: 500;
}

.bw-footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--bw-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.bw-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-footer__links a {
  font-size: 13px;
  color: var(--bw-muted);
  transition: color 0.2s ease;
}

.bw-footer__links a:hover {
  color: var(--bw-accent);
}

.bw-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bw-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--bw-muted);
}

.bw-footer__contact-item i {
  color: var(--bw-accent);
  font-size: 14px;
  margin-top: 2px;
}

.bw-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.bw-footer__social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bw-bg-secondary);
  color: var(--bw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.bw-footer__social-icon:hover {
  background: var(--bw-accent);
  color: #fff;
}

.bw-footer__newsletter {
  display: flex;
  margin-top: 14px;
}

.bw-footer__newsletter-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--bw-border);
  border-radius: 40px 0 0 40px;
  background: var(--bw-bg);
  font-size: 13px;
  color: var(--bw-heading);
}

.bw-footer__newsletter-input::placeholder {
  color: var(--bw-muted);
}

.bw-footer__newsletter-btn {
  padding: 10px 20px;
  background: var(--bw-accent);
  color: #fff;
  border: none;
  border-radius: 0 40px 40px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bw-footer__newsletter-btn:hover {
  background: var(--bw-primary);
}

.bw-footer__bottom {
  border-top: 1px solid var(--bw-border);
  padding: 16px 0;
}

.bw-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bw-footer__copyright {
  font-size: 12px;
  color: var(--bw-muted);
}

.bw-footer__payment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-footer__payment-icon {
  font-size: 22px;
  color: var(--bw-muted);
}

.bw-footer__payment-badge {
  background: var(--bw-bg-secondary);
  color: var(--bw-primary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--bw-radius-sm);
  font-weight: 500;
}

/* ============================================================
   Section 15: Alerts / Flash Messages
   ============================================================ */
/* Global Toast Notification System */
.bw-toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
  width: calc(100% - 32px);
}
.bw-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  font-size: 14px;
  line-height: 1.4;
  color: #1e293b;
  animation: bwToastIn 0.3s ease;
  border-left: 4px solid #629D23;
  position: relative;
  overflow: hidden;
}
.bw-toast--error { border-left-color: #dc2626; }
.bw-toast--warning { border-left-color: #f59e0b; }
.bw-toast--info { border-left-color: #3b82f6; }
.bw-toast__icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }
.bw-toast--success .bw-toast__icon { color: #629D23; }
.bw-toast--error .bw-toast__icon { color: #dc2626; }
.bw-toast--warning .bw-toast__icon { color: #f59e0b; }
.bw-toast--info .bw-toast__icon { color: #3b82f6; }
.bw-toast__body { flex: 1; min-width: 0; }
.bw-toast__close {
  background: none; border: none; font-size: 18px; color: #94a3b8; cursor: pointer;
  padding: 0; line-height: 1; flex-shrink: 0; margin-left: 4px;
}
.bw-toast__close:hover { color: #475569; }
.bw-toast__progress {
  position: absolute; bottom: 0; left: 0; height: 3px; background: currentColor; opacity: 0.2;
  animation: bwToastProgress 4s linear forwards;
}
.bw-toast.bw-toast--out { animation: bwToastOut 0.25s ease forwards; }
@keyframes bwToastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bwToastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }
@keyframes bwToastProgress { from { width: 100%; } to { width: 0%; } }

/* Legacy bw-alert — hidden, replaced by toast */
.bw-alert { display: none !important; }

/* ============================================================
   Section 16: Buttons
   ============================================================ */
.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.bw-btn-primary {
  background: var(--bw-accent);
  color: #fff;
}

.bw-btn-primary:hover {
  background: var(--bw-primary);
  color: #fff;
}

.bw-btn-secondary {
  background: var(--bw-primary);
  color: #fff;
}

.bw-btn-secondary:hover {
  background: var(--bw-accent);
  color: #fff;
}

.bw-btn-accent {
  background: var(--bw-accent);
  color: #fff;
}

.bw-btn-accent:hover {
  background: #d4623c;
  color: #fff;
}

.bw-btn-outline {
  background: transparent;
  border: 1.5px solid var(--bw-primary);
  color: var(--bw-primary);
}

.bw-btn-outline:hover {
  background: var(--bw-primary);
  color: #fff;
}

.bw-btn-sm {
  padding: 7px 18px;
  font-size: 13px;
}

.bw-btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

/* ============================================================
   Section 17: Forms
   ============================================================ */
.bw-form-group {
  margin-bottom: 16px;
}

.bw-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bw-primary);
  margin-bottom: 6px;
}

.bw-input {
  width: 100%;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--bw-heading);
  background: var(--bw-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bw-input::placeholder {
  color: var(--bw-muted);
}

.bw-input:focus {
  border-color: var(--bw-accent);
  box-shadow: 0 0 0 3px rgba(232, 115, 74, 0.1);
}

textarea.bw-input {
  resize: vertical;
  min-height: 100px;
}

select.bw-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B95A8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bw-country-select {
  position: relative;
}

.bw-country-select select {
  width: 100%;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--bw-heading);
  background: var(--bw-bg);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B95A8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.bw-country-select select:focus {
  border-color: var(--bw-accent);
  box-shadow: 0 0 0 3px rgba(232, 115, 74, 0.1);
}

.bw-input-error {
  border-color: var(--bw-danger) !important;
}

.bw-error-text {
  color: var(--bw-danger);
  font-size: 12px;
  margin-top: 4px;
}

/* ============================================================
   Section 18: Breadcrumbs
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  color: var(--bw-muted);
  padding: 14px 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  padding: 0 8px;
  color: var(--bw-border);
}

.breadcrumb-item a {
  color: var(--bw-muted);
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--bw-accent);
}

.breadcrumb-item.active {
  color: var(--bw-primary);
  font-weight: 500;
}

/* ============================================================
   Section 19: Stars
   ============================================================ */
.bw-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--bw-accent);
}

.bw-stars i {
  font-size: 14px;
}

.bw-stars .empty {
  color: var(--bw-border);
}

.bw-rating-count {
  font-size: 13px;
  color: var(--bw-muted);
}

/* ============================================================
   Section 20: Status Badges
   ============================================================ */
.bw-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.bw-status-badge--success {
  background: #f0fdf4;
  color: var(--bw-success);
}

.bw-status-badge--warning {
  background: #fffbeb;
  color: var(--bw-warning);
}

.bw-status-badge--danger {
  background: #fef2f2;
  color: var(--bw-danger);
}

.bw-status-badge--info {
  background: #f0f9ff;
  color: var(--bw-info);
}

.bw-status-badge--pending {
  background: #fffbeb;
  color: var(--bw-warning);
}

.bw-status-badge--completed,
.bw-status-badge--delivered {
  background: #f0fdf4;
  color: var(--bw-success);
}

.bw-status-badge--cancelled {
  background: #fef2f2;
  color: var(--bw-danger);
}

.bw-status-badge--processing {
  background: #f0f9ff;
  color: var(--bw-info);
}

/* ============================================================
   Section 21: Pagination
   ============================================================ */
.bw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0;
}

.bw-page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--bw-radius);
  border: 1px solid var(--bw-border);
  background: var(--bw-bg);
  color: var(--bw-text);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bw-page-btn:hover {
  border-color: var(--bw-accent);
  color: var(--bw-accent);
}

.bw-page-btn.active,
.bw-page-btn--active {
  background: var(--bw-accent);
  color: #fff;
  border-color: var(--bw-accent);
}

.bw-page-btn:disabled,
.bw-page-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   Section 22: Toast
   ============================================================ */
.bw-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bw-heading);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--bw-radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--bw-shadow-lg);
  z-index: 9999;
  display: none;
  animation: bw-slideIn 0.2s ease;
}

.bw-toast.show,
.bw-toast.active {
  display: block;
}

/* ============================================================
   Section 23: Back to Top
   ============================================================ */
.bw-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bw-accent);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  box-shadow: var(--bw-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bw-back-to-top.show,
.bw-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.bw-back-to-top:hover {
  background: var(--bw-primary);
  transform: translateY(-2px);
}

/* ============================================================
   Section 24: Blog Cards
   ============================================================ */
.bw-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bw-blog-card {
  background: var(--bw-bg);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bw-blog-card:hover {
  box-shadow: var(--bw-shadow-lg);
  border-color: transparent;
}

.bw-blog-card .bw-blog-img,
.bw-blog-card__image {
  height: 200px;
  overflow: hidden;
}

.bw-blog-card .bw-blog-img img,
.bw-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bw-blog-card:hover .bw-blog-img img,
.bw-blog-card:hover .bw-blog-card__image img {
  transform: scale(1.05);
}

.bw-blog-body,
.bw-blog-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.bw-blog-category,
.bw-blog-card__category {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bw-accent);
  letter-spacing: 0.5px;
}

.bw-blog-title,
.bw-blog-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bw-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.bw-blog-title:hover,
.bw-blog-card__title:hover {
  color: var(--bw-accent);
}

.bw-blog-excerpt,
.bw-blog-card__excerpt {
  font-size: 13px;
  color: var(--bw-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bw-blog-meta,
.bw-blog-card__meta {
  font-size: 12px;
  color: var(--bw-muted);
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bw-blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bw-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bw-muted);
  font-size: 32px;
}

/* ============================================================
   Section 25: Promo Banners
   ============================================================ */
.bw-promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bw-promo-row--featured {
  grid-template-columns: repeat(2, 1fr);
}

.bw-promo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bw-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.bw-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bw-shadow-lg);
}

.bw-promo-card img {
  width: 100%;
  aspect-ratio: 600 / 280;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Section 26: Brand Row
   ============================================================ */
.bw-brands-row,
.bw-brand-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.bw-brands-row::-webkit-scrollbar,
.bw-brand-scroll::-webkit-scrollbar {
  display: none;
}

.bw-brand-card,
.bw-brand-item {
  flex: 0 0 auto;
  padding: 14px 20px;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bw-brand-card:hover,
.bw-brand-item:hover {
  border-color: var(--bw-accent);
  box-shadow: var(--bw-shadow);
}

.bw-brand-card img,
.bw-brand-item img {
  height: 44px;
  object-fit: contain;
}

.bw-brand-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--bw-primary);
  text-align: center;
}

/* ============================================================
   Section 27: Main Area
   ============================================================ */
.bw-main {
  min-height: 60vh;
}

/* ============================================================
   Animation Keyframe
   ============================================================ */
@keyframes bw-slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .bw-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bw-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-promo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  .bw-topbar {
    display: none;
  }

  .bw-navbar__inner {
    height: 56px;
    gap: 12px;
  }

  .bw-navbar__search {
    display: none;
  }

  .bw-navbar__actions {
    display: none;
  }

  .bw-navbar__mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .bw-navbar__hamburger {
    display: flex;
  }

  .bw-navbar__mobile-search {
    display: block;
    padding: 8px 20px 12px;
    border-bottom: 1px solid var(--bw-border);
  }

  .bw-mobile-bottom-nav {
    display: block;
  }

  .bw-catnav {
    top: 56px;
  }

  .bw-section {
    padding: 32px 0;
  }

  .bw-section-alt {
    padding: 32px 0;
  }

  .bw-section-title {
    font-size: 22px;
  }

  .bw-section-header {
    margin-bottom: 20px;
  }

  .bw-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bw-product-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-product-card .bw-product-img {
    min-height: 140px;
    padding: 12px;
  }

  .bw-product-card .bw-product-img img {
    max-height: 120px;
  }

  .bw-product-info {
    padding: 10px;
  }

  .bw-product-action {
    padding: 0 10px 10px;
  }

  .bw-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bw-blog-grid {
    grid-template-columns: 1fr;
  }

  .bw-promo-row {
    grid-template-columns: 1fr;
  }

  .bw-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bw-footer__cta {
    flex-direction: column;
    text-align: center;
  }

  .bw-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .bw-carousel-img {
    max-height: 240px;
    border-radius: 8px;
  }

  .bw-carousel-prev,
  .bw-carousel-next {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .bw-back-to-top {
    bottom: 72px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }

  .bw-container {
    padding: 0 16px;
  }
}

/* Small mobile: up to 480px */
@media (max-width: 480px) {
  .bw-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .bw-product-card .bw-product-img {
    min-height: 120px;
    padding: 10px;
  }

  .bw-product-card .bw-product-img img {
    max-height: 100px;
  }

  .bw-price {
    font-size: 14px;
  }

  .bw-product-name {
    font-size: 12px;
  }

  .bw-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bw-trust-card {
    padding: 16px 10px;
  }

  .bw-category-circle {
    width: 80px;
  }

  .bw-category-icon-wrap {
    width: 60px;
    height: 60px;
  }
}
/* ─── 28. Loading Skeleton ─────────────────────────── */
.bw-skeleton {
  background: var(--bw-border-light);
  border-radius: var(--bw-radius-sm);
  animation: bw-pulse 1.5s ease infinite;
}

@keyframes bw-pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}


/* ─── 29. Product Detail Page ──────────────────────── */
.bw-product-detail {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  padding: 32px 0;
}

.bw-pd-gallery {
  position: sticky;
  top: 20px;
  align-self: start;
}

.bw-pd-gallery--multi {
  display: flex;
  gap: 12px;
}

/* Vertical thumbnails column (desktop) */
.bw-pd-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.bw-pd-thumbs-col::-webkit-scrollbar {
  width: 3px;
}

.bw-pd-thumbs-col::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.bw-pd-thumb {
  width: 68px;
  height: 68px;
  border: 2px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  cursor: pointer;
  overflow: hidden;
  padding: 4px;
  transition: all 0.2s;
  background: #fff;
  flex-shrink: 0;
}

.bw-pd-thumb:hover {
  border-color: #93c5fd;
}

.bw-pd-thumb.bw-active {
  border-color: var(--bw-primary);
  box-shadow: 0 0 0 2px rgba(27, 46, 92, 0.15);
}

.bw-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Main image */
.bw-pd-main-img {
  border: 1px solid var(--bw-border-light);
  border-radius: var(--bw-radius);
  padding: 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  position: relative;
  flex: 1;
  overflow: hidden;
}

.bw-pd-main-img img {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bw-pd-main-img:has(.bw-pd-zoomable),
.bw-pd-main-img img.bw-pd-zoomable {
  cursor: zoom-in;
}

.bw-pd-main-img.bw-zoomed img.bw-pd-zoomable {
  cursor: zoom-out;
}

/* Image navigation arrows */
.bw-pd-img-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
  padding: 0 8px;
  opacity: 0;
  transition: opacity 0.2s;
}

.bw-pd-main-img:hover .bw-pd-img-nav {
  opacity: 1;
}

.bw-pd-img-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  font-size: 14px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
}

.bw-pd-img-nav-btn:hover {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

/* Image counter */
.bw-pd-img-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Zoom button */
.bw-pd-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.2s;
}

.bw-pd-main-img:hover .bw-pd-zoom-btn {
  opacity: 1;
}

.bw-pd-zoom-btn:hover {
  background: #fff;
  color: var(--bw-primary);
}

/* Lightbox */
.bw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bw-lightbox.bw-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.bw-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.bw-lightbox__img {
  max-height: 70vh;
  max-width: 85vw;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.bw-lightbox__close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bw-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.bw-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bw-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.bw-lightbox__prev {
  left: 20px;
}

.bw-lightbox__next {
  right: 20px;
}

.bw-lightbox__counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
}

.bw-lightbox__thumbs {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
  overflow-x: auto;
  max-width: 85vw;
  padding: 4px 0;
}

.bw-lightbox__thumb {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.bw-lightbox__thumb.bw-active {
  border-color: #fff;
}

.bw-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bw-pd-info {
  padding-top: 0;
}

.bw-pd-brand {
  font-size: 13px;
  color: var(--bw-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.bw-pd-name {
  font-size: 24px;
  margin: 8px 0 12px;
  color: var(--bw-heading);
  line-height: 1.3;
}

.bw-pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.bw-pd-price-block {
  background: var(--bw-bg-secondary);
  padding: 20px;
  border-radius: var(--bw-radius);
  margin-bottom: 20px;
}

.bw-pd-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bw-pd-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--bw-heading);
}

.bw-pd-mrp {
  font-size: 16px;
  color: var(--bw-muted);
  text-decoration: line-through;
}

.bw-pd-discount {
  background: #dcfce7;
  color: #166534;
  padding: 4px 12px;
  border-radius: var(--bw-radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.bw-pd-savings {
  font-size: 13px;
  color: var(--bw-secondary);
  margin-top: 8px;
}

.bw-pd-meta {
  margin-bottom: 16px;
}

.bw-pd-meta-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.bw-pd-meta-label {
  color: var(--bw-muted);
  min-width: 100px;
}

.bw-pd-rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  padding: 8px 16px;
  border-radius: var(--bw-radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.bw-pd-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
}

.bw-qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bw-border);
  background: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.bw-qty-btn:hover {
  background: var(--bw-bg-secondary);
}

.bw-qty-btn:first-child {
  border-radius: var(--bw-radius-sm) 0 0 var(--bw-radius-sm);
}

.bw-qty-btn:last-child {
  border-radius: 0 var(--bw-radius-sm) var(--bw-radius-sm) 0;
}

.bw-qty-input {
  width: 60px;
  height: 40px;
  border-top: 1px solid var(--bw-border);
  border-bottom: 1px solid var(--bw-border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.bw-pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.bw-pd-delivery {
  border-top: 1px solid var(--bw-border);
  padding-top: 16px;
}

.bw-pd-delivery-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.bw-pd-delivery-item i {
  color: var(--bw-primary);
  width: 20px;
  text-align: center;
}


/* ─── 30. Tabs ─────────────────────────────────────── */
.bw-tabs {
  margin-top: 40px;
}

.bw-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--bw-border);
  overflow-x: auto;
}

.bw-tab-nav::-webkit-scrollbar {
  display: none;
}

.bw-tab-btn {
  padding: 14px 24px;
  font-weight: 500;
  font-size: 14px;
  color: var(--bw-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
}

.bw-tab-btn.active,
.bw-tab-btn.bw-active {
  color: var(--bw-primary);
  border-bottom-color: var(--bw-primary);
}

.bw-tab-btn:hover {
  color: var(--bw-text);
}

.bw-tab-panel {
  display: none;
  padding: 24px 0;
}

.bw-tab-panel.active,
.bw-tab-panel.bw-active {
  display: block;
}

.bw-tab-panel h3,
.bw-tab-panel h4 {
  margin: 20px 0 10px;
}

.bw-tab-panel ul,
.bw-tab-panel ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.bw-tab-panel ul {
  list-style: disc;
}

.bw-tab-panel ol {
  list-style: decimal;
}

.bw-tab-panel li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.bw-tab-panel p {
  margin-bottom: 14px;
  line-height: 1.8;
}


/* ─── 31. Reviews ──────────────────────────────────── */
.bw-reviews {
  margin-top: 16px;
}

.bw-review-summary {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--bw-bg-secondary);
  border-radius: var(--bw-radius);
  margin-bottom: 24px;
}

.bw-review-avg {
  text-align: center;
  min-width: 120px;
}

.bw-review-avg-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--bw-heading);
  line-height: 1;
}

.bw-review-bars {
  flex: 1;
}

.bw-review-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
}

.bw-review-bar {
  flex: 1;
  height: 8px;
  background: var(--bw-border);
  border-radius: 4px;
  overflow: hidden;
}

.bw-review-bar-fill {
  height: 100%;
  background: var(--bw-warning);
  border-radius: 4px;
}

.bw-review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--bw-border-light);
}

.bw-review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bw-review-author {
  font-weight: 600;
  color: var(--bw-heading);
}

.bw-review-date {
  font-size: 13px;
  color: var(--bw-muted);
}

.bw-review-verified {
  color: var(--bw-secondary);
  font-size: 12px;
}


/* ─── 32. Cart Page ────────────────────────────────── */
.bw-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 32px 0;
}

.bw-cart-items {
  min-width: 0;
}

.bw-cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--bw-border-light);
  border-radius: var(--bw-radius);
  margin-bottom: 12px;
  align-items: center;
}

.bw-cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: var(--bw-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bw-bg-secondary);
}

.bw-cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bw-cart-item__info {
  flex: 1;
  min-width: 0;
}

.bw-cart-item__name {
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--bw-heading);
}

.bw-cart-item__price {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bw-cart-item__qty {
  display: flex;
  align-items: center;
}

.bw-cart-item__total {
  font-weight: 700;
  font-size: 16px;
  min-width: 80px;
  text-align: right;
  color: var(--bw-heading);
}

.bw-cart-item__remove {
  color: var(--bw-muted-light);
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.bw-cart-item__remove:hover {
  color: var(--bw-accent);
}

.bw-cart-summary {
  background: #fff;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 24px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.bw-cart-summary__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bw-border-light);
  color: var(--bw-heading);
}

.bw-cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.bw-cart-summary__row--total {
  font-size: 18px;
  font-weight: 700;
  border-top: 2px solid var(--bw-border);
  padding-top: 12px;
  margin-top: 8px;
  color: var(--bw-heading);
}

.bw-cart-summary__savings {
  color: var(--bw-secondary);
}

.bw-cart-summary__free {
  color: var(--bw-secondary);
  font-size: 12px;
}

.bw-cart-coupon {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-cart-coupon__form {
  display: flex;
  gap: 8px;
}

.bw-cart-coupon__input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  outline: none;
}

.bw-cart-coupon__input:focus {
  border-color: var(--bw-primary);
}

.bw-cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.bw-cart-empty__icon {
  font-size: 64px;
  color: var(--bw-border);
  margin-bottom: 16px;
}


/* ─── 33. Auth Pages ───────────────────────────────── */
.bw-auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.bw-auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--bw-shadow-lg);
}

.bw-auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.bw-auth-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--bw-primary);
}

.bw-auth-card__title {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--bw-heading);
}

.bw-auth-card__subtitle {
  font-size: 14px;
  color: var(--bw-muted);
}

.bw-auth-form .bw-input-icon {
  position: relative;
}

.bw-auth-form .bw-input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bw-muted-light);
}

.bw-auth-form .bw-input-icon .bw-input {
  padding-left: 42px;
}

.bw-auth-form .bw-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 16px;
}


/* ─── 34. Miscellaneous ────────────────────────────── */
.bw-divider {
  border: none;
  border-top: 1px solid var(--bw-border);
  margin: 24px 0;
}

.bw-card {
  background: #fff;
  border-radius: var(--bw-radius);
  border: 1px solid var(--bw-border-light);
  padding: 24px;
  margin-bottom: 16px;
}

.bw-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--bw-muted);
}

.bw-empty-state__icon i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--bw-border);
  display: block;
}

.bw-text-danger {
  color: var(--bw-danger);
}

.bw-text-success {
  color: var(--bw-success);
}

.bw-text-muted {
  color: var(--bw-muted);
}

/* Utility: active class for JS toggles */
.bw-active {
  /* Generic active state - specific uses defined per component */
}

/* Add to cart animation */
.add-to-cart {
  transition: all 0.2s;
}

.add-to-cart:active {
  transform: scale(0.95);
}


/* ─── 35. Utility Classes ─────────────────────────── */
.bw-py-md {
  padding-top: 32px;
  padding-bottom: 32px;
}

.bw-py-lg {
  padding-top: 48px;
  padding-bottom: 48px;
}

.bw-page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--bw-heading);
  margin-bottom: 8px;
}

.bw-page-subtitle {
  font-size: 15px;
  color: var(--bw-muted);
  margin-bottom: 24px;
}


/* ─── 36. Category / Listing Page ─────────────────── */
.bw-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.bw-product-count {
  font-size: 14px;
  color: var(--bw-muted);
  font-weight: 500;
}

.bw-filter-toggle {
  display: none;
  width: 100%;
  padding: 12px;
  background: var(--bw-primary);
  color: #fff;
  border: none;
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bw-listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.bw-sidebar {
  background: #fff;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 20px;
  position: sticky;
  top: calc(var(--bw-navbar-height) + 16px);
}

.bw-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bw-sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bw-heading);
  margin: 0;
}

.bw-sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--bw-muted);
  cursor: pointer;
}

.bw-filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--bw-border-light);
}

.bw-filter-group:last-child {
  border-bottom: none;
}

.bw-filter-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--bw-heading);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bw-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  color: var(--bw-text);
  background: #fff;
  outline: none;
  cursor: pointer;
}

.bw-select:focus {
  border-color: var(--bw-primary);
}

.bw-select-sm {
  padding: 7px 10px;
  font-size: 13px;
  width: auto;
  min-width: 160px;
}

.bw-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--bw-text);
  cursor: pointer;
}

.bw-checkbox input[type="radio"],
.bw-checkbox input[type="checkbox"] {
  accent-color: var(--bw-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.bw-checkmark {
  /* Custom checkmark span - can be used for custom styled checkboxes */
}

.bw-filter-scroll {
  max-height: 180px;
  overflow-y: auto;
}

.bw-filter-scroll::-webkit-scrollbar {
  width: 4px;
}

.bw-filter-scroll::-webkit-scrollbar-thumb {
  background: var(--bw-border);
  border-radius: 4px;
}

.bw-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.bw-listing-main {
  min-width: 0;
}

.bw-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--bw-border-light);
  border-radius: var(--bw-radius-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.bw-sort-info {
  font-size: 14px;
  color: var(--bw-muted);
}

.bw-sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-sort-label {
  font-size: 14px;
  color: var(--bw-muted);
  font-weight: 500;
}

.bw-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.bw-seo-content {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-seo-block {
  font-size: 14px;
  color: var(--bw-muted);
  line-height: 1.8;
}

.bw-seo-block h2,
.bw-seo-block h3 {
  color: var(--bw-heading);
  margin: 20px 0 8px;
}

.bw-seo-block p {
  margin-bottom: 12px;
}

.bw-seo-block ul,
.bw-seo-block ol {
  padding-left: 20px;
  margin-bottom: 12px;
  list-style: disc;
}


/* ─── 37. Product Detail - Additional ─────────────── */

.bw-pd-generic {
  font-size: 14px;
  color: var(--bw-muted);
  margin-bottom: 12px;
}

.bw-pd-generic-link {
  color: var(--bw-primary);
  font-weight: 600;
  text-decoration: none;
}

.bw-pd-generic-link:hover {
  text-decoration: underline;
}

.bw-pd-short-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bw-rating-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bw-secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  font-weight: 700;
}

.bw-rating-badge-lg i {
  font-size: 13px;
}

.bw-pd-tax-note {
  font-size: 12px;
  color: var(--bw-muted-light);
  margin-top: 8px;
}

.bw-pd-meta-value {
  font-size: 14px;
  color: var(--bw-text);
  font-weight: 500;
}

.bw-pd-rx-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 16px;
  border-radius: var(--bw-radius-sm);
  margin: 16px 0;
  font-size: 14px;
  color: #92400e;
}

.bw-pd-rx-notice i {
  font-size: 20px;
  margin-top: 2px;
}

.bw-pd-rx-notice strong {
  display: block;
  margin-bottom: 2px;
}

.bw-pd-rx-notice p {
  margin: 0;
  font-size: 13px;
}

.bw-pd-cart-section {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
  align-items: center;
}

.bw-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  overflow: hidden;
}

.bw-qty-selector .bw-qty-btn {
  border: none;
  border-radius: 0;
}

.bw-qty-selector .bw-qty-input {
  border-top: none;
  border-bottom: none;
  border-left: 1px solid var(--bw-border);
  border-right: 1px solid var(--bw-border);
  width: 50px;
  height: 40px;
}

.bw-btn-cart-main {
  flex: 1;
  min-width: 140px;
}

.bw-btn-buy {
  flex: 1;
  min-width: 120px;
}

.bw-pd-out-of-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: var(--bw-danger);
  padding: 16px;
  border-radius: var(--bw-radius-sm);
  font-weight: 600;
  font-size: 15px;
  margin: 20px 0;
}

.bw-pd-oos-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: var(--bw-danger);
  padding: 8px 16px;
  border-radius: var(--bw-radius-sm);
  font-weight: 600;
  font-size: 14px;
  margin: 12px 0;
  border: 1px solid #fecaca;
}

.bw-pd-cart-section button:disabled,
.bw-pd-cart-section input:disabled,
.bw-vt-qty-ctrl button:disabled,
.bw-vt-qty-ctrl input:disabled,
.bw-vt-action button:disabled,
.bw-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}


/* ─── 38. Tabs (Product Detail) ───────────────────── */
/* ─── Product Info Sections (Sticky Nav + Content) ─── */
.bw-info-sections {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.bw-info-nav {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: 12px;
  padding: 12px 0;
  scrollbar-width: thin;
}

.bw-info-nav::-webkit-scrollbar {
  width: 4px;
}

.bw-info-nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.bw-info-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bw-info-nav-list li {
  margin: 0;
}

.bw-info-nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bw-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}

.bw-info-nav-link:hover {
  color: var(--bw-text);
  background: #f8fafc;
  text-decoration: none;
}

.bw-info-nav-link.bw-active {
  color: var(--bw-primary);
  border-left-color: var(--bw-primary);
  background: #eff6ff;
  font-weight: 600;
}

.bw-info-content {
  min-width: 0;
}

.bw-info-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--bw-border);
}

.bw-info-block:first-child {
  padding-top: 0;
}

.bw-info-block:last-child {
  border-bottom: none;
}

.bw-info-block-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bw-heading);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bw-primary);
  display: inline-block;
}

/* Mobile: nav becomes horizontal sticky bar */
@media (max-width: 768px) {
  .bw-info-sections {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bw-info-nav {
    position: sticky;
    top: 60px;
    z-index: 50;
    max-height: none;
    overflow-y: visible;
    overflow-x: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 0;
    margin: 0 -16px;
    scrollbar-width: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .bw-info-nav::-webkit-scrollbar {
    display: none;
  }

  .bw-info-nav-list {
    display: flex;
    white-space: nowrap;
  }

  .bw-info-nav-link {
    padding: 12px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
  }

  .bw-info-nav-link.bw-active {
    border-left-color: transparent;
    border-bottom-color: var(--bw-primary);
    background: transparent;
  }

  .bw-info-nav-link:hover {
    background: transparent;
  }
}

.bw-tab-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--bw-text);
  letter-spacing: -0.006em;
}

.bw-tab-body h2,
.bw-tab-body h3,
.bw-tab-body h4 {
  margin: 20px 0 8px;
  color: var(--bw-heading);
}

.bw-tab-body p {
  margin-bottom: 12px;
}

.bw-tab-body ul,
.bw-tab-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.bw-tab-body ul {
  list-style: disc;
}

.bw-tab-body ol {
  list-style: decimal;
}

.bw-tab-body li {
  margin-bottom: 6px;
  line-height: 1.7;
}


/* ─── 39. Reviews (Product Detail) ────────────────── */
.bw-reviews-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-review-total {
  font-size: 14px;
  color: var(--bw-muted);
  margin-top: 4px;
}

.bw-bar-label {
  font-size: 13px;
  color: var(--bw-muted);
  min-width: 36px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.bw-bar-label i {
  color: var(--bw-warning);
  font-size: 11px;
}

.bw-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bw-border);
  border-radius: 4px;
  overflow: hidden;
}

.bw-bar-fill {
  height: 100%;
  background: var(--bw-warning);
  border-radius: 4px;
  transition: width 0.3s;
}

.bw-bar-count {
  font-size: 13px;
  color: var(--bw-muted);
  min-width: 24px;
  text-align: right;
}

.bw-review-list {
  margin-top: 24px;
}

.bw-review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bw-review-title {
  font-size: 15px;
  color: var(--bw-heading);
}

.bw-verified-badge {
  font-size: 12px;
  color: var(--bw-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.bw-review-text {
  font-size: 14px;
  color: var(--bw-text);
  line-height: 1.7;
  margin: 8px 0;
}

.bw-review-pros {
  font-size: 14px;
  color: var(--bw-secondary);
  margin: 4px 0;
}

.bw-review-pros i,
.bw-review-cons i {
  margin-right: 4px;
}

.bw-review-cons {
  font-size: 14px;
  color: var(--bw-danger);
  margin: 4px 0;
}

.bw-review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
}

.bw-no-reviews {
  text-align: center;
  padding: 32px 16px;
  color: var(--bw-muted);
  font-size: 14px;
}

.bw-review-form-wrap {
  margin-top: 32px;
  padding: 24px;
  background: var(--bw-bg-secondary);
  border-radius: var(--bw-radius);
}

.bw-review-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bw-heading);
  margin: 0 0 16px;
}

.bw-review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bw-star-picker {
  display: flex;
  gap: 4px;
}

.bw-star-pick {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--bw-border);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.bw-star-pick:hover,
.bw-star-pick.active {
  color: var(--bw-warning);
}

.bw-star-pick i.fas {
  color: var(--bw-warning);
}

.bw-review-notice {
  text-align: center;
  padding: 24px;
  color: var(--bw-muted);
  font-size: 14px;
  background: var(--bw-bg-secondary);
  border-radius: var(--bw-radius-sm);
  margin-top: 24px;
}

.bw-related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-badge-lg {
  font-size: 13px !important;
  padding: 5px 12px !important;
}


/* ─── 40. Blog Pages ──────────────────────────────── */
.bw-blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bw-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--bw-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--bw-muted);
  background: var(--bw-bg-secondary);
  border: 1px solid var(--bw-border-light);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.bw-pill:hover {
  border-color: var(--bw-primary);
  color: var(--bw-primary);
}

.bw-pill.bw-active {
  background: var(--bw-primary);
  color: #fff;
  border-color: var(--bw-primary);
}

.bw-blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.bw-blog-main {
  min-width: 0;
}

.bw-blog-layout .bw-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Blog card styles for listing page - standard card layout */

.bw-blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--bw-border);
  background: var(--bw-bg-secondary);
}

/* Blog Sidebar */
.bw-blog-sidebar {
  position: sticky;
  top: calc(var(--bw-navbar-height) + 16px);
}

.bw-sidebar-widget {
  background: #fff;
  border: 1px solid var(--bw-border-light);
  border-radius: var(--bw-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.bw-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bw-heading);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bw-primary);
}

.bw-widget-list {
  list-style: none;
}

.bw-widget-list li {
  margin-bottom: 0;
}

.bw-widget-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--bw-text);
  text-decoration: none;
  border-bottom: 1px solid var(--bw-border-light);
  transition: color 0.2s;
}

.bw-widget-list a:hover,
.bw-widget-list a.bw-active {
  color: var(--bw-primary);
}

.bw-widget-count {
  font-size: 12px;
  background: var(--bw-bg-secondary);
  color: var(--bw-muted);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.bw-widget-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bw-widget-post {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

.bw-widget-post img {
  width: 60px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.bw-widget-post h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--bw-heading);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bw-widget-post:hover h4 {
  color: var(--bw-primary);
}

.bw-widget-post span {
  font-size: 12px;
  color: var(--bw-muted-light);
}


/* ─── 41. Blog Detail / Article ───────────────────── */
.bw-article-layout {
  max-width: 800px;
}

.bw-article-header {
  margin-bottom: 24px;
}

.bw-article-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--bw-heading);
  margin: 8px 0 16px;
}

.bw-article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--bw-muted);
}

.bw-article-meta i {
  margin-right: 4px;
}

.bw-article-author {
  font-weight: 600;
  color: var(--bw-text);
}

.bw-article-featured-img {
  margin-bottom: 32px;
  border-radius: var(--bw-radius);
  overflow: hidden;
}

.bw-article-featured-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.bw-article-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--bw-text);
  letter-spacing: -0.006em;
  word-spacing: 0.02em;
}

.bw-article-content h2 {
  font-size: 24px;
  margin: 32px 0 12px;
}

.bw-article-content h3 {
  font-size: 20px;
  margin: 24px 0 8px;
}

.bw-article-content p {
  margin-bottom: 16px;
}

.bw-article-content ul,
.bw-article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.bw-article-content ul {
  list-style: disc;
}

.bw-article-content ol {
  list-style: decimal;
}

.bw-article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.bw-article-content img {
  border-radius: var(--bw-radius-sm);
  margin: 24px 0;
}

.bw-article-content blockquote {
  border-left: 4px solid var(--bw-primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bw-bg-secondary);
  border-radius: 0 var(--bw-radius-sm) var(--bw-radius-sm) 0;
  font-style: italic;
  color: var(--bw-muted);
}

/* Tags */
.bw-article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-tags-label {
  font-size: 14px;
  color: var(--bw-muted);
  font-weight: 600;
}

.bw-tags-label i {
  margin-right: 4px;
}

.bw-tag {
  display: inline-block;
  padding: 5px 0.7rem;
  border-radius: var(--bw-radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--bw-primary);
  background: #eff6ff;
  text-decoration: none;
  transition: all 0.2s;
}

.bw-tag:hover {
  background: var(--bw-primary);
  color: #fff;
}

/* Share */
.bw-share-section {
  margin-top: 24px;
  padding: 20px;
  background: var(--bw-bg-secondary);
  border-radius: var(--bw-radius);
}

.bw-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--bw-heading);
  margin-bottom: 12px;
  display: block;
}

.bw-share-buttons {
  display: flex;
  gap: 8px;
}

.bw-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
}

.bw-share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.bw-share-facebook {
  background: #1877f2;
}

.bw-share-twitter {
  background: #1da1f2;
}

.bw-share-whatsapp {
  background: #25d366;
}

.bw-share-linkedin {
  background: #0077b5;
}

.bw-share-copy {
  background: var(--bw-muted);
}

.bw-related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bw-border-light);
}


/* ─── 42. Search Page ─────────────────────────────── */
.bw-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.bw-search-form-wrap {
  margin-bottom: 24px;
}

.bw-search-inline {
  display: flex;
  gap: 0;
  max-width: 700px;
}

.bw-search-inline .bw-input {
  flex: 1;
  border-radius: var(--bw-radius-sm) 0 0 var(--bw-radius-sm);
  border-right: none;
}

.bw-search-inline .bw-btn {
  border-radius: 0 var(--bw-radius-sm) var(--bw-radius-sm) 0;
}

.bw-input {
  width: 100%;
  padding: 11px 0.85rem;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  color: var(--bw-text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bw-input:focus {
  border-color: var(--bw-primary);
  box-shadow: 0 0 0 3px rgba(27, 46, 92, 0.1);
}

.bw-input-lg {
  padding: 14px 16px;
  font-size: 16px;
}

.bw-search-tips {
  text-align: left;
  max-width: 500px;
  margin: 24px auto 0;
  background: var(--bw-bg-secondary);
  padding: 20px;
  border-radius: var(--bw-radius-sm);
}

.bw-search-tips h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.bw-search-tips ul {
  padding-left: 20px;
  list-style: disc;
}

.bw-search-tips li {
  font-size: 14px;
  color: var(--bw-muted);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}


/* ─── 43. Static / Contact Pages ──────────────────── */
.bw-static-page {
  max-width: 900px;
}

.bw-page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--bw-text);
}

.bw-page-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.bw-page-content h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}

.bw-page-content p {
  margin-bottom: 16px;
}

.bw-page-content ul,
.bw-page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.bw-page-content ul {
  list-style: disc;
}

.bw-page-content ol {
  list-style: decimal;
}

.bw-page-content li {
  margin-bottom: 6px;
}

.bw-contact-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bw-border-light);
}

.bw-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bw-contact-info {
  font-size: 14px;
  color: var(--bw-text);
}

.bw-contact-heading {
  font-size: 20px;
  color: var(--bw-heading);
  margin: 0 0 12px;
}

.bw-contact-details {
  margin-top: 24px;
}

.bw-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.bw-contact-item i {
  color: var(--bw-primary);
  font-size: 18px;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.bw-contact-item strong {
  display: block;
  color: var(--bw-heading);
  margin-bottom: 2px;
}

.bw-contact-item a,
.bw-contact-item p {
  font-size: 14px;
  color: var(--bw-muted);
  margin: 0;
}

.bw-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius);
  padding: 24px;
}

.bw-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bw-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  display: block;
  margin-bottom: 5px;
}

.bw-textarea {
  width: 100%;
  padding: 11px 0.85rem;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  color: var(--bw-text);
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.bw-textarea:focus {
  border-color: var(--bw-primary);
  box-shadow: 0 0 0 3px rgba(27, 46, 92, 0.1);
}

.bw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bw-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Alerts */
.bw-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--bw-radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}

.bw-alert-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.bw-alert-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.bw-alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.bw-alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.bw-alert i {
  margin-top: 2px;
  font-size: 18px;
}

.bw-required {
  color: var(--bw-danger);
}

/* Medical Disclaimer */
.bw-medical-disclaimer {
  margin: 32px 0 16px;
  padding: 16px 20px;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
}
.bw-medical-disclaimer p { margin: 0; }
.bw-medical-disclaimer strong { color: #78350f; }

/* Index listing pages */
.bw-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.bw-listing-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--bw-heading);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bw-listing-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--bw-primary);
  color: var(--bw-primary);
}
.bw-listing-card i {
  font-size: 24px;
  color: var(--bw-primary);
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.bw-listing-card-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.bw-listing-card-body {
  flex: 1;
  min-width: 0;
}
.bw-listing-card-name {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-listing-card-count {
  font-size: 13px;
  color: var(--bw-muted-light);
}
.bw-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 24px;
  justify-content: center;
}
.bw-alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--bw-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bw-alpha-nav a:hover, .bw-alpha-nav a.active {
  background: var(--bw-primary);
  color: #fff;
}

/* ─── Variant Table (Product Detail) ─────────────── */
.bw-vt {
  margin: 20px 0;
}
.bw-vt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.bw-vt-table thead th {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bw-muted);
  border-bottom: 2px solid var(--bw-border);
  text-align: left;
  white-space: nowrap;
}
.bw-vt-row {
  border-bottom: 1px solid var(--bw-border-light);
  transition: background 0.15s;
}
.bw-vt-row:hover {
  background: var(--bw-bg-secondary);
}
.bw-vt-row td {
  padding: 0.65rem 12px;
  vertical-align: middle;
}
.bw-vt-pack strong {
  font-size: 14px;
  color: var(--bw-heading);
}
.bw-vt-sale {
  font-weight: 700;
  font-size: 16px;
  color: var(--bw-heading);
}
.bw-vt-mrp {
  font-size: 13px;
  color: var(--bw-muted-light);
  margin-left: 0.35rem;
}
.bw-vt-off {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--bw-secondary);
  background: rgba(5, 150, 105, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: var(--bw-radius-pill);
  margin-left: 0.35rem;
}
.bw-vt-perunit {
  font-size: 13px;
  color: var(--bw-muted);
  white-space: nowrap;
}
.bw-vt-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-sm);
  overflow: hidden;
}
.bw-vt-qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--bw-bg-secondary);
  font-size: 16px;
  font-weight: 600;
  color: var(--bw-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.bw-vt-qty-btn:hover {
  background: var(--bw-border);
}
.bw-vt-qty-input {
  width: 36px;
  height: 30px;
  border: none;
  border-left: 1px solid var(--bw-border);
  border-right: 1px solid var(--bw-border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  -moz-appearance: textfield;
}
.bw-vt-qty-input::-webkit-inner-spin-button,
.bw-vt-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bw-vt-action .bw-btn {
  white-space: nowrap;
  font-size: 13px;
  padding: 6px 0.85rem;
}
.bw-vt-oos {
  font-size: 13px;
  color: var(--bw-danger);
  font-weight: 600;
}

/* Variant table responsive */
@media (max-width: 600px) {
  .bw-vt-table thead {
    display: none;
  }
  .bw-vt-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bw-border-light);
  }
  .bw-vt-row td {
    padding: 0;
    border: none;
  }
  .bw-vt-pack {
    width: 100%;
    margin-bottom: 0.15rem;
  }
  .bw-vt-price {
    flex: 1;
  }
  .bw-vt-perunit {
    display: none;
  }
  .bw-vt-qty {
    order: 3;
  }
  .bw-vt-action {
    order: 4;
  }
  .bw-vt-btn-text {
    display: none;
  }
}

/* ============================================================
   Section 30: Footer
   ============================================================ */
.bw-footer { background: #1a1f2e; color: #c8cdd6; padding-top: 0; }
.bw-footer-newsletter {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap;
}
.bw-footer-newsletter__text h4 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.bw-footer-newsletter__text p { color: #8b95a8; font-size: 14px; margin: 0; }
.bw-footer-newsletter__form {
  display: flex; gap: 8px; flex: 0 0 auto;
}
.bw-footer-newsletter__form input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; outline: none;
  min-width: 240px;
}
.bw-footer-newsletter__form input::placeholder { color: #6b7280; }
.bw-footer-newsletter__form .rts-btn { border-radius: 8px; padding: 10px 24px; flex-shrink: 0; }
.bw-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 40px 0 30px;
}
.bw-footer-heading {
  color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 18px;
  padding-bottom: 10px; border-bottom: 2px solid #629D23; display: inline-block;
}
.bw-footer-about { font-size: 14px; line-height: 1.7; color: #8b95a8; margin: 0 0 18px; }
.bw-footer-socials { display: flex; gap: 10px; }
.bw-footer-socials a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border-radius: 8px; color: #c8cdd6; font-size: 14px;
  transition: all 0.2s; text-decoration: none;
}
.bw-footer-socials a:hover { background: #629D23; color: #fff; }
.bw-footer-links { list-style: none; padding: 0; margin: 0; }
.bw-footer-links li { margin-bottom: 10px; }
.bw-footer-links a { color: #8b95a8; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.bw-footer-links a:hover { color: #fff; }
.bw-footer-contact { list-style: none; padding: 0; margin: 0 0 18px; }
.bw-footer-contact li {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
  font-size: 14px; color: #8b95a8;
}
.bw-footer-contact li i { color: #629D23; font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.bw-footer-contact a { color: #8b95a8; text-decoration: none; }
.bw-footer-contact a:hover { color: #fff; }
.bw-footer-extras { display: flex; flex-direction: column; gap: 8px; }
.bw-footer-extras a {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: #629D23; text-decoration: none; transition: color 0.2s;
}
.bw-footer-extras a:hover { color: #7dba3a; }
.bw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center;
}
.bw-footer-bottom p { margin: 0; font-size: 13px; color: #6b7280; }

@media (max-width: 991px) {
  .bw-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 575px) {
  .bw-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .bw-footer-newsletter { flex-direction: column; align-items: flex-start; }
  .bw-footer-newsletter__form { width: 100%; }
  .bw-footer-newsletter__form input { min-width: 0; flex: 1; }
}

/* ============================================================
   Section 31: Minimal Checkout Header & Footer
   ============================================================ */
.bw-checkout-body { background: #f8f9fa; }
.bw-mini-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bw-mini-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.bw-mini-header__logo img { height: 36px; width: auto; }
.bw-mini-header__center { flex: 1; text-align: center; }
.bw-mini-header__secure {
  font-size: 14px;
  font-weight: 600;
  color: #629D23;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bw-mini-header__secure i { font-size: 13px; }
.bw-mini-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.bw-mini-header__help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.bw-mini-header__help:hover { color: #629D23; }
.bw-mini-header__continue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s;
}
.bw-mini-header__continue:hover {
  border-color: #629D23;
  color: #629D23;
}

.bw-mini-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 20px 0;
  margin-top: 40px;
}
.bw-mini-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.bw-mini-footer__inner p { margin: 0; font-size: 13px; color: #94a3b8; }
.bw-mini-footer__links {
  display: flex;
  gap: 20px;
}
.bw-mini-footer__links a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.bw-mini-footer__links a:hover { color: #475569; }

@media (max-width: 767px) {
  .bw-mini-header__help span,
  .bw-mini-header__continue span { display: none; }
  .bw-mini-header__continue { padding: 7px 10px; }
  .bw-mini-header__secure { font-size: 13px; }
  .bw-mini-footer__inner { flex-direction: column; text-align: center; }
  .bw-mini-footer__links { justify-content: center; }
}