/* ==========================================================================
   Zanolv Theme — Custom CSS Overrides
   Applied on top of classic theme.css (priority: 300)
   Spec: theme-spec.md
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES (Color Palette)
   ========================================================================== */

:root {
  --zv-primary: #25a4e3;
  --zv-primary-dark: #125475;
  --zv-accent: #25a4e3;
  --zv-accent-hover: #1b81b3;
  --zv-accent-glow: rgba(0, 245, 255, 0.25);
  --zv-accent-2: #a855f7;
  --zv-text: #000306;
  --zv-text-muted: #94a3b8;
  --zv-bg: #f8fafc;
  --zv-bg-light: #f1f5f9;
  --zv-bg-card: rgba(255, 255, 255, 0.03);
  --zv-bg-footer: #00273a;
  --zv-text-footer: #f8fafc;
  --zv-border: #34799c;
  --zv-success: #22c55e;
  --zv-danger: #ef4444;
  --zv-warning: #f59e0b;
  --zv-radius: 10px;
  --zv-radius-sm: 8px;
  --zv-radius-lg: 14px;
  --zv-radius-pill: 9999px;
  --zv-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --zv-shadow-hover:
    0 10px 25px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
  --zv-transition: 0.2s ease;
  --zv-font-heading:
    "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --zv-font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --zv-font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}

/* ==========================================================================
   2. BASE TYPOGRAPHY & RESET
   ========================================================================== */

body {
  font-family: var(--zv-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--zv-text);
  background-color: var(--zv-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  font-family: var(--zv-font-heading);
  letter-spacing: -0.01em;
}
h1,
.h1 {
  font-size: 30px;
  font-weight: 800;
}
h2,
.h2 {
  font-size: 24px;
  font-weight: 700;
}
h3,
.h3 {
  font-size: 17px;
  font-weight: 700;
}

a {
  color: var(--zv-accent);
  transition: color var(--zv-transition);
}
a:hover {
  color: var(--zv-accent-hover);
  text-decoration: none;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.btn-primary {
  background-color: var(--zv-accent);
  border-color: var(--zv-accent);
  color: #fff;
  border-radius: var(--zv-radius-pill);
  font-family: var(--zv-font-heading);
  font-weight: 600;
  padding: 10px 24px;
  transition: all var(--zv-transition);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--zv-accent-hover);
  border-color: var(--zv-accent-hover);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.45);
}

.btn-secondary {
  border-radius: var(--zv-radius-pill);
  font-family: var(--zv-font-heading);
  font-weight: 600;
  padding: 10px 24px;
}

.zv-btn-accent {
  background-color: var(--zv-accent);
  border-color: var(--zv-accent);
  color: #fff;
  border-radius: var(--zv-radius-pill);
  font-family: var(--zv-font-heading);
  font-weight: 600;
  padding: 10px 24px;
  transition: all var(--zv-transition);
}
.zv-btn-accent:hover,
.zv-btn-accent:focus {
  background-color: var(--zv-accent-hover);
  border-color: var(--zv-accent-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.45);
}

/* ==========================================================================
   4. HEADER — Top Bar (dark utility nav)
   ========================================================================== */

.header-nav {
  background-color: var(--zv-bg-footer);
  padding: 6px 0;
  font-size: 12px;
}
.header-nav,
.header-nav a,
.header-nav span,
.header-nav .material-icons,
.header-nav #contact-link a,
.header-nav .user-info a,
.header-nav .blockcart a {
  color: #fff !important;
}
.header-nav a:hover {
  color: var(--zv-primary) !important;
}
.zv-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   5. HEADER — Main Row (logo + search + cart)
   ========================================================================== */

.header-top {
  background-color: #ffffff;
  padding: 12px 0;
}

/* Logo sizing */
#_desktop_logo img,
.header-top .logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
#_desktop_logo h1 {
  margin: 0;
  line-height: 1;
}

/* Logo + shop name side by side */
.zv-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.zv-shop-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.zv-shop-name__main {
  font-family: var(--zv-font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--zv-text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.zv-shop-name__sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--zv-text-muted);
  white-space: nowrap;
}

/* User info dropdown — hidden by default, show on hover */
#_desktop_user_info .user-info {
  position: relative;
}
#_desktop_user_info .user-info .dropdown-menu,
#_desktop_user_info .user-info .dropdown-customer-account {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius-sm);
  box-shadow: var(--zv-shadow);
  padding: 8px 0;
  min-width: 180px;
  z-index: 1000;
}
#_desktop_user_info .user-info:hover .dropdown-menu,
#_desktop_user_info .user-info:hover .dropdown-customer-account {
  display: block;
}
#_desktop_user_info .user-info .dropdown-menu a,
#_desktop_user_info .user-info .dropdown-customer-account a {
  display: block;
  padding: 6px 16px;
  color: var(--zv-text);
  font-size: 13px;
}
#_desktop_user_info .user-info .dropdown-menu a:hover,
#_desktop_user_info .user-info .dropdown-customer-account a:hover {
  background: var(--zv-bg-light);
  color: var(--zv-accent);
}

/* Search bar — prominent accent border */
.zv-search-col #search_widget,
.zv-mobile-search-form #search_widget {
  max-width: 100%;
  width: 100%;
}
#search_widget form {
  position: relative;
  display: flex;
  align-items: center;
}
#search_widget input[type="text"] {
  height: 42px;
  border: 2px solid var(--zv-accent);
  border-radius: var(--zv-radius);
  padding: 0 44px 0 16px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color var(--zv-transition),
    box-shadow var(--zv-transition);
}
#search_widget input[type="text"]:focus {
  border-color: var(--zv-accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 181, 0.1);
  outline: none;
}
#search_widget form button[type="submit"] {
  position: absolute;
  right: 0;
  top: 0;
  bottom: auto;
  height: 42px;
  width: 42px;
  background-color: var(--zv-accent);
  color: #fff;
  border: none;
  border-radius: 0 var(--zv-radius) var(--zv-radius) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transform: none;
}
#search_widget form button[type="submit"] i,
#search_widget form button[type="submit"] .material-icons {
  font-size: 20px;
  line-height: 1;
  display: block;
  width: auto;
  height: auto;
  vertical-align: baseline;
}

