/* =============================================================
   SALOTT-IT ENGINEERING — CSS Global Public
   Version: 2.0.0 — WooCommerce-Inspired Professional Theme
   ============================================================= */

/* ---------------------------------------------------------------
   1. VARIABLES CSS
--------------------------------------------------------------- */
:root {
  /* === Neuro-optimized color system === */
  /* Trust & Authority: Deep navy (proven reliability, reduces anxiety) */
  --primary:        #0b2559;
  --primary-dark:   #1a2332;
  --primary-light:  #1a3f7a;

  /* CTA / Buy: Warm orange (highest conversion in A/B tests, 21-34% lift) */
  --accent:         #FF6B35;
  --accent-dark:    #e55a2b;
  --accent-hover:   #FF7F50;
  --accent-light:   #FF7F50;
  --accent-buy:     #FF6B35;

  /* Trust / Success: Green (dopamine reward, positive outcome association) */
  --accent-trust:   #4db748;
  --accent-trust-dark: #3a9a35;
  --accent-trust-light: #6fcf6a;

  /* Secondary action */
  --secondary:      #2196f3;

  /* Semantic states */
  --success:        #28a745;
  --danger:         #dc3545;
  --warning:        #ffc107;
  --info:           #17a2b8;

  /* Neutrals */
  --white:          #ffffff;
  --light:          #FAFAF8;
  --gray:           #6c757d;
  --gray-light:     #adb5bd;
  --gray-50:        #FAF9F6;
  --gray-100:       #f1f5f9;
  --gray-200:       #e2e8f0;
  --gray-600:       #6b7a99;
  --gray-800:       #1a1a2e;
  --dark:           #1a1a2e;
  --text-primary:   #1a1a2e;
  --border:         #dee2e6;
  --border-light:   #e9ecef;

  /* Premium / Featured: Gold/amber (luxury perception, serotonin trigger) */
  --gold:           #F59E0B;
  --gold-light:     #FCD34D;

  /* Urgency / Sale: Red spectrum (amygdala activation, urgency response) */
  --sale-red:       #E63946;
  --urgency-red:    #DC2626;

  --link-color:     #4F46E5;

  /* Warm shadows (softer than pure black, reduces visual stress) */
  --shadow:         0 2px 15px rgba(11,37,89,0.08);
  --shadow-sm:      0 2px 8px rgba(11,37,89,0.06);
  --shadow-md:      0 4px 25px rgba(11,37,89,0.10);
  --shadow-lg:      0 8px 40px rgba(11,37,89,0.15);
  --shadow-xl:      0 16px 50px rgba(11,37,89,0.14);
  --shadow-hover:   0 8px 30px rgba(255,107,53,0.15);
  --shadow-card:    0 1px 3px rgba(11,37,89,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 40px rgba(255,107,53,0.12), 0 4px 12px rgba(11,37,89,0.08);
  --shadow-sidebar: 0 1px 4px rgba(11,37,89,0.06);

  /* Border radii */
  --radius:         8px;
  --radius-sm:      6px;
  --radius-md:      14px;
  --radius-lg:      16px;
  --radius-xl:      20px;
  --radius-full:    9999px;

  /* Smooth transitions: cubic-bezier for micro-dopamine (satisfying motion) */
  --transition:     all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Fonts */
  --font:           'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading:   'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-stack:     'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Warm neutral background: reduces eye strain, increases browse time */
  --body-bg:        #FAF9F6;
  --card-bg:        #ffffff;

  /* WooCommerce-style tokens */
  --woo-sale:       #E63946;
  --woo-star:       #F59E0B;
  --woo-price:      #77a464;
}

/* ---------------------------------------------------------------
   2. RESET MINIMAL & BASE
--------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-primary, var(--dark));
  background: var(--body-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* Smooth page transitions */
.page-enter {
  animation: pageEnter 0.4s ease forwards;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   3. NAVBAR
--------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 65px;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.navbar-brand img {
  height: 40px;
  width: auto;
}
.navbar-brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.navbar-brand-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Search bar */
.navbar-search {
  flex: 1;
  max-width: 520px;
}
.navbar-search form {
  display: flex;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: var(--transition);
}
.navbar-search form:focus-within {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}
.navbar-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.45rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
}
.navbar-search input::placeholder { color: rgba(255,255,255,0.5); }
.navbar-search button {
  background: var(--accent);
  border: none;
  padding: 0.45rem 1rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.navbar-search button:hover { background: var(--accent-dark); }

/* Nav links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

/* Cart icon */
.cart-btn {
  position: relative;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.cart-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: cartPulse 0.3s ease;
}
@keyframes cartPulse {
  0% { transform: scale(0.5); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 65px 0 0 0;
  background: var(--primary-dark);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------
   4. HERO SECTION
--------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,13,25,0.92) 0%, rgba(10,22,40,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(244,130,30,0.2);
  border: 1px solid rgba(244,130,30,0.4);
  color: var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInDown 0.6s ease forwards;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------------------------------------------------------------
   5. LAYOUT / CONTAINER
--------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 4rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.section-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .section-line {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
  margin: 0.75rem 0;
}

/* ---------------------------------------------------------------
   6. PRODUCT GRID (WooCommerce 4-col Layout)
--------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Shop layout with sidebar */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.shop-layout-full {
  grid-template-columns: 1fr;
}

/* Toolbar above products (WooCommerce style) */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.shop-toolbar .result-count {
  font-size: 0.88rem;
  color: var(--gray);
}
.shop-toolbar .sort-select {
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}
.shop-toolbar .sort-select:focus {
  border-color: var(--primary-light);
}

/* View toggle (grid/list) */
.view-toggle {
  display: flex;
  gap: 0.25rem;
}
.view-toggle button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition-fast);
}
.view-toggle button:hover,
.view-toggle button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------------------------------------------------------------
   7. PRODUCT CARD (WooCommerce Inspired)
--------------------------------------------------------------- */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-light);
  overflow: visible;
}
.product-card .product-card-img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.12), 0 4px 12px rgba(11,37,89,0.06);
  border-color: rgba(255,107,53,0.15);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

