:root {
  /* Brand */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #ff6f00;
  --accent-hover: #e65c00;
  
  /* Text */
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #374151;
  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-soft: #f9fafb;
  --bg-muted: #f3f4f6;
  --bg-dark: #111827;
  
  /* Borders */
  --border-light: #e5e7eb;
  --border-subtle: #f1f5f9;
  /* Surface */
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,0.85);
  
  /* Inverse / Footer */
  --text-inverse: #ffffff;
  --text-inverse-muted: #cbd5e1;
  --text-inverse-faded: #94a3b8;
  --border-inverse-subtle: rgba(255,255,255,0.12);
  /* Effects */
  --shadow-sm: 0 4px 18px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.10);
  /* Layout */
  --so-container-width: 1240px;
  --so-font-size-base: 14px;
  --so-border-radius: 10px;
  --cb-header-h: 76px;

  /* Bridge: --so-* aliases */
  --so-primary: var(--primary);
  --so-primary-hover: var(--primary-hover);
  --so-accent: var(--accent);
  --so-accent-hover: var(--accent-hover);
  --so-text-main: var(--text-main);
  --so-text-muted: var(--text-muted);
  --so-text-light: var(--text-light);
  --so-text-inverse: var(--text-inverse);
  --so-text-inverse-muted: var(--text-inverse-muted);
  --so-bg-main: var(--bg-main);
  --so-bg-soft: var(--bg-soft);
  --so-bg-muted: var(--bg-muted);
  --so-bg-dark: var(--bg-dark);
  --so-border-light: var(--border-light);
  --so-border-subtle: var(--border-subtle);
  --so-surface: var(--surface);
  --so-font-family: 'Open Sans', sans-serif;
  --so-primary-focus-ring: rgba(37, 99, 235, 0.15);
}
/* ===== GLOBAL ===== */
body.cb-body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  font-size: var(--so-font-size-base);
  font-display: swap;
}

.cb-mega-menu > li > a.cb-mega-link:hover {
  color: var(--primary) !important;
}

.cb-menu-toggle:hover {
  background: var(--text-main);
  color: var(--surface);
  border-color: var(--text-main);
}

.cb-footer {
  background: var(--bg-dark);
  color: var(--text-inverse-muted);
}

/* Hide old top bar */
#top {
  display: none !important;
}

/* ===== HEADER ===== */
.cb-header .container,
.cb-footer .container {
  max-width: var(--so-container-width);
  margin: 0 auto;
}

.cb-header-wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.cb-header {
  background: var(--bg-main);
}

.cb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--cb-header-h);
}

/* ===== LOGO ===== */
.cb-logo {
  flex: 0 0 auto;
  min-width: 140px;
}

.cb-logo img {
  max-height: 46px;
  width: auto;
}

.cb-logo h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.cb-logo h1 a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

/* ===== HEADER ICONS ===== */
.cb-icon-link {
  font-family: FontAwesome;
  font-size: 18px;
  line-height: 1;
}


/* Account Dropdown */
.cb-account .dropdown-menu {
  border-radius: var(--so-border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 200px;
  margin-top: 12px;
}

.cb-account .dropdown-menu li a {
  padding: 10px 16px;
  color: var(--text-main);
  font-size: var(--so-font-size-base);
}

.cb-account .dropdown-menu li a:hover {
  background: var(--bg-muted);
  color: var(--text-main);
}

/* ===== MOBILE TOGGLE ===== */
.cb-mobile-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--so-border-radius);
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 18px;
}

.cb-mobile-menu-wrap {
  padding-bottom: 16px;
}

.cb-mobile-menu {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.cb-mobile-menu li {
  border-bottom: 1px solid var(--bg-muted);
}

.cb-mobile-menu li a {
  display: block;
  padding: 12px 4px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.cb-mobile-menu li a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Default cart dropdown */
#cart .dropdown-menu {
  border-radius: var(--so-border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .cb-header-inner {
    min-height: 74px;
    gap: 12px;
  }
  .cb-logo img {
    max-height: 40px;
  }
}

@media (max-width: 767px) {
  .cb-header-inner {
    flex-wrap: nowrap;
  }
  .cb-logo {
    flex: 1 1 auto;
  }
  .cb-header-icons {
    gap: 8px;
  }
  .cb-icon-link,
  .cb-cart #cart > button {
    width: 40px;
    height: 40px;
  }
  .cb-logo img {
    max-height: 36px;
  }
  .cb-logo h1 {
    font-size: 22px;
  }
}



/* ===== MEGA MENU ===== */
.cb-mega-navbar {
  background: var(--bg-main);
  border: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
  min-height: auto;
  position: relative;
  z-index: 50;
}

.cb-mega-menu {
  float: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cb-mega-menu > li {
  position: relative;
}

.cb-mega-menu > li > a.cb-mega-link {
  color: var(--text-main) !important;
  font-size: var(--so-font-size-base);
  font-weight: 600;
  padding: 16px 18px !important;
  background: transparent !important;
  transition: all 0.2s ease;
}

.cb-mega-menu > li > a.cb-mega-link:hover,
.cb-mega-menu > li.open > a.cb-mega-link,
.cb-mega-menu > li > a.cb-mega-link:focus {
  color: var(--primary) !important;
  background: transparent !important;
}

.cb-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0 !important;
  right: auto !important;
  min-width: 700px;
  max-width: 980px;
  width: max-content;
  margin-top: 8px !important;
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  padding: 24px 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 999;
}

.cb-mega-menu > li.dropdown:hover > .cb-mega-dropdown,
.cb-mega-menu > li.open > .cb-mega-dropdown {
  display: block;
}

.cb-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px 28px;
}

.cb-mega-col ul { margin: 0; padding: 0; }
.cb-mega-col ul li { margin: 0 0 8px; }

.cb-mega-col ul li a {
  display: block;
  color: var(--text-main);
  text-decoration: none;
  font-size: var(--so-font-size-base);
  padding: 8px 10px;
  border-radius: var(--so-border-radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cb-mega-col ul li a:hover {
  background: var(--bg-muted);
  color: var(--text-main);
  text-decoration: none;
  transform: translateX(2px);
}

.cb-sub-menu {
  list-style: none;
  padding-left: 15px;
  margin: 0;
}

.cb-sub-menu li a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 18px;
}

/* ===== MOBILE SIDE MENU (DRAWER) ===== */
.cb-side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.cb-side-menu.active { pointer-events: auto; }

.cb-side-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: 0.3s;
}

.cb-side-menu.active .cb-side-overlay { opacity: 1; }

.cb-side-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--surface);
  transform: translateX(-100%);
  transition: 0.3s ease;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  overflow-y: auto;
}

.cb-side-menu.active .cb-side-panel { transform: translateX(0); }

.cb-side-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.cb-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-main);
}

.cb-side-content { padding: 10px 0; }

.cb-side-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cb-side-links li a {
  display: block;
  padding: 14px 18px;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 500;
}

.cb-side-links li a:hover {
  background: var(--bg-muted);
}

/* ===== MENU ROW & TOGGLE ===== */
.cb-menu-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  width: 100%;
}

.cb-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease;
}

.cb-menu-toggle:hover {
  background: var(--text-main);
  color: var(--surface);
  border-color: var(--text-main);
}

.cb-desktop-menu {
  flex: 1 1 auto;
  min-width: 0;
}

.cb-desktop-menu .cb-mega-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cb-desktop-menu .cb-mega-menu > li {
  float: none !important;
  display: block;
}

.cb-desktop-menu .cb-mega-menu > li > a.cb-mega-link {
  display: block;
  padding: 14px 12px !important;
  line-height: 1.2;
  white-space: nowrap;
}

.cb-mega-navbar .container {
  display: block;
  padding-left: 15px;
  padding-right: 15px;
}

.cb-mega-navbar .navbar-nav { margin: 0; }

.cb-mega-navbar .navbar-collapse {
  padding-left: 0;
  padding-right: 0;
  border-top: 0;
  box-shadow: none;
}

@media (max-width: 991px) {
  .cb-mega-navbar .navbar-collapse { display: none !important; }
  .cb-desktop-menu { display: none !important; }
  .cb-menu-row { min-height: 54px; }
}




/* ===== FOOTER ===== */
.cb-footer {
  background: var(--bg-dark);
  color: var(--text-inverse-muted);
  margin-top: 50px;
  padding: 45px 0 20px;
}

.cb-footer-logo img {
  max-height: 54px;
  width: auto;
  margin-bottom: 18px;
}

.cb-footer-title {
  color: var(--text-inverse);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}

.cb-footer h5 {
  color: var(--text-inverse);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cb-footer-text {
  color: var(--text-inverse-faded);
  font-size: var(--so-font-size-base);
  line-height: 1.7;
  margin-bottom: 18px;
}

.cb-footer-contact li {
  margin-bottom: 10px;
  color: var(--text-inverse-muted);
  font-size: var(--so-font-size-base);
  line-height: 1.6;
}

.cb-footer ul { margin: 0; padding: 0; }
.cb-footer ul li { margin-bottom: 10px; }

.cb-footer a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cb-footer a:hover {
  color: var(--text-inverse);
  text-decoration: none;
}

.cb-footer hr {
  border-color: var(--border-inverse-subtle);
  margin: 28px 0 15px;
}

.cb-footer p {
  margin: 0;
  color: var(--text-inverse-faded);
  font-size: 13px;
}

@media (max-width: 767px) {
  .cb-footer { padding: 32px 0 18px; }
  .cb-footer .col-sm-4, .cb-footer .col-sm-2 { margin-bottom: 24px; }
  .cb-footer-logo img { max-height: 44px; }
}

/* Footer Alignment Fix */
.cb-footer .container { padding-left: 15px; padding-right: 15px; }
.cb-footer .row { margin-left: -15px; margin-right: -15px; }
.cb-footer [class*="col-"] { padding-left: 15px; padding-right: 15px; }


/* ===== CART DROPDOWN (common/cart.twig) ===== */
#cart.btn-group {
  position: relative;
}

/* Cart toggle button */
#cart > button.btn-inverse {
  background: var(--text-main);
  color: var(--bg-main);
  border: none;
  border-radius: var(--so-border-radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 9px 16px;
  transition: background .2s;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: visible;
}

#cart > button.btn-inverse:hover,
#cart > button.btn-inverse:focus {
  background: var(--primary);
  color: var(--text-inverse);
  outline: none;
  box-shadow: none;
}

#cart > button.btn-inverse .fa-shopping-cart {
  margin-right: 0;
  font-size: 16px;
}

#cart > button .caret {
  display: none !important;
}

/* Cart label & total */
#cart > button.btn-inverse .cb-cart-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#cart > button.btn-inverse #cart-total {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}




/* Cart badge */
#cart > button.btn-inverse .cb-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: red;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: none; /* keep this */
}


#cart.has-items > button .cb-cart-badge {
  display: inline-block !important;
}

#cart > button.btn-inverse {
  color: #fff !important;
  font-size: 14px;
  line-height: normal;
}




/* Dropdown panel */
#cart .dropdown-menu {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 380px;
  padding: 0;
  margin-top: 4px;
  overflow: hidden;
  display: none;
}

#cart.open .dropdown-menu {
  display: block !important;
}

/* Product rows table */
#cart .dropdown-menu .table {
  margin: 0;
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

#cart .dropdown-menu .table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--bg-soft);
}

#cart .dropdown-menu .table-striped > tbody > tr:nth-of-type(even) {
  background: var(--bg-main);
}

#cart .dropdown-menu .table td {
  padding: 10px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  color: var(--text-main);
}

/* Product thumbnail */
#cart .dropdown-menu .table td img.img-thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  background: var(--bg-soft);
}

/* Product name */
#cart .dropdown-menu .table td a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  transition: color .15s;
}

#cart .dropdown-menu .table td a:hover {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Option text */
#cart .dropdown-menu .table td small {
  color: var(--text-muted);
  font-size: 11px;
}

/* Quantity */
#cart .dropdown-menu .table td.text-right {
  color: var(--text-light);
  font-size: 13px;
  white-space: nowrap;
}

/* Remove button */
#cart .dropdown-menu .table td .btn-danger {
  background: var(--text-main);
  border: none;
  color: var(--bg-main);
  border-radius: var(--so-border-radius);
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.4;
  transition: background .15s;
}

