/*
Theme Name: ChemBioSynth
Theme URI: https://chembiosynth.com
Author: ChemBioSynth Team
Author URI: https://chembiosynth.com
Description: A professional WooCommerce-ready ecommerce theme for chemical and life science reagent businesses. Features fast loading, clean design, and full WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chembiosynth
Tags: e-commerce, woocommerce, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* =============================================
   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Typography
   3. Layout & Container
   4. Header & Navigation
   5. Hero Section
   6. Trust Strip
   7. Product Grid / Cards
   8. Category Cards
   9. WooCommerce Overrides
   10. Sidebar
   11. Footer
   12. Widgets
   13. Cart Drawer
   14. Forms & Buttons
   15. Responsive
============================================= */

/* ─── 1. Variables & Reset ─── */
:root {
  --cbs-navy:        #0a1628;
  --cbs-blue:        #1a3a6b;
  --cbs-teal:        #00b4a0;
  --cbs-teal-light:  #00d4bc;
  --cbs-gold:        #c8a96e;
  --cbs-off-white:   #f8f7f4;
  --cbs-light-gray:  #eef0f5;
  --cbs-text:        #1e2434;
  --cbs-muted:       #6b7080;
  --cbs-border:      #dde2ea;
  --cbs-shadow:      0 4px 24px rgba(10,22,40,.10);
  --cbs-shadow-lg:   0 12px 48px rgba(10,22,40,.16);
  --cbs-radius:      10px;
  --cbs-font-body:   'DM Sans', sans-serif;
  --cbs-font-head:   'DM Serif Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--cbs-font-body);
  color: var(--cbs-text);
  background: #fff;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cbs-teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cbs-navy); }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ─── 2. Typography ─── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--cbs-font-head);
  color: var(--cbs-navy);
  line-height: 1.2;
  margin-bottom: .5em;
}
h1 { font-size: clamp(28px,4vw,48px); }
h2 { font-size: clamp(22px,3vw,36px); }
h3 { font-size: clamp(18px,2.5vw,26px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1em; }

/* ─── 3. Layout ─── */
.cbs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.cbs-section { padding: 72px 0; }
.cbs-section--gray { background: var(--cbs-light-gray); }
.cbs-section--navy { background: var(--cbs-navy); }
.cbs-section--offwhite { background: var(--cbs-off-white); }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cbs-teal); margin-bottom: 10px;
}
.section-title {
  font-family: var(--cbs-font-head);
  font-size: clamp(24px,3vw,38px); color: var(--cbs-navy); line-height: 1.15;
}
.section-sub {
  color: var(--cbs-muted); font-size: 15px; margin-top: 10px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ─── 4. Header & Navigation ─── */

/* Top Bar */
.cbs-topbar {
  background: var(--cbs-navy);
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  padding: 6px 0;
}
.cbs-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cbs-topbar__left { display: flex; gap: 20px; align-items: center; }
.cbs-topbar__right { display: flex; gap: 18px; align-items: center; }
.cbs-topbar a {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  transition: color .15s;
}
.cbs-topbar a:hover { color: var(--cbs-teal-light); }

/* Main Header */
#masthead {
  background: #fff;
  border-bottom: 1px solid var(--cbs-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(10,22,40,.07);
}
.cbs-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

/* Logo */
.cbs-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.cbs-logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 8px;
}
.cbs-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.cbs-logo__name {
  font-family: var(--cbs-font-head);
  font-size: 19px;
  color: var(--cbs-navy);
  letter-spacing: -.3px;
}
.cbs-logo__sub {
  font-size: 10px;
  color: var(--cbs-teal);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Search Bar */
.cbs-search {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  background: var(--cbs-light-gray);
  border-radius: var(--cbs-radius);
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: border-color .2s;
}
.cbs-search:focus-within { border-color: var(--cbs-teal); }
.cbs-search select {
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 13px;
  color: var(--cbs-muted);
  border-right: 1px solid var(--cbs-border);
  min-width: 130px;
  font-family: var(--cbs-font-body);
  cursor: pointer;
}
.cbs-search input[type="text"],
.cbs-search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  font-family: var(--cbs-font-body);
  width: 100%;
}
.cbs-search button[type="submit"] {
  background: var(--cbs-teal);
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s;
}
.cbs-search button[type="submit"]:hover { background: #009585; }

/* Header Actions */
.cbs-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cbs-hdr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: var(--cbs-text);
  border: none;
  background: none;
  font-family: var(--cbs-font-body);
  transition: background .15s;
  font-size: 11px;
  font-weight: 500;
  position: relative;
}
.cbs-hdr-btn:hover { background: var(--cbs-light-gray); color: var(--cbs-text); }
.cbs-hdr-btn svg { width: 22px; height: 22px; }
.cbs-cart-count {
  background: var(--cbs-teal);
  color: #fff;
  border-radius: 50%;
  width: 17px; height: 17px;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 2px; right: 4px;
}