/* Quick View overlay on hover */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,37,89,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}
.product-card:hover .product-card-overlay {
  opacity: 1;
}
.product-card-overlay .quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.product-card:hover .product-card-overlay .quick-view-btn {
  transform: translateY(0);
}
.product-card-overlay .quick-view-btn:hover {
  background: var(--accent-buy);
  color: var(--white);
}

/* Product card actions (slide-up on hover) */
.product-card-actions {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 3;
}
.product-card-actions .action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  border-radius: var(--radius-full);
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
  transform: translateX(50px);
  opacity: 0;
  font-size: 0.85rem;
}
.product-card:hover .product-card-actions .action-btn {
  transform: translateX(0);
  opacity: 1;
}
.product-card:hover .product-card-actions .action-btn:nth-child(1) { transition-delay: 0s; }
.product-card:hover .product-card-actions .action-btn:nth-child(2) { transition-delay: 0.05s; }
.product-card:hover .product-card-actions .action-btn:nth-child(3) { transition-delay: 0.1s; }
.product-card-actions .action-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(0) scale(1.1);
}
.product-card-actions .action-btn.wishlist:hover {
  background: var(--danger);
}
.product-card-actions .action-btn.wishlist.active {
  background: var(--danger);
  color: var(--white);
}

.product-card-body {
  padding: 1rem 1.1rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-brand {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.product-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title a {
  color: inherit;
}
.product-card-title a:hover { color: var(--primary); }

/* Star Rating (WooCommerce style) */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--woo-star);
}
.product-card-rating span { color: var(--gray); font-size: 0.75rem; }

.star-rating {
  display: inline-flex;
  gap: 1px;
  position: relative;
  font-size: 0.85rem;
  color: var(--border);
  letter-spacing: 2px;
}
.star-rating .stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--woo-star);
}
.star-rating i,
.star-rating .fa,
.star-rating .fas,
.star-rating .far {
  font-size: 0.8rem;
}
.star-rating-interactive {
  cursor: pointer;
}
.star-rating-interactive i:hover,
.star-rating-interactive i.hovered {
  color: var(--woo-star);
  transform: scale(1.15);
  transition: var(--transition-fast);
}