#cart .dropdown-menu .table td .btn-danger:hover {
  background: var(--primary);
}

/* Totals table */
#cart .dropdown-menu .table-bordered {
  border: none;
  margin: 0;
}

#cart .dropdown-menu .table-bordered td {
  border: none;
  border-top: 1px solid var(--border-light);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-light);
}

#cart .dropdown-menu .table-bordered tr:last-child td {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  border-top: 2px solid var(--text-main);
  padding-top: 10px;
}

/* Bottom action row */
#cart .dropdown-menu li:last-child > div {
  padding: 0 12px 12px;
  background: var(--bg-main);
}

#cart .dropdown-menu li:last-child > div > p.text-right {
  margin: 12px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* View Cart — outlined */
#cart .dropdown-menu li:last-child > div > p a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--text-main);
  border-radius: var(--so-border-radius);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, color .15s;
}

#cart .dropdown-menu li:last-child > div > p a:first-child:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

/* Checkout — accent filled */
#cart .dropdown-menu li:last-child > div > p a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--so-border-radius);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s;
}

#cart .dropdown-menu li:last-child > div > p a:last-child:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Empty cart */
#cart .dropdown-menu li p.text-center {
  padding: 24px 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* Scrollable product list */
#cart .dropdown-menu li:first-child {
  max-height: 320px;
  overflow-y: auto;
}

#cart .dropdown-menu li:first-child::-webkit-scrollbar {
  width: 4px;
}

#cart .dropdown-menu li:first-child::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

@media (max-width: 767px) {
  #cart .dropdown-menu { right: 0; left: auto; min-width: 280px; max-width: calc(100vw - 20px); }
  #cart > button.btn-inverse .cb-cart-label { display: none; }
  #cart > button.btn-inverse #cart-total { font-size: 11px; }
  #cart > button.btn-inverse .cb-cart-badge { top: -6px; right: -6px; }
}




