/* ====================================================
   CBD HOUSE PARIS - PrestaShop Theme CSS
   Dark neon molecular design
   FULL OVERRIDE - aggressive specificity
   ==================================================== */

/* ── TOKENS ── */
:root {
  --accent: #00ff66;
  --secondary: #00aaff;
  --bg: #050d1a;
  --bg2: #0a1628;
  --bg3: #0d1f1a;
  --text: #e8f5f0;
  --text-dim: #7a9e8a;
  --border: rgba(0,255,102,0.15);
  --glow: 0 0 24px rgba(0,255,102,0.35);
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --r: 6px;
}

/* ── GLOBAL RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body,
body#index,
body#product,
body#category,
body#cms,
body#cart,
body#checkout,
body#my-account,
body#search,
body#stores,
body#contact,
body#prices-drop,
body#new-products,
body#best-sales,
body#manufacturer,
body#order-confirmation {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Force all wrappers dark */
#wrapper,
#wrapper .container,
main,
#content-wrapper,
#content,
.page-content,
.page-wrapper,
#left-column,
#right-column {
  background: transparent !important;
  color: var(--text) !important;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--secondary); text-decoration: none; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display) !important;
  color: var(--text) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p, li, td, th, label, span, div {
  color: inherit;
}

img { max-width: 100%; height: auto; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── CONTAINER ── */
.container { max-width: 1200px; }

/* ====================================================
   HEADER / NAV
   ==================================================== */
#header {
  background: rgba(5,13,26,0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

#header .header-banner {
  background: var(--bg2) !important;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

#header .header-nav {
  background: transparent !important;
  border: none !important;
  padding: 6px 0;
}
#header .header-nav a,
#header .header-nav span,
#header .header-nav .material-icons {
  color: var(--text-dim) !important;
  font-size: 12px;
}
#header .header-nav a:hover {
  color: var(--accent) !important;
}

#header .header-top {
  background: transparent !important;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* Logo */
#header .header-top .logo {
  max-height: 40px;
}
#header .header-top a[href] {
  color: var(--text) !important;
}

/* Search widget */
#header #search_widget {
  min-width: 200px;
}
#header #search_widget form input[type="text"],
#header #search_widget form input[type="search"],
#search_widget input.ui-autocomplete-input {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--r) !important;
  padding: 8px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
}
#header #search_widget form input::placeholder {
  color: var(--text-dim) !important;
}
#header #search_widget form button[type="submit"] {
  background: transparent !important;
  border: none !important;
  color: var(--accent) !important;
}

/* User info / cart in header */
.user-info a,
.blockcart a {
  color: var(--text-dim) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.user-info a:hover,
.blockcart a:hover {
  color: var(--accent) !important;
}
.user-info .material-icons,
.blockcart .material-icons {
  color: var(--accent) !important;
}

/* Cart count badge */
.blockcart .header .cart-products-count,
.cart-products-count {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-size: 10px !important;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── TOP MENU ── */
#_desktop_top_menu .top-menu,
.top-menu {
  display: flex !important;
  gap: 4px;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
#_desktop_top_menu .top-menu > li > a,
.top-menu > li > a,
.top-menu a[data-depth="0"] {
  color: var(--text-dim) !important;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: inline-block;
  transition: color .2s;
}
#_desktop_top_menu .top-menu > li > a:hover,
.top-menu > li > a:hover,
.top-menu a[data-depth="0"]:hover {
  color: var(--accent) !important;
}

/* Submenus */
.top-menu .sub-menu,
.top-menu .popover,
.top-menu .collapse {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  min-width: 200px;
  padding: 12px 0 !important;
  z-index: 99;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6) !important;
}
.top-menu .sub-menu a,
.top-menu .popover a {
  color: var(--text-dim) !important;
  font-size: 13px !important;
  padding: 8px 20px !important;
  display: block;
}
.top-menu .sub-menu a:hover,
.top-menu .popover a:hover {
  color: var(--accent) !important;
  background: rgba(0,255,102,0.05) !important;
}

/* ====================================================
   HERO (homepage only)
   ==================================================== */
.cbd-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,255,102,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 30%, rgba(0,170,255,0.06) 0%, transparent 50%),
              var(--bg);
}
.cbd-hero canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.cbd-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}
.cbd-hero .rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  pointer-events: none;
  z-index: 1;
}
.cbd-hero .rings span {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.cbd-hero .rings span:nth-child(1){width:300px;height:300px;top:50%;left:50%;margin:-150px 0 0 -150px;border-color:rgba(0,255,102,0.15);animation-duration:25s;}
.cbd-hero .rings span:nth-child(2){width:400px;height:400px;top:50%;left:50%;margin:-200px 0 0 -200px;border-color:rgba(0,170,255,0.1);animation-duration:35s;animation-direction:reverse;}
.cbd-hero .rings span:nth-child(3){width:500px;height:500px;top:50%;left:50%;margin:-250px 0 0 -250px;border-color:rgba(0,255,102,0.08);animation-duration:45s;}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.cbd-hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cbd-hero .eyebrow::before,
.cbd-hero .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.cbd-hero h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(40px, 7vw, 72px) !important;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}
.cbd-hero .subtitle {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cbd-hero .ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====================================================
   BUTTONS — FULL OVERRIDE
   ==================================================== */
.btn-primary,
button.btn-primary,
a.btn-primary,
input[type="submit"].btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--bg) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: var(--r) !important;
  padding: 12px 28px !important;
  transition: all .3s !important;
  box-shadow: none !important;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background: #00cc52 !important;
  border-color: #00cc52 !important;
  color: var(--bg) !important;
  box-shadow: var(--glow) !important;
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline-secondary,
.btn-tertiary {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  border-radius: var(--r) !important;
  padding: 12px 28px !important;
}
.btn-secondary:hover,
.btn-outline-secondary:hover,
.btn-tertiary:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(0,255,102,0.05) !important;
}