/* Hide search box that may appear inside the menu bar via displayTop hook */
.zv-menu-bar #search_widget {
  display: none;
}

/* Prevent search widget overflow */
.zv-search-col {
  overflow: hidden;
}

/* ==========================================================================
   6. HEADER — Category Mega Menu
   ========================================================================== */

/* Row 3: Menu bar wrapper */
.zv-menu-bar {
  background-color: var(--zv-primary);
}

/* Header icons in row 2 */
.zv-header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.zv-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Mobile search form */
.zv-mobile-search-form {
  padding: 8px 0;
}

#_desktop_top_menu {
  background-color: var(--zv-primary);
  width: 100%;
}
#_desktop_top_menu .top-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
#_desktop_top_menu .top-menu > li {
  position: relative;
  display: block;
  float: none;
}
#_desktop_top_menu .top-menu > li > a {
  display: block;
  padding: 12px 20px;
  color: #d9f1fd;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color var(--zv-transition);
  border-bottom: 0px solid transparent;
}
#_desktop_top_menu .top-menu > li > a:hover,
#_desktop_top_menu .top-menu > li.current > a {
  background-color: var(--zv-primary-dark);
  border-bottom-color: var(--zv-accent);
}

/* Mega menu dropdown */
#_desktop_top_menu .popover.sub-menu {
  background: #fff;
  border: none;
  border-radius: 0 0 var(--zv-radius) var(--zv-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  min-width: 300px;
}
#_desktop_top_menu .popover.sub-menu a {
  color: var(--zv-text);
  padding: 6px 0;
  font-size: 13px;
}
#_desktop_top_menu .popover.sub-menu a:hover {
  color: var(--zv-accent);
}

/* ==========================================================================
   7. HERO SLIDER (ps_imageslider)
   ========================================================================== */

.zv-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.zv-hero-slider .carousel {
  margin-bottom: 0;
}
.zv-slide {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.zv-slide-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.zv-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.zv-slide-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.zv-slide-title {
  font-family: var(--zv-font-heading);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 560px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.zv-slide-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 440px;
}
.zv-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  font-family: var(--zv-font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--zv-radius-pill);
}
.zv-slide-cta .material-icons {
  font-size: 18px;
}

/* Slider arrows */
.zv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  transition: background var(--zv-transition);
  opacity: 0;
}
.zv-hero-slider:hover .zv-arrow {
  opacity: 1;
}
.zv-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
}
.zv-arrow-prev {
  left: 16px;
}
.zv-arrow-next {
  right: 16px;
}
.zv-arrow .material-icons {
  font-size: 28px;
}

/* Slider dots */
.zv-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  list-style: none;
}
.zv-slider-dots li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition:
    background var(--zv-transition),
    transform var(--zv-transition);
}
.zv-slider-dots li.active,
.zv-slider-dots li:hover {
  background: #fff;
  transform: scale(1.2);
}

/* ==========================================================================
   8. HOMEPAGE — Category Blocks
   ========================================================================== */

