/*
Theme Name: Carweb Starter
Theme URI: http://localhost/carweb
Author: Carweb Colombia
Author URI: http://localhost/carweb
Description: Tema next-gen para Carweb Colombia — Tienda de Autopartes. Diseño premium con WooCommerce.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carweb-starter
Tags: woocommerce, e-commerce, custom-menu, featured-images, translation-ready
*/

/* ============================================
   DESIGN SYSTEM — VARIABLES & TOKENS
   ============================================ */
:root {
  /* Colores principales */
  --cw-navy: #08244a;
  --cw-navy-dark: #051b38;
  --cw-navy-light: #0d3266;
  --cw-secondary: #1a1a2e;
  --cw-green: #82E52E;
  --cw-green-dark: #6bc724;
  --cw-green-light: #9aff45;
  --cw-teal: #31C9C0;
  --cw-orange: #FF7513;
  --cw-white: #ffffff;
  --cw-off-white: #f5f7fa;
  --cw-gray-100: #f0f2f5;
  --cw-gray-200: #e2e6ec;
  --cw-gray-300: #c5cbd6;
  --cw-gray-500: #6b7280;
  --cw-gray-700: #374151;
  --cw-black: #0a0a0f;
  --cw-success: #22c55e;
  --cw-danger: #ef4444;

  /* Gradientes */
  --cw-gradient-hero: linear-gradient(135deg, rgba(8, 36, 74, 0.88) 0%, rgba(5, 27, 56, 0.75) 100%);
  --cw-gradient-green: linear-gradient(135deg, #82E52E 0%, #6bc724 100%);
  --cw-gradient-navy: linear-gradient(160deg, #08244a 0%, #0d3266 50%, #051b38 100%);
  --cw-gradient-card: linear-gradient(145deg, rgba(8, 36, 74, 0.97) 0%, rgba(26, 26, 46, 0.97) 100%);
  --cw-gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #08244a 100%);

  /* Tipografía */
  --cw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cw-font-heading: 'Outfit', 'Inter', sans-serif;
  --cw-font-size-xs: 0.75rem;
  --cw-font-size-sm: 0.875rem;
  --cw-font-size-base: 1rem;
  --cw-font-size-lg: 1.125rem;
  --cw-font-size-xl: 1.25rem;
  --cw-font-size-2xl: 1.5rem;
  --cw-font-size-3xl: 1.875rem;
  --cw-font-size-4xl: 2.25rem;
  --cw-font-size-5xl: 3rem;
  --cw-font-size-6xl: 3.75rem;

  /* Espaciado */
  --cw-space-1: 0.25rem;
  --cw-space-2: 0.5rem;
  --cw-space-3: 0.75rem;
  --cw-space-4: 1rem;
  --cw-space-5: 1.25rem;
  --cw-space-6: 1.5rem;
  --cw-space-8: 2rem;
  --cw-space-10: 2.5rem;
  --cw-space-12: 3rem;
  --cw-space-16: 4rem;
  --cw-space-20: 5rem;
  --cw-space-24: 6rem;

  /* Bordes y sombras */
  --cw-radius-sm: 8px;
  --cw-radius-md: 14px;
  --cw-radius-lg: 22px;
  --cw-radius-xl: 30px;
  --cw-radius-full: 9999px;
  --cw-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --cw-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --cw-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --cw-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.25);
  --cw-shadow-green: 0 0 30px rgba(130, 229, 46, 0.25);
  --cw-shadow-green-lg: 0 8px 30px rgba(130, 229, 46, 0.35);

  /* Transiciones */
  --cw-transition-fast: 0.15s ease;
  --cw-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --cw-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --cw-container: 1280px;
  --cw-header-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar — Brand Green */
html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #051b38;
}

html::-webkit-scrollbar-thumb {
  background: #82E52E;
  border-radius: 10px;
  border: 2px solid #051b38;
}

html::-webkit-scrollbar-thumb:hover {
  background: #9aff45;
}

/* Firefox scrollbar */
html {
  scrollbar-width: auto;
  scrollbar-color: #82E52E #051b38;
}

body {
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-base);
  line-height: 1.6;
  color: var(--cw-gray-700);
  background-color: var(--cw-off-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--cw-transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--cw-font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cw-navy);
}

h1 {
  font-size: var(--cw-font-size-5xl);
}

h2 {
  font-size: var(--cw-font-size-4xl);
}

h3 {
  font-size: var(--cw-font-size-2xl);
}

h4 {
  font-size: var(--cw-font-size-xl);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--cw-container);
  margin: 0 auto;
  padding: 0 var(--cw-space-6);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.cw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--cw-header-height);
  display: flex;
  align-items: center;
  transition: background var(--cw-transition), box-shadow var(--cw-transition);
  background: transparent;
}

/* Solid background on inner pages (non-homepage) */
.cw-header.cw-header-solid {
  background: rgba(8, 36, 74, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.cw-header.scrolled {
  background: rgba(8, 36, 74, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.cw-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-logo {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
}

.cw-logo img {
  width: 52px;
  height: 52px;
  border-radius: var(--cw-radius-full);
  border: 2px solid rgba(130, 229, 46, 0.5);
  object-fit: cover;
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
}

.cw-logo:hover img {
  border-color: var(--cw-green);
  box-shadow: var(--cw-shadow-green);
}

.cw-logo-text {
  display: flex;
  flex-direction: column;
}

.cw-logo-text .brand-name {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-white);
  letter-spacing: 0.5px;
}

.cw-logo-text .brand-tagline {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Nav Menu */
.cw-nav {
  display: flex;
  align-items: center;
  gap: var(--cw-space-8);
}

.cw-nav-menu {
  display: flex;
  gap: var(--cw-space-6);
}

.cw-nav-menu li {
  list-style: none;
}

.cw-nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--cw-font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: var(--cw-space-2) 0;
  position: relative;
  transition: color var(--cw-transition);
}

.cw-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cw-green);
  transition: width var(--cw-transition);
  border-radius: 2px;
}

.cw-nav-menu a:hover,
.cw-nav-menu .current-menu-item>a,
.cw-nav-menu .current_page_item>a {
  color: var(--cw-white);
}

.cw-nav-menu a:hover::after,
.cw-nav-menu .current-menu-item>a::after,
.cw-nav-menu .current_page_item>a::after {
  width: 100%;
}

/* Nav Actions */
.cw-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
}

.cw-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  color: var(--cw-white);
  font-size: var(--cw-font-size-lg);
  padding: var(--cw-space-2) var(--cw-space-3);
  border-radius: var(--cw-radius-sm);
  transition: background var(--cw-transition);
}

.cw-cart-btn:hover {
  background: rgba(130, 229, 46, 0.1);
  color: var(--cw-green);
}

.cw-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--cw-green);
  color: var(--cw-navy);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--cw-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-search-btn {
  color: var(--cw-white);
  font-size: var(--cw-font-size-lg);
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--cw-space-2);
  transition: color var(--cw-transition);
}

.cw-search-btn:hover {
  color: var(--cw-green);
}

/* Hamburger */
.cw-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--cw-space-2);
  z-index: 1001;
}

.cw-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cw-white);
  transition: transform var(--cw-transition), opacity var(--cw-transition);
}

.cw-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.cw-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.cw-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.cw-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--cw-gradient-card);
  backdrop-filter: blur(30px);
  z-index: 999;
  padding: 100px var(--cw-space-8) var(--cw-space-8);
  transition: right var(--cw-transition-slow);
  overflow-y: auto;
}

.cw-mobile-menu.open {
  right: 0;
}

.cw-mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-4);
}

.cw-mobile-menu .menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--cw-font-size-lg);
  font-weight: 500;
  padding: var(--cw-space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  transition: color var(--cw-transition), padding-left var(--cw-transition);
}

.cw-mobile-menu .menu a:hover {
  color: var(--cw-green);
  padding-left: var(--cw-space-3);
}

.cw-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--cw-transition-slow), visibility var(--cw-transition-slow);
}

.cw-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.cw-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
  overflow: hidden;
  background: var(--cw-navy);
}

.cw-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.cw-hero-slide.active {
  opacity: 1;
}

.cw-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cw-gradient-hero);
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--cw-space-6);
  max-width: var(--cw-container);
  margin: 0 auto;
}

.cw-hero-subtitle {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  color: var(--cw-green);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: var(--cw-space-4);
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s forwards;
}

.cw-hero-title {
  font-size: clamp(2.5rem, 6vw, var(--cw-font-size-6xl));
  color: var(--cw-white);
  max-width: 650px;
  margin-bottom: var(--cw-space-6);
  line-height: 1.08;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.5s forwards;
}

.cw-hero-title span {
  color: var(--cw-green);
  text-shadow: 0 0 40px rgba(130, 229, 46, 0.3);
}

.cw-hero-desc {
  font-size: var(--cw-font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: var(--cw-space-10);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.7s forwards;
  line-height: 1.7;
}

.cw-hero-cta {
  display: flex;
  gap: var(--cw-space-4);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.9s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Dots */
.cw-hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--cw-space-3);
  z-index: 10;
}

.cw-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--cw-radius-full);
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: all var(--cw-transition);
}

.cw-hero-dot.active {
  background: var(--cw-green);
  border-color: var(--cw-green);
  width: 40px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(130, 229, 46, 0.5);
}

/* ============================================
   BUTTONS
   ============================================ */
.cw-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--cw-space-2);
  padding: 14px 34px;
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--cw-radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--cw-transition);
  position: relative;
  overflow: hidden;
}

.cw-btn-primary {
  background: var(--cw-green);
  color: var(--cw-navy);
}

.cw-btn-primary:hover {
  background: var(--cw-green-light);
  box-shadow: var(--cw-shadow-green-lg);
  transform: translateY(-3px);
}

.cw-btn-outline {
  background: transparent;
  color: var(--cw-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.cw-btn-outline:hover {
  border-color: var(--cw-green);
  color: var(--cw-green);
  background: rgba(130, 229, 46, 0.08);
}

.cw-btn-dark {
  background: var(--cw-navy);
  color: var(--cw-white);
}

.cw-btn-dark:hover {
  background: var(--cw-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--cw-shadow-md);
}

.cw-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cw-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.cw-btn-ghost:hover {
  background: rgba(130, 229, 46, 0.15);
  border-color: var(--cw-green);
  color: var(--cw-green);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.cw-section {
  padding: var(--cw-space-20) 0;
}

.cw-section-header {
  margin-bottom: var(--cw-space-12);
}

.cw-section-label {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-xs);
  color: var(--cw-green);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  display: block;
  margin-bottom: var(--cw-space-3);
}

.cw-section-title {
  font-size: var(--cw-font-size-4xl);
  color: var(--cw-navy);
}

.cw-section-title.light {
  color: var(--cw-white);
}

.cw-section-dark {
  background: var(--cw-gradient-navy);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.cw-trust {
  background: var(--cw-white);
  padding: var(--cw-space-12) 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

.cw-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cw-space-8);
}

.cw-trust-item {
  display: flex;
  align-items: center;
  gap: var(--cw-space-5);
  padding: var(--cw-space-6) var(--cw-space-8);
  border-radius: var(--cw-radius-md);
  transition: all var(--cw-transition);
  border: 1px solid transparent;
}

.cw-trust-item:hover {
  background: var(--cw-gray-100);
  transform: translateY(-4px);
  box-shadow: var(--cw-shadow-md);
  border-color: rgba(130, 229, 46, 0.2);
}

.cw-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--cw-radius-md);
  background: var(--cw-gradient-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--cw-shadow-green);
}

.cw-trust-icon i {
  font-size: 24px;
  color: var(--cw-navy);
}

.cw-trust-title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-1);
}