/* ===== FOOTER CSS ===== */
/* ===== FOOTER ===== */
.cb-footer {
  background-color: var(--bg-dark, #1a1a1a);
  color: var(--text-inverse-muted, #b0b0b0);
  font-size: var(--so-font-size-base, 14px);
  line-height: 1.7;
  padding: 0;
  margin-top: 40px;
}

/* --- Top Section --- */
.cb-footer-top {
  padding: 48px 0 30px;
}

.cb-footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.cb-footer-logo img {
  max-height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
}

.cb-footer-name {
  color: var(--text-inverse, #fff);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
}

.cb-footer-desc {
  color: var(--text-inverse-faded, #999);
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 420px;
}

/* Social Icons */
.cb-social-links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.cb-social-links li {
  list-style: none;
}

.cb-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-inverse-subtle, #444);
  border-radius: 50%;
  color: var(--text-inverse-muted, #ccc);
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cb-social-links a:hover {
  background-color: var(--primary, #007acc);
  border-color: var(--primary, #007acc);
  color: var(--text-inverse, #fff);
}

/* Contact Info */
.cb-footer-contact {
  margin: 0;
  padding: 0;
}

.cb-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-inverse-faded, #999);
  font-size: 13.5px;
}

.cb-footer-contact li i {
  color: var(--primary, #007acc);
  font-size: 16px;
  min-width: 18px;
  text-align: center;
  margin-top: 3px;
}

.cb-footer-contact li a {
  color: var(--text-inverse-muted, #ccc);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cb-footer-contact li a:hover {
  color: var(--primary, #007acc);
}

/* --- Divider --- */
.cb-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-inverse-subtle, #333), transparent);
  margin: 10px 0;
}

/* --- Nav Section --- */
.cb-footer-nav {
  padding: 30px 0 10px;
}

.cb-footer-heading {
  color: var(--text-inverse, #fff);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
  padding-bottom: 10px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cb-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary, #007acc);
}

.cb-footer-links {
  margin: 0;
  padding: 0;
}

.cb-footer-links li {
  margin-bottom: 10px;
}

.cb-footer-links a {
  color: var(--text-inverse-faded, #999);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.cb-footer-links a:hover {
  color: var(--text-inverse, #fff);
  padding-left: 5px;
}

/* --- Copyright --- */
.cb-footer-bottom {
  border-top: 1px solid var(--border-inverse-subtle, #2a2a2a);
  padding: 20px 0;
  margin-top: 20px;
}

.cb-footer-bottom p {
  margin: 0;
  color: var(--text-inverse-faded, #666);
  font-size: 12.5px;
  text-align: center;
}

.cb-footer-bottom p a {
  color: var(--text-inverse-muted, #999);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 991px) {
  .cb-footer-top .col-sm-3 {
    margin-top: 30px;
  }
}

/* Mobile: Colorbot-style layout */
@media (max-width: 767px) {
  .cb-footer-top {
    padding: 36px 0 24px;
    text-align: center;
  }

  .cb-footer-desc {
    max-width: 100%;
  }

  .cb-social-links {
    justify-content: center;
    margin-bottom: 30px;
  }

  /* Contact stacks centered below brand */
  .cb-footer-contact {
    display: inline-block;
    text-align: left;
  }

  /* Nav links: 2-column grid on mobile */
  .cb-footer-nav {
    padding: 24px 0 10px;
  }

  .cb-footer-nav .col-xs-6 {
    margin-bottom: 24px;
  }

  .cb-footer-heading {
    font-size: 14px;
    margin-bottom: 14px;
  }
}

/* HEADER.TWIG CSS */

/* ===== TOP BAR ===== */
.cb-topbar {
  background: var(--bg-main, #ffffff);
  border-bottom: 1px solid var(--border-light, #ececec);
  padding: 6px 0;
  font-size: 13px;
}

.cb-topbar .container {
  max-width: var(--so-container-width, 1240px);
}

.cb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
}

.cb-topbar-left,
.cb-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cb-topbar-left a,
.cb-topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted, #4b5563);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease;
}

.cb-topbar-left a:hover {
  color: var(--text-main, #111111);
}

.cb-topbar-left i {
  font-size: 12px;
  color: var(--text-main, #111111);
}

.cb-topbar-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-muted, #4b5563);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cb-topbar-right a:hover {
  background: var(--bg-muted, #f3f4f6);
  color: var(--text-main, #111111);
}

@media (max-width: 767px) {
  .cb-topbar {
    display: none;
  }
}

/* ===== HEADER WRAP ===== */
.cb-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface-glass, rgba(255,255,255,0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light, #e9e9e9);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.cb-header-wrap.cb-scrolled {
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.08));
  border-bottom-color: transparent;
}

.cb-header {
  padding: 0;
}

.cb-header .container {
  max-width: var(--so-container-width, 1240px);
}

.cb-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--cb-header-h);
}

/* ===== LOGO ===== */
.cb-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.cb-logo a {
  display: inline-flex;
  align-items: center;
}

.cb-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

.cb-logo h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cb-logo h1 a {
  color: var(--text-main, #1a1a1a);
  text-decoration: none;
}

/* ===== SEARCH AREA ===== */
.cb-search {
  flex: 1 1 auto;
  max-width: 560px;
  margin: 0 auto;
}

/* supports both your custom search and older #search output */
.cb-search .cb-search-box,
.cb-search #search {
  position: relative;
  width: 100%;
}

.cb-search .cb-search-input,
.cb-search #search input[type="text"] {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border-light, #e9e9e9);
  border-radius: 999px;
  background: var(--bg-main, #ffffff);
  padding: 0 58px 0 18px;
  color: var(--text-main, #1a1a1a);
  font-size: var(--so-font-size-base, 14px);
  font-weight: 500;
  box-shadow: var(--shadow-sm, 0 4px 18px rgba(0,0,0,0.03));
  outline: none;
  transition: all 0.25s ease;
}

.cb-search .cb-search-input::placeholder,
.cb-search #search input[type="text"]::placeholder {
  color: var(--text-muted, #8a8a8a);
  opacity: 1;
}

.cb-search .cb-search-input:hover,
.cb-search #search input[type="text"]:hover {
  border-color: var(--border-light, #d8d8d8);
  background: var(--bg-main, #fff);
}

.cb-search .cb-search-input:focus,
.cb-search #search input[type="text"]:focus {
  border-color: var(--primary, #111111);
  background: var(--bg-main, #fff);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05), var(--shadow-md, 0 10px 25px rgba(0,0,0,0.06));
}

.cb-search .cb-search-btn,
.cb-search #search button[type="button"] {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--text-main, #111111);
  color: var(--bg-main, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  transition: all 0.22s ease;
}

.cb-search .cb-search-btn:hover,
.cb-search .cb-search-btn:focus,
.cb-search #search button[type="button"]:hover,
.cb-search #search button[type="button"]:focus {
  background: var(--primary-hover, #000);
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.cb-search .cb-search-btn i,
.cb-search #search button[type="button"] i {
  font-size: 14px;
  line-height: 1;
}

/* ===== DESKTOP NAV ===== */
.cb-nav {
  flex: 0 0 auto;
}

.cb-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cb-menu-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text-main, #1a1a1a);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cb-menu-list li a:hover {
  background: var(--bg-soft, #f6f6f6);
  color: var(--primary, #000);
}

/* ===== ICONS / ACCOUNT ===== */
.cb-header-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main, #1a1a1a);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cb-icon-link:hover {
  background: var(--bg-soft, #f6f6f6);
  color: var(--primary, #000);
}

.cb-account .dropdown-menu {
  border: 1px solid var(--border-light, #e9e9e9);
  border-radius: var(--so-border-radius, 14px);
  box-shadow: var(--shadow-md, 0 14px 34px rgba(0,0,0,0.10));
  padding: 8px 0;
  margin-top: 10px;
  min-width: 190px;
}

.cb-account .dropdown-menu li a {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-main, #1a1a1a);
}

.cb-account .dropdown-menu li a:hover {
  background: var(--bg-soft, #f6f6f6);
  color: var(--primary, #000);
}

/* ===== CART ===== */
.cb-cart {
  display: flex;
  align-items: center;
}

.cb-cart #cart > button,
.cb-cart #cart > button.btn-inverse {
  min-width: 158px;
  height: 44px;
  padding: 0 16px;
  background: var(--accent, #111) !important;
  color: var(--text-main, #fff) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
  transition: all 0.2s ease;
}

.cb-cart #cart > button:hover,
.cb-cart #cart > button.btn-inverse:hover {
  background: var(--primary, #000) !important;
  border-color: var(--primary, #000) !important;
}

.cb-cart #cart > button .fa-shopping-cart {
  font-size: 15px;
}

.cb-cart #cart .dropdown-menu {
  border: 1px solid var(--border-light, #e9e9e9);
  border-radius: var(--so-border-radius, 16px);
  box-shadow: var(--shadow-lg, 0 16px 36px rgba(0,0,0,0.12));
  min-width: 320px;
  margin-top: 10px;
}

/* ===== MOBILE TOGGLE VISUAL ONLY ===== */
.cb-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light, #e9e9e9);
  border-radius: var(--so-border-radius, 12px);
  background: var(--bg-main, #fff);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.cb-mobile-toggle:hover {
  background: var(--bg-soft, #f6f6f6);
}

.cb-hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main, #111);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.cb-hamburger::before,
.cb-hamburger::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main, #111);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.cb-hamburger::before { top: -6px; }
.cb-hamburger::after { top: 6px; }

.cb-mobile-toggle.active .cb-hamburger {
  background: transparent;
}

.cb-mobile-toggle.active .cb-hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.cb-mobile-toggle.active .cb-hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== MOBILE MENU PANEL ===== */
.cb-mobile-menu {
  display: none;
  position: fixed;
  top: var(--cb-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-main, #fff);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.cb-mobile-menu.open {
  transform: translateX(0);
}

.cb-mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cb-mobile-menu-list li {
  border-bottom: 1px solid var(--border-light, #e9e9e9);
}

.cb-mobile-menu-list li a {
  display: block;
  padding: 14px 0;
  color: var(--text-main, #1a1a1a);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.cb-mobile-menu-list li a i {
  width: 24px;
  color: var(--text-muted, #8c8c8c);
  margin-right: 8px;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  :root {
    --cb-header-h: 56px;
  }

  .cb-topbar-left,
  .cb-topbar-right,
  .cb-nav,
  .cb-account {
    display: none !important;
  }

  .cb-header-wrap {
    background: var(--surface-glass, rgba(255,255,255,0.98));
  }

  .cb-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cb-header-inner {
    min-height: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .cb-mobile-toggle {
    display: inline-flex;
    order: 1;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
  }

  .cb-logo {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }

  .cb-logo img {
    max-height: 28px;
    width: auto;
  }

  .cb-header-icons {
    order: 3;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 6px;
  }

  .cb-cart #cart > button,
  .cb-cart #cart > button.btn-inverse {
    min-width: auto;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px !important;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .cb-search {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 2px;
  }

  .cb-search .cb-search-input,
  .cb-search #search input[type="text"] {
    height: 42px;
    padding: 0 48px 0 14px;
    border-radius: 12px;
    font-size: 14px;
    background: var(--bg-main, #fff);
  }

  .cb-search .cb-search-btn,
  .cb-search #search button[type="button"] {
    width: 34px;
    height: 34px;
    right: 4px;
    border-radius: 10px;
  }

  .cb-mobile-menu {
    display: block;
    top: calc(var(--cb-header-h) + 46px);
    padding-top: 8px;
  }
}


   

   /* ===== SUCCESS PAGE (wired) ===== */
.cb-success-page { padding-top: 20px; padding-bottom: 40px; }
.cb-success-card { max-width: 760px; margin: 10px auto 0; background: var(--bg-main); border: 1px solid var(--border-light); border-radius: calc(var(--so-border-radius) * 1.8); padding: 42px 32px; text-align: center; box-shadow: var(--shadow-sm); }
.cb-success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--primary); color: var(--text-inverse); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.cb-success-icon i { font-size: 28px; }
.cb-success-title { margin: 0 0 14px; font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--text-main); letter-spacing: -0.4px; }
.cb-success-message { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: 15px; line-height: 1.8; }
.cb-success-message p { margin-bottom: 12px; }
.cb-success-actions { margin-top: 26px; }
.cb-success-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 46px; padding: 0 22px; border: none; border-radius: 999px; background: var(--text-main); color: var(--text-inverse); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; box-shadow: none; transition: all 0.2s ease; }
.cb-success-btn:hover, .cb-success-btn:focus { background: var(--primary); color: var(--text-inverse); text-decoration: none; }
@media (max-width: 767px) { .cb-success-page { padding-top: 12px; padding-bottom: 28px; } .cb-success-card { padding: 28px 18px; border-radius: 14px; } .cb-success-icon { width: 60px; height: 60px; margin-bottom: 16px; } .cb-success-icon i { font-size: 24px; } .cb-success-title { font-size: 24px; } .cb-success-message { font-size: 14px; line-height: 1.7; } .cb-success-btn { width: 100%; min-width: 0; height: 44px; } }





/* ===== ACCOUNT PAGE (wired) ===== */
.cb-account-page { padding-top: 10px; padding-bottom: 30px; }
.cb-account-header { margin-bottom: 26px; padding: 0 0 18px; border-bottom: 1px solid var(--border-light); }
.cb-account-kicker { display: inline-block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.cb-account-title { margin: 0 0 8px; font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--text-main); letter-spacing: -0.4px; }
.cb-account-subtitle { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 760px; }
.cb-account-grid { display: flex; flex-wrap: wrap; }
.cb-account-col { margin-bottom: 24px; }
.cb-account-card { background: var(--bg-main); border: 1px solid var(--border-light); border-radius: calc(var(--so-border-radius) * 2); padding: 24px; height: 100%; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.cb-account-card:hover { border-color: var(--text-main); transform: translateY(-1px); }
.cb-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cb-card-icon { width: 42px; height: 42px; border-radius: var(--so-border-radius); background: var(--primary); color: var(--text-inverse); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cb-card-head h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text-main); line-height: 1.2; }
.cb-link-list { list-style: none; margin: 0; padding: 0; }
.cb-link-list li + li { margin-top: 10px; }
.cb-link-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border-light); border-radius: var(--so-border-radius); background: var(--bg-soft); color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s ease; }
.cb-link-list a:after { content: "\f105"; font-family: FontAwesome; font-size: 14px; color: var(--text-muted); transition: all 0.2s ease; }
.cb-link-list a:hover { background: var(--text-main); color: var(--text-inverse); border-color: var(--text-main); text-decoration: none; }
.cb-link-list a:hover:after { color: var(--text-inverse); transform: translateX(2px); }
@media (max-width: 991px) { .cb-account-title { font-size: 28px; } .cb-account-card { padding: 20px; border-radius: 18px; } }
@media (max-width: 767px) { .cb-account-page { padding-bottom: 20px; } .cb-account-header { margin-bottom: 18px; padding-bottom: 14px; } .cb-account-title { font-size: 24px; } .cb-account-subtitle { font-size: 13px; } .cb-account-card { padding: 18px; border-radius: 16px; } .cb-card-head { margin-bottom: 14px; } .cb-card-head h2 { font-size: 18px; } .cb-link-list a { padding: 11px 12px; font-size: 13.5px; border-radius: 12px; } }





/* LOGIN.TWIG - Wired */
/* ===== LOGIN PAGE ===== */
.cb-login-card {
  position: relative;
  z-index: 1;
}

.cb-login-highlight-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-main);
  background: var(--bg-soft);
  margin-bottom: 14px;
  text-decoration: none;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.cb-login-highlight-link:hover {
  color: var(--text-main);
  background: var(--bg-muted);
  text-decoration: none;
  border-color: var(--text-main);
}

.cb-register-btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.cb-account-login-page {
  padding-top: 10px;
  padding-bottom: 30px;
}

.cb-breadcrumb {
  background: transparent;
  padding: 10px 0 18px;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.cb-breadcrumb li a {
  color: var(--text-muted);
  text-decoration: none;
}

.cb-breadcrumb li a:hover {
  color: var(--text-main);
}

.cb-alert {
  border-radius: var(--so-border-radius);
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: none;
}

.cb-alert-success {
  background: var(--bg-soft);
  color: var(--text-main);
}

.cb-alert-danger {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
}

.cb-alert .close {
  opacity: 0.8;
}

.cb-login-wrap {
  margin-top: 10px;
}

.cb-login-row {
  display: flex;
  flex-wrap: wrap;
}

.cb-login-col {
  margin-bottom: 24px;
}

.cb-login-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 2);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.cb-login-card:hover {
  border-color: var(--text-main);
  transform: translateY(-1px);
}

.cb-login-card-head {
  margin-bottom: 24px;
}

.cb-login-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cb-login-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.cb-login-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cb-login-section {
  margin-bottom: 24px;
}

.cb-login-highlight {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-main);
  background: var(--bg-soft);
  margin-bottom: 14px;
}

.cb-login-muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cb-login-form {
  margin: 0;
}

.cb-form-group {
  margin-bottom: 18px;
}

.cb-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.cb-input {
  height: 50px;
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  box-shadow: none;
  padding: 0 16px;
  font-size: var(--so-font-size-base);
  color: var(--text-main);
  background: var(--bg-main);
  transition: all 0.2s ease;
}

.cb-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.cb-input::placeholder {
  color: var(--text-muted);
}

.cb-forgotten {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.cb-forgotten:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.cb-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--so-border-radius);
  border: 1px solid var(--text-main);
  background: var(--text-main);
  color: var(--bg-main);
  font-size: var(--so-font-size-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: none;
}

.cb-btn-dark:hover,
.cb-btn-dark:focus {
  background: var(--bg-main);
  color: var(--text-main);
  border-color: var(--text-main);
  text-decoration: none;
}

.cb-btn-full {
  width: 100%;
}

@media (max-width: 991px) {
  .cb-login-card { padding: 26px; }
  .cb-login-card h2 { font-size: 24px; }
}

@media (max-width: 767px) {
  .cb-account-login-page { padding-bottom: 20px; }
  .cb-breadcrumb { padding-bottom: 14px; }
  .cb-login-card { padding: 20px; border-radius: 16px; }
  .cb-login-card h2 { font-size: 22px; }
  .cb-login-lead, .cb-login-muted { font-size: 13px; }
  .cb-input, .cb-btn-dark { min-height: 46px; height: 46px; }
}




/* ===== ORDER INFO PAGE (Wired) ===== */
.cb-order-info-page {
  padding-top: 10px;
  padding-bottom: 30px;
}

.cb-page-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cb-page-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cb-page-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.cb-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.cb-info-card,
.cb-section-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.cb-info-card {
  flex: 1 1 320px;
}

.cb-section-card {
  margin-bottom: 20px;
}

.cb-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.cb-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cb-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cb-meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cb-meta-row span {
  color: var(--text-muted);
  font-size: 13px;
}

.cb-meta-row strong {
  color: var(--text-main);
  font-size: 14px;
  text-align: right;
}

.cb-address {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 14px;
}

.cb-table-wrap {
  overflow-x: auto;
}

.cb-modern-table {
  margin-bottom: 0;
  background: transparent;
}

.cb-modern-table thead th {
  border-bottom: 1px solid var(--border-light) !important;
  color: var(--text-main);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 12px;
  background: var(--bg-soft);
}

.cb-modern-table tbody td,
.cb-modern-table tfoot td {
  border-top: 1px solid var(--border-subtle) !important;
  padding: 14px 12px;
  vertical-align: middle !important;
  color: var(--text-light);
}

.cb-modern-table tfoot td {
  background: var(--bg-soft);
}

.cb-product-name {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 4px;
}

.cb-product-option {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.cb-action-col {
  width: 110px;
}

.cb-actions-cell {
  white-space: nowrap;
}

.cb-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--so-border-radius);
  text-decoration: none;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.cb-mini-btn-dark {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
}

.cb-mini-btn-dark:hover {
  background: var(--primary);
  color: var(--bg-main);
  border-color: var(--primary);
  text-decoration: none;
}

.cb-mini-btn-outline {
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.cb-mini-btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
  text-decoration: none;
}

.cb-note-box {
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  color: var(--text-light);
  line-height: 1.7;
}

.cb-status-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: 600;
}

.cb-page-actions {
  margin-top: 24px;
}

@media (max-width: 991px) {
  .cb-page-title { font-size: 26px; }
  .cb-info-card, .cb-section-card { padding: 18px; border-radius: 16px; }
}

@media (max-width: 767px) {
  .cb-order-info-page { padding-bottom: 20px; }
  .cb-page-title { font-size: 22px; }
  .cb-meta-row { flex-direction: column; gap: 6px; }
  .cb-meta-row strong { text-align: left; }
  .cb-modern-table thead th, .cb-modern-table tbody td, .cb-modern-table tfoot td { padding: 12px 10px; font-size: 13px; }
  .cb-mini-btn { width: 34px; height: 34px; }
}


/* ===== ORDER LIST PAGE (wired) ===== */
.cb-order-page {
  padding-top: 10px;
  padding-bottom: 30px;
}

.cb-order-header {
  margin-bottom: 20px;
}

.cb-order-kicker {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cb-order-header h1 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}

.cb-order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cb-order-card {
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.6);
  padding: 20px;
  background: var(--bg-main);
  transition: 0.2s;
}

.cb-order-card:hover {
  border-color: var(--text-main);
}

.cb-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cb-order-id {
  font-weight: 700;
  color: var(--text-main);
}

.cb-order-date {
  margin-left: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.cb-order-status {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text-inverse);
}

.cb-order-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cb-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.cb-order-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.cb-order-actions {
  display: flex;
  gap: 10px;
}

.cb-btn-outline {
  padding: 10px 14px;
  border: 1px solid var(--text-main);
  border-radius: var(--so-border-radius);
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cb-btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-main);
  text-decoration: none;
}

.cb-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.cb-pagination {
  margin-top: 20px;
}

.cb-back {
  margin-top: 20px;
}

.cb-back-link {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.cb-back-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cb-order-middle { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cb-order-actions { flex-direction: column; }
}




/* ===== CART PAGE (wired) ===== */

/* Cart Header */
.cb-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text-main);
}

.cb-cart-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.cb-cart-title i { margin-right: 8px; color: var(--text-muted); }
.cb-cart-weight { font-size: 14px; color: var(--text-muted); font-weight: 400; }

.cb-continue-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.cb-continue-link:hover { color: var(--accent); }
.cb-continue-link i { margin-right: 4px; }

/* Cart Layout */
.cb-cart-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.cb-cart-items { flex: 1; min-width: 0; }

.cb-cart-summary {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

/* Desktop Table Head */
.cb-table-head {
  display: flex;
  background: var(--text-main);
  color: var(--text-inverse);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--so-border-radius) var(--so-border-radius) 0 0;
  overflow: hidden;
}

.cb-th { padding: 12px 14px; }
.cb-th-product { flex: 1; }
.cb-th-price   { width: 110px; text-align: right; }
.cb-th-qty     { width: 160px; text-align: center; }
.cb-th-total   { width: 110px; text-align: right; }
.cb-th-remove  { width: 50px; }

/* Cart Row */
.cb-cart-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-top: none;
  background: var(--bg-main);
  transition: background 0.2s;
}

.cb-cart-row:last-child { border-radius: 0 0 var(--so-border-radius) var(--so-border-radius); }
.cb-cart-row:hover { background: var(--bg-soft); }

.cb-td { padding: 16px 14px; }
.cb-td-product { flex: 1; }
.cb-td-price   { width: 110px; text-align: right; font-weight: 600; color: var(--text-light); font-size: 14px; }
.cb-td-qty     { width: 160px; text-align: center; }
.cb-td-total   { width: 110px; text-align: right; font-weight: 700; color: var(--text-main); font-size: 15px; }
.cb-td-remove  { width: 50px; text-align: center; }

/* Item Info */
.cb-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cb-item-img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--so-border-radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: block;
}

.cb-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cb-item-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cb-item-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.3;
}

.cb-item-name:hover { color: var(--accent); }

.cb-item-option,
.cb-item-model,
.cb-item-reward,
.cb-item-recurring {
  font-size: 12px;
  color: var(--text-muted);
}

.cb-item-model { font-size: 11.5px; color: var(--text-muted); }

.cb-out-label {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
}

.cb-voucher-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-soft);
  border-radius: var(--so-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Quantity Control */
.cb-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  overflow: hidden;
}

.cb-qty-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-muted);
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: background 0.2s;
}

.cb-qty-btn:hover { background: var(--border-light); }

.cb-qty-input {
  width: 42px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  padding: 0;
  color: var(--text-main);
  background: var(--bg-main);
}

.cb-update-btn {
  display: block;
  margin-top: 6px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
}

.cb-update-btn:hover { color: var(--accent); }

/* Remove Button */
.cb-remove-btn {
  background: none;
  border: none;
  color: var(--border-light);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.cb-remove-btn:hover { color: var(--accent); }

/* Summary Box */
.cb-summary-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  padding: 24px;
}

.cb-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.cb-summary-rows { margin-bottom: 20px; }

.cb-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.cb-summary-row:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}

.cb-summary-grand {
  border-top: 2px solid var(--text-main);
  margin-top: 8px;
  padding-top: 12px;
}

.cb-summary-grand .cb-summary-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.cb-summary-grand .cb-summary-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

/* Checkout Button */
.cb-btn-checkout {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--so-border-radius);
  text-align: center;
  text-decoration: none;
  margin-bottom: 12px;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}

.cb-btn-checkout:hover,
.cb-btn-checkout:focus {
  background: var(--primary-hover);
  color: var(--text-inverse);
  text-decoration: none;
}

.cb-btn-checkout i { margin-right: 6px; }

.cb-btn-continue {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}

.cb-btn-continue:hover { color: var(--text-main); text-decoration: none; }
.cb-btn-continue i { margin-right: 4px; }

/* Mobile Card Items */
.cb-cart-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cb-card-item {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  overflow: hidden;
}

.cb-card-top {
  display: flex;
  gap: 12px;
  padding: 14px;
  position: relative;
}

.cb-card-img {
  width: 72px;
  height: 72px;
  border-radius: var(--so-border-radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cb-card-img img { width: 100%; height: 100%; object-fit: cover; }

.cb-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cb-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cb-card-price-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cb-card-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--border-light);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.cb-card-remove:hover { color: var(--accent); }

.cb-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
}

.cb-card-total-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-right: 4px;
}

.cb-card-total-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.cb-voucher-icon-mobile {
  width: 72px;
  height: 72px;
  background: var(--bg-soft);
  border-radius: var(--so-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Modules Section */
.cb-modules-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.cb-modules-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px;
}

.cb-modules-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.cb-modules-section .panel {
  border-radius: var(--so-border-radius);
  box-shadow: none;
  border: 1px solid var(--border-light);
}

.cb-modules-section .panel-heading {
  background: var(--bg-soft);
  border-radius: var(--so-border-radius) var(--so-border-radius) 0 0;
}

/* Cart Responsive */
@media (max-width: 991px) {
  .cb-cart-layout { flex-direction: column; gap: 24px; }
  .cb-cart-summary { width: 100%; position: static; }
}

@media (max-width: 767px) {
  .cb-cart-title { font-size: 20px; }
  .cb-cart-header { margin-bottom: 16px; padding-bottom: 12px; }
  .cb-summary-box { padding: 18px; }
  .cb-btn-checkout { font-size: 15px; padding: 13px 16px; }
}


/* ===== CHECKOUT PAGE (Wired) ===== */

#checkout-checkout {
  background: var(--bg-muted);
  min-height: 60vh;
  padding-bottom: 60px;
  color: var(--text-main);
}

/* Breadcrumb */
#checkout-checkout .breadcrumb {
  background: transparent;
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

#checkout-checkout .breadcrumb > li + li::before {
  color: var(--text-muted);
  content: "›";
}

#checkout-checkout .breadcrumb a {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color .2s;
}

#checkout-checkout .breadcrumb a:hover { color: var(--text-main); }

/* Page Title */
#checkout-checkout h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 28px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

/* Alert */
#checkout-checkout .alert-danger {
  background: rgba(204,34,0,.08);
  border: 1px solid #cc2200;
  color: #aa1100;
  border-radius: var(--so-border-radius);
  font-size: 13px;
}

/* ── Accordion Panels ── */
#accordion { counter-reset: step; }

#accordion .panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s;
}

#accordion .panel:hover,
#accordion .panel:focus-within {
  border-color: var(--text-muted);
}

/* Panel Heading */
#accordion .panel-heading {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
}

#accordion .panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0;
  display: flex;
  align-items: center;
  counter-increment: step;
}

/* Step Badge */
#accordion .panel-title::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 48px;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  margin-right: 0;
  transition: background .25s, color .25s;
}