/* Price styling (WooCommerce style) */
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

/* Product card footer with Add to Cart */
.product-card-footer {
  padding: 0.75rem 1.1rem 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 0.5rem;
}
.product-card-footer .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 0.5rem 0.75rem;
}
.product-card-footer .btn-add-cart {
  background: var(--accent-buy);
  border-color: var(--accent-buy);
  color: var(--white);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.product-card-footer .btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.product-card-footer .btn-add-cart:hover::before {
  left: 100%;
}
.product-card-footer .btn-add-cart:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* ---------------------------------------------------------------
   8. BADGES (WooCommerce Sale Badge Style)
--------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
  letter-spacing: 0.02em;
}
.badge-promo {
  background: var(--sale-red);
  color: var(--white);
}
.badge-nouveau {
  background: var(--success);
  color: var(--white);
}
.badge-rupture {
  background: var(--danger);
  color: var(--white);
}
.badge-vedette {
  background: var(--gold);
  color: var(--white);
}
.badge-info {
  background: var(--info);
  color: var(--white);
}
.badge-warning {
  background: var(--warning);
  color: var(--dark);
}

/* Floating badges on cards */
.badge-float {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 2;
}

/* WooCommerce-style Sale Ribbon Badge */
.badge-sale {
  background: var(--woo-sale);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(195,35,43,0.3);
  animation: salePulse 2s infinite;
}
@keyframes salePulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(195,35,43,0.3); }
  50% { box-shadow: 0 2px 12px rgba(195,35,43,0.5); }
}

/* Ribbon-style sale badge */
.badge-ribbon {
  position: absolute;
  top: 12px;
  left: -5px;
  background: var(--woo-sale);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 0% 50%);
}
.badge-ribbon::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 5px;
  height: 5px;
  background: #8b1a1f;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ---------------------------------------------------------------
   9. PRIX (WooCommerce Pricing Style)
--------------------------------------------------------------- */
.prix-actuel {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}
.prix-promo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sale-red);
}
.prix-original {
  font-size: 0.88rem;
  color: var(--gray-light);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 1.5px;
}
.prix-reduction {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: var(--woo-sale);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* Large price display for product detail page */
.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-display .current-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.price-display .old-price {
  font-size: 1.1rem;
  color: var(--gray-light);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}
.price-display .save-amount {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--woo-sale);
  background: rgba(195,35,43,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ---------------------------------------------------------------
   10. CATEGORIES
--------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.category-card:hover {
  border-color: var(--primary-light);
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.category-card:hover .category-icon,
.category-card:hover .category-name { color: var(--white); }
.category-icon {
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.category-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.category-count {
  font-size: 0.72rem;
  color: var(--gray);
  transition: var(--transition);
}
.category-card:hover .category-count { color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------
   11. ARTICLES / BLOG
--------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; }
.blog-card-meta {
  font-size: 0.78rem;
  color: var(--gray);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.blog-card-meta span { display: flex; align-items: center; gap: 0.25rem; }
.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p {
  font-size: 0.88rem;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   12. FOOTER
--------------------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 30%, var(--gold) 50%, var(--accent) 70%, transparent 95%);
  opacity: 0.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo img { height: 36px; }
.footer-brand .footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px rgba(255,107,53,0.35);
}
.footer-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.footer-title:hover::after {
  width: 50px;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  background: rgba(0,0,0,0.1);
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.15), var(--gold), rgba(255,107,53,0.15), transparent);
  opacity: 0.35;
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ---------------------------------------------------------------
   13. FORMS (Modern WooCommerce-style Inputs)
--------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-control:hover {
  border-color: var(--gray-light);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,37,89,0.1);
}
.form-control::placeholder { color: #adb5bd; }
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220,53,69,0.1); }
.form-control.is-valid { border-color: var(--success); }
.form-control.is-valid:focus { box-shadow: 0 0 0 3px rgba(40,167,69,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%236c757d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-text { font-size: 0.78rem; color: var(--gray); margin-top: 0.3rem; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.3rem; display: flex; align-items: center; gap: 0.25rem; }

/* Modern rounded inputs variant */
.form-control-rounded {
  border-radius: var(--radius-full);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Input with icon */
.input-group {
  position: relative;
}
.input-group .form-control {
  padding-left: 2.5rem;
}
.input-group .input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition-fast);
}
.input-group .form-control:focus ~ .input-icon,
.input-group .form-control:focus + .input-icon {
  color: var(--primary);
}

/* Floating label */
.form-floating {
  position: relative;
}
.form-floating .form-control {
  padding-top: 1.4rem;
  padding-bottom: 0.4rem;
}
.form-floating label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 0.92rem;
  pointer-events: none;
  transition: var(--transition-fast);
}
.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
  top: 0.55rem;
  transform: translateY(0);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   14. BUTTONS (WooCommerce-style with Variants)
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  -webkit-appearance: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Shimmer/shine effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover::after {
  left: 120%;
}

.btn-primary {
  background: var(--accent-buy);
  border-color: var(--accent-buy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
  transform: translateY(-2px);
}
/* Navy variant for non-CTA buttons */
.btn-navy {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(11,37,89,0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray);
  border-color: var(--gray);
  color: var(--white);
}
.btn-secondary:hover { background: #5a6268; border-color: #5a6268; color: var(--white); }

.btn-accent {
  background: var(--accent-buy);
  border-color: var(--accent-buy);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}
.btn-success:hover { background: #218838; border-color: #218838; color: var(--white); }

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--white);
}
.btn-danger:hover { background: #c82333; border-color: #c82333; color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--white); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

.btn-outline-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--gray);
}
.btn-outline-secondary:hover {
  background: var(--light);
  border-color: var(--gray-light);
  color: var(--dark);
}

.btn-light {
  background: var(--light);
  border-color: var(--border);
  color: var(--dark);
}
.btn-light:hover { background: var(--border); color: var(--dark); }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
}
.btn-ghost:hover {
  background: rgba(11,37,89,0.06);
  color: var(--primary-dark);
}