.cw-trust-desc {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
}

/* ============================================
   BRAND SHOWCASE
   ============================================ */
.cw-brands {
  background: var(--cw-gradient-navy);
  padding: var(--cw-space-20) 0;
  position: relative;
  overflow: hidden;
}

.cw-brands::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 229, 46, 0.06) 0%, transparent 70%);
}

.cw-brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--cw-space-6);
}

.cw-brands-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--cw-space-10);
}

.cw-brand-card {
  position: relative;
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--cw-space-8);
  transition: transform var(--cw-transition), box-shadow var(--cw-transition);
  cursor: pointer;
}

.cw-brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 36, 74, 0.9) 0%, rgba(8, 36, 74, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.cw-brand-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(130, 229, 46, 0.15);
}

.cw-brand-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--cw-transition-slow);
}

.cw-brand-card:hover img {
  transform: scale(1.1);
}

.cw-brand-card-content {
  position: relative;
  z-index: 2;
}

.cw-brand-card .cw-brand-label {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-green);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: var(--cw-space-2);
}

.cw-brand-card .cw-brand-name {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-3xl);
  color: var(--cw-white);
  font-weight: 700;
  margin-bottom: var(--cw-space-4);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.cw-trust {
  padding: var(--cw-space-10) 0;
  background: var(--cw-white);
  border-bottom: 1px solid var(--cw-gray-200);
}

.cw-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cw-space-8);
  text-align: center;
}

.cw-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cw-space-3);
}

.cw-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--cw-radius-md);
  background: var(--cw-gradient-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cw-shadow-green);
}

.cw-trust-icon i {
  font-size: 28px;
  color: #051b38 !important;
}

.cw-trust-title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-base);
  font-weight: 700;
  color: var(--cw-navy);
}

.cw-trust-desc {
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-sm);
}

/* ============================================
   BREADCRUMB HERO (White/Green on Dark BG)
   ============================================ */
.cw-breadcrumb-hero {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  margin-top: var(--cw-space-3);
  font-size: var(--cw-font-size-sm);
}

.cw-breadcrumb-hero a {
  color: var(--cw-green);
  transition: opacity var(--cw-transition-fast);
}

.cw-breadcrumb-hero a:hover {
  opacity: 0.8;
}

.cw-breadcrumb-hero span {
  color: rgba(255, 255, 255, 0.5);
}

.cw-breadcrumb-hero .cw-breadcrumb-current {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   .cw-section-label (reusable on hero sections)
   ============================================ */
.cw-section-label {
  display: inline-block;
  font-size: var(--cw-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cw-green);
  margin-bottom: var(--cw-space-3);
}

/* ============================================
   CART EMPTY STATE (Custom)
   ============================================ */
.cw-cart-empty-section {
  padding: var(--cw-space-16) 0 var(--cw-space-20);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cw-cart-empty-box {
  text-align: center;
  padding: var(--cw-space-12) var(--cw-space-6);
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  box-shadow: var(--cw-shadow-md);
  max-width: 600px;
  margin: 0 auto var(--cw-space-12);
}

.cw-cart-empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(130, 229, 46, 0.15) 0%, rgba(130, 229, 46, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--cw-space-6);
}

.cw-cart-empty-icon i {
  font-size: 42px;
  color: var(--cw-green);
}

.cw-cart-empty-box h2 {
  font-size: var(--cw-font-size-2xl);
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-3);
}

.cw-cart-empty-box p {
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-base);
  margin-bottom: var(--cw-space-8);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cw-btn-lg {
  padding: 16px 36px !important;
  font-size: var(--cw-font-size-base) !important;
}

.cw-cart-recently {
  margin-top: var(--cw-space-4);
}

.cw-cart-recently h3 {
  text-align: center;
  font-size: var(--cw-font-size-xl);
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-8);
}

.cw-cart-recently h3 i {
  color: var(--cw-green);
  margin-right: var(--cw-space-2);
}

/* 4-column grid variant */
.cw-products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.cw-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cw-space-6);
}

.cw-products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cw-product-card {
  background: var(--cw-white);
  border-radius: var(--cw-radius-md);
  overflow: hidden;
  box-shadow: var(--cw-shadow-sm);
  transition: all var(--cw-transition);
  position: relative;
  border: 1px solid var(--cw-gray-200);
}

.cw-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cw-shadow-lg);
  border-color: rgba(130, 229, 46, 0.3);
}

.cw-product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cw-gray-100);
}

.cw-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--cw-transition-slow);
}

.cw-product-card:hover .cw-product-img img {
  transform: scale(1.08);
}

.cw-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cw-green);
  color: var(--cw-navy);
  font-size: var(--cw-font-size-xs);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--cw-radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.cw-product-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-2);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--cw-transition);
}

.cw-product-card:hover .cw-product-actions {
  opacity: 1;
  transform: translateX(0);
}

.cw-product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--cw-radius-full);
  background: var(--cw-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cw-shadow-md);
  transition: all var(--cw-transition);
  color: var(--cw-navy);
  font-size: 14px;
}

.cw-product-action-btn:hover {
  background: var(--cw-green);
  color: var(--cw-navy);
  box-shadow: var(--cw-shadow-green);
}

.cw-product-info {
  padding: var(--cw-space-5);
}

.cw-product-category {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: var(--cw-space-1);
}

.cw-product-title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-base);
  font-weight: 600;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cw-product-price {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
  margin-bottom: var(--cw-space-4);
}

.cw-price-current {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-xl);
  font-weight: 700;
  color: var(--cw-navy);
}

.cw-price-original {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-300);
  text-decoration: line-through;
}

.cw-add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-2);
  width: 100%;
  padding: 12px;
  background: var(--cw-navy);
  color: var(--cw-white);
  border: none;
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--cw-transition);
}

.cw-add-to-cart:hover {
  background: var(--cw-green);
  color: var(--cw-navy);
  box-shadow: var(--cw-shadow-green);
}

/* ============================================
   PRODUCT CAROUSEL
   ============================================ */
.cw-carousel-section {
  position: relative;
}

.cw-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--cw-space-10);
}

.cw-carousel-nav {
  display: flex;
  gap: var(--cw-space-3);
}

.cw-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--cw-radius-full);
  border: 2px solid var(--cw-gray-200);
  background: var(--cw-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--cw-navy);
  transition: all var(--cw-transition);
}

.cw-carousel-btn:hover {
  border-color: var(--cw-green);
  background: var(--cw-green);
  color: var(--cw-navy);
  box-shadow: var(--cw-shadow-green);
}

.cw-carousel-track {
  display: flex;
  gap: var(--cw-space-6);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: var(--cw-space-4);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cw-carousel-track::-webkit-scrollbar {
  display: none;
}

.cw-carousel-track .cw-product-card {
  min-width: calc(25% - 18px);
  max-width: calc(25% - 18px);
  flex-shrink: 0;
}

/* ============================================
   PROMO SECTION
   ============================================ */
.cw-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-6);
}

.cw-promo-card {
  position: relative;
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-10);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: all var(--cw-transition);
}

.cw-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cw-shadow-xl);
}

.cw-promo-card.dark {
  background: var(--cw-gradient-card);
}

.cw-promo-card.green {
  background: var(--cw-gradient-green);
}

.cw-promo-card.teal {
  background: linear-gradient(135deg, #08244a 0%, #0d3266 100%);
  border: 1px solid rgba(130, 229, 46, 0.2);
}

.cw-promo-card.full-width {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.cw-promo-label {
  font-size: var(--cw-font-size-xs);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: var(--cw-space-3);
}

.cw-promo-card.dark .cw-promo-label,
.cw-promo-card.teal .cw-promo-label {
  color: var(--cw-green);
}

.cw-promo-card.green .cw-promo-label {
  color: rgba(8, 36, 74, 0.7);
}

.cw-promo-title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--cw-space-6);
  line-height: 1.3;
}

.cw-promo-card.dark .cw-promo-title,
.cw-promo-card.teal .cw-promo-title {
  color: var(--cw-white);
}

.cw-promo-card.green .cw-promo-title {
  color: var(--cw-navy);
}

/* Promo card background image */
.cw-promo-card .cw-promo-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.15;
  z-index: 0;
}

.cw-promo-card>* {
  position: relative;
  z-index: 1;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.cw-stats {
  background: var(--cw-navy);
  padding: var(--cw-space-16) 0;
  position: relative;
  overflow: hidden;
}

.cw-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
      transparent,
      transparent 25%,
      rgba(130, 229, 46, 0.03) 25%,
      rgba(130, 229, 46, 0.03) 25.5%);
}

.cw-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cw-space-8);
  position: relative;
  z-index: 1;
}

.cw-stat-item {
  text-align: center;
}

.cw-stat-number {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-5xl);
  font-weight: 800;
  color: var(--cw-green);
  line-height: 1;
  margin-bottom: var(--cw-space-2);
}

.cw-stat-label {
  font-size: var(--cw-font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.cw-footer {
  background: var(--cw-black);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--cw-space-20);
  position: relative;
  overflow: hidden;
}

.cw-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cw-gradient-green);
}

.cw-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--cw-space-12);
  padding-bottom: var(--cw-space-16);
}

.cw-footer-brand .cw-logo {
  margin-bottom: var(--cw-space-6);
}

.cw-footer-brand .cw-logo img {
  border-color: rgba(130, 229, 46, 0.4);
}

.cw-footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--cw-font-size-sm);
  line-height: 1.8;
  max-width: 300px;
}

.cw-footer-heading {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-base);
  color: var(--cw-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--cw-space-6);
  position: relative;
  padding-bottom: var(--cw-space-3);
}

.cw-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cw-green);
  border-radius: 2px;
}

.cw-footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-3);
}

.cw-footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--cw-font-size-sm);
  transition: color var(--cw-transition), padding-left var(--cw-transition);
}

.cw-footer-links a:hover {
  color: var(--cw-green);
  padding-left: var(--cw-space-2);
}

.cw-social-icons {
  display: flex;
  gap: var(--cw-space-3);
  margin-top: var(--cw-space-6);
}

.cw-social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--cw-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: all var(--cw-transition);
}

.cw-social-icon:hover {
  border-color: var(--cw-green);
  background: rgba(130, 229, 46, 0.1);
  color: var(--cw-green);
  box-shadow: var(--cw-shadow-green);
}

.cw-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--cw-space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--cw-font-size-sm);
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.cw-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: var(--cw-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all var(--cw-transition);
  animation: whatsappPulse 2s infinite;
}

.cw-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  color: white;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.cw-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cw-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cw-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cw-reveal.revealed,
.cw-reveal-left.revealed,
.cw-reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cw-space-6);
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  background: var(--cw-white);
  border-radius: var(--cw-radius-md);
  overflow: hidden;
  box-shadow: var(--cw-shadow-sm);
  transition: all var(--cw-transition);
  border: 1px solid var(--cw-gray-200);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--cw-shadow-lg);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-base);
  font-weight: 600;
  color: var(--cw-navy);
  padding: var(--cw-space-4) var(--cw-space-4) 0;
}

.woocommerce ul.products li.product .price {
  color: var(--cw-navy);
  font-family: var(--cw-font-heading);
  font-weight: 700;
  padding: 0 var(--cw-space-4);
}

.woocommerce ul.products li.product a.button {
  display: block;
  text-align: center;
  margin: var(--cw-space-4);
  padding: 12px;
  background: var(--cw-navy);
  color: var(--cw-white);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--cw-font-size-sm);
  transition: all var(--cw-transition);
}

.woocommerce ul.products li.product a.button:hover {
  background: var(--cw-green);
  color: var(--cw-navy);
}

/* ============================================
   CW-SHOP PAGE
   ============================================ */