/* Locked Step */
#accordion .panel-title > *:not(a):not(::before) {
  padding: 14px 16px;
  color: var(--text-muted);
  cursor: default;
}

/* Active/Clickable Title */
#accordion .panel-title a.accordion-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  color: var(--text-main);
  text-decoration: none;
  transition: color .2s;
}

#accordion .panel-title a.accordion-toggle:hover { color: var(--text-muted); }

#accordion .panel-title a.accordion-toggle i.fa-caret-down {
  margin-left: auto;
  font-size: 14px;
  opacity: .5;
}

/* Active Step Badge */
#accordion .panel-collapse.in + * .panel-title::before,
#accordion .panel-heading:has(a.accordion-toggle) .panel-title::before {
  background: var(--text-main);
  color: var(--bg-main);
}

/* Panel Body */
#accordion .panel-body {
  padding: 24px 20px;
  background: var(--surface);
}

/* ── Form Controls ── */
#accordion .panel-body label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: block;
}

#accordion .panel-body .form-control,
#accordion .panel-body input[type="text"],
#accordion .panel-body input[type="email"],
#accordion .panel-body input[type="password"],
#accordion .panel-body input[type="tel"],
#accordion .panel-body select,
#accordion .panel-body textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  color: var(--text-main);
  padding: 9px 12px;
  font-size: var(--so-font-size-base);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

#accordion .panel-body .form-control:focus,
#accordion .panel-body input:focus,
#accordion .panel-body select:focus,
#accordion .panel-body textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
  background: var(--bg-main);
}

#accordion .panel-body select option { background: var(--bg-soft); }

/* Radio / Checkbox */
#accordion .panel-body .radio label,
#accordion .panel-body .checkbox label {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-main);
  cursor: pointer;
}

#accordion .panel-body input[type="radio"],
#accordion .panel-body input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  margin-right: 6px;
}

/* Error State */
#accordion .panel-body .form-group.has-error .form-control,
#accordion .panel-body .form-group.has-error input,
#accordion .panel-body .form-group.has-error select {
  border-color: #cc2200 !important;
}

#accordion .panel-body .text-danger {
  color: #cc2200;
  font-size: 12px;
  margin-top: 3px;
}

/* ── Primary Buttons (CTA) ── */
#accordion .panel-body .btn-primary,
#accordion .panel-body .btn-success,
#accordion .panel-body button[id^="button-"] {
  background: var(--accent);
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: var(--so-border-radius);
  cursor: pointer;
  transition: background .2s, transform .1s;
  box-shadow: none;
}

#accordion .panel-body .btn-primary:hover,
#accordion .panel-body .btn-success:hover,
#accordion .panel-body button[id^="button-"]:hover {
  background: var(--accent-hover);
  box-shadow: none;
  transform: translateY(-1px);
}

#accordion .panel-body .btn-primary:active,
#accordion .panel-body .btn-success:active {
  transform: translateY(0);
}

/* Secondary Buttons */
#accordion .panel-body .btn-default {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 13px;
  border-radius: var(--so-border-radius);
  padding: 10px 22px;
  transition: border-color .2s, color .2s;
}

#accordion .panel-body .btn-default:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
}

/* ── Tables ── */
#accordion .panel-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#accordion .panel-body table thead th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
}

#accordion .panel-body table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

#accordion .panel-body table tfoot td {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

#accordion .panel-body table tfoot tr:last-child td {
  color: var(--text-main);
  font-weight: 700;
  font-size: 15px;
  border-top: 1px solid var(--text-muted);
}

/* ── Misc ── */
#accordion .panel-body .well {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  padding: 14px;
  color: var(--text-main);
  font-size: 13px;
}

#accordion .panel-body a {
  color: var(--text-main);
  text-decoration: underline;
}

#accordion .panel-body a:hover { color: var(--text-muted); text-decoration: none; }

/* Login Divider */
#accordion .panel-body .text-center.or {
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
  position: relative;
}

#accordion .panel-body .text-center.or::before,
#accordion .panel-body .text-center.or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: var(--border-light);
}

#accordion .panel-body .text-center.or::before { left: 0; }
#accordion .panel-body .text-center.or::after  { right: 0; }

/* Disabled */
.btn[disabled] { opacity: .5; cursor: not-allowed; }




/* ===== CHECKOUT LOGIN (Wired) ===== */
.cb-login-checkout {
  margin: 20px 0;
}

.cb-login-head {
  margin-bottom: 20px;
}

.cb-login-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.cb-login-head p {
  margin: 0;
  font-size: var(--so-font-size-base);
  color: var(--text-muted);
  line-height: 1.6;
}

.cb-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cb-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  background: var(--bg-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: var(--so-font-size-base);
  color: var(--text-main);
  font-weight: 500;
}

.cb-radio-option:hover {
  border-color: var(--text-main);
  background: var(--bg-main);
}

.cb-radio-option input[type="radio"] {
  margin: 0;
  accent-color: var(--primary);
}

.cb-login-desc {
  margin: 0 0 22px;
  font-size: var(--so-font-size-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.cb-btn-main {
  width: 100%;
  height: 48px;
  border: 1px solid var(--text-main);
  border-radius: var(--so-border-radius);
  background: var(--text-main);
  color: var(--bg-main);
  font-size: var(--so-font-size-base);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.cb-btn-main:hover,
.cb-btn-main:focus {
  background: var(--bg-main);
  color: var(--text-main);
  border-color: var(--text-main);
}

@media (max-width: 767px) {
  .cb-login-head h2 { font-size: 21px; }
  .cb-btn-main { height: 46px; }
}



/* ===== CONTACT PAGE ===== */
.cb-contact-page {
  padding-top: 18px;
  padding-bottom: 40px;
}

.cb-contact-hero {
  margin-bottom: 26px;
  padding: 22px 26px;
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.cb-contact-title {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.cb-contact-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 760px;
}

.cb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.cb-contact-card,
.cb-contact-form-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  box-shadow: var(--shadow-sm);
}

.cb-contact-card {
  padding: 24px;
}

.cb-contact-card__title,
.cb-contact-form-title,
.cb-section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.cb-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cb-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cb-contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--so-border-radius);
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.cb-contact-info-text strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-main);
  font-size: 14px;
}