/* CBD custom button classes */
.cbd-btn-primary {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--accent);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .3s;
}
.cbd-btn-primary:hover {
  background: #00cc52 !important;
  box-shadow: var(--glow);
  transform: translateY(-1px);
}
.cbd-btn-ghost {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .3s;
}
.cbd-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ====================================================
   SECTION LABELS
   ==================================================== */
.cbd-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.featured-products h2,
.new-products h2,
.special-products h2,
.best-sales h2,
section h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 800 !important;
}
.all-product-link,
.all-product-link a {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  padding: 8px 18px !important;
  background: transparent !important;
  transition: all .2s;
  text-decoration: none !important;
  display: inline-block;
}
.all-product-link:hover,
.all-product-link a:hover {
  border-color: var(--accent) !important;
  box-shadow: var(--glow) !important;
}

/* ====================================================
   PRODUCT CARDS / MINIATURES - AGGRESSIVE OVERRIDE
   ==================================================== */
article.product-miniature,
.product-miniature,
.js-product-miniature {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: transform .3s, box-shadow .3s;
  color: var(--text) !important;
}
article.product-miniature:hover,
.product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), var(--glow) !important;
}

.product-miniature .thumbnail-container,
.product-miniature .thumbnail-top,
.product-miniature .thumbnail-container > div {
  background: transparent !important;
}