.cw-shop-content {
  max-width: var(--cw-container);
  margin: 0 auto;
  padding: var(--cw-space-16) var(--cw-space-6) var(--cw-space-20);
}

.cw-page-header {
  padding: calc(var(--cw-header-height) + var(--cw-space-16)) 0 var(--cw-space-12);
  background: var(--cw-gradient-navy);
  text-align: center;
}

.cw-page-header h1 {
  color: var(--cw-white);
  margin-bottom: var(--cw-space-4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cw-nav-menu {
    display: none;
  }

  .cw-hamburger {
    display: flex;
  }

  .cw-brands-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cw-brands-info {
    grid-column: 1 / -1;
  }

  .cw-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-carousel-track .cw-product-card {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .cw-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--cw-space-10);
  }
}

@media (max-width: 768px) {
  .cw-hero {
    min-height: 500px;
    max-height: 700px;
  }

  .cw-hero-title {
    font-size: var(--cw-font-size-3xl);
  }

  .cw-hero-cta {
    flex-direction: column;
    gap: var(--cw-space-3);
  }

  .cw-trust-grid {
    grid-template-columns: 1fr;
  }

  .cw-brands-grid {
    grid-template-columns: 1fr;
  }

  .cw-brand-card {
    min-height: 300px;
  }

  .cw-carousel-track .cw-product-card {
    min-width: 260px;
    max-width: 260px;
  }

  .cw-products-grid {
    grid-template-columns: 1fr;
  }

  .cw-products-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .cw-promo-grid {
    grid-template-columns: 1fr;
  }

  .cw-promo-card.full-width {
    flex-direction: column;
  }

  .cw-footer-main {
    grid-template-columns: 1fr;
    gap: var(--cw-space-8);
  }

  .cw-footer-bottom {
    flex-direction: column;
    gap: var(--cw-space-4);
    text-align: center;
  }

  .cw-section {
    padding: var(--cw-space-12) 0;
  }

  .cw-section-title {
    font-size: var(--cw-font-size-2xl);
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .cw-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cw-hero {
    min-height: 450px;
  }

  .cw-hero-title {
    font-size: var(--cw-font-size-2xl);
  }

  .cw-btn {
    padding: 12px 24px;
    font-size: var(--cw-font-size-xs);
  }

  .cw-logo img {
    width: 40px;
    height: 40px;
  }

  .cw-logo-text .brand-name {
    font-size: var(--cw-font-size-base);
  }
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.cw-search-section {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  padding: 0 0 var(--cw-space-8) 0;
}

.cw-search-wrapper {
  position: relative;
}

.cw-search-bar {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
}

.cw-search-bar:focus-within {
  border-color: var(--cw-green);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15), var(--cw-shadow-green);
}

.cw-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
  color: var(--cw-green);
  font-size: 22px;
}

.cw-search-form {
  display: flex;
  flex: 1;
  align-items: center;
}

.cw-search-category {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  padding: 0 var(--cw-space-4);
  flex-shrink: 0;
}

.cw-search-category>i {
  color: var(--cw-navy);
  font-size: 16px;
  opacity: 0.5;
}

.cw-search-select {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  font-weight: 500;
  color: var(--cw-navy);
  cursor: pointer;
  padding: 8px 0;
  min-width: 140px;
  appearance: auto;
}

.cw-search-divider {
  width: 1px;
  height: 32px;
  background: var(--cw-gray-200);
  flex-shrink: 0;
}

.cw-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 20px var(--cw-space-4);
  font-size: var(--cw-font-size-lg);
  font-family: var(--cw-font-body);
  color: var(--cw-gray-700);
  background: transparent;
}

.cw-search-input::placeholder {
  color: var(--cw-gray-300);
}

.cw-search-submit {
  border-radius: 0 var(--cw-radius-lg) var(--cw-radius-lg) 0;
  height: 100%;
  padding: 20px 30px;
}

/* AJAX Search Results Dropdown */
.cw-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--cw-white);
  border-radius: var(--cw-radius-md);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--cw-gray-200);
  overflow: hidden;
  max-height: 520px;
  overflow-y: auto;
  animation: cwSearchDropIn 0.25s ease;
  z-index: 100;
}

@keyframes cwSearchDropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cw-search-results-inner {
  padding: var(--cw-space-2);
}

.cw-search-results-count {
  padding: var(--cw-space-3) var(--cw-space-4);
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 1px solid var(--cw-gray-100);
}

.cw-search-result-item {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
  padding: var(--cw-space-3) var(--cw-space-4);
  border-radius: var(--cw-radius-sm);
  transition: background var(--cw-transition-fast);
  cursor: pointer;
}

.cw-search-result-item:hover {
  background: var(--cw-gray-100);
}

.cw-search-result-img {
  width: 56px;
  height: 56px;
  border-radius: var(--cw-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cw-gray-100);
  border: 1px solid var(--cw-gray-200);
}

.cw-search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-search-result-info {
  flex: 1;
  min-width: 0;
}

.cw-search-result-info h4 {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  color: var(--cw-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cw-search-result-info h4 mark {
  background: rgba(130, 229, 46, 0.3);
  color: var(--cw-navy);
  padding: 0 2px;
  border-radius: 2px;
}

.cw-search-result-cat {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-500);
}

.cw-search-result-price {
  font-family: var(--cw-font-heading);
  font-weight: 700;
  font-size: var(--cw-font-size-sm);
  color: var(--cw-navy);
  flex-shrink: 0;
  white-space: nowrap;
}

.cw-search-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-2);
  padding: var(--cw-space-4);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  color: var(--cw-green-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid var(--cw-gray-100);
  transition: background var(--cw-transition-fast), color var(--cw-transition-fast);
}

.cw-search-view-all:hover {
  background: rgba(130, 229, 46, 0.08);
  color: var(--cw-green);
}

/* Search Loading */
.cw-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-3);
  padding: var(--cw-space-8);
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
}

.cw-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--cw-gray-200);
  border-top-color: var(--cw-green);
  border-radius: 50%;
  animation: cwSpin 0.7s linear infinite;
}

@keyframes cwSpin {
  to {
    transform: rotate(360deg);
  }
}

.cw-search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cw-space-3);
  padding: var(--cw-space-10);
  color: var(--cw-gray-300);
}

.cw-search-no-results i {
  font-size: 32px;
}

.cw-search-no-results p {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
}

/* ============================================
   COMPACT BRANDS GRID
   ============================================ */
.cw-brands-compact {
  background: var(--cw-white);
}

.cw-brands-compact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--cw-space-4);
}

.cw-brand-compact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-3);
  padding: var(--cw-space-6) var(--cw-space-4);
  border-radius: var(--cw-radius-md);
  background: var(--cw-off-white);
  transition: all var(--cw-transition);
  border: 2px solid transparent;
  text-align: center;
}

.cw-brand-compact-card:hover {
  border-color: var(--cw-green);
  transform: translateY(-4px);
  box-shadow: var(--cw-shadow-green);
  background: var(--cw-white);
}

.cw-brand-compact-card img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--cw-transition);
}

.cw-brand-compact-card:hover img {
  filter: grayscale(0%);
}

.cw-brand-compact-card span {
  font-family: var(--cw-font-heading);
  font-weight: 600;
  font-size: var(--cw-font-size-sm);
  color: var(--cw-navy);
}

.cw-brand-icon-placeholder {
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--cw-gray-300);
  transition: color var(--cw-transition);
}

.cw-brand-compact-card:hover .cw-brand-icon-placeholder {
  color: var(--cw-green);
}

.cw-brand-compact-card.cw-brand-all {
  background: var(--cw-navy);
}

.cw-brand-compact-card.cw-brand-all span {
  color: var(--cw-white);
}

.cw-brand-compact-card.cw-brand-all .cw-brand-icon-placeholder {
  color: var(--cw-green);
}

.cw-brand-compact-card.cw-brand-all:hover {
  background: var(--cw-navy-light);
  border-color: var(--cw-green);
  box-shadow: var(--cw-shadow-green);
}

/* ============================================
   PRODUCTS GRID (4 columns - Más Vendidos)
   ============================================ */
.cw-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cw-space-6);
}

/* ============================================
   ABOUT GRID
   ============================================ */
.cw-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-12);
  align-items: center;
}

.cw-about-img-wrap {
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  box-shadow: var(--cw-shadow-xl);
  position: relative;
}

.cw-about-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.cw-about-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(8, 36, 74, 0.9), transparent);
}

.cw-about-img-overlay p {
  color: var(--cw-green);
  font-weight: 700;
  font-family: var(--cw-font-heading);
  font-size: 1.25rem;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.cw-page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--cw-space-12);
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding-top: calc(var(--cw-header-height) + var(--cw-space-10));
}

.cw-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 36, 74, 0.92) 0%, rgba(5, 27, 56, 0.8) 100%);
}

.cw-page-hero-content {
  position: relative;
  z-index: 2;
}

.cw-page-hero-title {
  font-size: var(--cw-font-size-5xl);
  color: var(--cw-white);
  margin-bottom: var(--cw-space-4);
}

.cw-page-hero-title span {
  color: var(--cw-green);
}

.cw-page-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--cw-font-size-lg);
}

/* ============================================
   VALUES CARDS (Nosotros)
   ============================================ */
.cw-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cw-space-6);
}

.cw-value-card {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-8);
  text-align: center;
  transition: all var(--cw-transition);
  border: 1px solid var(--cw-gray-200);
}

.cw-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cw-shadow-lg);
  border-color: rgba(130, 229, 46, 0.3);
}

.cw-value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--cw-space-6);
  background: var(--cw-gradient-green);
  border-radius: var(--cw-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cw-shadow-green);
}

.cw-value-icon i {
  font-size: 28px;
  color: var(--cw-navy);
}

.cw-value-card h3 {
  margin-bottom: var(--cw-space-3);
  color: var(--cw-navy);
}

.cw-value-card p {
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-sm);
  line-height: 1.7;
}

/* ============================================
   CHECK LIST (Nosotros)
   ============================================ */
.cw-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-4);
}

.cw-check-list li {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
  font-size: var(--cw-font-size-lg);
  color: var(--cw-gray-700);
}

.cw-check-list li i {
  color: var(--cw-green);
  font-size: 20px;
  flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.cw-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-12);
}

.cw-contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-4);
}

.cw-contact-card {
  display: flex;
  align-items: center;
  gap: var(--cw-space-5);
  padding: var(--cw-space-5) var(--cw-space-6);
  background: var(--cw-off-white);
  border-radius: var(--cw-radius-md);
  transition: all var(--cw-transition);
  border: 1px solid transparent;
}

.cw-contact-card:hover {
  background: var(--cw-white);
  border-color: rgba(130, 229, 46, 0.2);
  box-shadow: var(--cw-shadow-md);
  transform: translateY(-2px);
}

.cw-contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--cw-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.cw-contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.cw-contact-card-icon.email {
  background: rgba(130, 229, 46, 0.15);
  color: var(--cw-green);
}

.cw-contact-card-icon.location {
  background: rgba(8, 36, 74, 0.1);
  color: var(--cw-navy);
}

.cw-contact-card-icon.schedule {
  background: rgba(255, 117, 19, 0.1);
  color: var(--cw-orange);
}

.cw-contact-card h4 {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-base);
  font-weight: 600;
  color: var(--cw-navy);
  margin-bottom: 2px;
}

.cw-contact-card p {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-700);
  margin-bottom: 2px;
}

.cw-contact-card span {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-500);
}

/* Contact Form */
.cw-contact-form-card {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-10);
  box-shadow: var(--cw-shadow-lg);
  border: 1px solid var(--cw-gray-200);
}