.cb-contact-muted {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.cb-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cb-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cb-contact-btn:hover,
.cb-contact-btn:focus {
  text-decoration: none;
}

.cb-contact-btn--solid {
  background: var(--text-main);
  border: 1px solid var(--text-main);
  color: var(--bg-main);
}

.cb-contact-btn--solid:hover,
.cb-contact-btn--solid:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inverse);
}

.cb-contact-btn--outline {
  background: var(--bg-main);
  border: 1px solid var(--text-main);
  color: var(--text-main);
}

.cb-contact-btn--outline:hover,
.cb-contact-btn--outline:focus {
  background: var(--text-main);
  color: var(--bg-main);
}

.cb-contact-map {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--so-border-radius);
  border: 1px solid var(--border-light);
}

.cb-contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.cb-contact-extra-locations {
  margin-bottom: 28px;
}

.cb-location-panel {
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  overflow: hidden;
  box-shadow: none;
}

.cb-location-panel + .cb-location-panel {
  margin-top: 12px;
}

.cb-location-panel__head {
  background: var(--bg-soft) !important;
  border: none !important;
}

.cb-location-panel__head .panel-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.cb-location-thumb {
  border-radius: var(--so-border-radius);
}

.cb-contact-form-card {
  padding: 28px;
}

.cb-contact-form-head {
  margin-bottom: 18px;
}

.cb-contact-form-subtitle {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.cb-contact-form .form-group {
  margin-bottom: 18px;
}

.cb-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.cb-form-control {
  height: 46px;
  border: 1px solid var(--border-light);
  border-radius: var(--so-border-radius);
  background: var(--bg-soft);
  box-shadow: none;
  color: var(--text-main);
  font-size: var(--so-font-size-base);
  padding: 0 14px;
  transition: all 0.2s ease;
}

.cb-form-control:focus {
  border-color: var(--primary);
  background: var(--bg-main);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.cb-form-control--textarea {
  height: auto;
  min-height: 160px;
  padding: 14px;
  resize: vertical;
}

.cb-contact-captcha {
  margin-top: 6px;
}

.cb-contact-form-actions {
  margin-top: 20px;
}

.text-danger {
  margin-top: 6px;
  font-size: 12px;
}

@media (max-width: 991px) {
  .cb-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .cb-contact-page { padding-top: 12px; padding-bottom: 28px; }
  .cb-contact-hero { padding: 18px; border-radius: 14px; margin-bottom: 18px; }
  .cb-contact-title { font-size: 26px; }
  .cb-contact-subtitle { font-size: 14px; line-height: 1.7; }
  .cb-contact-card, .cb-contact-form-card { padding: 18px; border-radius: 14px; }
  .cb-contact-card__title, .cb-contact-form-title, .cb-section-title { font-size: 20px; }
  .cb-contact-map { min-height: 280px; }
  .cb-contact-btn { width: 100%; }
}

/* ===== INFORMATION PAGE (wired) ===== */
.cb-info-page {
  padding-top: 18px;
  padding-bottom: 40px;
}

.cb-info-hero {
  margin-bottom: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.cb-info-title {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
  line-height: 1.2;
}

.cb-info-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.cb-info-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.cb-info-content {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
}

.cb-info-content > *:first-child { margin-top: 0; }
.cb-info-content > *:last-child { margin-bottom: 0; }

.cb-info-content h1,
.cb-info-content h2,
.cb-info-content h3,
.cb-info-content h4,
.cb-info-content h5,
.cb-info-content h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 26px;
  margin-bottom: 12px;
}

.cb-info-content h1 { font-size: 30px; }
.cb-info-content h2 { font-size: 26px; }
.cb-info-content h3 { font-size: 22px; }
.cb-info-content h4 { font-size: 19px; }

.cb-info-content p { margin-bottom: 14px; }

.cb-info-content ul,
.cb-info-content ol {
  margin: 0 0 16px 22px;
  padding: 0;
}

.cb-info-content li { margin-bottom: 8px; }

.cb-info-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.cb-info-content a:hover {
  color: var(--primary-hover);
  border-bottom-color: currentColor;
}

.cb-info-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--so-border-radius);
}

.cb-info-content blockquote {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  background: var(--bg-soft);
  color: var(--text-muted);
  border-radius: 0 var(--so-border-radius) var(--so-border-radius) 0;
}

.cb-info-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: var(--so-font-size-base);
}

.cb-info-content table th,
.cb-info-content table td {
  border: 1px solid var(--border-light);
  padding: 12px;
  text-align: left;
}

.cb-info-content table th {
  background: var(--bg-soft);
  color: var(--text-main);
  font-weight: 700;
}

@media (max-width: 767px) {
  .cb-info-page { padding-top: 12px; padding-bottom: 28px; }
  .cb-info-hero { padding: 18px; border-radius: 14px; margin-bottom: 18px; }
  .cb-info-title { font-size: 26px; }
  .cb-info-subtitle { font-size: 14px; line-height: 1.7; }
  .cb-info-card { padding: 18px; border-radius: 14px; }
  .cb-info-content { font-size: 14px; line-height: 1.8; }
  .cb-info-content h1 { font-size: 24px; }
  .cb-info-content h2 { font-size: 22px; }
  .cb-info-content h3 { font-size: 20px; }
  .cb-info-content h4 { font-size: 18px; }
  .cb-info-content table { display: block; overflow-x: auto; white-space: nowrap; }
}


/* ===== SITEMAP PAGE (wired)===== */
.cb-sitemap-page {
  padding-top: 18px;
  padding-bottom: 40px;
}

.cb-sitemap-hero {
  margin-bottom: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.cb-sitemap-title {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.cb-sitemap-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.cb-sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cb-sitemap-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: calc(var(--so-border-radius) * 1.8);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cb-sitemap-card__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.cb-sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-sitemap-list li {
  margin-bottom: 6px;
}

.cb-sitemap-list li a {
  display: inline-block;
  color: var(--text-light);
  text-decoration: none;
  padding: 3px 0;
  transition: all 0.2s ease;
}

.cb-sitemap-list li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.cb-sitemap-list ul {
  margin-top: 6px;
  margin-left: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--border-subtle);
}

.cb-sitemap-heading {
  display: block;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  color: var(--text-main);
}

@media (max-width: 991px) {
  .cb-sitemap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .cb-sitemap-hero { padding: 18px; border-radius: 14px; }
  .cb-sitemap-title { font-size: 26px; }
  .cb-sitemap-card { padding: 18px; border-radius: 14px; }
}



/* ── SOLID.SALE — Modern B&W Category Page ── */

#product-category {
  font-family: var(--so-font-family);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  max-width: var(--so-container-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Breadcrumb */
#product-category .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 16px 0 28px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--so-text-muted);
}
#product-category .breadcrumb li + li::before {
  content: '/';
  color: var(--so-border-light);
  margin-right: 6px;
}
#product-category .breadcrumb a {
  color: var(--so-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
#product-category .breadcrumb a:hover { color: var(--so-text-main); }
#product-category .breadcrumb li:last-child a { color: var(--so-text-main); font-weight: 500; }

/* Category Header Band */
.cat-hero {
  background: var(--so-bg-dark);
  color: var(--so-text-inverse);
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.cat-hero img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--so-surface); /* ⚑ FLAG — see notes */
  padding: 8px;
}
.cat-hero h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--so-text-inverse);
}
.cat-hero p {
  font-size: 14px;
  color: var(--so-text-inverse-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 640px;
}

/* Sub-category grid */
.sub-cat-section { margin-bottom: 36px; }
.sub-cat-section h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-text-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--so-bg-muted);
}
.sub-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.sub-cat-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--so-border-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--so-text-main);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.sub-cat-grid a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--so-primary);
  flex-shrink: 0;
}
.sub-cat-grid a:hover {
  border-color: var(--so-primary);
  background: var(--so-bg-soft);
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--so-bg-soft);
  border-radius: 10px;
  margin-bottom: 24px;
}
.toolbar-left { display: flex; align-items: center; gap: 10px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  background: var(--so-bg-main);
  cursor: pointer;
  color: var(--so-text-muted);
  transition: all 0.15s;
}
.view-btn:hover, .view-btn.active {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}
.view-btn i { font-size: 14px; }

.compare-link {
  font-size: 12px;
  color: var(--so-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.compare-link:hover { color: var(--so-text-main); }

.toolbar-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-select-wrap label {
  font-size: 12px;
  color: var(--so-text-muted);
  white-space: nowrap;
  font-weight: 500;
}
.toolbar-select-wrap select {
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  padding: 6px 28px 6px 10px;
  font-size: 13px;
  color: var(--so-text-main);
  background: var(--so-bg-main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 10px center;
  /* ⚑ FLAG — SVG fill colour above is hardcoded %23888; CSS vars can't reach inside data URIs */
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.toolbar-select-wrap select:hover { border-color: var(--so-primary); }
.toolbar-select-wrap select:focus { outline: none; border-color: var(--so-primary); }

/* Products grid */
#product-list.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
#product-list.product-list-view { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Product card */
.product-card {
  border: 1px solid var(--so-border-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--so-bg-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--so-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* intentionally raw — semi-transparent shadow */
}

/* List view card */
#product-list.product-list-view .product-card {
  flex-direction: row;
  align-items: stretch;
}
#product-list.product-list-view .card-image {
  width: 160px;
  flex-shrink: 0;
}
#product-list.product-list-view .card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  padding: 20px;
}
#product-list.product-list-view .card-info { flex: 1; }
#product-list.product-list-view .card-actions { flex-shrink: 0; }

.card-image {
  position: relative;
  background: var(--so-bg-soft);
  overflow: hidden;
}
.card-image a { display: block; }
.card-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.product-card:hover .card-image img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body { padding: 16px; }
.card-info .product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--so-text-main);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 6px;
}
.card-info .product-name:hover { text-decoration: underline; }
.card-info .product-desc {
  font-size: 12px;
  color: var(--so-text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-block { margin-bottom: 14px; }
.price-new {
  font-size: 17px;
  font-weight: 700;
  color: var(--so-text-main);
}
.price-old {
  font-size: 13px;
  color: var(--so-text-light);
  text-decoration: line-through;
  margin-left: 6px;
}
.price-normal {
  font-size: 17px;
  font-weight: 700;
  color: var(--so-text-main);
}
.price-tax {
  display: block;
  font-size: 11px;
  color: var(--so-text-light);
  margin-top: 2px;
}

/* Star rating */
.rating {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.rating .fa-stack { font-size: 8px; }
.rating .fa-star { color: var(--so-primary); }
.rating .fa-star-o { color: var(--so-border-light); }

/* Action buttons */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-cart:hover { background: var(--so-primary-hover); }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--so-bg-main);
  border: 1px solid var(--so-border-light);
  border-radius: 8px;
  color: var(--so-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-icon:hover { border-color: var(--so-primary); color: var(--so-primary); background: var(--so-bg-soft); }

/* Pagination */
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--so-bg-muted);
}
.cat-pagination .results {
  font-size: 12px;
  color: var(--so-text-muted);
}
.cat-pagination .pagination { margin: 0; }
.cat-pagination .pagination li a,
.cat-pagination .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  font-size: 13px;
  color: var(--so-text-muted);
  text-decoration: none;
  margin: 0 2px;
  transition: all 0.15s;
}
.cat-pagination .pagination li.active span,
.cat-pagination .pagination li a:hover {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state p {
  font-size: 16px;
  color: var(--so-text-light);
  margin-bottom: 24px;
}
.btn-continue {
  display: inline-block;
  padding: 12px 28px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-continue:hover { background: var(--so-primary-hover); }

@media (max-width: 768px) {
  .cat-hero { padding: 22px 20px; gap: 16px; }
  .cat-hero h2 { font-size: 20px; }
  .cat-toolbar { padding: 10px 14px; }
  #product-list.product-list-view .card-image { width: 120px; }
  #product-list.product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* ── Modern B&W Product Compare Page ── */

#product-compare {
  font-family: var(--so-font-family);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  max-width: var(--so-container-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Breadcrumb */
#product-compare .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--so-text-light);
}
#product-compare .breadcrumb li + li::before {
  content: '/';
  color: var(--so-border-subtle);
  margin-right: 6px;
}
#product-compare .breadcrumb a { color: var(--so-text-light); text-decoration: none; transition: color 0.15s; }
#product-compare .breadcrumb a:hover { color: var(--so-text-main); }
#product-compare .breadcrumb li:last-child a { color: var(--so-text-main); font-weight: 600; }

/* Success alert */
.compare-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #f4faf4;
  border: 1px solid #c6e8c6;
  border-radius: 9px;
  font-size: 13px;
  color: #1a6e1a;
  margin-bottom: 20px;
}
/* ⚑ FLAG 1 — see notes */
.compare-alert i { font-size: 15px; }
.compare-alert .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--so-text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.compare-alert .close-btn:hover { color: var(--so-text-main); }

/* Page hero */
.compare-hero {
  background: var(--so-bg-dark);
  border-radius: 12px;
  padding: 26px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.compare-hero-icon {
  width: 48px;
  height: 48px;
  background: var(--so-surface);
  border: 1px solid var(--so-border-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
/* ⚑ FLAG 2 — see notes */
.compare-hero h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--so-text-inverse);
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.compare-hero p {
  font-size: 13px;
  color: var(--so-text-inverse-muted);
  margin: 0;
}

/* Scroll wrapper for wide tables */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--so-border-light);
}

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

/* Column widths */
.compare-table .label-col { width: 160px; min-width: 140px; }
.compare-table .prod-col  { min-width: 200px; }

/* Section header rows */
.compare-table .section-head td {
  background: var(--so-bg-dark);
  color: var(--so-text-inverse);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 18px;
}

/* Normal row */
.compare-table tbody tr td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--so-bg-muted);
  vertical-align: middle;
  font-size: 13px;
  color: var(--so-text-main);
  line-height: 1.5;
}