.product-miniature .product-thumbnail,
.product-miniature .thumbnail-top {
  background: rgba(255,255,255,0.03) !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.product-miniature .product-thumbnail img {
  mix-blend-mode: normal;
  transition: transform .3s;
  max-height: 220px;
  object-fit: contain;
}
.product-miniature:hover .product-thumbnail img {
  transform: scale(1.05);
}

/* Product flags / badges */
.product-flag,
.product-miniature .product-flag,
.product-flags .product-flag {
  background: var(--accent) !important;
  color: var(--bg) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  border: none !important;
  line-height: 1.5;
}
.product-flag.discount { background: #ff4444 !important; color: #fff !important; }
.product-flag.new { background: var(--secondary) !important; color: var(--bg) !important; }
.product-flag.on-sale { background: #ff8800 !important; color: var(--bg) !important; }
.product-flag.pack { background: #aa44ff !important; color: #fff !important; }

/* Product description in card */
.product-miniature .product-description,
.product-miniature .card-body,
.product-miniature .product-description-short {
  padding: 16px 20px 20px !important;
  background: var(--bg2) !important;
  color: var(--text) !important;
}
.product-miniature .product-title,
.product-miniature .product-title a,
.product-miniature h3 a,
.product-miniature h2 a {
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  line-height: 1.3;
  text-decoration: none !important;
}
.product-miniature .product-title a:hover,
.product-miniature h3 a:hover {
  color: var(--accent) !important;
}
.product-miniature .product-price-and-shipping {
  margin-top: 8px;
}
.product-miniature .price,
.product-miniature .product-price,
.product-miniature span.price {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
}
.product-miniature .regular-price {
  color: var(--text-dim) !important;
  font-size: 13px !important;
  text-decoration: line-through;
}
.product-miniature .discount-percentage,
.product-miniature .discount-amount {
  color: #ff4444 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* ── ADD TO CART BUTTON IN PRODUCT CARDS ── */
.product-miniature form .btn,
.product-miniature .add-to-cart,
.product-miniature .add button,
.product-miniature button.btn-primary,
.product-miniature a.btn-primary,
.product-miniature .product-add-to-cart button,
.product-miniature [data-button-action="add-to-cart"],
.product-miniature form button[type="submit"] {
  background: var(--accent) !important;
  border: none !important;
  border-color: var(--accent) !important;
  color: var(--bg) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 10px 20px !important;
  border-radius: var(--r) !important;
  cursor: pointer;
  transition: all .3s !important;
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 10px;
}
.product-miniature form .btn:hover,
.product-miniature .add-to-cart:hover,
.product-miniature button.btn-primary:hover,
.product-miniature [data-button-action="add-to-cart"]:hover {
  background: #00cc52 !important;
  box-shadow: var(--glow) !important;
}

/* Quick view & highlighted info */
.product-miniature .highlighted-informations {
  background: rgba(5,13,26,0.90) !important;
  backdrop-filter: blur(8px);
}
.product-miniature .quick-view {
  color: var(--accent) !important;
  font-size: 12px;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
}
.product-miniature .variant-links .color {
  border-color: var(--border) !important;
}

/* Products listing grid */
.products {
  display: grid !important;
  gap: 24px !important;
}
.featured-products .products,
#products .products,
.product-accessories .products,
section .products {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

/* ====================================================
   PRODUCT PAGE
   ==================================================== */
#product .product-container,
#product,
body#product #wrapper {
  background: var(--bg) !important;
}
.product-cover img {
  border-radius: 12px;
}
.product-information,
.product-actions {
  color: var(--text) !important;
}
.product-information .product-title,
.product-information h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}
.product-prices .current-price .price,
.product-prices .product-price,
.product-prices .current-price-value {
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
}
.product-prices .regular-price {
  color: var(--text-dim) !important;
  text-decoration: line-through;
}
.product-prices .discount {
  background: #ff4444 !important;
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.product-quantity .qty,
.product-quantity input[type="number"] {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--r) !important;
  padding: 8px 12px;
  font-family: var(--font-body) !important;
}
.product-quantity .input-group-btn-vertical button,
.product-quantity .bootstrap-touchspin button {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--accent) !important;
}

/* Product tabs */
.product-tabs .nav-tabs,
.product-tabs ul.nav {
  border-bottom: 1px solid var(--border) !important;
}
.product-tabs .nav-link,
.product-tabs .nav-item a {
  color: var(--text-dim) !important;
  font-family: var(--font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px !important;
  border: none !important;
  background: transparent !important;
}
.product-tabs .nav-link.active,
.product-tabs .nav-item.active a,
.product-tabs .nav-link:hover {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent) !important;
}
.product-tabs .tab-content,
.product-tabs .tab-pane {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  border-radius: 0 0 var(--r) var(--r) !important;
  padding: 24px !important;
  color: var(--text-dim) !important;
}

/* Product images gallery */
.product-images > li img,
.js-qv-product-images img,
.product-thumbs img {
  border: 2px solid var(--border) !important;
  border-radius: var(--r) !important;
}
.product-images > li.selected img,
.product-images > li:hover img {
  border-color: var(--accent) !important;
}

/* ====================================================
   CATEGORY PAGES
   ==================================================== */
.block-category,
#category-description {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin-bottom: 32px;
  color: var(--text-dim) !important;
}
.block-category h1,
.block-category .h1 {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

/* Faceted search / filters */
#search_filters,
.facet,
#left-column .block {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  padding: 16px !important;
  margin-bottom: 16px;
}
#search_filters .facet-title,
.facet .facet-title {
  font-family: var(--font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
#search_filters .facet-label a,
.facet .facet-label a {
  color: var(--text-dim) !important;
  font-size: 13px !important;
}
#search_filters .facet-label a:hover,
.facet .facet-label a:hover {
  color: var(--accent) !important;
}

/* Sort order */
.products-sort-order .select-title,
.products-sort-order .btn,
.products-selection .sort-by-row select {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--r) !important;
  font-size: 13px !important;
}
.products-sort-order .dropdown-menu {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
}
.products-sort-order .dropdown-menu a {
  color: var(--text-dim) !important;
}
.products-sort-order .dropdown-menu a:hover {
  color: var(--accent) !important;
  background: rgba(0,255,102,0.05) !important;
}

/* Pagination */
.pagination {
  margin-top: 32px;
}
.pagination .page-list li a,
.pagination .page-list li span {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
  border-radius: var(--r) !important;
  padding: 8px 14px !important;
  margin: 0 2px;
  font-size: 13px;
}
.pagination .page-list li.current a,
.pagination .page-list li.current span,
.pagination .page-list li a.current {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--bg) !important;
}
.pagination .page-list li a:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ====================================================
   CUSTOM TEXT / EDITORIAL BLOCK
   ==================================================== */
.custom-text-block,
#custom-text,
.cms-block,
.block-cms,
[id*="customtext"] {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 40px 32px !important;
  margin: 40px 0;
  color: var(--text-dim) !important;
}
.custom-text-block h2,
.custom-text-block h3,
#custom-text h2,
#custom-text h3,
[id*="customtext"] h2,
[id*="customtext"] h3 {
  font-family: var(--font-display) !important;
  color: var(--text) !important;
}
.custom-text-block p,
#custom-text p,
[id*="customtext"] p {
  color: var(--text-dim) !important;
}

/* ====================================================
   CART
   ==================================================== */
.cart-grid-body .card,
.cart-container .card,
.cart-summary .card {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
}
.cart-grid-right .card,
.cart-summary {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
}
.cart-grid-right .card-block,
.cart-summary .card-body {
  background: var(--bg2) !important;
  color: var(--text) !important;
}

/* Cart product lines */
.cart-item,
.cart-items .cart-item {
  border-bottom: 1px solid var(--border) !important;
  padding: 16px 0 !important;
}
.cart-item .product-line-info a {
  color: var(--text) !important;
  font-weight: 600 !important;
}
.cart-item .product-price {
  color: var(--accent) !important;
  font-weight: 700 !important;
}
.cart-item .remove-from-cart,
.cart-item .remove-from-cart .material-icons {
  color: #ff4444 !important;
}

/* ====================================================
   CHECKOUT
   ==================================================== */
body#checkout #header {
  background: var(--bg) !important;
}
body#checkout .checkout-process {
  background: transparent !important;
}
body#checkout section.checkout-step {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  margin-bottom: 16px;
}
body#checkout .checkout-step .step-title {
  color: var(--text) !important;
  font-family: var(--font-display) !important;
  border-bottom: 1px solid var(--border) !important;
}