.cw-contact-form-card h3 {
  font-family: var(--cw-font-heading);
  margin-bottom: var(--cw-space-2);
  color: var(--cw-navy);
}

.cw-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-5);
}

.cw-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-2);
  flex: 1;
}

.cw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-4);
}

.cw-form-group label {
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  color: var(--cw-navy);
}

.cw-form-group input,
.cw-form-group textarea {
  padding: 14px var(--cw-space-4);
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-base);
  color: var(--cw-gray-700);
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
  outline: none;
  background: var(--cw-off-white);
}

.cw-form-group input:focus,
.cw-form-group textarea:focus {
  border-color: var(--cw-green);
  box-shadow: 0 0 0 3px rgba(130, 229, 46, 0.15);
  background: var(--cw-white);
}

.cw-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Map Section */
.cw-map-section {
  position: relative;
  line-height: 0;
}

.cw-map-section iframe {
  filter: saturate(0.8) contrast(1.05);
}

/* ============================================
   SHOP PAGE LAYOUT
   ============================================ */
.cw-shop-header {
  background: linear-gradient(135deg, var(--cw-navy) 0%, #0a3060 100%);
  padding: 120px 0 var(--cw-space-10);
}

.cw-shop-header h1 {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-3xl);
  font-weight: 800;
  color: var(--cw-white);
  margin-bottom: var(--cw-space-2);
}

.cw-shop-header .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--cw-font-size-sm);
}

.cw-shop-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.cw-shop-header .breadcrumb a:hover {
  color: var(--cw-green);
}

.cw-shop-layout {
  padding: var(--cw-space-10) 0;
}

.cw-shop-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--cw-space-8);
  align-items: start;
}

/* SIDEBAR FILTERS */
.cw-shop-sidebar {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  box-shadow: var(--cw-shadow-md);
  padding: var(--cw-space-6);
  position: sticky;
  top: 100px;
  border: 1px solid var(--cw-gray-100);
}

.cw-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--cw-space-6);
  padding-bottom: var(--cw-space-4);
  border-bottom: 2px solid var(--cw-green);
}

.cw-sidebar-header h3 {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-navy);
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
}

.cw-sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--cw-gray-500);
  cursor: pointer;
}

.cw-filter-group {
  margin-bottom: var(--cw-space-6);
}

.cw-filter-label {
  display: block;
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 700;
  color: var(--cw-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--cw-space-3);
}

.cw-filter-search {
  position: relative;
}

.cw-filter-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cw-gray-300);
  font-size: 14px;
}

.cw-filter-search input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-700);
  outline: none;
  transition: border-color var(--cw-transition);
}

.cw-filter-search input:focus {
  border-color: var(--cw-green);
}

.cw-filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--cw-space-2);
  max-height: 280px;
  overflow-y: auto;
}

.cw-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--cw-radius-sm);
  transition: background var(--cw-transition-fast);
}

.cw-checkbox-label:hover {
  background: var(--cw-gray-100);
}

.cw-checkbox-label input {
  display: none;
}

.cw-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--cw-gray-300);
  border-radius: 4px;
  transition: all var(--cw-transition-fast);
  position: relative;
  flex-shrink: 0;
}

.cw-checkbox-label input:checked+.cw-checkbox-custom {
  background: var(--cw-green);
  border-color: var(--cw-green);
}

.cw-checkbox-label input:checked+.cw-checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--cw-white);
  font-size: 12px;
  font-weight: bold;
}

.cw-checkbox-text {
  flex: 1;
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-700);
}

.cw-checkbox-count {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-400);
}

/* Price Inputs */
.cw-price-inputs {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
}

.cw-price-field {
  display: flex;
  align-items: center;
  flex: 1;
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  overflow: hidden;
}

.cw-price-field span {
  padding: 10px;
  background: var(--cw-gray-100);
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-sm);
}

.cw-price-field input {
  border: none;
  outline: none;
  padding: 10px 8px;
  width: 100%;
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
}

.cw-price-sep {
  color: var(--cw-gray-300);
}

.cw-btn-filter-price {
  width: 100%;
  margin-top: var(--cw-space-3);
  padding: 10px;
  background: var(--cw-navy);
  color: var(--cw-white);
  border: none;
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--cw-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-2);
}

.cw-btn-filter-price:hover {
  background: var(--cw-green-dark);
}

.cw-clear-filters {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--cw-gray-500);
  border: 2px dashed var(--cw-gray-300);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--cw-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-2);
}

.cw-clear-filters:hover {
  border-color: var(--cw-green);
  color: var(--cw-green);
}

/* SHOP TOPBAR */
.cw-shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--cw-space-6);
  flex-wrap: wrap;
  gap: var(--cw-space-4);
}

.cw-shop-topbar-left {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
}

.cw-filter-toggle {
  display: none;
  padding: 10px 16px;
  background: var(--cw-navy);
  color: var(--cw-white);
  border: none;
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: var(--cw-space-2);
}

.cw-results-count {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
}

.cw-shop-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
}

.cw-sort-label {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
  white-space: nowrap;
}

.cw-sort-select {
  padding: 10px 16px;
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-700);
  outline: none;
  cursor: pointer;
  background: var(--cw-white);
}

.cw-sort-select:focus {
  border-color: var(--cw-green);
}

/* ACTIVE FILTER TAGS */
.cw-active-filters {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
  flex-wrap: wrap;
  margin-bottom: var(--cw-space-6);
  padding: var(--cw-space-3) var(--cw-space-4);
  background: var(--cw-gray-100);
  border-radius: var(--cw-radius-sm);
}

.cw-active-filters-label {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cw-active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cw-space-2);
}

.cw-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--cw-space-1);
  padding: 5px 10px;
  background: var(--cw-navy);
  color: var(--cw-white);
  border-radius: 20px;
  font-size: var(--cw-font-size-xs);
  font-weight: 600;
}

.cw-filter-tag button {
  background: none;
  border: none;
  color: var(--cw-white);
  font-size: 16px;
  cursor: pointer;
  margin-left: 4px;
  line-height: 1;
  opacity: 0.7;
}

.cw-filter-tag button:hover {
  opacity: 1;
}

/* SHOP PRODUCTS GRID */
.cw-shop-products {
  min-height: 300px;
  position: relative;
  transition: opacity 0.3s ease;
}

.cw-shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-4);
  padding: var(--cw-space-16) var(--cw-space-4);
  text-align: center;
  grid-column: 1 / -1;
}

.cw-shop-empty i {
  font-size: 48px;
  color: var(--cw-gray-300);
}

.cw-shop-empty h3 {
  color: var(--cw-navy);
  font-family: var(--cw-font-heading);
}

.cw-shop-empty p {
  color: var(--cw-gray-500);
}

.cw-shop-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-3);
  padding: var(--cw-space-8);
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
}

/* SHOP PAGINATION */
.cw-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cw-space-2);
  margin-top: var(--cw-space-10);
}

.cw-page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  color: var(--cw-gray-700);
  transition: all var(--cw-transition-fast);
  cursor: pointer;
}

.cw-page-link:hover {
  border-color: var(--cw-green);
  color: var(--cw-green);
}

.cw-page-link.active {
  background: var(--cw-green);
  border-color: var(--cw-green);
  color: var(--cw-white);
  cursor: default;
}

.cw-page-dots {
  padding: 0 8px;
  color: var(--cw-gray-300);
}

/* MOBILE SIDEBAR */
.cw-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(3px);
}

.cw-sidebar-overlay.open {
  display: block;
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
.cw-product-page-header {
  background: linear-gradient(135deg, var(--cw-navy) 0%, #0a3060 100%);
  padding: 110px 0 var(--cw-space-6);
}

.cw-product-page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--cw-font-size-sm);
}

.cw-product-page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.cw-product-page-header .breadcrumb a:hover {
  color: var(--cw-green);
}

.cw-product-page-header .breadcrumb span {
  color: var(--cw-white);
}

.cw-single-product {
  padding: var(--cw-space-10) 0;
}

.cw-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-12);
  align-items: start;
}

/* PRODUCT GALLERY */
.cw-product-gallery {
  position: sticky;
  top: 100px;
}

.cw-gallery-main {
  position: relative;
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  background: var(--cw-gray-100);
  border: 1px solid var(--cw-gray-200);
}

.cw-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.cw-badge-large {
  font-size: var(--cw-font-size-sm);
  padding: 8px 16px;
}

.cw-gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--cw-navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cw-shadow-md);
  transition: all var(--cw-transition-fast);
}

.cw-gallery-zoom:hover {
  background: var(--cw-green);
  color: var(--cw-white);
}

.cw-gallery-thumbs {
  display: flex;
  gap: var(--cw-space-3);
  margin-top: var(--cw-space-4);
  overflow-x: auto;
}

.cw-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--cw-radius-sm);
  overflow: hidden;
  border: 2px solid var(--cw-gray-200);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--cw-transition-fast);
  background: none;
  padding: 0;
}

.cw-gallery-thumb.active,
.cw-gallery-thumb:hover {
  border-color: var(--cw-green);
}

.cw-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PRODUCT DETAILS */
.cw-product-meta-top {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
  margin-bottom: var(--cw-space-3);
}

.cw-product-category-badge {
  background: rgba(130, 229, 46, 0.15);
  color: var(--cw-green-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--cw-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cw-product-sku {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-400);
  font-family: monospace;
}

.cw-product-main-title {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-3xl);
  font-weight: 800;
  color: var(--cw-navy);
  line-height: 1.2;
  margin-bottom: var(--cw-space-4);
}

.cw-product-stock {
  display: inline-flex;
  align-items: center;
  gap: var(--cw-space-2);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  margin-bottom: var(--cw-space-4);
}

.cw-stock-in-stock {
  color: #16a34a;
}

.cw-stock-out-stock {
  color: #dc2626;
}

.cw-product-main-price {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-2xl);
  font-weight: 800;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-6);
}

.cw-product-main-price del {
  color: var(--cw-gray-300);
  font-size: var(--cw-font-size-lg);
}

.cw-product-main-price ins {
  text-decoration: none;
  color: var(--cw-green-dark);
}

.cw-product-short-desc {
  font-size: var(--cw-font-size-base);
  color: var(--cw-gray-700);
  line-height: 1.7;
  margin-bottom: var(--cw-space-8);
}

/* ADD TO CART AREA */
.cw-product-add-area {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
  margin-bottom: var(--cw-space-8);
}

.cw-quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  overflow: hidden;
}

.cw-qty-btn {
  width: 44px;
  height: 44px;
  background: var(--cw-gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-gray-700);
  font-size: 14px;
  transition: background var(--cw-transition-fast);
}

.cw-qty-btn:hover {
  background: var(--cw-green);
  color: var(--cw-white);
}

.cw-qty-input {
  width: 50px;
  height: 44px;
  text-align: center;
  border: none;
  font-family: var(--cw-font-body);
  font-size: var(--cw-font-size-base);
  font-weight: 600;
  color: var(--cw-navy);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cw-qty-input::-webkit-outer-spin-button,
.cw-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cw-btn-add-cart {
  padding: 14px 32px;
  font-size: var(--cw-font-size-base);
}

.cw-btn-disabled {
  padding: 14px 32px;
  background: var(--cw-gray-300);
  color: var(--cw-white);
  border-radius: var(--cw-radius-sm);
  font-weight: 600;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: var(--cw-space-2);
}

/* TRUST BADGES */
.cw-product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cw-space-4);
  margin-bottom: var(--cw-space-8);
  padding: var(--cw-space-6);
  background: var(--cw-gray-100);
  border-radius: var(--cw-radius-md);
}

.cw-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--cw-space-2);
}

.cw-trust-item i {
  font-size: 22px;
  color: var(--cw-green);
}