/* Label cell (first column) */
.compare-table tbody tr td:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--so-text-light);
  background: var(--so-bg-soft);
  border-right: 1px solid var(--so-bg-muted);
  white-space: nowrap;
}

/* Alternating rows */
.compare-table tbody tr:nth-child(even) td:not(:first-child) {
  background: var(--so-bg-soft);
}
.compare-table tbody tr:hover td { background: var(--so-bg-muted); }
.compare-table tbody tr:hover td:first-child { background: var(--so-border-subtle); }

/* Product name */
.compare-table .prod-name-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--so-text-main);
  text-decoration: none;
  line-height: 1.35;
}
.compare-table .prod-name-link:hover { text-decoration: underline; }

/* Product image */
.compare-table .prod-image {
  display: block;
  margin: 0 auto;
  max-width: 140px;
  width: 100%;
  border-radius: 8px;
  background: var(--so-bg-soft);
  padding: 8px;
  transition: transform 0.2s;
}
.compare-table .prod-image:hover { transform: scale(1.04); }

/* Price */
.price-special { font-size: 15px; font-weight: 700; color: var(--so-text-main); }
.price-strike   { font-size: 13px; color: var(--so-border-subtle); text-decoration: line-through; display: block; margin-bottom: 2px; }

/* Availability badge */
.avail-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.avail-in    { background: #f0faf0; color: #1a7a1a; border: 1px solid #b8e0b8; }
.avail-out   { background: #fff2f2; color: #bb2222; border: 1px solid #f0c0c0; }
.avail-pre   { background: #fff8e6; color: #996600; border: 1px solid #f0d890; }
/* ⚑ FLAG 3 — see notes */

/* Stars */
.rating { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.rating .fa-stack { font-size: 8px; }
.rating .fa-star   { color: var(--so-primary); }
.rating .fa-star-o { color: var(--so-border-light); }
.rating-count { font-size: 11px; color: var(--so-text-light); margin-top: 4px; display: block; }

/* Description text */
.compare-table td.description {
  font-size: 12px;
  color: var(--so-text-muted);
  line-height: 1.6;
  max-width: 240px;
}

/* Action row */
.compare-table .action-row td {
  padding: 18px;
  border-bottom: none;
  background: var(--so-bg-main);
  vertical-align: top;
}
.compare-table .action-row td:first-child {
  background: var(--so-bg-soft);
}

/* Action buttons */
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border: none;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 8px;
  white-space: nowrap;
}
.btn-add-cart:hover { background: var(--so-primary-hover); }

.btn-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--so-bg-main);
  color: var(--so-text-muted);
  border: 1px solid var(--so-border-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-remove:hover {
  border-color: #e55333;
  color: #e55333;
  background: #fff5f5;
  text-decoration: none;
}
/* ⚑ FLAG 4 — see notes */

/* Attribute group header */
.attr-group-head td {
  background: var(--so-bg-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--so-text-muted);
  padding: 10px 18px;
  border-top: 2px solid var(--so-border-subtle);
  border-bottom: 1px solid var(--so-border-light);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state p { font-size: 15px; color: var(--so-text-light); margin-bottom: 24px; }
.btn-continue {
  display: inline-block;
  padding: 12px 28px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-continue:hover { background: var(--so-primary-hover); color: var(--so-text-inverse); }

@media (max-width: 768px) {
  .compare-hero { padding: 20px; }
  .compare-hero h1 { font-size: 18px; }
  .compare-table .label-col { width: 110px; min-width: 100px; }
  .compare-table .prod-col  { min-width: 160px; }
  .compare-table tbody tr td { padding: 11px 12px; }
  .compare-table .prod-image { max-width: 100px; }
}



/* ── Modern B&W Manufacturer Product Page ── */

#product-manufacturer {
  font-family: var(--so-font-family);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  max-width: var(--so-container-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Breadcrumb */
#product-manufacturer .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 16px 0 28px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--so-text-light);
}
#product-manufacturer .breadcrumb li + li::before {
  content: '/';
  color: var(--so-border-subtle);
  margin-right: 6px;
}
#product-manufacturer .breadcrumb a {
  color: var(--so-text-light);
  text-decoration: none;
  transition: color 0.15s;
}
#product-manufacturer .breadcrumb a:hover { color: var(--so-text-main); }
#product-manufacturer .breadcrumb li:last-child a {
  color: var(--so-text-main);
  font-weight: 600;
}

/* Brand Hero */
.brand-hero {
  background: var(--so-bg-dark);
  border-radius: 12px;
  padding: 28px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.brand-hero-icon {
  width: 64px;
  height: 64px;
  background: var(--so-surface);
  border: 1px solid var(--so-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  color: var(--so-text-inverse);
}
/* ⚑ FLAG 1 — see notes */
.brand-hero-text h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--so-text-inverse);
  margin: 0 0 5px;
}
.brand-hero-text p {
  font-size: 13px;
  color: var(--so-text-inverse-muted);
  margin: 0;
}
.brand-hero-back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--so-border-light);
  border-radius: 8px;
  color: var(--so-text-inverse-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.brand-hero-back:hover {
  border-color: var(--so-text-inverse);
  color: var(--so-text-inverse);
  text-decoration: none;
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 18px;
  background: var(--so-bg-soft);
  border-radius: 10px;
  margin-bottom: 22px;
}
.toolbar-left { display: flex; align-items: center; gap: 9px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  background: var(--so-bg-main);
  cursor: pointer;
  color: var(--so-text-muted);
  font-size: 13px;
  transition: all 0.15s;
}
.view-btn:hover, .view-btn.active {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}

.compare-link {
  font-size: 12px;
  color: var(--so-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.compare-link:hover { color: var(--so-text-main); }

.toolbar-select-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}
.toolbar-select-wrap label {
  font-size: 11px;
  color: var(--so-text-muted);
  white-space: nowrap;
  font-weight: 500;
}
.toolbar-select-wrap select {
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  padding: 6px 26px 6px 10px;
  font-size: 12px;
  color: var(--so-text-main);
  background: var(--so-bg-main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 9px center;
  /* ⚑ FLAG 2 — SVG fill hardcoded, see notes */
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.toolbar-select-wrap select:hover { border-color: var(--so-primary); }
.toolbar-select-wrap select:focus { outline: none; border-color: var(--so-primary); }

/* Products grid */
#product-list.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
#product-list.product-list-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Product card — grid */
.product-card {
  border: 1px solid var(--so-border-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--so-bg-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--so-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* intentionally raw — semi-transparent shadow */
}

/* Product card — list override */
#product-list.product-list-view .product-card {
  flex-direction: row;
  align-items: stretch;
}
#product-list.product-list-view .card-image {
  width: 160px;
  flex-shrink: 0;
}
#product-list.product-list-view .card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  padding: 20px;
}
#product-list.product-list-view .card-info { flex: 1; }
#product-list.product-list-view .card-actions { flex-shrink: 0; align-self: flex-end; }

.card-image {
  position: relative;
  background: var(--so-bg-soft);
  overflow: hidden;
}
.card-image a { display: block; }
.card-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.product-card:hover .card-image img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body { padding: 15px; }

.card-info .product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--so-text-main);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 5px;
}
.card-info .product-name:hover { text-decoration: underline; }
.card-info .product-desc {
  font-size: 12px;
  color: var(--so-text-muted);
  line-height: 1.5;
  margin: 0 0 11px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-block { margin-bottom: 12px; }
.price-new {
  font-size: 16px;
  font-weight: 700;
  color: var(--so-text-main);
}
.price-old {
  font-size: 12px;
  color: var(--so-text-light);
  text-decoration: line-through;
  margin-left: 5px;
}
.price-normal {
  font-size: 16px;
  font-weight: 700;
  color: var(--so-text-main);
}
.price-tax {
  display: block;
  font-size: 10px;
  color: var(--so-text-light);
  margin-top: 2px;
}

/* Stars */
.rating {
  display: flex;
  gap: 2px;
  margin-bottom: 11px;
}
.rating .fa-stack { font-size: 8px; }
.rating .fa-star   { color: var(--so-primary); }
.rating .fa-star-o { color: var(--so-border-light); }

/* Buttons */
.card-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-cart:hover { background: var(--so-primary-hover); }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--so-bg-main);
  border: 1px solid var(--so-border-light);
  border-radius: 8px;
  color: var(--so-text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-icon:hover { border-color: var(--so-primary); color: var(--so-primary); background: var(--so-bg-soft); }

/* Pagination */
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--so-bg-muted);
}
.cat-pagination .results {
  font-size: 12px;
  color: var(--so-text-light);
}
.cat-pagination .pagination { margin: 0; }
.cat-pagination .pagination li a,
.cat-pagination .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  font-size: 13px;
  color: var(--so-text-muted);
  text-decoration: none;
  margin: 0 2px;
  transition: all 0.15s;
}
.cat-pagination .pagination li.active span,
.cat-pagination .pagination li a:hover {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state p {
  font-size: 15px;
  color: var(--so-text-light);
  margin-bottom: 24px;
}
.btn-continue {
  display: inline-block;
  padding: 12px 28px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-continue:hover { background: var(--so-primary-hover); color: var(--so-text-inverse); }

@media (max-width: 768px) {
  .brand-hero { padding: 20px; gap: 14px; }
  .brand-hero-text h2 { font-size: 18px; }
  .brand-hero-back { display: none; }
  #product-list.product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #product-list.product-list-view .card-image { width: 110px; }
}



/* ── Modern B&W Manufacturer Page ── */

#product-manufacturer {
  font-family: var(--so-font-family);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  max-width: var(--so-container-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Breadcrumb */
#product-manufacturer .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 16px 0 28px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--so-text-light);
}
#product-manufacturer .breadcrumb li + li::before {
  content: '/';
  color: var(--so-border-subtle);
  margin-right: 6px;
}
#product-manufacturer .breadcrumb a {
  color: var(--so-text-light);
  text-decoration: none;
  transition: color 0.15s;
}
#product-manufacturer .breadcrumb a:hover { color: var(--so-text-main); }
#product-manufacturer .breadcrumb li:last-child a {
  color: var(--so-text-main);
  font-weight: 600;
}

/* Hero banner */
.mfr-hero {
  background: var(--so-bg-dark);
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mfr-hero-left h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--so-text-inverse);
  margin: 0 0 8px;
}
.mfr-hero-left p {
  font-size: 13px;
  color: var(--so-text-inverse-muted);
  margin: 0;
}

/* Alpha jump nav */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--so-bg-soft);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 32px;
  align-items: center;
}
.alpha-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-text-light);
  margin-right: 6px;
  white-space: nowrap;
}
.alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--so-text-muted);
  text-decoration: none;
  background: var(--so-bg-main);
  transition: all 0.15s;
}
.alpha-nav a:hover {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}