.zv-category-blocks {
  padding: 40px 0;
}
.zv-category-blocks .section-title {
  text-align: center;
  margin-bottom: 32px;
  font-family: var(--zv-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--zv-text);
  letter-spacing: -0.01em;
}
.zv-category-blocks .category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.zv-category-blocks .category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: var(--zv-radius-lg);
  border: 1px solid var(--zv-border);
  text-decoration: none;
  color: var(--zv-text);
  backdrop-filter: blur(10px);
  transition:
    transform var(--zv-transition),
    border-color var(--zv-transition),
    box-shadow var(--zv-transition);
}
.zv-category-blocks .category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 245, 255, 0.4);
  box-shadow:
    0 0 20px rgba(0, 245, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: var(--zv-text);
}
.zv-category-blocks .category-card .cat-icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}
.zv-category-blocks .category-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}
.zv-category-blocks .category-card .cat-name {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   10. PRODUCT CARD (Miniature)
   ========================================================================== */

.product-miniature {
  background: var(--zv-bg-card);
  border: 1px solid rgba(160, 160, 160, 0.1);
  box-shadow:
    0 5px 12px rgba(15, 23, 42, 0.08),
    0 2px 5px rgba(15, 23, 42, 0.04);
  border-radius: var(--zv-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    box-shadow var(--zv-transition),
    transform var(--zv-transition),
    border-color var(--zv-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Reset classic theme's inner product wrapper centering and margins */
.product-miniature .product {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-miniature:hover {
  box-shadow: var(--zv-shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(0, 245, 255, 0.3);
}

.product-miniature .thumbnail-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image area */
.product-miniature .thumbnail-top {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-miniature .product-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  height: 100%;
}
.product-miniature .product-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Product info area */
.product-miniature .product-description {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-miniature .product-title {
  font-family: var(--zv-font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-miniature .product-title a {
  color: var(--zv-text);
  text-decoration: none;
}
.product-miniature .product-title a:hover {
  color: var(--zv-accent);
}

/* Prices */
.product-miniature .product-price-and-shipping {
  margin-top: auto;
  margin-bottom: 8px;
}
.product-miniature .price {
  font-family: var(--zv-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--zv-accent);
  letter-spacing: -0.02em;
}
.product-miniature .regular-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--zv-text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

/* Discount badge */
.product-miniature .discount-product {
  display: inline-block;
  background: var(--zv-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--zv-radius-pill);
  margin-left: 4px;
  letter-spacing: 0.02em;
}

/* Product flags (New, Sale, etc.) */
.product-miniature .product-flags {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-miniature .product-flag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 6px;
  font-weight: 700;
  border-radius: var(--zv-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.product-miniature .product-flags li.product-flag {
  font-size: 0.8rem;
}
.product-miniature .product-flag.new {
  background: linear-gradient(135deg, #00f5ff, #a855f7);
  color: #fff;
}
.product-miniature .product-flag.on-sale,
.product-miniature .product-flag.discount {
  background: var(--zv-danger);
  color: #fff;
}

/* Quick view overlay */
.product-miniature .highlighted-informations {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--zv-transition);
  border-bottom: 1px solid #25a4e336;
}
.product-miniature:hover .highlighted-informations {
  transform: translateY(0);
  top: calc(100% - 2rem) !important;
}
.product-miniature .highlighted-informations .quick-view {
  font-size: 12px;
  color: var(--zv-accent);
  font: var(--zv-font-heading);
  text-decoration: none;
}
.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
  display: none;
}

.product-miniature .highlighted-informations .quick-view .material-icons {
  width: 12px;
  height: 12px;
  font-size: 12px !important;
}

/* Add to cart button on card */
.product-miniature .zv-add-to-cart-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: var(--zv-accent);
  color: #fff;
  border: none;
  border-radius: var(--zv-radius-pill);
  font-family: var(--zv-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--zv-transition);
  margin-top: 8px;
  height: 40px;
  line-height: 20px;
}
.product-miniature .zv-add-to-cart-btn:hover {
  background: var(--zv-accent-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.45);
}

/* ==========================================================================
   11. FEATURED PRODUCTS / SPECIALS / NEW PRODUCTS SECTIONS
   ========================================================================== */

.zv-products-section {
  padding: 40px 0;
}
.zv-products-section.zv-bg-light {
  background: var(--zv-bg-light);
}
.zv-products-section .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0;
  margin-right: 0;
}
.zv-products-section .products > .js-product {
  width: auto;
  max-width: 100%;
  float: none;
  padding: 0;
}
.zv-products-section .all-product-link {
  display: block;
  text-align: center;
  margin-top: 24px;
}
.zv-products-section .all-product-link a {
  color: var(--zv-accent);
  font-weight: 600;
  text-decoration: none;
}
.zv-products-section .all-product-link a:hover {
  color: var(--zv-accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   12. PRODUCT PAGE
   ========================================================================== */

/* Gallery */
.product-cover img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius);
  padding: 16px;
}
.product-images {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.product-images .thumb-container {
  flex-shrink: 0;
}
.product-images .thumb-container img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 2px solid var(--zv-border);
  border-radius: var(--zv-radius-sm);
  padding: 4px;
  cursor: pointer;
  transition: border-color var(--zv-transition);
}
.product-images .thumb-container img:hover,
.product-images .thumb-container.selected img {
  border-color: var(--zv-accent);
}

/* Product info panel */
.product-prices .current-price .price {
  font-family: var(--zv-font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--zv-accent);
  letter-spacing: -0.02em;
}
.product-prices .product-discount .regular-price {
  font-size: 18px;
  color: var(--zv-text-muted);
  text-decoration: line-through;
}
.product-prices .discount.discount-percentage,
.product-prices .discount.discount-amount {
  display: inline-block;
  background: var(--zv-danger);
  color: #fff;
  padding: 2px 10px;
  border-radius: var(--zv-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 8px;
}

/* Add to cart button */
.product-add-to-cart .add-to-cart {
  width: 100%;
  height: 48px;
  background: var(--zv-accent);
  border-color: var(--zv-accent);
  color: #fff;
  font-family: var(--zv-font-heading);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--zv-radius-pill);
  transition: all var(--zv-transition);
}
.product-add-to-cart .add-to-cart:hover {
  background: var(--zv-accent-hover);
  border-color: var(--zv-accent-hover);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Quantity selector - styled +/- buttons */
.product-add-to-cart .product-quantity .qty .input-group {
  border-radius: 0;
  overflow: hidden;
}
.product-add-to-cart .product-quantity .qty input {
  border: 1px solid var(--zv-border);
  text-align: center;
}

.product-add-to-cart .product-quantity .input-group-btn-vertical .btn,
.cart-item .input-group .input-group-btn-vertical .btn {
  border: 1px solid var(--zv-border);
}

.cart-item .input-group input.form-control {
  border: 1px solid var(--zv-border);
}

/* ==========================================================================
   13. PRODUCT PAGE — Tabs
   ========================================================================== */

.zv-product-tabs {
  margin-top: 40px;
  border-top: 1px solid var(--zv-border);
}
.zv-product-tabs .nav-tabs {
  border-bottom: 2px solid var(--zv-border);
  display: flex;
  gap: 0;
  margin-bottom: 0;
}
.zv-product-tabs .nav-tabs .nav-link {
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
  color: var(--zv-text-muted);
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
  cursor: pointer;
  transition:
    color var(--zv-transition),
    border-color var(--zv-transition);
  background: none;
}
.zv-product-tabs .nav-tabs .nav-link:hover {
  color: var(--zv-text);
}
.zv-product-tabs .nav-tabs .nav-link.active {
  color: var(--zv-accent);
  border-bottom-color: var(--zv-accent);
}
.zv-product-tabs .tab-content {
  padding: 0;
  min-height: 200px;
}

/* ==========================================================================
   14. PRODUCT PAGE — Specs Table
   ========================================================================== */

.product-features .data-sheet {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 70%;
}
.product-features .data-sheet dt,
.product-features .data-sheet dd {
  padding: 10px 16px;
  margin: 0;
  border-bottom: 1px solid var(--zv-border);
}
.product-features .data-sheet dt {
  background: var(--zv-bg-light);
  font-weight: 600;
  color: var(--zv-text);
}
.product-features .data-sheet dd {
  background: #fff;
}
.product-features .data-sheet dt:nth-of-type(even),
.product-features .data-sheet dd:nth-of-type(even) {
  background: var(--zv-bg-light);
}
.product-features .data-sheet dd:nth-of-type(even) {
  background: #fff;
}

/* Reassurance icons */
.product-reassurance {
  margin-top: 16px;
}
.product-reassurance .blockreassurance_product li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--zv-text-muted);
  border-bottom: 1px solid var(--zv-border);
}

/* ==========================================================================
   15. CATEGORY / LISTING PAGE
   ========================================================================== */

#products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0;
  margin-right: 0;
}
#products .products > .js-product {
  width: auto;
  max-width: 100%;
  float: none;
  padding: 0;
}
#products .products-sort-order .select-title {
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius-sm);
  padding: 8px 12px;
}

/* Pagination */
.pagination .page-list li {
  margin: 0 2px;
}
.pagination .page-list li a,
.pagination .page-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--zv-radius-sm);
  font-size: 14px;
  color: var(--zv-text);
  text-decoration: none;
  transition: all var(--zv-transition);
}
.pagination .page-list li.current a,
.pagination .page-list li.current span {
  background: var(--zv-accent);
  color: #fff;
}
.pagination .page-list li a:hover {
  background: var(--zv-bg-light);
}

/* Faceted search sidebar */
#search_filters .facet .facet-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--zv-text);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--zv-border);
}
#search_filters .facet .facet-label {
  font-size: 13px;
  color: var(--zv-text);
}