.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2.2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-rounded { border-radius: var(--radius-full); }

/* Loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
  color: transparent !important;
}
.btn-loading::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
}
.btn-outline.btn-loading::before,
.btn-ghost.btn-loading::before {
  border-color: rgba(11,37,89,0.2);
  border-top-color: var(--primary);
}

/* Icon button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius);
  font-size: 1rem;
}
.btn-icon.btn-sm { width: 32px; height: 32px; font-size: 0.85rem; }
.btn-icon.btn-lg { width: 48px; height: 48px; font-size: 1.15rem; }

/* ---------------------------------------------------------------
   15. ALERTS / FLASH MESSAGES (WooCommerce Notice Style)
--------------------------------------------------------------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-card);
}
.alert i:first-child,
.alert .alert-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert-success {
  background: #f0fdf4;
  border-left-color: var(--success);
  color: #166534;
}
.alert-success .alert-icon { color: var(--success); }
.alert-danger {
  background: #fef2f2;
  border-left-color: var(--danger);
  color: #991b1b;
}
.alert-danger .alert-icon { color: var(--danger); }
.alert-warning {
  background: #fffbeb;
  border-left-color: var(--warning);
  color: #92400e;
}
.alert-warning .alert-icon { color: var(--warning); }
.alert-info {
  background: #eff6ff;
  border-left-color: var(--info);
  color: #1e40af;
}
.alert-info .alert-icon { color: var(--info); }

.alert-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.4;
  line-height: 1;
  transition: var(--transition-fast);
}
.alert-close:hover { opacity: 1; }

/* WooCommerce-style full-width notices */
.woo-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}
.woo-notice-success {
  background: var(--success);
  color: var(--white);
}
.woo-notice-error {
  background: var(--danger);
  color: var(--white);
}
.woo-notice-info {
  background: var(--info);
  color: var(--white);
}
.woo-notice a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}