.cw-trust-item span {
  font-size: var(--cw-font-size-xs);
  color: var(--cw-gray-700);
  font-weight: 600;
}

/* SHARE */
.cw-product-share {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
}

.cw-product-share>span {
  font-size: var(--cw-font-size-sm);
  color: var(--cw-gray-500);
  font-weight: 600;
}

.cw-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--cw-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--cw-white);
  color: var(--cw-gray-700);
  font-size: 16px;
  transition: all var(--cw-transition-fast);
}

.cw-share-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
}

.cw-share-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.cw-share-copy:hover {
  background: var(--cw-navy);
  border-color: var(--cw-navy);
  color: white;
}

/* PRODUCT TABS */
.cw-product-tabs-section {
  padding: 0 0 var(--cw-space-16);
}

.cw-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--cw-gray-200);
  margin-bottom: var(--cw-space-8);
}

.cw-tab-btn {
  padding: var(--cw-space-4) var(--cw-space-6);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 700;
  color: var(--cw-gray-500);
  transition: all var(--cw-transition-fast);
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
}

.cw-tab-btn:hover {
  color: var(--cw-navy);
}

.cw-tab-btn.active {
  color: var(--cw-navy);
  border-bottom-color: var(--cw-green);
}

.cw-tab-panel {
  display: none;
}

.cw-tab-panel.active {
  display: block;
}

.cw-product-description {
  font-size: var(--cw-font-size-base);
  line-height: 1.8;
  color: var(--cw-gray-700);
}

.cw-product-description h2,
.cw-product-description h3 {
  font-family: var(--cw-font-heading);
  color: var(--cw-navy);
  margin-top: var(--cw-space-6);
  margin-bottom: var(--cw-space-3);
}

/* SPECS TABLE */
.cw-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.cw-specs-table th,
.cw-specs-table td {
  padding: var(--cw-space-4);
  text-align: left;
  border-bottom: 1px solid var(--cw-gray-100);
  font-size: var(--cw-font-size-sm);
}

.cw-specs-table th {
  font-family: var(--cw-font-heading);
  font-weight: 700;
  color: var(--cw-navy);
  width: 200px;
  background: var(--cw-gray-100);
}

.cw-specs-table td {
  color: var(--cw-gray-700);
}

.cw-specs-table tr:hover td {
  background: rgba(130, 229, 46, 0.04);
}

/* RELATED PRODUCTS */
.cw-related-products {
  padding: var(--cw-space-16) 0;
  background: var(--cw-off-white);
}

.cw-section-link {
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  color: var(--cw-green-dark);
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  transition: color var(--cw-transition-fast);
}

.cw-section-link:hover {
  color: var(--cw-green);
}

/* LIGHTBOX */
.cw-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cw-lightbox.active {
  opacity: 1;
}

.cw-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--cw-radius-md);
  object-fit: contain;
}

.cw-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.cw-lightbox-close:hover {
  opacity: 1;
}

/* ============================================
   PERSISTENT SEARCH BAR (Shop/Product/Search Pages)
   ============================================ */
.cw-persistent-search {
  background: var(--cw-navy);
  padding: var(--cw-space-4) 0;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(130, 229, 46, 0.15);
}

.cw-search-bar-mini {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cw-radius-full);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: all var(--cw-transition);
  max-width: 900px;
  margin: 0 auto;
}

.cw-search-bar-mini:focus-within {
  border-color: var(--cw-green);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(130, 229, 46, 0.15);
}

.cw-search-bar-mini .cw-search-icon {
  padding: 0 var(--cw-space-4);
  color: var(--cw-green);
  font-size: 16px;
}

.cw-search-bar-mini .cw-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}

.cw-search-bar-mini .cw-search-category {
  display: flex;
  align-items: center;
  gap: var(--cw-space-2);
  padding: 0 var(--cw-space-3);
  color: var(--cw-gray-300);
  white-space: nowrap;
}

.cw-search-bar-mini .cw-search-category i {
  color: var(--cw-green);
  font-size: 14px;
}

.cw-search-bar-mini .cw-search-select {
  background: transparent;
  border: none;
  color: var(--cw-white);
  font-size: var(--cw-font-size-sm);
  cursor: pointer;
  padding: var(--cw-space-2);
  max-width: 160px;
}

.cw-search-bar-mini .cw-search-select option {
  background: var(--cw-navy);
  color: var(--cw-white);
}

.cw-search-bar-mini .cw-search-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 var(--cw-space-2);
}

.cw-search-bar-mini .cw-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cw-white);
  font-size: var(--cw-font-size-sm);
  padding: 14px var(--cw-space-4);
  outline: none;
  min-width: 0;
}

.cw-search-bar-mini .cw-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cw-search-bar-mini .cw-search-submit {
  padding: 12px var(--cw-space-6);
  border-radius: 0 var(--cw-radius-full) var(--cw-radius-full) 0;
  font-size: var(--cw-font-size-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================
   SEARCH RESULTS PAGE
   ============================================ */
.cw-search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--cw-space-6);
  padding-top: var(--cw-space-2);
}

.cw-search-products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cw-search-empty {
  text-align: center;
  padding: var(--cw-space-20) var(--cw-space-6);
}

.cw-search-empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cw-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--cw-space-6);
}

.cw-search-empty-icon i {
  font-size: 42px;
  color: var(--cw-gray-300);
}

.cw-search-empty h2 {
  margin-bottom: var(--cw-space-3);
  font-size: var(--cw-font-size-2xl);
}

.cw-search-empty p {
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-lg);
  margin-bottom: var(--cw-space-6);
}

.cw-search-empty-tips {
  display: inline-block;
  text-align: left;
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6) var(--cw-space-8);
  box-shadow: var(--cw-shadow-sm);
}

.cw-search-empty-tips h4 {
  margin-bottom: var(--cw-space-3);
  color: var(--cw-navy);
}

.cw-search-empty-tips ul {
  list-style: none;
}

.cw-search-empty-tips li {
  padding: var(--cw-space-2) 0;
  color: var(--cw-gray-500);
  font-size: var(--cw-font-size-sm);
}

.cw-search-empty-tips li i {
  color: var(--cw-green);
  margin-right: var(--cw-space-2);
}

/* ============================================
   SHOP EMPTY STATE
   ============================================ */
.cw-shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--cw-space-16) var(--cw-space-6);
}

.cw-shop-empty i {
  font-size: 64px;
  color: var(--cw-gray-300);
  margin-bottom: var(--cw-space-4);
  display: block;
}

.cw-shop-empty h3 {
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-2);
}

.cw-shop-empty p {
  color: var(--cw-gray-500);
}

/* ============================================
   SHOP LOADING SPINNER
   ============================================ */
.cw-shop-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--cw-space-16);
  gap: var(--cw-space-4);
  color: var(--cw-gray-500);
}

.cw-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cw-gray-200);
  border-top-color: var(--cw-green);
  border-radius: 50%;
  animation: cwSpin 0.8s linear infinite;
}

@keyframes cwSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   WOOCOMMERCE CART PAGE
   ============================================ */
.woocommerce-cart .cw-shop-layout {
  padding-bottom: var(--cw-space-16);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  background: var(--cw-white);
  box-shadow: var(--cw-shadow-md);
}

.woocommerce table.shop_table thead {
  background: var(--cw-navy);
}

.woocommerce table.shop_table thead th {
  color: var(--cw-white);
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-sm);
  font-weight: 600;
  padding: var(--cw-space-4) var(--cw-space-5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.woocommerce table.shop_table td {
  padding: var(--cw-space-4) var(--cw-space-5);
  vertical-align: middle;
  border-bottom: 1px solid var(--cw-gray-100);
  font-size: var(--cw-font-size-sm);
}

.woocommerce table.shop_table td.product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--cw-radius-sm);
  border: 1px solid var(--cw-gray-200);
}

.woocommerce table.shop_table td.product-name a {
  color: var(--cw-navy);
  font-weight: 600;
  font-family: var(--cw-font-heading);
}

.woocommerce table.shop_table td.product-name a:hover {
  color: var(--cw-green-dark);
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-weight: 700;
  color: var(--cw-navy);
  font-family: var(--cw-font-heading);
}

.woocommerce table.shop_table td.product-quantity .quantity input {
  width: 60px;
  padding: var(--cw-space-2);
  border: 1px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-sm);
  text-align: center;
  font-size: var(--cw-font-size-sm);
}

.woocommerce table.shop_table td.product-remove a {
  color: var(--cw-danger);
  font-size: 18px;
  transition: all var(--cw-transition-fast);
}

.woocommerce table.shop_table td.product-remove a:hover {
  color: var(--cw-white);
  background: var(--cw-danger);
  border-radius: 50%;
}

/* Cart actions */
.woocommerce .cart-collaterals {
  margin-top: var(--cw-space-8);
}

.woocommerce .cart_totals {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6);
  box-shadow: var(--cw-shadow-md);
  max-width: 450px;
  margin-left: auto;
}

.woocommerce .cart_totals h2 {
  font-family: var(--cw-font-heading);
  font-size: var(--cw-font-size-xl);
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-4);
  padding-bottom: var(--cw-space-3);
  border-bottom: 2px solid var(--cw-green);
}

.woocommerce .cart_totals table {
  width: 100%;
  border: none;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
  padding: var(--cw-space-3) 0;
  border: none;
  font-size: var(--cw-font-size-sm);
}

.woocommerce .cart_totals table th {
  font-weight: 600;
  color: var(--cw-gray-500);
  text-transform: uppercase;
  font-size: var(--cw-font-size-xs);
  letter-spacing: 0.5px;
}

.woocommerce .cart_totals table td {
  text-align: right;
  font-weight: 700;
  color: var(--cw-navy);
}

.woocommerce .cart_totals .order-total td {
  font-size: var(--cw-font-size-xl);
  color: var(--cw-green-dark);
}