/* Section divider with letter */
.mfr-section {
  margin-bottom: 36px;
}
.mfr-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mfr-letter {
  width: 42px;
  height: 42px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.mfr-section-line {
  flex: 1;
  height: 1px;
  background: var(--so-bg-muted);
}

/* Manufacturer cards grid */
.mfr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.mfr-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--so-border-light);
  border-radius: 9px;
  text-decoration: none;
  color: var(--so-text-main);
  font-size: 13px;
  font-weight: 500;
  background: var(--so-bg-main);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  line-height: 1.3;
}
.mfr-card:hover {
  border-color: var(--so-primary);
  background: var(--so-bg-soft);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); /* intentionally raw — semi-transparent shadow */
  color: var(--so-text-main);
  text-decoration: none;
}
.mfr-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--so-border-subtle);
  flex-shrink: 0;
  transition: background 0.15s;
}
.mfr-card:hover .mfr-card-dot { background: var(--so-primary); }
.mfr-card-arrow {
  margin-left: auto;
  font-size: 11px;
  color: var(--so-border-subtle);
  transition: color 0.15s, transform 0.15s;
}
.mfr-card:hover .mfr-card-arrow {
  color: var(--so-primary);
  transform: translateX(2px);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state p {
  font-size: 15px;
  color: var(--so-text-light);
  margin-bottom: 24px;
}
.btn-continue {
  display: inline-block;
  padding: 12px 28px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-continue:hover { background: var(--so-primary-hover); color: var(--so-text-inverse); }

/* Count badge on hero */
.mfr-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--so-surface);
  border: 1px solid var(--so-border-light);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--so-text-inverse);
  font-size: 13px;
}
/* ⚑ FLAG 1 — see notes */
.mfr-count-badge strong {
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .mfr-hero { padding: 22px 20px; }
  .mfr-hero-left h1 { font-size: 20px; }
  .mfr-grid { grid-template-columns: repeat(2, 1fr); }
  .alpha-nav { padding: 10px 12px; }
}


/* ── Modern B&W Product.twig CSS (Wired) ── */

/* --- Breadcrumb --- */
.cb-breadcrumb {
  background: none;
  padding: 12px 0;
  margin-bottom: 10px;
  font-size: 12.5px;
}
.cb-breadcrumb li + li:before { color: var(--so-text-muted); }
.cb-breadcrumb a { color: var(--so-text-muted); }
.cb-breadcrumb li:last-child a { color: var(--so-text-main); }

/* --- Product Top Section --- */
.cb-product-top {
  margin-bottom: 40px;
}

/* --- Gallery --- */
.cb-gallery {
  margin-bottom: 30px;
}

.cb-gallery-main {
  position: relative;
  background: var(--so-bg-soft);
  border: 1px solid var(--so-border-light);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.cb-gallery-main .cb-main-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.cb-gallery-main:hover .cb-main-img {
  transform: scale(1.03);
}

.cb-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6); /* intentionally raw — semi-transparent overlay */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--so-text-inverse);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cb-gallery-main:hover .cb-zoom-icon {
  opacity: 1;
}

.cb-gallery-link {
  display: block;
  text-decoration: none;
}

.cb-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cb-thumb {
  display: block;
  width: 68px;
  height: 68px;
  border: 2px solid var(--so-border-subtle);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.cb-thumb.active,
.cb-thumb:hover {
  border-color: var(--so-primary);
}

.cb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Product Info Panel --- */
.cb-product-info {
  padding: 0 0 0 10px;
}

.cb-product-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--so-text-main);
  margin: 0 0 12px;
  line-height: 1.3;
}

/* Rating */
.cb-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

.cb-stars { color: #FF9900; font-size: 15px; }
/* ⚑ FLAG 1 — see notes */
.cb-stars .fa-star-o { color: var(--so-border-subtle); }
.cb-review-count,
.cb-write-review { color: var(--so-accent); text-decoration: none; }
/* ⚑ FLAG 2 — see notes */
.cb-review-count:hover,
.cb-write-review:hover { color: var(--so-primary); text-decoration: underline; }
.cb-divider-dot { color: var(--so-border-subtle); }

/* Meta info */
.cb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-meta-item {
  font-size: 13px;
  color: var(--so-text-muted);
}

.cb-meta-item a {
  color: var(--so-accent);
  text-decoration: none;
}

.cb-meta-item a:hover { text-decoration: underline; }

.cb-stock i { font-size: 8px; margin-right: 3px; }
.cb-in-stock  { color: var(--so-primary); font-weight: 600; }
.cb-out-stock { color: var(--so-accent);  font-weight: 600; }
/* ⚑ FLAG 3 — see notes */

/* Price */
.cb-price-box {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--so-text-main);
  display: block;
  line-height: 1.2;
}

.cb-price-special { color: var(--so-accent); }

.cb-price-old {
  font-size: 16px;
  color: var(--so-text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

.cb-price-tax,
.cb-price-reward,
.cb-price-points {
  font-size: 12.5px;
  color: var(--so-text-muted);
  display: block;
  margin-top: 4px;
}

/* Discounts */
.cb-discounts {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-discount-row {
  font-size: 13px;
  color: var(--so-primary);
  padding: 4px 0;
}

.cb-discount-row i { margin-right: 4px; }

/* Options */
.cb-options {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-options .form-group { margin-bottom: 14px; }

.cb-options .control-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--so-text-main);
  margin-bottom: 6px;
}

.cb-options .form-control {
  border-radius: 4px;
  border-color: var(--so-border-subtle);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* intentionally raw — subtle depth shadow */
  font-size: 14px;
}

.cb-options .form-control:focus {
  border-color: var(--so-primary);
  box-shadow: 0 0 0 3px var(--so-primary-focus-ring);
}
/* ⚑ FLAG 4 — see notes */

/* Quantity */
.cb-cart-actions {
  margin-bottom: 16px;
}

.cb-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cb-qty-row label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--so-text-main);
  margin: 0;
  white-space: nowrap;
}

.cb-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.cb-qty-btn {
  width: 36px;
  height: 36px;
  background: var(--so-bg-soft);
  border: none;
  color: var(--so-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.2s ease;
}

.cb-qty-btn:hover { background: var(--so-bg-muted); }

.cb-qty-input {
  width: 50px !important;
  text-align: center;
  border: none !important;
  border-left: 1px solid var(--so-border-subtle) !important;
  border-right: 1px solid var(--so-border-subtle) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

/* Cart Buttons */
.cb-btn-cart {
  display: block;
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  background: var(--so-primary);
  color: #fff;
  letter-spacing: 0.3px;
}

.cb-btn-cart:hover,
.cb-btn-cart:focus {
  background: var(--so-primary-hover);
  color: #fff;
}

.cb-btn-cart i { margin-right: 6px; }

.cb-btn-buynow {
  display: block;
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  background: var(--so-accent);
  color: var(--so-text-main);
  border-bottom: 3px solid var(--so-accent-hover);
  letter-spacing: 0.3px;
}
/* ⚑ FLAG 5 — see notes */

.cb-btn-buynow:hover,
.cb-btn-buynow:focus {
  background: var(--so-accent-hover);
  color: var(--so-text-main);
}

.cb-btn-buynow i { margin-right: 6px; }

.cb-min-alert {
  font-size: 13px;
  border-radius: 4px;
}

/* Secondary Actions */
.cb-secondary-actions {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--so-border-light);
}

.cb-action-btn {
  background: none;
  border: none;
  color: var(--so-text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.cb-action-btn:hover { color: var(--so-primary); }
.cb-action-btn i { font-size: 15px; }

/* --- Tabs Section --- */
.cb-tabs-section {
  margin-bottom: 40px;
}

.cb-nav-tabs {
  border-bottom: 2px solid var(--so-bg-dark);
  margin-bottom: 0;
}

.cb-nav-tabs > li > a {
  color: var(--so-text-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  margin-right: 0;
  transition: all 0.2s ease;
  position: relative;
}

.cb-nav-tabs > li > a:hover {
  background: none;
  border: none;
  color: var(--so-text-main);
}

.cb-nav-tabs > li.active > a,
.cb-nav-tabs > li.active > a:hover,
.cb-nav-tabs > li.active > a:focus {
  background: var(--so-bg-dark);
  color: var(--so-text-inverse);
  border: none;
}

.cb-tab-content {
  padding: 28px 24px;
  border: 1px solid var(--so-border-light);
  border-top: none;
  background: var(--so-bg-main);
  border-radius: 0 0 6px 6px;
}

.cb-description {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--so-text-muted);
}

.cb-description img { max-width: 100%; height: auto; }

/* Spec Table */
.cb-spec-table {
  margin-bottom: 0;
}

.cb-spec-table thead td {
  background: var(--so-bg-dark);
  color: var(--so-text-inverse);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
}

.cb-spec-table tbody td {
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--so-text-muted);
  border-color: var(--so-border-light);
}

.cb-spec-label {
  font-weight: 600;
  color: var(--so-text-main);
  width: 40%;
}

.cb-spec-table tbody tr:nth-child(even) {
  background: var(--so-bg-soft);
}

/* Review */
.cb-review-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--so-text-main);
  margin: 24px 0 16px;
}

.cb-rating-input {
  padding: 8px 0;
}

.cb-btn-review {
  background: var(--so-bg-dark);
  color: var(--so-text-inverse);
  border: none;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.cb-btn-review:hover { background: var(--so-primary); color: var(--so-text-inverse); }

/* --- Related Products --- */
.cb-related-section {
  margin-bottom: 40px;
}

.cb-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--so-text-main);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--so-text-main);
  display: inline-block;
}

.cb-product-card {
  border: 1px solid var(--so-border-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--so-bg-main);
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cb-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* intentionally raw — semi-transparent shadow */
  transform: translateY(-3px);
}

.cb-card-image {
  background: var(--so-bg-soft);
  overflow: hidden;
}

.cb-card-image img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.cb-product-card:hover .cb-card-image img {
  transform: scale(1.05);
}

.cb-card-body {
  padding: 14px 14px 8px;
}

.cb-card-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cb-card-title a {
  color: var(--so-text-main);
  text-decoration: none;
}

.cb-card-title a:hover { color: var(--so-primary); }

.cb-card-rating {
  font-size: 13px;
  color: #FF9900; /* ⚑ FLAG 1 */
  margin-bottom: 6px;
}

.cb-card-rating .fa-star-o { color: var(--so-border-subtle); }

.cb-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--so-text-main);
  margin-bottom: 4px;
}

.cb-card-price-new {
  color: var(--so-accent);
  font-weight: 700;
}

.cb-card-price-old {
  font-size: 13px;
  color: var(--so-text-muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.cb-card-actions {
  padding: 0 14px 14px;
}

.cb-card-cart {
  width: 100%;
  padding: 8px 12px;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cb-card-cart:hover { background: var(--so-primary-hover); }

/* Tags */
.cb-tags {
  margin-bottom: 20px;
}

.cb-tag {
  color: var(--so-accent);
  text-decoration: none;
}

.cb-tag:hover { text-decoration: underline; color: var(--so-primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .cb-product-title { font-size: 22px; }
  .cb-price-current { font-size: 26px; }
  .cb-product-info { padding: 20px 0 0; }
  .cb-rating-row { flex-wrap: wrap; gap: 4px 8px; }

  .cb-nav-tabs > li > a {
    padding: 10px 14px;
    font-size: 12px;
  }

  .cb-tab-content { padding: 20px 16px; }
  .cb-gallery-main { border-radius: 4px; }
  .cb-secondary-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .cb-product-title { font-size: 19px; }
  .cb-price-current { font-size: 24px; }
  .cb-btn-cart, .cb-btn-buynow { font-size: 14px; padding: 12px 16px; }
}



/* ── Modern B&W Reviews ── */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.review-card {
  border: 1px solid var(--so-border-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--so-bg-main);
  transition: border-color 0.2s;
}
.review-card:hover { border-color: var(--so-border-subtle); }
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--so-bg-soft);
  border-bottom: 1px solid var(--so-bg-muted);
}
.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--so-primary);
  color: var(--so-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--so-text-main);
  line-height: 1.2;
}
.review-date {
  font-size: 11px;
  color: var(--so-text-light);
  margin-top: 2px;
}
.review-stars {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-shrink: 0;
}
.review-stars .fa-stack { font-size: 8px; }
.review-stars .fa-star   { color: #F5A623; }
/* ⚑ FLAG 1 — see notes */
.review-stars .fa-star-o { color: var(--so-border-subtle); }
.review-body {
  padding: 16px 18px;
}
.review-body p {
  font-size: 13px;
  color: var(--so-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Pagination */
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--so-bg-muted);
}
.reviews-pagination .results {
  font-size: 12px;
  color: var(--so-text-light);
}
.reviews-pagination .pagination { margin: 0; }
.reviews-pagination .pagination li a,
.reviews-pagination .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 6px;
  font-size: 13px;
  color: var(--so-text-muted);
  text-decoration: none;
  margin: 0 2px;
  transition: all 0.15s;
}
.reviews-pagination .pagination li.active span,
.reviews-pagination .pagination li a:hover {
  background: var(--so-primary);
  border-color: var(--so-primary);
  color: var(--so-text-inverse);
}