.cbs-quote-btn {
  background: var(--cbs-navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cbs-quote-btn:hover { background: var(--cbs-blue); color: #fff; }

/* Primary Navigation */
#site-navigation a { color:#000; }
.cbs-nav__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.cbs-nav__inner ul { display: flex; gap: 0; }
.cbs-nav__inner ul li { position: relative; }
.cbs-nav__inner ul li a {
  display: block;
  padding: 14px 17px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.cbs-nav__inner ul li a:hover,
.cbs-nav__inner ul li.current-menu-item > a,
.cbs-nav__inner ul li.current-menu-ancestor > a {
  color: var(--cbs-teal-light);
  background: rgba(255,255,255,.05);
}

/* Dropdown */
.cbs-nav__inner ul ul {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border-radius: 8px;
  min-width: 210px;
  box-shadow: var(--cbs-shadow-lg);
  border: 1px solid var(--cbs-border);
  z-index: 200;
  flex-direction: column;
}
.cbs-nav__inner ul li:hover > ul { display: flex; }
.cbs-nav__inner ul ul li a {
  color: var(--cbs-text);
  padding: 10px 18px;
  font-size: 13.5px;
}
.cbs-nav__inner ul ul li a:hover { background: var(--cbs-light-gray); color: var(--cbs-teal); }

/* Mobile Toggle */
.cbs-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cbs-navy);
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

/* ─── 5. Hero ─── */
.cbs-hero {
  background: linear-gradient(135deg, var(--cbs-navy) 0%, var(--cbs-blue) 55%, #0f2a55 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.cbs-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,180,160,.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,180,160,.06) 0%, transparent 40%);
}
.cbs-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cbs-hero__badge {
  display: inline-flex;
  align-items: center; gap: 7px;
  background: rgba(0,180,160,.15);
  border: 1px solid rgba(0,180,160,.3);
  color: var(--cbs-teal-light);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cbs-hero h1 {
  font-family: var(--cbs-font-head);
  font-size: clamp(30px,4vw,52px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cbs-hero h1 em { font-style: italic; color: var(--cbs-teal-light); }
.cbs-hero__desc {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.cbs-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cbs-hero__stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cbs-hero__stat-num {
  font-family: var(--cbs-font-head);
  font-size: 28px; color: #fff; display: block;
}
.cbs-hero__stat-lbl { font-size: 11.5px; color: rgba(255,255,255,.5); letter-spacing: .5px; }
.cbs-hero__img {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.cbs-hero__img img { width: 100%; height: 340px; object-fit: cover; }
.cbs-hero__cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 12px;
}
.cbs-hero__card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 16px;
  text-align: center;
}
.cbs-hero__card-icon { font-size: 24px; margin-bottom: 5px; }
.cbs-hero__card-title { color: #fff; font-size: 12px; font-weight: 600; }
.cbs-hero__card-val { color: var(--cbs-teal-light); font-size: 11px; }

/* ─── 6. Trust Strip ─── */
.cbs-trust {
  background: var(--cbs-off-white);
  border-bottom: 1px solid var(--cbs-border);
  padding: 16px 0;
}
.cbs-trust__inner {
  display: flex; justify-content: center;
  gap: 40px; align-items: center; flex-wrap: wrap;
}
.cbs-trust__item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--cbs-text);
}
.cbs-trust__item svg { color: var(--cbs-teal); width: 20px; height: 20px; flex-shrink: 0; }

/* ─── 7. Product Cards ─── */
.cbs-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cbs-product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cbs-border);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.cbs-product-card:hover {
  box-shadow: var(--cbs-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.cbs-product-card__img {
  height: 200px;
  background: var(--cbs-off-white);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cbs-product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.cbs-product-card:hover .cbs-product-card__img img { transform: scale(1.05); }
.cbs-product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--cbs-teal); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase;
}
.cbs-product-card__badge--new  { background: var(--cbs-navy); }
.cbs-product-card__badge--sale { background: #e05252; }
.cbs-product-card__wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1);
  font-size: 16px; transition: transform .2s; border: none;
}
.cbs-product-card__wishlist:hover { transform: scale(1.15); }
.cbs-product-card__info {
  padding: 18px; flex: 1; display: flex; flex-direction: column;
}
.cbs-product-card__cat {
  font-size: 11px; color: var(--cbs-teal); font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 6px;
}
.cbs-product-card__name {
  font-weight: 600; font-size: 14px; color: var(--cbs-navy);
  margin-bottom: 4px; line-height: 1.4;
}
.cbs-product-card__name a { color: inherit; text-decoration: none; }
.cbs-product-card__name a:hover { color: var(--cbs-teal); }
.cbs-product-card__cas {
  font-size: 12px; color: var(--cbs-muted);
  margin-bottom: 10px; font-family: monospace;
}
.cbs-product-card__purity {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: #2e7d32; font-weight: 500; margin-bottom: 12px;
}
.cbs-product-card__footer {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: auto;
}
.cbs-product-card__price {
  font-size: 18px; font-weight: 700; color: var(--cbs-navy);
}
.cbs-product-card__price small {
  font-size: 12px; color: var(--cbs-muted); font-weight: 400;
}

/* ─── 8. Category Cards ─── */
.cbs-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cbs-cat-card {
  background: var(--cbs-off-white);
  border-radius: 14px; padding: 28px 20px;
  text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s; text-decoration: none;
  display: block; color: inherit;
}
.cbs-cat-card:hover {
  border-color: var(--cbs-teal); background: #fff;
  transform: translateY(-4px); box-shadow: var(--cbs-shadow);
  color: inherit;
}
.cbs-cat-card__icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--cbs-teal), var(--cbs-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
}
.cbs-cat-card__name { font-weight: 700; font-size: 14px; color: var(--cbs-navy); margin-bottom: 4px; }
.cbs-cat-card__count { font-size: 12px; color: var(--cbs-muted); }

/* ─── 9. WooCommerce Overrides ─── */

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--cbs-navy);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--cbs-radius);
  font-family: var(--cbs-font-body);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--cbs-teal);
  color: #fff;
  transform: translateY(-1px);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--cbs-teal);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #009585;
}