/* Cart buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button {
  background: var(--cw-gradient-green) !important;
  color: var(--cw-navy) !important;
  border: none !important;
  border-radius: var(--cw-radius-full) !important;
  padding: 12px 28px !important;
  font-family: var(--cw-font-heading) !important;
  font-weight: 700 !important;
  font-size: var(--cw-font-size-sm) !important;
  cursor: pointer;
  transition: all var(--cw-transition-fast) !important;
  text-transform: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--cw-shadow-green-lg) !important;
}

.woocommerce a.checkout-button {
  display: block;
  text-align: center;
  margin-top: var(--cw-space-4);
  padding: 16px 28px !important;
  font-size: var(--cw-font-size-base) !important;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
  text-align: center;
  padding: var(--cw-space-16);
  font-size: var(--cw-font-size-lg);
  color: var(--cw-gray-500);
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  margin-top: var(--cw-space-6);
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
  .cw-brands-compact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cw-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cw-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--cw-space-8);
  }

  .cw-shop-grid {
    grid-template-columns: 240px 1fr;
  }

  .cw-product-layout {
    gap: var(--cw-space-8);
  }
}

@media (max-width: 768px) {
  .cw-search-bar {
    flex-direction: column;
    border-radius: var(--cw-radius-md);
  }

  .cw-search-icon {
    display: none;
  }

  .cw-search-form {
    flex-direction: column;
    width: 100%;
  }

  .cw-search-category {
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cw-gray-200);
  }

  .cw-search-select {
    width: 100%;
  }

  .cw-search-divider {
    display: none;
  }

  .cw-search-input {
    padding: 16px;
    font-size: var(--cw-font-size-base);
  }

  .cw-search-submit {
    border-radius: 0 0 var(--cw-radius-md) var(--cw-radius-md);
    width: 100%;
    justify-content: center;
  }

  .cw-brands-compact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cw-space-3);
  }

  .cw-brand-compact-card img {
    width: 60px;
    height: 45px;
  }

  .cw-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--cw-space-4);
  }

  .cw-about-grid {
    grid-template-columns: 1fr;
    gap: var(--cw-space-8);
  }

  .cw-about-grid[style*="direction: rtl"] {
    direction: ltr !important;
  }

  .cw-page-hero {
    min-height: 240px;
    padding-top: calc(var(--cw-header-height) + var(--cw-space-6));
    padding-bottom: var(--cw-space-8);
  }

  .cw-page-hero-title {
    font-size: var(--cw-font-size-3xl);
  }

  /* Persistent Search Responsive */
  .cw-search-bar-mini {
    border-radius: var(--cw-radius-md);
    flex-direction: column;
  }

  .cw-search-bar-mini .cw-search-icon {
    display: none;
  }

  .cw-search-bar-mini .cw-search-form {
    flex-direction: column;
    width: 100%;
  }

  .cw-search-bar-mini .cw-search-category {
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .cw-search-bar-mini .cw-search-select {
    max-width: 100%;
    width: 100%;
  }

  .cw-search-bar-mini .cw-search-divider {
    display: none;
  }

  .cw-search-bar-mini .cw-search-input {
    padding: 14px 16px;
  }

  .cw-search-bar-mini .cw-search-submit {
    border-radius: 0 0 var(--cw-radius-md) var(--cw-radius-md);
    width: 100%;
    justify-content: center;
  }

  /* Search Results Responsive */
  .cw-search-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--cw-space-4);
  }

  .cw-values-grid {
    grid-template-columns: 1fr;
  }

  .cw-form-row {
    grid-template-columns: 1fr;
  }

  /* SHOP PAGE RESPONSIVE */
  .cw-shop-grid {
    grid-template-columns: 1fr;
  }

  .cw-shop-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 300px;
    z-index: 1000;
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .cw-shop-sidebar.open {
    left: 0;
  }

  .cw-sidebar-close {
    display: block;
  }

  .cw-filter-toggle {
    display: flex;
  }

  /* SINGLE PRODUCT RESPONSIVE */
  .cw-product-layout {
    grid-template-columns: 1fr;
    gap: var(--cw-space-8);
  }

  .cw-product-gallery {
    position: static;
  }

  .cw-product-main-title {
    font-size: var(--cw-font-size-2xl);
  }

  .cw-product-trust {
    grid-template-columns: 1fr;
    gap: var(--cw-space-3);
  }

  .cw-trust-item {
    flex-direction: row;
    text-align: left;
  }

  .cw-product-add-area {
    flex-direction: column;
    align-items: stretch;
  }

  .cw-btn-add-cart {
    text-align: center;
    justify-content: center;
  }

  /* NEW COMPONENTS RESPONSIVE */
  .cw-products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-trust-grid {
    grid-template-columns: 1fr;
    gap: var(--cw-space-6);
  }

  /* Ensure trust items align nicely on mobile */
  .cw-trust .cw-trust-item {
    flex-direction: row;
    text-align: left;
    gap: var(--cw-space-4);
    background: var(--cw-gray-100);
    padding: var(--cw-space-4);
    border-radius: var(--cw-radius-md);
  }

  .cw-cart-empty-section {
    min-height: auto;
    padding: var(--cw-space-8) 0;
  }
}

@media (max-width: 480px) {
  .cw-brands-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-products-grid,
  .cw-products-grid-4,
  .cw-search-products-grid {
    grid-template-columns: 1fr;
  }

  .cw-search-section {
    margin-top: -25px;
    padding: 0 var(--cw-space-2);
  }

  .cw-shop-header h1 {
    font-size: var(--cw-font-size-2xl);
  }

  .cw-tabs-nav {
    flex-direction: column;
    gap: 0;
  }

  .cw-tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: var(--cw-space-3) var(--cw-space-4);
  }

  .cw-tab-btn.active {
    border-bottom-color: transparent;
    border-left-color: var(--cw-green);
    background: var(--cw-gray-100);
  }

  .cw-gallery-thumbs {
    gap: var(--cw-space-2);
  }

  .cw-gallery-thumb {
    width: 56px;
    height: 56px;
  }
}

/* ============================================
   SHOP PAGE REFACTOR (With Sidebar)
   ============================================ */

/* Layout */
.cw-shop-section-wrapper {
  padding: var(--cw-space-8) 0;
}

.cw-shop-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--cw-space-8);
  align-items: start;
}

/* Sidebar */
.cw-shop-sidebar {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6);
  box-shadow: var(--cw-shadow-sm);
  position: sticky;
  top: 100px;
  /* Sticky sidebar */
  z-index: 10;
}

.cw-widget {
  margin-bottom: var(--cw-space-8);
}

.cw-widget:last-child {
  margin-bottom: 0;
}

.cw-widget-title {
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-4);
  position: relative;
  padding-bottom: var(--cw-space-2);
}

.cw-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--cw-green);
  border-radius: 2px;
}

/* Widget Lists */
.cw-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cw-widget ul li {
  margin-bottom: var(--cw-space-3);
}

.cw-widget ul li a {
  color: var(--cw-gray-700);
  font-weight: 500;
  transition: color var(--cw-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-widget ul li a:hover,
.cw-widget ul li.current-cat>a {
  color: var(--cw-navy);
  font-weight: 600;
}

.item-count {
  background: var(--cw-gray-100);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--cw-gray-500);
}

/* Price Filter Widget */
.widget_price_filter .price_slider {
  margin-bottom: 1em;
}

.widget_price_filter .price_slider_amount {
  text-align: right;
  line-height: 2.4;
  font-size: 0.875em;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background-color: var(--cw-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: var(--cw-navy);
  border-radius: 50%;
  cursor: ew-resize;
  top: -.25em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
}

/* Shop Main Content */
.cw-shop-main {
  width: 100%;
}

/* Shop Toolbar (Results & Sorting) */
.cw-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--cw-space-6);
  background: var(--cw-white);
  padding: var(--cw-space-4);
  border-radius: var(--cw-radius-md);
  box-shadow: var(--cw-shadow-sm);
  border: 1px solid var(--cw-gray-200);
}

.woocommerce-result-count {
  margin: 0 !important;
  color: var(--cw-gray-500);
  font-size: 0.95rem;
}

.woocommerce-ordering {
  margin: 0 !important;
}

.woocommerce-ordering select {
  padding: var(--cw-space-2) var(--cw-space-4);
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-sm);
  background-color: var(--cw-white);
  color: var(--cw-navy);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color var(--cw-transition);
}

.woocommerce-ordering select:focus {
  border-color: var(--cw-navy);
}

/* Main Shop Search */
.cw-shop-search-bar {
  margin-bottom: var(--cw-space-6);
}

.cw-simple-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.cw-simple-search-inner input {
  width: 100%;
  padding: var(--cw-space-3) var(--cw-space-4) var(--cw-space-3) var(--cw-space-10);
  /* space for icon */
  padding-right: 50px;
  /* space for button */
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
  height: 50px;
  font-size: 1rem;
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
}

.cw-simple-search-inner input:focus {
  border-color: var(--cw-navy);
  box-shadow: 0 0 0 3px rgba(8, 36, 74, 0.1);
  outline: none;
}

.cw-simple-search-inner .fa-search {
  position: absolute;
  left: var(--cw-space-4);
  color: var(--cw-gray-500);
  pointer-events: none;
}

.cw-simple-search-inner .cw-btn-icon {
  position: absolute;
  right: var(--cw-space-2);
  top: 50%;
  transform: translateY(-50%);
  background: var(--cw-green);
  color: var(--cw-navy-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--cw-transition), background-color var(--cw-transition);
}

.cw-simple-search-inner .cw-btn-icon:hover {
  background: var(--cw-green-dark);
  transform: translateY(-50%) scale(1.05);
}


/* Standardized Product Images */
/* Overrides existing .cw-product-img if needed */
.cw-product-img {
  height: 280px;
  /* Fixed height for consistency */
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--cw-gray-100);
}

.cw-product-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.cw-product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Forces image to fit within box without cropping */
  transition: transform var(--cw-transition);
}

.cw-product-card:hover .cw-product-img img {
  transform: scale(1.05);
}


/* Pagination */
.woocommerce-pagination {
  margin-top: var(--cw-space-10);
  text-align: center;
}

.woocommerce-pagination ul {
  display: inline-flex;
  gap: var(--cw-space-2);
  border: none !important;
  padding: 0;
}

.woocommerce-pagination ul li {
  border: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cw-radius-md);
  background: var(--cw-white);
  border: 1px solid var(--cw-gray-200);
  color: var(--cw-navy);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--cw-transition);
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  color: var(--cw-green);
  border-color: var(--cw-navy);
}

.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  /* Active state */
  color: var(--cw-green);
}

/* Responsive for Shop Layout */
@media (max-width: 991px) {
  .cw-shop-container {
    grid-template-columns: 1fr;
    /* Stack sidebar */
  }

  .cw-shop-sidebar {
    order: -1;
    /* Sidebar on top? Maybe toggle later. For now stack. */
    margin-bottom: var(--cw-space-6);
    position: static;
  }
}

@media (max-width: 768px) {
  .cw-shop-toolbar {
    flex-direction: column;
    gap: var(--cw-space-4);
    text-align: center;
  }
}

/* ============================================
   SHOP PAGE REFACTOR (With Sidebar)
   ============================================ */

/* Layout */
.cw-shop-section-wrapper {
  padding: var(--cw-space-8) 0;
}

.cw-shop-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--cw-space-8);
  align-items: start;
}

/* Sidebar */
.cw-shop-sidebar {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6);
  box-shadow: var(--cw-shadow-sm);
  position: sticky;
  top: 100px;
  /* Sticky sidebar */
  z-index: 10;
}

.cw-widget {
  margin-bottom: var(--cw-space-8);
}

.cw-widget:last-child {
  margin-bottom: 0;
}

.cw-widget-title {
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-4);
  position: relative;
  padding-bottom: var(--cw-space-2);
}

.cw-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--cw-green);
  border-radius: 2px;
}

/* Widget Lists */
.cw-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cw-widget ul li {
  margin-bottom: var(--cw-space-3);
}

.cw-widget ul li a {
  color: var(--cw-gray-700);
  font-weight: 500;
  transition: color var(--cw-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-widget ul li a:hover,
.cw-widget ul li.current-cat>a {
  color: var(--cw-navy);
  font-weight: 600;
}

.item-count {
  background: var(--cw-gray-100);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--cw-gray-500);
}

/* Price Filter Widget */
.widget_price_filter .price_slider {
  margin-bottom: 1em;
}

.widget_price_filter .price_slider_amount {
  text-align: right;
  line-height: 2.4;
  font-size: 0.875em;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background-color: var(--cw-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: var(--cw-navy);
  border-radius: 50%;
  cursor: ew-resize;
  top: -.25em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
}

/* Shop Main Content */
.cw-shop-main {
  width: 100%;
}

/* Shop Toolbar (Results & Sorting) */
.cw-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--cw-space-6);
  background: var(--cw-white);
  padding: var(--cw-space-4);
  border-radius: var(--cw-radius-md);
  box-shadow: var(--cw-shadow-sm);
  border: 1px solid var(--cw-gray-200);
}

.woocommerce-result-count {
  margin: 0 !important;
  color: var(--cw-gray-500);
  font-size: 0.95rem;
}

.woocommerce-ordering {
  margin: 0 !important;
}

.woocommerce-ordering select {
  padding: var(--cw-space-2) var(--cw-space-4);
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-sm);
  background-color: var(--cw-white);
  color: var(--cw-navy);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color var(--cw-transition);
}