/* ==========================================================================
   16. FOOTER — Module container overrides
   ========================================================================== */

/* Override classic theme's light bg on the module wrapper injected by hooks */
.footer-container {
  background: var(--zv-bg-footer);
  color: #ccc;
  border-top: none;
}
.footer-container a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--zv-transition);
}
.footer-container a:hover {
  color: #fff;
}

/* ==========================================================================
   17. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  background: transparent;
  padding: 12px 0;
  font-size: 12px;
}
.breadcrumb a {
  color: var(--zv-text-muted);
}
.breadcrumb a:hover {
  color: var(--zv-accent);
}

/* ==========================================================================
   18. CART PREVIEW (ps_shoppingcart in header)
   ========================================================================== */

.zv-cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zv-text);
  text-decoration: none;
}
.zv-cart-link:hover {
  color: var(--zv-accent);
  text-decoration: none;
}
.zv-cart-icon-wrap {
  position: relative;
  display: inline-flex;
}
.zv-cart-icon-wrap .material-icons {
  font-size: 26px;
}
.zv-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--zv-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 4px;
}
.zv-cart-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--zv-text);
}

/* ==========================================================================
   20. PRODUCT CARD (miniature) actions
   ========================================================================== */

.zv-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.zv-card-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zv-card-title a {
  color: var(--zv-text);
  text-decoration: none;
}
.zv-card-title a:hover {
  color: var(--zv-accent);
}
.zv-card-price {
  margin-bottom: 10px;
}
.zv-card-actions {
  margin-top: auto;
  padding-top: 8px;
}
.zv-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.zv-card-cta .material-icons {
  font-size: 18px;
}
.zv-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.zv-product-card .product-flags {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}
.zv-product-card .product-flag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 6px;
  font-weight: 700;
  color: #fff;
  border-radius: var(--zv-radius-pill);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.zv-product-card .product-flag.discount {
  background: var(--zv-danger);
}
.zv-product-card .product-flag.new {
  background: linear-gradient(135deg, #00f5ff, #a855f7);
}
.zv-product-card .product-flag.on-sale {
  background: var(--zv-warning);
}

/* ==========================================================================
   21. NEWSLETTER
   ========================================================================== */

.zv-footer-newsletter {
  background: var(--zv-bg-footer);
  padding: 32px 0;
  border-top: 1px solid var(--zv-border);
}
/* Override classic theme module CSS that forces white background */
.block_newsletter {
  background: transparent !important;
  color: var(--zv-text) !important;
}
.zv-newsletter-block {
  width: 100%;
  padding: 0;
}
.zv-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.zv-newsletter-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--zv-text-footer);
}
.zv-newsletter-heading .material-icons {
  font-size: 22px;
  color: var(--zv-accent);
}
.zv-newsletter-text p {
  margin: 0;
  font-size: 14px;
  color: var(--zv-text-muted) !important;
}
.zv-newsletter-form {
  flex: 1;
  max-width: 460px;
}
.zv-newsletter-input-group {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--zv-border);
}
.zv-newsletter-input {
  flex: 1;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  min-width: 0;
  border-radius: var(--zv-radius);
}
.zv-newsletter-input:focus {
  box-shadow: none;
}
.zv-newsletter-btn {
  white-space: nowrap;
  border-radius: 0 var(--zv-radius) var(--zv-radius) 0;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
  border: none;
  bottom: auto !important;
  top: 3px !important;
  right: 3px !important;
  background: white !important;
}

.zv-newsletter-conditions {
  font-size: 11px;
  color: var(--zv-text-muted);
  margin-top: 6px;
}
.zv-newsletter-msg {
  font-size: 13px;
  margin-top: 6px;
  padding: 6px 12px;
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */

.zv-footer {
  background: var(--zv-bg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 40px;
}
.zv-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--zv-transition);
}
.zv-footer a:hover {
  color: #fff;
  text-decoration: none;
}
.zv-footer-main {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 2;
}
.zv-footer-main h3,
.zv-footer-main .h3,
.zv-footer .block_content .h3,
.zv-footer .footer-container .h3,
.zv-footer .block-contact .block-contact-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.zv-footer .block_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.zv-footer .block_content li {
  margin-bottom: 8px;
}
.zv-footer .block_content li a {
  font-size: 13px;
}

/* Footer social row */
.zv-footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.zv-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background var(--zv-transition),
    transform var(--zv-transition);
}
.zv-social-link:hover {
  background: var(--zv-accent);
  transform: translateY(-2px);
}
.zv-social-link img {
  filter: brightness(0) invert(1);
}
.zv-social-snapchat:hover {
  background: #fffc00;
}
.zv-social-snapchat:hover img {
  filter: brightness(0); /* dark icon on Snapchat yellow */
}
.zv-social-instagram:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