/* Product Loop */
.woocommerce ul.products { margin: 0; padding: 0; }
.woocommerce ul.products li.product {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cbs-border);
  transition: all .25s;
  display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--cbs-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--cbs-font-body);
  font-size: 14px; font-weight: 600;
  color: var(--cbs-navy); padding: 0 0 6px;
}
.woocommerce ul.products li.product .price {
  color: var(--cbs-navy); font-weight: 700; font-size: 17px;
}
.woocommerce ul.products li.product .price del { color: var(--cbs-muted); font-size: 13px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: #e05252; }
.woocommerce ul.products li.product .onsale {
  background: var(--cbs-teal); border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 10px; color: #fff;
}
.woocommerce ul.products li.product img {
  border-radius: 0; margin: 0;
  transition: transform .5s;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.04); }
.woocommerce span.onsale {
  background: var(--cbs-teal); border-radius: 100px;
  font-size: 10px; font-weight: 700; min-height: auto;
  line-height: 1; padding: 4px 12px;
}

/* Single Product */
.woocommerce div.product .product_title {
  font-family: var(--cbs-font-head);
  font-size: clamp(22px,3vw,34px);
  color: var(--cbs-navy);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--cbs-navy); font-size: 26px; font-weight: 700;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 14px; }
.woocommerce .star-rating { color: var(--cbs-gold); }
.woocommerce div.product form.cart .quantity input {
  border: 1.5px solid var(--cbs-border); border-radius: var(--cbs-radius);
  padding: 8px 12px; font-size: 15px; width: 72px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--cbs-border); padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600; font-size: 14px; color: var(--cbs-muted);
  padding: 10px 20px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--cbs-teal);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cbs-teal); }