/* ---------------------------------------------------------------
   16. CART PAGE
--------------------------------------------------------------- */
.cart-page { padding: 2rem 0 4rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cart-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cart-table th {
  background: var(--light);
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr {
  transition: var(--transition-fast);
}
.cart-table tbody tr:hover {
  background: rgba(11,37,89,0.02);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--light);
  padding: 4px;
}
.cart-item-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}
.cart-item-sku { font-size: 0.75rem; color: var(--gray); }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 0;
  border: none;
  background: var(--light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
  color: var(--dark);
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  border-radius: 0;
  padding: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
  border: 1px solid var(--border-light);
}
.cart-summary h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  color: var(--gray);
  border-bottom: 1px solid var(--border-light);
}
.cart-summary-line:last-of-type { border-bottom: none; }
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  border-top: 2px solid var(--primary);
  margin-top: 0.5rem;
}

/* Coupon */
.coupon-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}
.coupon-form input { flex: 1; }

/* ---------------------------------------------------------------
   17. CHECKOUT
--------------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.checkout-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}
.checkout-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkout-card h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 0.5rem;
}

.checkout-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
  border: 1px solid var(--border-light);
}
.order-items { margin-bottom: 1rem; }
.order-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}
.order-item:last-child { border-bottom: none; }
.order-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--light);
  flex-shrink: 0;
}
.order-item-info { flex: 1; }
.order-item-name { font-weight: 600; color: var(--dark); }
.order-item-qty { color: var(--gray); font-size: 0.8rem; }
.order-item-price { font-weight: 700; color: var(--primary); }

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.payment-method:hover { border-color: var(--primary-light); background: rgba(11,37,89,0.02); }
.payment-method.selected {
  border-color: var(--primary);
  background: rgba(11,37,89,0.04);
  box-shadow: 0 0 0 3px rgba(11,37,89,0.08);
}
.payment-method input[type="radio"] { accent-color: var(--primary); }

/* ---------------------------------------------------------------
   18. PAGINATION (WooCommerce Style)
--------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.page-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11,37,89,0.04);
}
.page-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(11,37,89,0.25);
}
.page-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.page-item.page-prev,
.page-item.page-next {
  font-size: 0.82rem;
  padding: 0 0.75rem;
  gap: 0.3rem;
}
.page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--gray);
  font-size: 0.88rem;
  letter-spacing: 2px;
}

/* ---------------------------------------------------------------
   19. AUTHENTICATION
--------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}
.auth-page::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
}
.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
}
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo img { height: 50px; margin: 0 auto 0.75rem; }
.auth-logo h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.auth-logo p { font-size: 0.85rem; color: var(--gray); }
.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--gray);
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------------------------------------------------------------
   20. BREADCRUMB (Professional WooCommerce Style)
--------------------------------------------------------------- */
.breadcrumb-bar {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}
/* Breadcrumb bar (unified shop-style, used across all pages) */
.breadcrumb {
  background: var(--white, #fff);
  border-bottom: 1px solid var(--border-light, #e5e7eb);
  padding: 12px 0;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray, #6b7280);
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: var(--primary, #1a2332);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--accent, #FF6B35); }
.breadcrumb-inner i.fa-chevron-right { font-size: 0.62rem; color: var(--gray-light, #9ca3af); }
.breadcrumb-inner span { font-weight: 600; color: var(--dark, #1a1a2e); }
.breadcrumb-inner a i.fa-home { margin-right: 2px; }

/* ---------------------------------------------------------------
   21. PROMO BANNERS
--------------------------------------------------------------- */
.promo-banners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.promo-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  transition: var(--transition);
}
.promo-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.promo-banner.orange {
  background: linear-gradient(135deg, var(--accent) 0%, #f9a847 100%);
}
.promo-banner.dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.promo-banner-content { position: relative; z-index: 1; }
.promo-banner-content h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.3rem; }
.promo-banner-content p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 1rem; }
.promo-banner-img {
  position: absolute;
  right: -10px;
  bottom: 0;
  height: 90%;
  opacity: 0.25;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   22. LOADING SPINNER
--------------------------------------------------------------- */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-sm { width: 20px; height: 20px; border-width: 2px; }
.spinner-lg { width: 54px; height: 54px; border-width: 4px; }
.spinner-accent { border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(3px);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--border-light) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
.skeleton-text { height: 14px; margin-bottom: 0.5rem; }
.skeleton-text:last-child { width: 70%; }
.skeleton-title { height: 20px; width: 80%; margin-bottom: 0.75rem; }
.skeleton-img { aspect-ratio: 4/3; }
.skeleton-btn { height: 40px; width: 120px; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------------------------------------------------------------
   23. MODAL / OVERLAY
--------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(3px);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
  padding: 0.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.modal-close:hover { color: var(--danger); background: rgba(220,53,69,0.08); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ---------------------------------------------------------------
   24. BACK TO TOP
--------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
  border: none;
  font-size: 1rem;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------------------------------------------------------------
   25. SIDEBAR / WIDGET AREA (WooCommerce Style)
--------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
}
.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* Price range filter */
.price-range-slider {
  padding: 0.5rem 0;
}
.price-range-slider input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  outline: none;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* Category filter list */
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.filter-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-list-item:hover {
  background: rgba(11,37,89,0.04);
  color: var(--primary);
}
.filter-list-item.active {
  background: rgba(11,37,89,0.06);
  color: var(--primary);
  font-weight: 600;
}
.filter-list-item .count {
  font-size: 0.75rem;
  color: var(--gray);
  background: var(--light);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}
.filter-list-item.active .count {
  background: var(--primary);
  color: var(--white);
}

/* Color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}
.color-swatch:hover,
.color-swatch.active {
  border-color: var(--primary);
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Size filter buttons */
.size-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.size-filter-btn {
  min-width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0 0.5rem;
}
.size-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.size-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Active filters tags */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: rgba(11,37,89,0.06);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
}
.active-filter-tag button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray);
  padding: 0;
  line-height: 1;
  transition: var(--transition-fast);
}
.active-filter-tag button:hover { color: var(--danger); }

/* ---------------------------------------------------------------
   26. TABS (WooCommerce Product Tabs Style)
--------------------------------------------------------------- */
.woo-tabs {
  margin: 2rem 0;
}
.woo-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
}
.woo-tabs-nav button {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.woo-tabs-nav button:hover {
  color: var(--primary);
}
.woo-tabs-nav button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.woo-tabs-content {
  padding: 1.5rem 0;
}
.woo-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.woo-tab-panel.active {
  display: block;
}

/* ---------------------------------------------------------------
   27. TOOLTIPS & TOASTS
--------------------------------------------------------------- */
.tooltip {
  position: relative;
}
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 100;
}
.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 80px;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  min-width: 280px;
  animation: toastSlideIn 0.3s ease forwards;
  border-left: 4px solid var(--primary);
}
.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
.toast-exit {
  animation: toastSlideOut 0.3s ease forwards;
}
@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* ---------------------------------------------------------------
   28. UTILITIES
--------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }
.text-muted   { color: var(--gray); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-white   { color: var(--white); }
.text-small   { font-size: 0.82rem; }
.text-bold    { font-weight: 700; }
.fw-800       { font-weight: 800; }

.d-flex       { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-block      { display: block; }
.d-none       { display: none; }
.d-grid       { display: grid; }

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.flex-wrap    { flex-wrap: wrap; }
.flex-1       { flex: 1; }
.flex-column  { flex-direction: column; }

.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.5rem; }
.mt-6  { margin-top: 2rem; }
.mt-8  { margin-top: 3rem; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.5rem; }
.mb-6  { margin-bottom: 2rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-0  { padding: 0; }
.p-1  { padding: 0.25rem; }
.p-2  { padding: 0.5rem; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.5rem; }
.p-6  { padding: 2rem; }

.w-100  { width: 100%; }
.h-100  { height: 100%; }

.rounded    { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow    { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-card { box-shadow: var(--shadow-card); }

.bg-light   { background: var(--light); }
.bg-white   { background: var(--white); }
.bg-primary { background: var(--primary); }

.border      { border: 1px solid var(--border); }
.border-top  { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Visually hidden (screen reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------------------------------------------------------------
   29. CARDS (Generic Reusable Card)
--------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
}
.card-body {
  padding: 1.5rem;
}
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  font-weight: 700;
  color: var(--primary);
}
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--light);
}

/* ---------------------------------------------------------------
   30. TABLES (Enhanced)
--------------------------------------------------------------- */
.table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  background: var(--light);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  border-bottom: 2px solid var(--border);
}
.table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr {
  transition: var(--transition-fast);
}
.table tbody tr:hover {
  background: rgba(11,37,89,0.02);
}
.table-striped tbody tr:nth-child(even) {
  background: var(--light);
}

/* ---------------------------------------------------------------
   31. EMPTY STATES
--------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray);
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 1rem;
}
.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* ---------------------------------------------------------------
   32. RESPONSIVE — 1200px
--------------------------------------------------------------- */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > *:last-child {
    grid-column: 1 / -1;
  }
  .checkout-layout {
    grid-template-columns: 1fr 340px;
  }
  .shop-layout {
    grid-template-columns: 250px 1fr;
  }
}

/* ---------------------------------------------------------------
   33. RESPONSIVE — 992px (Tablet Landscape)
--------------------------------------------------------------- */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ---------------------------------------------------------------
   34. RESPONSIVE — 768px (Tablet Portrait)
--------------------------------------------------------------- */
@media (max-width: 768px) {
  .navbar-search { display: none; }
  .navbar-nav    { display: none; }
  .hamburger     { display: flex; }

  .hero { min-height: 380px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.5rem; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cart-table thead { display: none; }
  .cart-table tr {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .cart-table td {
    padding: 0.25rem 0;
    border-bottom: none;
  }
  .cart-table td:first-child { grid-row: 1 / 4; }

  .promo-banners { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }

  .auth-card { padding: 2rem 1.25rem; }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    flex-wrap: wrap;
  }

  .woo-tabs-nav {
    gap: 0;
  }
  .woo-tabs-nav button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* ---------------------------------------------------------------
   35. RESPONSIVE — 480px (Mobile)
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-card-footer { flex-direction: column; }
  .product-card-body { padding: 0.75rem 0.85rem 0.5rem; }
  .product-card-title { font-size: 0.82rem; }
  .product-card-overlay { display: none; }
  .product-card-actions .action-btn {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .pagination { gap: 0.2rem; }
  .page-item { min-width: 34px; height: 34px; font-size: 0.8rem; }

  .breadcrumb-header h1 { font-size: 1.2rem; }

  .btn-lg { padding: 0.7rem 1.5rem; font-size: 0.9rem; }

  .toast-container {
    right: 0.75rem;
    left: 0.75rem;
  }
  .toast {
    min-width: auto;
  }
}

/* ---------------------------------------------------------------
   36. PRINT STYLES
--------------------------------------------------------------- */
@media print {
  .navbar, .footer, .back-to-top, .sidebar, .toast-container { display: none; }
  body { background: white; color: black; }
  .product-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}

/* ---------------------------------------------------------------
   37. NEUROMARKETING — Dopamine Design Patterns & Micro-Interactions
   Research-backed patterns for engagement & conversion
--------------------------------------------------------------- */

/* --- Progress Bar (completion dopamine) --- */
.neuro-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}
.neuro-progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-trust), var(--accent));
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.neuro-progress-bar .progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShimmer 2s ease-in-out infinite;
}
@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Cart Badge Pulse (attention grab on item add) --- */
@keyframes neuroPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}
.cart-pulse {
  animation: neuroPulse 1.5s ease-in-out infinite;
}