/* ====================================================
   FORMS
   ==================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select,
.form-control,
.form-select,
.input-group .form-control {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--r) !important;
  padding: 10px 14px;
  font-family: var(--font-body) !important;
  font-size: 14px;
  transition: border-color .2s;
}
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,255,102,0.15) !important;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-dim) !important;
}
label {
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 500;
}
.custom-checkbox input[type="checkbox"] + span {
  border-color: var(--border) !important;
  background: var(--bg2) !important;
}
.custom-checkbox input[type="checkbox"]:checked + span {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer-container,
#footer {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 48px;
  margin-top: 60px;
}
#footer a {
  color: var(--text-dim) !important;
  font-size: 13px;
}
#footer a:hover {
  color: var(--accent) !important;
}
#footer h4,
#footer .h4 {
  font-family: var(--font-display) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin-bottom: 16px;
}
#footer ul {
  list-style: none !important;
  padding: 0 !important;
}
#footer ul li {
  margin-bottom: 10px;
}

/* Newsletter block in footer */
.block_newsletter {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin-bottom: 24px;
}
.block_newsletter .btn-primary {
  padding: 10px 20px !important;
}
.copyright {
  text-align: center;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
}

/* ====================================================
   BREADCRUMB
   ==================================================== */
.breadcrumb,
#wrapper .breadcrumb {
  background: transparent !important;
  padding: 12px 0 !important;
  border: none !important;
  margin: 0;
}
.breadcrumb li,
.breadcrumb li a {
  color: var(--text-dim) !important;
  font-size: 12px;
}
.breadcrumb li a:hover {
  color: var(--accent) !important;
}
.breadcrumb li .separator {
  color: var(--text-dim) !important;
}
.breadcrumb li:last-child {
  color: var(--text) !important;
}

/* ====================================================
   ALERTS & NOTIFICATIONS
   ==================================================== */