/* Cart */
.woocommerce table.cart td.actions .coupon .input-text {
  border: 1.5px solid var(--cbs-border); border-radius: var(--cbs-radius);
  padding: 9px 14px; font-size: 14px;
}
.woocommerce table.cart th { background: var(--cbs-light-gray); font-weight: 600; }
.woocommerce .cart-collaterals .cart_totals { background: var(--cbs-off-white); border-radius: 14px; padding: 24px; }

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1.5px solid var(--cbs-border);
  border-radius: var(--cbs-radius);
  padding: 10px 14px;
  font-family: var(--cbs-font-body);
  font-size: 14px;
  transition: border-color .2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--cbs-teal); outline: none;
}
#order_review { background: var(--cbs-off-white); border-radius: 14px; padding: 24px; }

/* Notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--cbs-teal);
  background: rgba(0,180,160,.06);
}
.woocommerce-error { border-top-color: #e05252; background: rgba(224,82,82,.06); }

/* ─── 10. Sidebar ─── */
#secondary { padding-left: 0; }
.widget {
  background: var(--cbs-off-white);
  border-radius: 14px; padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--cbs-border);
}
.widget-title {
  font-family: var(--cbs-font-head);
  font-size: 17px; color: var(--cbs-navy);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--cbs-teal);
}
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--cbs-border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--cbs-text); font-size: 14px; }
.widget ul li a:hover { color: var(--cbs-teal); }
.price_slider_wrapper .ui-slider { background: var(--cbs-light-gray); }
.price_slider_wrapper .ui-slider-range { background: var(--cbs-teal); }
.price_slider_wrapper .ui-slider-handle { background: var(--cbs-navy); border-color: var(--cbs-navy); }

/* ─── 11. Footer ─── */
#colophon {
  background: #060d1a;
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.cbs-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.cbs-footer__brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; margin-top: 14px; }
.cbs-footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.cbs-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 14px;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.cbs-social-btn:hover { background: var(--cbs-teal); color: #fff; }
.cbs-footer__col h4 {
  color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px;
  font-family: var(--cbs-font-body);
}
.cbs-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.cbs-footer__col ul li a {
  color: rgba(255,255,255,.55); font-size: 13.5px;
  transition: color .15s; text-decoration: none;
}
.cbs-footer__col ul li a:hover { color: var(--cbs-teal-light); }
.cbs-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.cbs-footer__bottom-right { display: flex; gap: 20px; flex-wrap: wrap; }
.cbs-footer__bottom-right a {
  color: rgba(255,255,255,.45); text-decoration: none; font-size: 12.5px;
}
.cbs-footer__bottom-right a:hover { color: rgba(255,255,255,.8); }

/* ─── 12. Buttons ─── */
.cbs-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 26px; border-radius: var(--cbs-radius);
  font-family: var(--cbs-font-body);
  font-weight: 600; font-size: 14px;
  letter-spacing: .3px; cursor: pointer;
  transition: all .2s; text-decoration: none; border: 2px solid transparent;
}
.cbs-btn--primary {
  background: var(--cbs-teal); color: #fff; border-color: var(--cbs-teal);
}
.cbs-btn--primary:hover {
  background: var(--cbs-teal-light); color: #fff; border-color: var(--cbs-teal-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,180,160,.3);
}
.cbs-btn--navy {
  background: var(--cbs-navy); color: #fff; border-color: var(--cbs-navy);
}
.cbs-btn--navy:hover {
  background: var(--cbs-blue); color: #fff; border-color: var(--cbs-blue);
}
.cbs-btn--outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.cbs-btn--outline-white:hover {
  border-color: #fff; background: rgba(255,255,255,.1); color: #fff;
}
.cbs-btn--white {
  background: #fff; color: var(--cbs-teal); border-color: #fff;
}
.cbs-btn--white:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2);
  color: var(--cbs-teal);
}