.woocommerce-ordering select:focus {
  border-color: var(--cw-navy);
}

/* Main Shop Search */
.cw-shop-search-bar {
  margin-bottom: var(--cw-space-6);
}

.cw-simple-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.cw-simple-search-inner input {
  width: 100%;
  padding: var(--cw-space-3) var(--cw-space-4) var(--cw-space-3) var(--cw-space-10);
  /* space for icon */
  padding-right: 50px;
  /* space for button */
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
  height: 50px;
  font-size: 1rem;
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
}

.cw-simple-search-inner input:focus {
  border-color: var(--cw-navy);
  box-shadow: 0 0 0 3px rgba(8, 36, 74, 0.1);
  outline: none;
}

.cw-simple-search-inner .fa-search {
  position: absolute;
  left: var(--cw-space-4);
  color: var(--cw-gray-500);
  pointer-events: none;
}

.cw-simple-search-inner .cw-btn-icon {
  position: absolute;
  right: var(--cw-space-2);
  top: 50%;
  transform: translateY(-50%);
  background: var(--cw-green);
  color: var(--cw-navy-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--cw-transition), background-color var(--cw-transition);
}

.cw-simple-search-inner .cw-btn-icon:hover {
  background: var(--cw-green-dark);
  transform: translateY(-50%) scale(1.05);
}


/* Standardized Product Images */
/* Overrides existing .cw-product-img if needed */
.cw-product-img {
  height: 280px;
  /* Fixed height for consistency */
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--cw-gray-100);
}

.cw-product-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.cw-product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Forces image to fit within box without cropping */
  transition: transform var(--cw-transition);
}

.cw-product-card:hover .cw-product-img img {
  transform: scale(1.05);
}


/* Pagination */
.woocommerce-pagination {
  margin-top: var(--cw-space-10);
  text-align: center;
}

.woocommerce-pagination ul {
  display: inline-flex;
  gap: var(--cw-space-2);
  border: none !important;
  padding: 0;
}

.woocommerce-pagination ul li {
  border: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cw-radius-md);
  background: var(--cw-white);
  border: 1px solid var(--cw-gray-200);
  color: var(--cw-navy);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--cw-transition);
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  color: var(--cw-green);
  border-color: var(--cw-navy);
}

.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  /* Active state */
  color: var(--cw-green);
}

/* Responsive for Shop Layout */
@media (max-width: 991px) {
  .cw-shop-container {
    grid-template-columns: 1fr;
    /* Stack sidebar */
  }

  .cw-shop-sidebar {
    order: -1;
    /* Sidebar on top? Maybe toggle later. For now stack. */
    margin-bottom: var(--cw-space-6);
    position: static;
  }
}

@media (max-width: 768px) {
  .cw-shop-toolbar {
    flex-direction: column;
    gap: var(--cw-space-4);
    text-align: center;
  }
}

/* ============================================
   SHOP PAGE REFACTOR (With Sidebar)
   ============================================ */

/* Layout */
.cw-shop-section-wrapper {
  padding: var(--cw-space-8) 0;
}

.cw-shop-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--cw-space-8);
  align-items: start;
}

/* Sidebar */
.cw-shop-sidebar {
  background: var(--cw-white);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6);
  box-shadow: var(--cw-shadow-sm);
  position: sticky;
  top: 100px;
  /* Sticky sidebar */
  z-index: 10;
}

.cw-widget {
  margin-bottom: var(--cw-space-8);
}

.cw-widget:last-child {
  margin-bottom: 0;
}

.cw-widget-title {
  font-size: var(--cw-font-size-lg);
  font-weight: 700;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-4);
  position: relative;
  padding-bottom: var(--cw-space-2);
}

.cw-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--cw-green);
  border-radius: 2px;
}

/* Widget Lists */
.cw-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cw-widget ul li {
  margin-bottom: var(--cw-space-3);
}

.cw-widget ul li a {
  color: var(--cw-gray-700);
  font-weight: 500;
  transition: color var(--cw-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-widget ul li a:hover,
.cw-widget ul li.current-cat>a {
  color: var(--cw-navy);
  font-weight: 600;
}

.item-count {
  background: var(--cw-gray-100);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--cw-gray-500);
}

/* Price Filter Widget */
.widget_price_filter .price_slider {
  margin-bottom: 1em;
}

.widget_price_filter .price_slider_amount {
  text-align: right;
  line-height: 2.4;
  font-size: 0.875em;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background-color: var(--cw-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: var(--cw-navy);
  border-radius: 50%;
  cursor: ew-resize;
  top: -.25em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
}

/* Shop Main Content */
.cw-shop-main {
  width: 100%;
}

/* Shop Toolbar (Results & Sorting) */
.cw-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--cw-space-6);
  background: var(--cw-white);
  padding: var(--cw-space-4);
  border-radius: var(--cw-radius-md);
  box-shadow: var(--cw-shadow-sm);
  border: 1px solid var(--cw-gray-200);
}

.woocommerce-result-count {
  margin: 0 !important;
  color: var(--cw-gray-500);
  font-size: 0.95rem;
}

.woocommerce-ordering {
  margin: 0 !important;
}

.woocommerce-ordering select {
  padding: var(--cw-space-2) var(--cw-space-4);
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-sm);
  background-color: var(--cw-white);
  color: var(--cw-navy);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color var(--cw-transition);
}

.woocommerce-ordering select:focus {
  border-color: var(--cw-navy);
}

/* Main Shop Search */
.cw-shop-search-bar {
  margin-bottom: var(--cw-space-6);
}

.cw-simple-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.cw-simple-search-inner input {
  width: 100%;
  padding: var(--cw-space-3) var(--cw-space-4) var(--cw-space-3) var(--cw-space-10);
  /* space for icon */
  padding-right: 50px;
  /* space for button */
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
  height: 50px;
  font-size: 1rem;
  transition: border-color var(--cw-transition), box-shadow var(--cw-transition);
}

.cw-simple-search-inner input:focus {
  border-color: var(--cw-navy);
  box-shadow: 0 0 0 3px rgba(8, 36, 74, 0.1);
  outline: none;
}

.cw-simple-search-inner .fa-search {
  position: absolute;
  left: var(--cw-space-4);
  color: var(--cw-gray-500);
  pointer-events: none;
}

.cw-simple-search-inner .cw-btn-icon {
  position: absolute;
  right: var(--cw-space-2);
  top: 50%;
  transform: translateY(-50%);
  background: var(--cw-green);
  color: var(--cw-navy-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--cw-transition), background-color var(--cw-transition);
}

.cw-simple-search-inner .cw-btn-icon:hover {
  background: var(--cw-green-dark);
  transform: translateY(-50%) scale(1.05);
}


/* Standardized Product Images */
/* Overrides existing .cw-product-img if needed */
.cw-product-img {
  height: 280px;
  /* Fixed height for consistency */
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--cw-gray-100);
}

.cw-product-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.cw-product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Forces image to fit within box without cropping */
  transition: transform var(--cw-transition);
}

.cw-product-card:hover .cw-product-img img {
  transform: scale(1.05);
}


/* Pagination */
.woocommerce-pagination {
  margin-top: var(--cw-space-10);
  text-align: center;
}

.woocommerce-pagination ul {
  display: inline-flex;
  gap: var(--cw-space-2);
  border: none !important;
  padding: 0;
}

.woocommerce-pagination ul li {
  border: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cw-radius-md);
  background: var(--cw-white);
  border: 1px solid var(--cw-gray-200);
  color: var(--cw-navy);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--cw-transition);
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  color: var(--cw-green);
  border-color: var(--cw-navy);
}

.woocommerce-pagination ul li .current {
  background: var(--cw-navy);
  /* Active state */
  color: var(--cw-green);
}

/* Responsive for Shop Layout */
@media (max-width: 991px) {
  .cw-shop-container {
    grid-template-columns: 1fr;
    /* Stack sidebar */
  }

  .cw-shop-sidebar {
    order: -1;
    /* Sidebar on top? Maybe toggle later. For now stack. */
    margin-bottom: var(--cw-space-6);
    position: static;
  }
}

@media (max-width: 768px) {
  .cw-shop-toolbar {
    flex-direction: column;
    gap: var(--cw-space-4);
    text-align: center;
  }
}

/* ============================================
   SINGLE PRODUCT REDESIGN (Appended)
   ============================================ */

/* Page Header */
.cw-product-page-header {
  background: var(--cw-gray-100);
  padding: var(--cw-space-4) 0;
  margin-bottom: var(--cw-space-10);
  border-bottom: 1px solid var(--cw-gray-200);
}

.cw-product-page-header .breadcrumb {
  font-size: 0.9rem;
  color: var(--cw-gray-600);
}

.cw-product-page-header .breadcrumb a {
  color: var(--cw-gray-800);
  font-weight: 500;
}

.cw-product-page-header .breadcrumb span {
  color: var(--cw-gray-500);
}

/* Main Grid Layout */
.cw-single-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cw-space-12);
  align-items: stretch;
  /* Changed from start to stretch for sticky gallery */
  margin-bottom: var(--cw-space-12);
}

/* Left Column: Gallery */
.cw-gallery-column {
  position: relative;
}

.cw-sticky-gallery-wrapper {
  position: sticky;
  top: 120px;
  /* Adjust based on header height */
  transition: top 0.3s;
}

.cw-gallery-image-wrapper {
  position: relative;
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cw-gray-200);
  background: #fff;
  aspect-ratio: 1/1;
  /* Square aspect ratio for main image */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cw-shadow-sm);
}

.cw-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
  cursor: zoom-in;
}

.cw-gallery-zoom-trigger {
  position: absolute;
  bottom: var(--cw-space-4);
  right: var(--cw-space-4);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cw-gray-200);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-navy);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--cw-shadow-md);
  transition: transform var(--cw-transition);
  z-index: 2;
}

.cw-gallery-zoom-trigger:hover {
  transform: scale(1.1);
  background: var(--cw-white);
}

.cw-gallery-thumbs-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--cw-space-3);
  margin-top: var(--cw-space-4);
}

.cw-gallery-thumb {
  border: 2px solid transparent;
  border-radius: var(--cw-radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  aspect-ratio: 1/1;
  padding: 0;
  transition: border-color var(--cw-transition), transform var(--cw-transition);
}

.cw-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cw-gallery-thumb:hover {
  transform: translateY(-2px);
}

.cw-gallery-thumb.active {
  border-color: var(--cw-navy);
}

/* Lightbox */
.cw-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cw-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cw-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.cw-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--cw-radius-md);
  box-shadow: var(--cw-shadow-xl);
}

.cw-lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.cw-lightbox-close:hover {
  color: var(--cw-green);
}

/* Right Column: Info */
.cw-product-header {
  margin-bottom: var(--cw-space-6);
  border-bottom: 1px solid var(--cw-gray-200);
  padding-bottom: var(--cw-space-6);
}

.cw-product-category-label {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cw-green-dark);
  font-weight: 700;
  margin-bottom: var(--cw-space-2);
}

.cw-product-title-large {
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-3);
}

.cw-product-meta-row {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
  font-size: 0.9rem;
}

.cw-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.cw-stock-badge.in-stock {
  background: #e6fcf5;
  color: #0ca678;
}

.cw-stock-badge.out-stock {
  background: #fff5f5;
  color: #fa5252;
}

.cw-sku {
  color: var(--cw-gray-500);
}

.cw-product-price-box {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-6);
}

.cw-product-price-box del {
  font-size: 1.2rem;
  color: var(--cw-gray-500);
  font-weight: 400;
  margin-right: var(--cw-space-2);
}

.cw-product-price-box ins {
  text-decoration: none;
}