/* Footer copyright row */
.zv-footer-copy {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer account/link blocks — ensure visibility on dark bg */
.zv-footer .links .title,
.zv-footer .myaccount-title a,
.zv-footer .block-contact .block-contact-title,
.footer-container .links .title {
  color: #fff !important;
}
.zv-footer .links a,
.zv-footer .block-contact a,
.zv-footer .myaccount-title a,
.footer-container .myaccount-title a,
.footer-container .links a {
  color: rgba(255, 255, 255, 0.7) !important;
}
.zv-footer .links a:hover,
.zv-footer .block-contact a:hover,
.footer-container .links a:hover,
.footer-container .myaccount-title a:hover {
  color: #fff !important;
}

/* ==========================================================================
   23. PRODUCT PAGE LAYOUT
   ========================================================================== */

.zv-product-page {
  padding-bottom: 40px;
}
.zv-product-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--zv-text);
}
.zv-product-short-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--zv-text-muted);
  margin-bottom: 16px;
}
.zv-product-info-col {
  padding-left: 30px;
}

/* Gallery */
.zv-gallery .product-cover {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 12px;
}
.zv-gallery .product-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.zv-gallery-thumbs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.zv-gallery-thumbs .thumb-container {
  width: 72px;
  height: 72px;
  border: 2px solid var(--zv-border);
  border-radius: var(--zv-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--zv-transition);
}
.zv-gallery-thumbs .thumb-container:hover,
.zv-gallery-thumbs .thumb.selected {
  border-color: var(--zv-accent);
}
.zv-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zv-gallery-thumbs.product-images > li.thumb-container .thumb.selected,
.zv-gallery-thumbs.product-images > li.thumb-container .thumb:hover {
  border: 0;
  margin: 0;
}

/* Reassurance under add to cart */
.zv-reassurance-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--zv-border);
}

/* Tabs */
.zv-product-tabs {
  margin-top: 40px;
  padding-top: 0px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-top: 1px solid var(--zv-border);
}
.zv-tab-nav {
  border-bottom: 2px solid var(--zv-border);
  margin-bottom: 24px;
}
.zv-tab-nav .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--zv-text-muted);
  font-weight: 500;
  padding: 10px 20px;
  transition: all var(--zv-transition);
}
.zv-tab-nav .nav-link:hover {
  color: var(--zv-text);
  border-bottom-color: var(--zv-border);
}
.zv-tab-nav .nav-link.active {
  color: var(--zv-accent);
  border-bottom-color: var(--zv-accent);
}

/* Specs table */
.zv-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.zv-specs-table th,
.zv-specs-table td {
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--zv-border);
}
.zv-specs-table th {
  font-weight: 600;
  background: var(--zv-bg-light);
  color: var(--zv-text);
  width: 35%;
  text-align: left;
}
.zv-specs-table td {
  color: var(--zv-text-muted);
}
.zv-specs-table tr:last-child th,
.zv-specs-table tr:last-child td {
  border-bottom: none;
}