/* --- Limited Stock Badge (urgency with red pulse) --- */
.badge-limited-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sale-red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: urgencyPulse 2s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.45); }
  50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); }
}

/* --- Trust Badges (shield/guarantee styling) --- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(11,37,89,0.04);
  border: 1px solid rgba(11,37,89,0.08);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.trust-badge i {
  color: var(--accent-trust);
  font-size: 1rem;
}
.trust-badge:hover {
  background: rgba(11,37,89,0.07);
  transform: translateY(-1px);
}

/* --- Trust Badge Row --- */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0;
}

/* --- Social Proof (customer count, ratings) --- */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray);
}
.social-proof .proof-count {
  font-weight: 700;
  color: var(--primary);
}
.social-proof .proof-stars {
  color: var(--woo-star);
  font-size: 0.75rem;
  letter-spacing: 1px;
}
.social-proof .proof-avatar-stack {
  display: flex;
}
.social-proof .proof-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  background: var(--primary-light);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-proof .proof-avatar:first-child { margin-left: 0; }

/* --- Card Hover Lift Effect (tactile warmth) --- */
.neuro-card-lift {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.neuro-card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.10), 0 4px 12px rgba(11,37,89,0.06);
}

/* --- Subtle Section Gradient Backgrounds (visual flow) --- */
.neuro-gradient-warm {
  background: linear-gradient(180deg, var(--body-bg) 0%, #FFF8F3 50%, var(--body-bg) 100%);
}
.neuro-gradient-cool {
  background: linear-gradient(180deg, var(--body-bg) 0%, #F0F4FF 50%, var(--body-bg) 100%);
}

/* --- Fade In Up on Scroll (anticipation pattern) --- */
@keyframes neuroFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.neuro-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.neuro-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Countdown / Urgency Timer --- */
.neuro-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FEE2E2, #FECACA);
  color: var(--sale-red);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(230,57,70,0.2);
}
.neuro-countdown i {
  animation: urgencyPulse 2s ease-in-out infinite;
}
.neuro-countdown .countdown-digit {
  background: var(--sale-red);
  color: var(--white);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  min-width: 28px;
  text-align: center;
}

/* --- Button Hover Glow (micro-dopamine on interaction) --- */
.neuro-glow-btn {
  position: relative;
  transition: var(--transition);
}
.neuro-glow-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}
.neuro-glow-btn:hover::after {
  opacity: 0.5;
}