.alert {
  border-radius: var(--r) !important;
  border: 1px solid !important;
  padding: 16px 20px !important;
  font-size: 13px;
}
.alert-info {
  background: rgba(0,170,255,0.1) !important;
  border-color: rgba(0,170,255,0.3) !important;
  color: var(--secondary) !important;
}
.alert-success {
  background: rgba(0,255,102,0.1) !important;
  border-color: var(--border) !important;
  color: var(--accent) !important;
}
.alert-danger,
.alert-warning {
  background: rgba(255,68,68,0.1) !important;
  border-color: rgba(255,68,68,0.3) !important;
  color: #ff6666 !important;
}

/* ====================================================
   CARDS & BLOCKS GENERAL
   ==================================================== */
.card,
.panel {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
}
.card-header,
.card-footer,
.panel-heading {
  background: rgba(0,255,102,0.03) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
.card-body,
.card-block,
.panel-body {
  color: var(--text) !important;
  background: transparent !important;
}

/* Tables */
table, .table {
  color: var(--text) !important;
}
.table th,
.table td {
  border-color: var(--border) !important;
  color: var(--text) !important;
}
.table thead th {
  background: rgba(0,255,102,0.05) !important;
  color: var(--accent) !important;
  border-bottom: 2px solid var(--border) !important;
}
.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(0,255,102,0.02) !important;
}

/* Modals */
.modal-content {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.modal-header,
.modal-footer {
  border-color: var(--border) !important;
}
.modal-header .close {
  color: var(--text-dim) !important;
}

/* ====================================================
   MY ACCOUNT
   ==================================================== */
.page-my-account #content .links a {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
  padding: 20px !important;
  transition: all .3s;
}
.page-my-account #content .links a:hover {
  border-color: var(--accent) !important;
  box-shadow: var(--glow) !important;
}
.page-my-account #content .links a i {
  color: var(--accent) !important;
}

/* ====================================================
   REASSURANCE BLOCK
   ==================================================== */
.blockreassurance,
#block-reassurance {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.blockreassurance_product,
.blockreassurance .block-reassurance-item {
  color: var(--text) !important;
}
.blockreassurance_product img,
.blockreassurance img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(100deg) !important;
  width: 28px !important;
  height: 28px !important;
}

/* ====================================================
   SCROLL REVEAL
   ==================================================== */
.cbd-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cbd-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   DROPDOWN MENUS / POPOVERS
   ==================================================== */
.dropdown-menu,
.popover {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6) !important;
}
.dropdown-menu a,
.dropdown-item {
  color: var(--text-dim) !important;
}
.dropdown-menu a:hover,
.dropdown-item:hover {
  color: var(--accent) !important;
  background: rgba(0,255,102,0.05) !important;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
  .cbd-hero { min-height: 50vh; }
  .cbd-hero h1 { font-size: 36px !important; }
  .cbd-hero .rings { width: 300px; height: 300px; }
  .cbd-hero .rings span:nth-child(1){width:200px;height:200px;margin:-100px 0 0 -100px;}
  .cbd-hero .rings span:nth-child(2){width:260px;height:260px;margin:-130px 0 0 -130px;}
  .cbd-hero .rings span:nth-child(3){width:300px;height:300px;margin:-150px 0 0 -150px;}

  .featured-products .products,
  #products .products,
  section .products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  }

  #header .header-top { padding: 8px 0; }
}

@media (max-width: 767px) {
  .cbd-hero { min-height: 40vh; padding: 40px 16px; }
  .cbd-hero h1 { font-size: 28px !important; }
  .cbd-hero .subtitle { font-size: 14px; }
  .cbd-hero .ctas { flex-direction: column; align-items: center; }
  .cbd-hero .rings { display: none; }

  .featured-products .products,
  #products .products,
  section .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-miniature .product-description { padding: 12px !important; }
  .product-miniature .product-title a { font-size: 12px !important; }
  .product-miniature .price { font-size: 15px !important; }

  .footer-container { padding-top: 32px; }
}

@media (max-width: 479px) {
  .featured-products .products,
  #products .products,
  section .products {
    grid-template-columns: 1fr !important;
  }
}

/* ====================================================
   MISC / UTILITY
   ==================================================== */
.no-items { color: var(--text-dim) !important; }
hr { border-color: var(--border) !important; }
.separator { color: var(--text-dim) !important; }
::selection { background: var(--accent); color: var(--bg); }

/* Fix Bootstrap overrides */
.bg-white { background: var(--bg2) !important; }
.bg-light { background: var(--bg2) !important; }
.text-muted { color: var(--text-dim) !important; }
.text-dark { color: var(--text) !important; }
.border { border-color: var(--border) !important; }