/* Section title & links shared */
.zv-section-title {
  font-family: var(--zv-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--zv-text);
  text-align: left;
  margin-bottom: 28px;
  position: relative;
  letter-spacing: -0.01em;
  padding-left: 16px;
  border-left: 4px solid var(--zv-accent);
  box-shadow: inset 4px 0 12px -4px rgba(0, 245, 255, 0.15);
}
.zv-section-title::after {
  display: none;
}
.zv-section-link {
  margin-top: 24px;
}
.zv-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--zv-accent);
  color: var(--zv-accent);
  background: transparent;
  padding: 8px 20px;
  font-family: var(--zv-font-heading);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--zv-radius-pill);
  transition: all var(--zv-transition);
}
.zv-btn-outline:hover {
  background: var(--zv-accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.zv-btn-outline .material-icons {
  font-size: 18px;
}

/* Products section wrapper */
.zv-products-section {
  padding: 48px 0;
}
.zv-bg-light {
  background: var(--zv-bg-light);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet landscape */
@media (max-width: 1199px) {
  .zv-products-section .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet portrait */
@media (max-width: 991px) {
  .zv-products-section .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zv-category-blocks .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .zv-slide-img {
    height: 300px;
  }
  .zv-slide-title {
    font-size: 26px;
  }
  .zv-product-info-col {
    padding-left: 15px;
    margin-top: 20px;
  }
  .zv-newsletter-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .zv-newsletter-form {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .zv-products-section .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .zv-category-blocks .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .zv-slide-img {
    height: 220px;
  }
  .zv-slide-title {
    font-size: 20px;
  }
  .zv-slide-desc {
    font-size: 14px;
  }
  .zv-arrow {
    display: none;
  }

  /* Product page responsive */
  .zv-gallery .product-cover img {
    max-height: 300px;
    object-fit: contain;
  }
  .product-prices .current-price .price {
    font-size: 24px;
  }
  .zv-product-title {
    font-size: 20px;
  }
  .zv-product-tabs {
    margin-top: 24px;
  }
  .zv-tab-nav .nav-link {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Sticky add-to-cart bar */
  .zv-sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--zv-bg-light);
    border-top: 1px solid var(--zv-border);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .zv-sticky-add-to-cart .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--zv-accent);
    font-family: var(--zv-font-mono);
    white-space: nowrap;
  }
  .zv-sticky-add-to-cart .add-to-cart {
    flex: 1;
    height: 44px;
    background: var(--zv-accent);
    color: #fff;
    border: none;
    border-radius: var(--zv-radius);
    font-weight: 700;
  }

  /* Footer mobile */
  .zv-footer-main {
    flex-direction: column;
  }
  .zv-footer-main > div {
    margin-bottom: 24px;
  }
  .zv-newsletter-input-group {
    flex-direction: column;
  }
  .zv-newsletter-btn {
    border-radius: 0 0 var(--zv-radius) var(--zv-radius);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .zv-products-section .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .zv-card-body {
    padding: 8px;
  }
  .zv-card-title {
    font-size: 12px;
  }
  .product-miniature .price {
    font-size: 15px;
  }
  .zv-card-cta span {
    display: none;
  }
  .zv-card-cta {
    padding: 6px;
  }
  .zv-slide-caption {
    display: none;
  }
}

/* ==========================================================================
   DARK THEME — Comprehensive overrides for classic PrestaShop theme
   Covers every element that classic/Bootstrap sets to white or light.
   ========================================================================== */

/* ── 1. Global body & page shells ─────────────────────────────────────────── */
html,
body {
  background-color: var(--zv-bg) !important;
  color: var(--zv-text) !important;
}

#wrapper,
#main,
#content,
#content-wrapper,
.page-wrapper,
.page-content,
.page-home,
.page-cms,
.page-contact,
.page-order,
.container-main {
  background-color: var(--zv-bg);
  color: var(--zv-text);
}

/* Columns */
.left-column,
.right-column,
#left-column,
#right-column {
  background-color: transparent;
  color: var(--zv-text);
}

/* ── 2. Default link color ────────────────────────────────────────────────── */
a {
  color: var(--zv-accent);
}
a:hover {
  color: var(--zv-accent-hover);
}

/* Body text that classic sets dark but should be light on dark bg */
p,
li,
span,
label,
td,
th,
dt,
dd,
small,
.h1,
.h2,
.h3,
.h4,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
}

/* ── 3. Navigation & header sub-elements ─────────────────────────────────── */
#mobile_top_menu_wrapper,
.js-top-menu.mobile,
.js-top-menu-bottom {
  background-color: var(--zv-bg-light);
  border-top: 1px solid var(--zv-border);
}

#mobile_top_menu_wrapper a,
.js-top-menu.mobile a {
  color: var(--zv-text);
}

/* zv-shop-name on dark header */
.zv-shop-name__main {
  color: var(--zv-text) !important;
}
.zv-cart-total,
.zv-cart-link {
  color: var(--zv-text) !important;
}
.zv-cart-link:hover {
  color: var(--zv-accent) !important;
}

/* ── 4. Bootstrap dropdown menus ─────────────────────────────────────────── */
.dropdown-menu {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.dropdown-menu > li > a,
.dropdown-item {
  color: var(--zv-text);
}
.dropdown-menu > li > a:hover,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--zv-text);
}
.dropdown-menu .divider,
.dropdown-divider {
  background-color: var(--zv-border);
}

/* Cart preview popup (ps_shoppingcart) */
.blockcart .cart-preview,
.blockcart .cart-body,
.cart-preview .cart-products,
.cart-preview.active .cart-body {
  background-color: var(--zv-bg-light);
  border: 1px solid var(--zv-border);
  color: var(--zv-text);
}
.blockcart .cart-preview .cart-subtotal,
.blockcart .cart-preview .cart-products-count {
  color: var(--zv-text);
}
.blockcart .cart-preview .no-items {
  color: var(--zv-text-muted);
}

/* ── 5. Module containers (homepage sections) ────────────────────────────── */
.featured-products,
.new-products,
.product-accessories,
.viewed-products,
#bestsellers,
.cross-selling,
.zv-products-section {
  color: var(--zv-text);
}

/* ── 6. Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb,
#wrapper .breadcrumb,
nav.breadcrumb {
  background-color: transparent;
  color: var(--zv-text-muted);
}
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
  color: var(--zv-text-muted);
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--zv-text-muted);
}
.breadcrumb ol {
  background: transparent;
}

/* ── 7. Category / listing page ─────────────────────────────────────────── */
.category-description,
.category-header,
.cat_desc,
#category-description {
  background: transparent;
  color: var(--zv-text);
}

/* Filters sidebar */
#search_filters,
.facets-wrapper,
.search-filters-wrapper {
  background-color: transparent;
  color: var(--zv-text);
}

.facet,
.facet-block {
  background-color: var(--zv-bg-light);
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius);
  margin-bottom: 12px;
  padding: 12px;
}

#search_filters .facet .facet-title {
  color: var(--zv-text);
  border-bottom-color: var(--zv-border);
}

#search_filters .facet .facet-label a {
  color: var(--zv-text);
}

.active-filters,
.active_filters {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.active_filters .filter-block {
  background-color: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: var(--zv-text);
}

/* Sort orders */
.products-sort-order .select-title,
.sort-by-row .select-title,
#js-product-list-top .products-sort-order {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.products-sort-order .select-list,
.dropdown-toggle ~ .select-list {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
}

.products-sort-order .select-list a,
.products-sort-order .select-list .option {
  color: var(--zv-text);
}

.products-sort-order .select-list a:hover,
.products-sort-order .select-list .option:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--zv-accent);
}

/* Products count / total */
#js-product-list-header,
#js-product-list-bottom,
.total-products {
  color: var(--zv-text-muted);
}

/* Sub-categories chips */
.subcategory-thumbnail,
.subcategory-image {
  border-color: var(--zv-border);
}

/* ── 8. Product detail page ─────────────────────────────────────────────── */
.product-container,
.product-information,
.product-detail,
#product .page-content,
.zv-product-page {
  background-color: transparent;
  color: var(--zv-text);
}

/* Variants / combinations */
.product-variants,
.product-variants-item,
.control-label {
  color: var(--zv-text);
}

.product-variants-item .input-color,
.product-variants-item .color {
  border-color: var(--zv-border);
}

/* Quantity input group buttons */
.js-touchspin + .input-group-btn > button,
.bootstrap-touchspin .input-group-btn .btn,
.input-group-btn .btn-touchspin {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.js-touchspin + .input-group-btn > button:hover,
.bootstrap-touchspin .input-group-btn .btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--zv-accent);
}

/* Product availability */
#product-availability,
.product-availability {
  color: var(--zv-text-muted);
}
.product-available {
  color: var(--zv-success) !important;
}
.product-unavailable {
  color: var(--zv-danger) !important;
}