/* Empty state */
.reviews-empty {
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--so-border-subtle);
  border-radius: 12px;
  color: var(--so-text-light);
  font-size: 14px;
}


/* SEARCH.TWIG */
.cb-search-page {
  padding-top: 10px;
  padding-bottom: 30px;
}

.cb-breadcrumb {
  background: transparent;
  padding: 10px 0 18px;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.cb-breadcrumb li a {
  color: var(--so-text-muted);
  text-decoration: none;
}

.cb-breadcrumb li a:hover {
  color: var(--so-text-main);
}

.cb-search-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-search-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--so-text-muted);
}

.cb-search-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: var(--so-text-main);
  letter-spacing: -0.4px;
}

.cb-search-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--so-text-muted);
  line-height: 1.7;
}

.cb-search-box {
  background: var(--so-bg-main);
  border: 1px solid var(--so-border-light);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); /* intentionally raw — ambient shadow */
  margin-bottom: 24px;
}

.cb-search-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.cb-search-field {
  min-width: 0;
}

.cb-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--so-text-main);
}

.cb-input,
.cb-select {
  height: 48px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 14px;
  box-shadow: none;
  padding: 0 14px;
  font-size: 14px;
  color: var(--so-text-main);
  background: var(--so-bg-main);
  transition: all 0.2s ease;
}

.cb-input:focus,
.cb-select:focus {
  border-color: var(--so-primary);
  box-shadow: 0 0 0 3px var(--so-primary-focus-ring);
  /* ⚑ FLAG 1 — see notes */
}

.cb-search-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}

.cb-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--so-text-main);
  font-weight: 500;
}

.cb-check input[type="checkbox"] {
  accent-color: var(--so-primary);
}

.cb-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--so-primary);
  background: var(--so-primary);
  color: var(--so-text-inverse);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cb-btn-dark:hover,
.cb-btn-dark:focus {
  background: var(--so-bg-main);
  color: var(--so-primary);
  text-decoration: none;
}

.cb-btn-dark i {
  margin-right: 8px;
}

.cb-btn-full {
  width: 100%;
}

.cb-results-head {
  margin-bottom: 14px;
}

.cb-results-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--so-text-main);
}

.cb-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--so-border-light);
  border-radius: 18px;
  background: var(--so-bg-main);
}

.cb-toolbar-left,
.cb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cb-view-toggle {
  display: flex;
  gap: 8px;
}

.cb-icon-btn,
.cb-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--so-border-subtle);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  transition: all 0.2s ease;
}

.cb-icon-btn:hover,
.cb-icon-action:hover {
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-color: var(--so-primary);
}

.cb-compare-link {
  color: var(--so-text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.cb-compare-link:hover {
  color: var(--so-primary);
  border-bottom-color: var(--so-primary);
  text-decoration: none;
}

.cb-control {
  min-width: 180px;
}

.cb-control label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--so-text-muted);
}

.cb-select-sm {
  height: 44px;
  border-radius: 12px;
}

.cb-product-grid .product-layout {
  margin-bottom: 24px;
}

.cb-product-card {
  background: var(--so-bg-main);
  border: 1px solid var(--so-border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); /* intentionally raw — ambient shadow */
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cb-product-card:hover {
  border-color: var(--so-primary);
  transform: translateY(-1px);
}

.cb-product-image-wrap {
  padding: 18px;
  border-bottom: 1px solid var(--so-bg-muted);
}

.cb-product-image {
  display: block;
  background: var(--so-bg-soft);
  border-radius: 16px;
  overflow: hidden;
  padding: 14px;
}

.cb-product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.cb-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cb-product-name {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.cb-product-name a {
  color: var(--so-text-main);
  text-decoration: none;
}

.cb-product-name a:hover {
  color: var(--so-primary);
}

.cb-product-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--so-text-muted);
  margin-bottom: 14px;
  min-height: 66px;
  overflow: hidden;
}

.cb-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
}

.cb-price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--so-text-main);
}

.cb-price-old {
  font-size: 14px;
  color: var(--so-text-muted);
  text-decoration: line-through;
}

.cb-price-tax {
  display: block;
  width: 100%;
  font-size: 12px;
  color: var(--so-text-muted);
}

.cb-rating {
  margin-bottom: 14px;
  color: var(--so-primary);
  font-size: 13px;
}

.cb-product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.cb-btn-cart {
  flex: 1;
}

.cb-empty-box {
  padding: 36px 24px;
  border: 1px solid var(--so-border-light);
  border-radius: 18px;
  background: var(--so-bg-main);
  text-align: center;
}

.cb-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--so-text-main);
  margin-bottom: 8px;
}

.cb-empty-text {
  margin: 0;
  color: var(--so-text-muted);
  font-size: 14px;
}

.cb-pagination-row {
  margin-top: 10px;
}

.cb-results-text {
  color: var(--so-text-muted);
  font-size: 13px;
}

@media (max-width: 1199px) {
  .cb-search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cb-search-button-wrap {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .cb-search-title {
    font-size: 26px;
  }

  .cb-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .cb-toolbar-right {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cb-search-page {
    padding-bottom: 20px;
  }

  .cb-search-title {
    font-size: 22px;
  }

  .cb-search-subtitle {
    font-size: 13px;
  }

  .cb-search-box,
  .cb-toolbar,
  .cb-product-card,
  .cb-empty-box {
    border-radius: 16px;
  }

  .cb-search-box,
  .cb-product-body,
  .cb-product-image-wrap {
    padding: 16px;
  }

  .cb-search-grid {
    grid-template-columns: 1fr;
  }

  .cb-search-button-wrap {
    grid-column: auto;
  }

  .cb-toolbar-left,
  .cb-toolbar-right {
    width: 100%;
  }

  .cb-control {
    width: 100%;
    min-width: 0;
  }

  .cb-product-image img {
    height: 180px;
  }

  .cb-pagination-row > div {
    text-align: left !important;
    margin-bottom: 8px;
  }
}


/* SPECIAL.TWIG */
.cb-special-page {
  padding-top: 10px;
  padding-bottom: 30px;
}

.cb-breadcrumb {
  background: transparent;
  padding: 10px 0 18px;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.cb-breadcrumb li a {
  color: var(--so-text-muted);
  text-decoration: none;
}

.cb-breadcrumb li a:hover {
  color: var(--so-text-main);
}

.cb-special-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--so-border-light);
}

.cb-special-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--so-text-muted);
}

.cb-special-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: var(--so-text-main);
  letter-spacing: -0.4px;
}

.cb-special-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--so-text-muted);
  line-height: 1.7;
}

.cb-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--so-border-light);
  border-radius: 18px;
  background: var(--so-bg-main);
}

.cb-toolbar-left,
.cb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cb-view-toggle {
  display: flex;
  gap: 8px;
}

.cb-icon-btn,
.cb-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--so-border-subtle);
  background: var(--so-bg-main);
  color: var(--so-text-main);
  transition: all 0.2s ease;
}

.cb-icon-btn:hover,
.cb-icon-action:hover {
  background: var(--so-primary);
  color: var(--so-text-inverse);
  border-color: var(--so-primary);
}

.cb-compare-link {
  color: var(--so-text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.cb-compare-link:hover {
  color: var(--so-primary);
  border-bottom-color: var(--so-primary);
  text-decoration: none;
}

.cb-control {
  min-width: 180px;
}

.cb-control label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--so-text-muted);
}

.cb-select {
  height: 48px;
  border: 1px solid var(--so-border-subtle);
  border-radius: 14px;
  box-shadow: none;
  padding: 0 14px;
  font-size: 14px;
  color: var(--so-text-main);
  background: var(--so-bg-main);
  transition: all 0.2s ease;
}

.cb-select:focus {
  border-color: var(--so-primary);
  box-shadow: 0 0 0 3px var(--so-primary-focus-ring);
  /* ⚑ FLAG 1 — see notes */
}

.cb-select-sm {
  height: 44px;
  border-radius: 12px;
}

.cb-product-grid .product-layout {
  margin-bottom: 24px;
}

.cb-product-card {
  background: var(--so-bg-main);
  border: 1px solid var(--so-border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); /* intentionally raw — ambient shadow */
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cb-product-card:hover {
  border-color: var(--so-primary);
  transform: translateY(-1px);
}

.cb-product-image-wrap {
  position: relative;
  padding: 18px;
  border-bottom: 1px solid var(--so-bg-muted);
}

.cb-product-image {
  display: block;
  background: var(--so-bg-soft);
  border-radius: 16px;
  overflow: hidden;
  padding: 14px;
}

.cb-product-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.cb-sale-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--so-accent);
  color: var(--so-text-inverse);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* ⚑ FLAG 2 — see notes */

.cb-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cb-product-name {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.cb-product-name a {
  color: var(--so-text-main);
  text-decoration: none;
}

.cb-product-name a:hover {
  color: var(--so-primary);
}

.cb-product-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--so-text-muted);
  margin-bottom: 14px;
  min-height: 66px;
  overflow: hidden;
}

.cb-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
}

.cb-price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--so-text-main);
}

.cb-price-old {
  font-size: 14px;
  color: var(--so-text-muted);
  text-decoration: line-through;
}

.cb-price-tax {
  display: block;
  width: 100%;
  font-size: 12px;
  color: var(--so-text-muted);
}

.cb-rating {
  margin-bottom: 14px;
  color: var(--so-primary);
  font-size: 13px;
}

.cb-product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.cb-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--so-primary);
  background: var(--so-primary);
  color: var(--so-text-inverse);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cb-btn-dark:hover,
.cb-btn-dark:focus {
  background: var(--so-bg-main);
  color: var(--so-primary);
  text-decoration: none;
}

.cb-btn-dark i {
  margin-right: 8px;
}

.cb-btn-cart {
  flex: 1;
}

.cb-empty-box {
  padding: 36px 24px;
  border: 1px solid var(--so-border-light);
  border-radius: 18px;
  background: var(--so-bg-main);
  text-align: center;
}

.cb-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--so-text-main);
  margin-bottom: 8px;
}

.cb-empty-text {
  margin: 0;
  color: var(--so-text-muted);
  font-size: 14px;
}

.cb-pagination-row {
  margin-top: 10px;
}

.cb-results-text {
  color: var(--so-text-muted);
  font-size: 13px;
}

.cb-page-actions {
  margin-top: 22px;
}

@media (max-width: 991px) {
  .cb-special-title {
    font-size: 26px;
  }

  .cb-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .cb-toolbar-right {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cb-special-page {
    padding-bottom: 20px;
  }

  .cb-special-title {
    font-size: 22px;
  }

  .cb-special-subtitle {
    font-size: 13px;
  }

  .cb-toolbar,
  .cb-product-card,
  .cb-empty-box {
    border-radius: 16px;
  }

  .cb-toolbar {
    padding: 14px;
  }

  .cb-toolbar-left,
  .cb-toolbar-right {
    width: 100%;
  }

  .cb-control {
    width: 100%;
    min-width: 0;
  }

  .cb-product-image-wrap,
  .cb-product-body {
    padding: 16px;
  }

  .cb-product-image img {
    height: 180px;
  }

  .cb-sale-badge {
    top: 24px;
    left: 24px;
  }

  .cb-pagination-row > div {
    text-align: left !important;
    margin-bottom: 8px;
  }
}