.cw-product-description-short {
  font-size: 1.1rem;
  color: var(--cw-gray-700);
  line-height: 1.6;
  margin-bottom: var(--cw-space-8);
}

/* Buy Box */
.cw-buy-box {
  background: var(--cw-gray-50);
  border: 1px solid var(--cw-gray-200);
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-6);
  margin-bottom: var(--cw-space-8);
}

.cw-quantity-wrapper {
  margin-bottom: var(--cw-space-4);
}

.cw-qty-label {
  display: block;
  font-weight: 600;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-2);
}

.cw-quantity-input-group {
  display: flex;
  align-items: center;
  width: 140px;
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
  background: #fff;
  overflow: hidden;
}

.cw-qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: #f8f9fa;
  color: var(--cw-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cw-qty-btn:hover {
  background: var(--cw-gray-200);
}

.cw-qty-field {
  width: 60px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cw-navy);
  height: 44px;
  appearance: textfield;
}

.cw-qty-field::-webkit-outer-spin-button,
.cw-qty-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cw-add-to-cart-large {
  padding: var(--cw-space-4);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust Features */
.cw-trust-features {
  display: grid;
  gap: var(--cw-space-4);
  margin-bottom: var(--cw-space-8);
}

.cw-trust-feature {
  display: flex;
  align-items: center;
  gap: var(--cw-space-4);
  padding: var(--cw-space-3);
  border-radius: var(--cw-radius-md);
  transition: background 0.2s;
}

.cw-trust-feature:hover {
  background: var(--cw-gray-50);
}

.cw-trust-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cw-green);
  border-radius: var(--cw-radius-md);
  color: var(--cw-navy);
  font-size: 2rem;
  margin-bottom: var(--cw-space-4);
  box-shadow: 0 5px 15px rgba(130, 229, 46, 0.2);
  transition: transform 0.3s ease;
  /* Centering in desktop handled by parent text-align, but for flex row items we might need margin adjustment if not using gap */
}

.cw-trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--cw-navy);
}

.cw-trust-text span {
  font-size: 0.85rem;
  color: var(--cw-gray-500);
}

/* ============================================
   CART PAGE DESIGN
   ============================================ */

/* Container */
.woocommerce-cart .cw-section {
  padding-top: var(--cw-space-8);
  padding-bottom: var(--cw-space-12);
}

/* Cart Form (Table) */
.woocommerce-cart-form {
  background: #fff;
  border-radius: var(--cw-radius-lg);
  box-shadow: var(--cw-shadow-md);
  padding: var(--cw-space-6);
  margin-bottom: var(--cw-space-8);
}

.shop_table {
  border: none !important;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.shop_table th {
  background: var(--cw-gray-50);
  padding: var(--cw-space-4);
  font-weight: 600;
  color: var(--cw-navy);
  border-bottom: 2px solid var(--cw-gray-200);
}

.shop_table td {
  padding: var(--cw-space-4);
  border-bottom: 1px solid var(--cw-gray-100);
  vertical-align: middle;
}

.shop_table tr:last-child td {
  border-bottom: none;
}

/* Product Info in Cart */
.product-thumbnail img {
  border-radius: var(--cw-radius-md);
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.product-name a {
  color: var(--cw-navy);
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.product-name a:hover {
  color: var(--cw-green);
}

/* Remove 'X' */
.product-remove a.remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--cw-gray-200);
  color: var(--cw-gray-600);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s;
  text-decoration: none;
}

.product-remove a.remove:hover {
  background: #fa5252;
  color: #fff;
}

/* Quantity Input */
.quantity .qty {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
  text-align: center;
  font-weight: 600;
}

/* Actions (Coupon + Update) */
.actions {
  padding-top: var(--cw-space-6) !important;
}

.coupon {
  display: flex;
  gap: var(--cw-space-3);
  float: left;
}

.coupon .input-text {
  width: auto;
  min-width: 200px;
  padding: 10px;
  border: 1px solid var(--cw-gray-300);
  border-radius: var(--cw-radius-md);
}

/* Cart Totals */
.cart_totals {
  background: #fff;
  border-radius: var(--cw-radius-lg);
  padding: var(--cw-space-8);
  box-shadow: var(--cw-shadow-lg);
  border: 1px solid var(--cw-gray-200);
  position: sticky;
  top: 120px;
}

.cart_totals h2 {
  font-size: 1.5rem;
  margin-bottom: var(--cw-space-6);
  color: var(--cw-navy);
  border-bottom: 2px solid var(--cw-green);
  display: inline-block;
  padding-bottom: var(--cw-space-2);
}

.cart_totals .shop_table {
  border: none;
  margin-bottom: var(--cw-space-6);
}

.cart_totals th {
  background: transparent;
  padding: var(--cw-space-3) 0;
  color: var(--cw-gray-700);
  font-weight: 500;
  text-align: left;
}

.cart_totals td {
  text-align: right;
  padding: var(--cw-space-3) 0;
  color: var(--cw-navy);
  font-weight: 700;
  font-size: 1.1rem;
}

.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  padding: var(--cw-space-4);
  background: var(--cw-green);
  color: var(--cw-navy);
  font-weight: 700;
  border-radius: var(--cw-radius-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  text-decoration: none;
}

.wc-proceed-to-checkout .checkout-button:hover {
  background: #66c425;
  /* Darker green manually */
  color: #fff;
}

/* ============================================
   NOTIFICATIONS / TOAST
   ============================================ */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  position: fixed;
  top: 100px;
  /* Below sticky header */
  right: 20px;
  z-index: 99999;
  background: #fff;
  color: var(--cw-gray-800);
  padding: var(--cw-space-4) var(--cw-space-10) var(--cw-space-4) var(--cw-space-5);
  border-radius: var(--cw-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--cw-green);
  min-width: 300px;
  max-width: 400px;
  animation: cwSlideInRight 0.4s ease;
}

.woocommerce-error {
  border-left-color: #fa5252;
}

.woocommerce-info {
  border-left-color: var(--cw-navy);
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none;
}

/* Buttons in Toast */
.woocommerce-message .button.wc-forward {
  float: right;
  margin-left: 1rem;
  background: var(--cw-navy);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-message .button.wc-forward:hover {
  background: var(--cw-green);
  color: var(--cw-navy);
}

@keyframes cwSlideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Added to Cart Link (Shop Page - Secondary Action) */
a.added_to_cart {
  display: inline-block;
  margin-left: var(--cw-space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cw-navy);
  text-decoration: underline;
  transition: color 0.2s;
}

a.added_to_cart:hover {
  color: var(--cw-green);
}

/* Responsive Cart */
@media (max-width: 768px) {
  .woocommerce-cart-form {
    padding: var(--cw-space-4);
  }

  .shop_table thead {
    display: none;
    /* Hide headers on mobile */
  }

  .shop_table tr {
    display: block;
    border-bottom: 2px solid var(--cw-gray-200);
    margin-bottom: var(--cw-space-4);
  }

  .shop_table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--cw-gray-50);
    padding: var(--cw-space-2) 0;
  }

  .shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--cw-gray-600);
  }

  .product-thumbnail,
  .product-remove {
    display: block !important;
    text-align: center;
  }

  .actions {
    flex-direction: column;
  }

  .coupon {
    width: 100%;
    margin-bottom: var(--cw-space-4);
  }
}

/* Share */
.cw-simple-share {
  display: flex;
  align-items: center;
  gap: var(--cw-space-3);
  color: var(--cw-gray-600);
  font-size: 0.9rem;
  padding-top: var(--cw-space-4);
  border-top: 1px solid var(--cw-gray-200);
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cw-gray-100);
  color: var(--cw-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.share-icon:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-icon.wa:hover {
  background: #25D366;
}

.share-icon.fb:hover {
  background: #3b5998;
}

.share-icon.copy:hover {
  background: var(--cw-navy);
}

/* Tabs */
.cw-product-tabs-wrapper {
  background: var(--cw-white);
  padding: var(--cw-space-12) 0;
  border-top: 1px solid var(--cw-gray-200);
}

.cw-tabs-nav-list {
  display: flex;
  gap: var(--cw-space-8);
  border-bottom: 2px solid var(--cw-gray-200);
  margin: 0 0 var(--cw-space-8) 0;
  padding: 0;
  list-style: none;
}

.cw-tab-trigger {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cw-gray-500);
  padding: var(--cw-space-4) 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.cw-tab-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cw-navy);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.cw-tab-trigger:hover {
  color: var(--cw-navy-light);
}

.cw-tab-trigger.active {
  color: var(--cw-navy);
}

.cw-tab-trigger.active::after {
  transform: scaleX(1);
}

.cw-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.cw-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specs Table Modern */
.cw-specs-table-modern {
  width: 100%;
  border-collapse: collapse;
}

.cw-specs-table-modern tr {
  border-bottom: 1px solid var(--cw-gray-200);
}

.cw-specs-table-modern th {
  width: 30%;
  padding: var(--cw-space-4);
  background: var(--cw-gray-50);
  font-weight: 600;
  color: var(--cw-navy);
  text-align: left;
}

.cw-specs-table-modern td {
  padding: var(--cw-space-4);
  color: var(--cw-gray-700);
}

/* Related Section Title */
.cw-related-section {
  padding: var(--cw-space-12) 0;
  background: var(--cw-gray-50);
}

.cw-section-header-centered {
  text-align: center;
  margin-bottom: var(--cw-space-10);
}

.cw-section-header-centered h2 {
  font-size: 2rem;
  color: var(--cw-navy);
  margin-bottom: var(--cw-space-2);
}

.cw-divider-small {
  width: 60px;
  height: 4px;
  background: var(--cw-green);
  border-radius: 2px;
  margin: 0 auto;
}

/* Responsive Single Product */
@media (max-width: 991px) {
  .cw-single-product-grid {
    grid-template-columns: 1fr;
    gap: var(--cw-space-8);
  }

  .cw-sticky-gallery-wrapper {
    position: static;
  }

  .cw-product-title-large {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .cw-gallery-thumbs-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .cw-buy-box {
    padding: var(--cw-space-4);
  }

  .cw-tabs-nav-list {
    gap: var(--cw-space-4);
    overflow-x: auto;
  }
}

/* =====================
   SUPPORT BANNER
   ===================== */
.cw-support-section {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.cw-support-banner {
  position: relative;
  border-radius: var(--cw-radius-lg);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cw-support-overlay {
  position: absolute;
  inset: 0;
  /* Gradient from Dark Green to Brighter Green */
  background: linear-gradient(135deg, rgba(3, 46, 30, 0.95) 0%, rgba(12, 166, 120, 0.85) 100%);
  z-index: 1;
}

.cw-support-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 2rem;
  flex-wrap: wrap;
}

.cw-support-icon {
  font-size: 3rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.cw-support-text {
  flex: 1;
}

.cw-support-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  font-weight: 700;
  color: var(--cw-green);
  /* Neon green pop */
}

.cw-support-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  line-height: 1.1;
}

.cw-support-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
  max-width: 600px;
  color: #e0fbf4;
  /* Very light green white */
}

.cw-support-action {
  margin-left: auto;
}

.cw-btn-whatsapp {
  background-color: #25D366;
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cw-btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.cw-btn-whatsapp i {
  font-size: 1.3rem;
}

@media (max-width: 991px) {
  .cw-support-content {
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }

  .cw-support-action {
    margin: 1rem auto 0;
  }

  .cw-support-text {
    width: 100%;
  }
}

/* FIX MOBILE HEADER GAP & VISIBILITY */
@media (max-width: 768px) {
  html {
    margin-top: 0 !important;
  }

  .cw-header {
    top: 0 !important;
    margin-top: 0 !important;
    background: rgba(8, 36, 74, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}