/* Product tabs */
.tabs .tab-pane,
.tab-content {
  background-color: transparent;
  color: var(--zv-text);
}

.nav-tabs {
  border-bottom-color: var(--zv-border);
}
.nav-tabs .nav-link {
  color: var(--zv-text-muted);
}
.nav-tabs .nav-link:hover {
  border-color: transparent;
  color: var(--zv-text);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: transparent;
  border-color: var(--zv-border) var(--zv-border) transparent;
  color: var(--zv-accent);
}

/* Product description text */
.product-description,
.product-description p,
.product-description li {
  color: var(--zv-text);
  line-height: 1.6;
}

/* Specs data sheet */
.product-features .data-sheet dt {
  background: var(--zv-bg-light);
  color: var(--zv-text);
  border-bottom-color: var(--zv-border);
}
.product-features .data-sheet dd {
  background: var(--zv-bg);
  color: var(--zv-text-muted);
  border-bottom-color: var(--zv-border);
}

/* ── 9. Cart page ───────────────────────────────────────────────────────── */
.cart-grid-right,
.cart-summary,
.cart-detailed,
.cart-detailed-totals,
.cart-summary-totals,
.cart-summary-subtotals,
.cart-voucher,
.cart-total {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.cart-item,
.cart-detailed-product-line,
.cart-summary-product-line {
  border-bottom-color: var(--zv-border);
  color: var(--zv-text);
}

.cart-item .product-name,
.cart-item .product-name a {
  color: var(--zv-text);
}

.cart-item .product-price {
  color: var(--zv-accent);
}

.promo-code,
.cart-voucher .promo-code {
  background-color: var(--zv-bg);
  border-color: var(--zv-border);
}

.promo-name,
.promo-code-button {
  color: var(--zv-text-muted);
}

/* ── 10. Checkout page ──────────────────────────────────────────────────── */
#checkout,
.checkout-step,
.js-address-form,
.js-checkout-step {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.checkout-step .step-title,
.step-title {
  background-color: var(--zv-bg-light);
  border-bottom-color: var(--zv-border);
  color: var(--zv-text);
}

.checkout-step.-reachable.-complete .step-title:hover,
.checkout-step .step-title:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.checkout-step .content,
.checkout-step.-current .content {
  background-color: var(--zv-bg-light);
}

.order-confirmation,
#order-confirmation,
#content-hook_order_confirmation,
.box-order-detail {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

/* Delivery method options */
.delivery-option,
.delivery-options-list {
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.delivery-option label {
  color: var(--zv-text);
}

/* Payment options */
.payment-option,
.payment-options,
.additional-information {
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.payment-option label {
  color: var(--zv-text);
}

/* ── 11. Customer account pages ─────────────────────────────────────────── */
.account-links,
.address,
.addresses-list,
.order-list,
.order-detail-content,
.order-history,
.discount-list {
  color: var(--zv-text);
}

.address,
.address-item {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
}

.address-header,
.address-body,
.address-footer {
  color: var(--zv-text);
  border-color: var(--zv-border);
}

.page-order .card,
.order-detail-content .card {
  background-color: var(--zv-bg-light) !important;
  border-color: var(--zv-border) !important;
  color: var(--zv-text) !important;
}

/* ── 12. Bootstrap cards, panels ────────────────────────────────────────── */
.card,
.card-block,
.card-body,
.card-header,
.card-footer,
.panel,
.panel-body,
.panel-heading {
  background-color: var(--zv-bg-light) !important;
  border-color: var(--zv-border) !important;
  color: var(--zv-text) !important;
}
.card-header,
.panel-heading {
  border-bottom-color: var(--zv-border) !important;
}
.card-footer,
.panel-footer {
  border-top-color: var(--zv-border) !important;
}

/* ── 13. Bootstrap and custom select elements ───────────────────────────── */
.custom-select,
select.form-control,
.select-title {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

/* ── 14. Modals ─────────────────────────────────────────────────────────── */
.modal-content {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.modal-header,
.modal-body,
.modal-footer {
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.modal .close,
.modal-header .close {
  color: var(--zv-text-muted);
}

/* ── 15. Notices / alerts ───────────────────────────────────────────────── */
.alert {
  color: var(--zv-text);
}
.alert-info {
  background-color: rgba(0, 245, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.25);
}
.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}
.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}
.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Flash notifications from PrestaShop */
.notifications-wrapper,
.notification {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

/* ── 16. Tables ─────────────────────────────────────────────────────────── */
.table,
.table th,
.table td {
  color: var(--zv-text);
  border-color: var(--zv-border);
  background-color: transparent;
}
.table-bordered {
  border-color: var(--zv-border);
}
.table thead th {
  background-color: var(--zv-bg-light);
  border-bottom-color: var(--zv-border);
  color: var(--zv-text);
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}
.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ── 17. Forms & inputs ─────────────────────────────────────────────────── */
.form-group label,
.col-form-label,
.form-control-label {
  color: var(--zv-text);
}
.form-text,
.form-control-comment {
  color: var(--zv-text-muted);
}
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--zv-accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.12);
  color: var(--zv-text);
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: var(--zv-text-muted);
  opacity: 0.7;
}
.input-group-btn .btn,
.input-group-append .btn,
.input-group-prepend .btn {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.input-group-text {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text-muted);
}
.custom-control-label::before {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--zv-border);
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--zv-accent);
  border-color: var(--zv-accent);
}

/* ── 18. Popover / tooltip (Bootstrap) ─────────────────────────────────── */
.popover {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
}
.popover-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--zv-border);
  color: var(--zv-text);
}
.popover-body {
  color: var(--zv-text);
}
.tooltip-inner {
  background-color: var(--zv-bg-light);
  color: var(--zv-text);
}

/* ── 19. Pagination ─────────────────────────────────────────────────────── */
.page-item .page-link,
.pagination .page-link {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}
.page-item.active .page-link,
.pagination .current .page-link {
  background-color: var(--zv-accent);
  border-color: var(--zv-accent);
  color: #0a0a0f;
}
.page-item.disabled .page-link {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text-muted);
}