/* ─── 13. Cart Drawer ─── */
.cbs-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cbs-cart-overlay.open { opacity: 1; pointer-events: all; }
.cbs-cart-drawer {
  position: fixed; top: 0; right: -420px;
  width: min(420px, 100vw);
  height: 100vh; background: #fff;
  z-index: 2001; box-shadow: var(--cbs-shadow-lg);
  transition: right .3s ease; display: flex; flex-direction: column;
}
.cbs-cart-drawer.open { right: 0; }
.cbs-cart-drawer__header {
  padding: 18px 22px; border-bottom: 1px solid var(--cbs-border);
  display: flex; justify-content: space-between; align-items: center;
}
.cbs-cart-drawer__header h3 {
  font-family: var(--cbs-font-head); font-size: 19px; color: var(--cbs-navy);
}
.cbs-close-btn {
  width: 36px; height: 36px; border-radius: 8px; border: none;
  background: var(--cbs-light-gray); cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cbs-text); transition: background .15s;
}
.cbs-close-btn:hover { background: var(--cbs-border); }
.cbs-cart-drawer__body {
  flex: 1; overflow-y: auto; padding: 20px;
}
.cbs-cart-drawer__footer {
  padding: 18px 22px; border-top: 1px solid var(--cbs-border);
}

/* ─── 14. Forms ─── */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
  border: 1.5px solid var(--cbs-border);
  border-radius: var(--cbs-radius);
  padding: 10px 14px;
  font-family: var(--cbs-font-body);
  font-size: 14px;
  width: 100%;
  transition: border-color .2s;
  background: #fff;
  color: var(--cbs-text);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cbs-teal); outline: none;
  box-shadow: 0 0 0 3px rgba(0,180,160,.1);
}

/* ─── 15. Responsive ─── */
@media (max-width: 1100px) {
  .cbs-products-grid { grid-template-columns: repeat(3, 1fr); }
  .cbs-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .cbs-hero__inner { grid-template-columns: 1fr; }
  .cbs-hero__visual { display: none; }
  .cbs-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cbs-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cbs-nav__inner { overflow-x: auto; padding-right: 16px; }
  #site-navigation .cbs-nav__inner ul { flex-wrap: nowrap; }
}
@media (max-width: 768px) {
  .cbs-header__inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px; }
  .cbs-search { order: 3; min-width: 100%; }
  .cbs-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce ul.products[class*="columns-"] li.product { width: 48% !important; }
  .cbs-menu-toggle { display: flex; }
  .cbs-nav__inner { display: none; }
  .cbs-nav__inner.is-open { display: flex; flex-direction: column; }
  .cbs-nav__inner ul { flex-direction: column; width: 100%; }
  .cbs-nav__inner ul ul { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.07); }
}
@media (max-width: 480px) {
  .cbs-products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cbs-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products[class*="columns-"] li.product { width: 100% !important; }
  .cbs-hero__stats { flex-direction: column; gap: 14px; }
  .cbs-hero__actions { flex-direction: column; }
}