/* --- Smooth hover on ALL interactive elements (satisfying motion) --- */
button, a, .btn, input[type="submit"],
.product-card, .category-card, .blog-card,
[role="button"] {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Skeleton loading animation (reduces perceived wait time) --- */
@keyframes neuroSkeleton {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.neuro-skeleton {
  background: linear-gradient(90deg,
    var(--border-light) 25%,
    #f0f0f0 37%,
    var(--border-light) 63%
  );
  background-size: 200% 100%;
  animation: neuroSkeleton 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

/* --- Payment Method Badges (footer trust) --- */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.payment-badge i {
  font-size: 1rem;
  color: var(--gold);
  filter: drop-shadow(0 0 3px rgba(245,158,11,0.25));
}
.payment-badge:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* --- Newsletter CTA High-Contrast Button --- */
.neuro-cta-newsletter {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}
.neuro-cta-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.45);
}
.neuro-cta-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.neuro-cta-newsletter:hover::before {
  left: 100%;
}

/* =============================================================
   SHARE BUTTONS — Global Reusable Component
   ============================================================= */
/* Inline share row (for modals, detail views) */
.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-row-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 5px;
}
.share-row-label i { color: var(--accent-buy); }
.share-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.share-btn-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.share-btn-icon.sh-fb { background: #1877f2; color: #fff; }
.share-btn-icon.sh-wa { background: #25d366; color: #fff; }
.share-btn-icon.sh-copy { background: var(--gray-100); color: var(--gray-700); }
.share-btn-icon.sh-copy:hover { background: var(--gray-200); }
.share-btn-icon.sh-copy.copied { background: var(--success); color: #fff; }

/* Card overlay share buttons (positioned on card hover) */
.card-share-strip {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 5;
}
.product-card:hover .card-share-strip,
.service-card:hover .card-share-strip,
.article-card:hover .card-share-strip {
  opacity: 1;
  transform: translateY(0);
}
.card-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}
.card-share-btn:hover { transform: scale(1.15); }
.card-share-btn.sh-fb { background: #1877f2; color: #fff; }
.card-share-btn.sh-wa { background: #25d366; color: #fff; }
.card-share-btn.sh-copy { background: #fff; color: var(--gray-700); }
.card-share-btn.sh-copy.copied { background: var(--success); color: #fff; }

/* Toast notification for copy */
.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