/* ── 20. Faceted search sidebar checkboxes & sliders ────────────────────── */
.facet input[type="checkbox"] + span,
.facet .facet-label span {
  color: var(--zv-text);
}

.range-slider-slider {
  background-color: var(--zv-accent);
}

/* ── 21. Product images modal ───────────────────────────────────────────── */
.modal-dialog .modal-content {
  background-color: var(--zv-bg-light);
}

/* ── 22. Contact form page ──────────────────────────────────────────────── */
.contact-form,
.contact-rich {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

/* ── 23. Search results page ────────────────────────────────────────────── */
#search #main,
.page-search #wrapper {
  background-color: var(--zv-bg);
}

/* ── 24. Reassurance block in product page ──────────────────────────────── */
.blockreassurance_product li,
.block-reassurance li {
  border-bottom-color: var(--zv-border);
  color: var(--zv-text-muted);
}

/* ── 25. Language / currency selectors ─────────────────────────────────── */
.language-selector-wrapper .dropdown-menu,
.currency-selector-wrapper .dropdown-menu,
#_desktop_language_selector .dropdown-menu,
#_desktop_currency_selector .dropdown-menu {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
}
.language-selector-wrapper .dropdown-item,
.currency-selector-wrapper .dropdown-item {
  color: var(--zv-text);
}

/* ── 26. Google Fonts badge & other injected elements ───────────────────── */
.search-widget form button[type="submit"] {
  background-color: var(--zv-accent);
  color: #0a0a0f;
}

/* ── 27. Footer refinements ─────────────────────────────────────────────── */
.footer-container,
#footer,
.zv-footer {
  background-color: var(--zv-bg-footer);
  color: rgba(255, 255, 255, 0.8);
}

/* PS link list in footer */
.footer-container .block-contact p,
.footer-container .block-contact address {
  color: rgba(255, 255, 255, 0.7);
}

/* ── 28. Misc inherited borders ─────────────────────────────────────────── */
hr {
  border-color: var(--zv-border);
}

.list-group-item {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.badge {
  background-color: var(--zv-bg-light);
  color: var(--zv-text);
}

/* ── 29. Product cover image transparent bg ─────────────────────────────── */
.product-cover img,
.product-thumbnail img {
  background: var(--zv-bg-light);
}

/* ── 30. Search bar dark ────────────────────────────────────────────────── */
#search_widget input[type="text"] {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--zv-accent);
  color: var(--zv-text);
}

/* ==========================================================================
   DARK THEME — Glow pulse animation for CTA buttons
   ========================================================================== */

@keyframes zv-pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(0, 245, 255, 0.5),
      0 4px 12px rgba(0, 245, 255, 0.2);
  }
  50% {
    box-shadow:
      0 0 22px rgba(0, 245, 255, 0.8),
      0 6px 24px rgba(0, 245, 255, 0.4);
  }
}

.btn-primary:hover,
.btn-primary:focus,
.zv-btn-accent:hover,
.product-add-to-cart .add-to-cart:hover,
.product-miniature .zv-add-to-cart-btn:hover {
  animation: zv-pulse-glow 2s ease-in-out infinite;
}

/* ==========================================================================
   DARK THEME — JetBrains Mono for prices & numbers
   ========================================================================== */

.product-miniature .price,
.product-miniature .regular-price,
.product-prices .current-price .price,
.product-prices .product-discount .regular-price,
.zv-card-price .price,
.price {
  font-family: var(--zv-font-mono);
}

/* ==========================================================================
   DARK THEME — Trust badges strip (above the fold)
   ========================================================================== */

.zv-trust-bar {
  background: rgba(0, 245, 255, 0.03);
  padding: 10px 0;
  box-shadow: 0 5px 5px rgba(160, 251, 255, 0.1);
}

.zv-trust-badges {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zv-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
}

.zv-trust-item .material-icons {
  color: var(--zv-accent);
  font-size: 22px;
  flex-shrink: 0;
}

.zv-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.zv-trust-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--zv-text);
}

.zv-trust-text span {
  font-size: 11px;
  color: var(--zv-text-muted);
}

/* ==========================================================================
   DARK THEME — Form inputs & controls
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select,
.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--zv-accent);
  color: var(--zv-text);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.12);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--zv-text-muted);
  opacity: 0.7;
}

/* Newsletter input placeholder */
.zv-newsletter-input::placeholder {
  color: var(--zv-text-muted);
}

/* ==========================================================================
   DARK THEME — Bootstrap components (cards, modals, tables)
   ========================================================================== */

.card,
.card-block,
.panel {
  background-color: var(--zv-bg-card);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.modal-content {
  background-color: var(--zv-bg-light);
  border-color: var(--zv-border);
  color: var(--zv-text);
}

.modal-header {
  border-bottom-color: var(--zv-border);
}

.modal-footer {
  border-top-color: var(--zv-border);
}

.table,
.table td,
.table th {
  color: var(--zv-text);
  border-top-color: var(--zv-border);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Alert boxes on dark */
.alert-info {
  background-color: rgba(0, 245, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.25);
  color: var(--zv-text);
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--zv-text);
}

.alert-danger,
.alert-warning.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--zv-text);
}

/* Product page cover image bg */
.product-cover img {
  background: var(--zv-bg-light);
}

/* Custom checkbox/radio dark */
.custom-control-label::before {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--zv-border);
}

/* Breadcrumb on dark */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--zv-text-muted);
}

/* ==========================================================================
   DARK THEME — Mobile trust bar responsive
   ========================================================================== */

@media (max-width: 767px) {
  .zv-trust-bar {
    display: none;
  }
}

/* ==========================================================================
   Home - Featured products
   ========================================================================== */
.featured-products .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.featured-products .products > .js-product {
  width: auto;
  max-width: 100%;
  float: none;
  padding: 0;
}

@media (max-width: 767px) {
  .featured-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .featured-products .products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
