/*
Theme Name: Saleh Minerals
Theme URI: https://salehminerals.com
Author: Saleh Minerals
Author URI: https://salehminerals.com
Description: A premium custom WooCommerce theme for Saleh Minerals — fine mineral specimens, gemstones, and collector pieces.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saleh-minerals
Tags: e-commerce, woocommerce, custom-logo, custom-menu
*/

/* ============================================
   DESIGN SYSTEM — Custom Properties
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors — Palette */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-red: #C62828;
  --color-red-hover: #B71C1C;
  --color-red-light: #EF5350;
  --color-gold: #D4A855;
  --color-gold-light: #F0D68A;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #EEEEEE;
  --color-gray-300: #E0E0E0;
  --color-gray-400: #BDBDBD;
  --color-gray-500: #9E9E9E;
  --color-gray-600: #757575;
  --color-gray-700: #616161;
  --color-gray-800: #424242;
  --color-gray-900: #212121;
  --color-dark: #0A0A0A;
  --color-dark-card: #141414;
  --color-dark-card-hover: #1A1A1A;
  --color-overlay: rgba(0, 0, 0, 0.6);

  /* Semantic — Light Mode (Default) */
  --bg-body: #FAFAF7;
  --bg-section: #FFFFFF;
  --bg-section-alt: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5F5;
  --bg-input: #FFFFFF;
  --text-heading: #212121;
  --text-body: #424242;
  --text-muted: #757575;
  --text-faint: #9E9E9E;
  --border-color: #EEEEEE;
  --border-strong: #E0E0E0;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1320px;
  --container-padding: 1.5rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.3);
  --shadow-glow-red: 0 0 20px rgba(198, 40, 40, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(212, 168, 85, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   DARK MODE — Grayish Tones
   ============================================ */
[data-theme="dark"] {
  --bg-body: #121220;
  --bg-section: #181830;
  --bg-section-alt: #14142a;
  --bg-card: #1e1e38;
  --bg-card-hover: #262650;
  --bg-input: #1a1a34;
  --text-heading: #e8e8f0;
  --text-body: #b8b8d0;
  --text-muted: #8888a8;
  --text-faint: #686888;
  --border-color: #2a2a48;
  --border-strong: #3a3a58;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
  --color-dark-card: #1a1a34;
  --color-dark-card-hover: #222244;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-body);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  color: var(--text-heading);
  margin-bottom: var(--space-12);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-red);
  margin: var(--space-4) auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-red {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-red:hover {
  background: var(--color-red-hover);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-2px);
}

.btn-black {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-black:hover {
  background: var(--color-gray-900);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--text-heading);
}

.btn-gold:hover {
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-2px);
}

.view-all-btn {
  display: block;
  margin: var(--space-10) auto 0;
  width: fit-content;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--bg-section);
  color: var(--text-body);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .top-bar {
  background: var(--color-black);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.top-bar a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--text-heading);
}

[data-theme="dark"] .top-bar a:hover {
  color: var(--color-white);
}

.top-bar-divider {
  width: 1px;
  height: 12px;
  background: var(--border-color);
}

[data-theme="dark"] .top-bar-divider {
  background: var(--color-gray-700);
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
  background: var(--bg-section);
  padding: var(--space-5) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .main-header {
  background: var(--color-black);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

[data-theme="dark"] .logo-text {
  color: var(--color-white);
}

.logo-text span {
  color: var(--color-red);
}

/* Search */
.header-search {
  flex: 1;
  max-width: 550px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition-fast), background 0.3s ease;
}

[data-theme="dark"] .search-form {
  background: var(--color-gray-900);
  border-color: var(--color-gray-700);
}

.search-form:focus-within {
  border-color: var(--color-red);
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2);
}

.search-form input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: var(--text-sm);
  outline: none;
}

[data-theme="dark"] .search-form input {
  color: var(--color-white);
}

.search-form input::placeholder {
  color: var(--text-faint);
}

.search-form button {
  padding: var(--space-3) var(--space-5);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.search-form button:hover {
  color: var(--color-red);
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.header-icon {
  position: relative;
  color: var(--text-heading);
  transition: color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

[data-theme="dark"] .header-icon {
  color: var(--color-white);
}

.header-icon:hover {
  color: var(--color-red);
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

.header-icon-label {
  font-size: 10px;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  color: var(--text-heading);
  padding: var(--space-2);
}

[data-theme="dark"] .mobile-menu-toggle {
  color: var(--color-white);
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

[data-theme="dark"] .main-nav {
  background: var(--color-dark);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.main-nav .container {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Browse Categories */
.browse-categories {
  position: relative;
}

.browse-categories-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.browse-categories-btn:hover {
  background: var(--color-red-hover);
}

.browse-categories-btn svg {
  width: 18px;
  height: 18px;
}

.categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--bg-section);
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.browse-categories.active .categories-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categories-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  color: var(--text-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--color-gray-100);
}

.categories-dropdown a:hover {
  background: var(--bg-section-alt);
  color: var(--color-red);
  padding-left: var(--space-6);
}

.categories-dropdown a:last-child {
  border-bottom: none;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-menu a {
  display: block;
  padding: var(--space-4) var(--space-5);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-heading);
}

[data-theme="dark"] .nav-menu a {
  color: var(--color-gray-300);
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu a.active {
  color: var(--color-white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 70%;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: var(--bg-body);
  transition: background 0.3s ease;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-body);
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

[data-theme="dark"] .hero-slide-bg {
  filter: brightness(0.6);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 40%, transparent 100%);
  transition: background 0.3s ease;
}

[data-theme="dark"] .hero-slide-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-left: var(--space-16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-red);
  color: var(--color-white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(198, 40, 40, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--text-heading);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

[data-theme="dark"] .hero-title {
  color: var(--color-white);
}

.hero-title span {
  color: var(--color-red);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-weight: 400;
  transition: color 0.3s ease;
}

[data-theme="dark"] .hero-subtitle {
  color: var(--color-gray-300);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero-cta .btn {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

/* Slider Controls */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

[data-theme="dark"] .hero-dot {
  background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
  background: var(--color-red);
  border-color: var(--text-heading);
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ============================================
   VAULT GALLERY
   ============================================ */
.vault-section {
  padding: var(--space-20) 0;
  background: var(--bg-section);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

.vault-card {
  background: var(--color-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
}

.vault-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.vault-card-image {
  position: relative;
  padding-top: 120%;
  overflow: hidden;
}

.vault-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vault-card:hover .vault-card-image img {
  transform: scale(1.08);
}

.vault-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.vault-card:hover .vault-card-overlay {
  opacity: 1;
}

.vault-card-actions {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}

.vault-card:hover .vault-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.vault-card-action {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.vault-card-action:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.vault-card-action svg {
  width: 16px;
  height: 16px;
}

.vault-card-info {
  padding: var(--space-4) var(--space-4) var(--space-5);
}

.vault-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vault-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 1px;
}

/* ============================================
   NEW ARRIVALS
   ============================================ */
.arrivals-section {
  padding: var(--space-20) 0;
  background: var(--bg-section-alt);
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

.arrival-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.arrival-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.arrival-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-red);
  color: var(--color-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.arrival-card-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--bg-section-alt);
}

.arrival-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.arrival-card:hover .arrival-card-image img {
  transform: scale(1.06);
}

.arrival-card-actions {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 20;
  /* Ensure this sits above the card link overlay */
}

.arrival-card:hover .arrival-card-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.arrival-card-info {
  padding: var(--space-4);
}

.arrival-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arrival-card-title a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.arrival-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
}

.arrival-card-price .original-price {
  text-decoration: line-through;
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  margin-left: var(--space-2);
}

/* ============================================
   FEATURED CATEGORIES
   ============================================ */
.categories-section {
  padding: var(--space-20) 0;
  background: var(--bg-section);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-8) var(--space-6);
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: transform var(--transition-base);
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gray-200);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.category-item:hover .category-icon {
  border-color: var(--color-red);
  box-shadow: var(--shadow-md);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.category-item:hover .category-icon img {
  transform: scale(1.15);
}

.category-name {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-heading);
  text-align: center;
  transition: color var(--transition-fast);
}

.category-item:hover .category-name {
  color: var(--color-red);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: var(--space-20) 0;
  background: var(--bg-section-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-quote-icon {
  font-size: 48px;
  color: var(--color-red);
  opacity: 0.15;
  position: absolute;
  top: var(--space-4);
  left: var(--space-5);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #F9A825;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  overflow: hidden;
  border: 3px solid var(--color-gray-200);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-author {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   AUCTION BANNER
   ============================================ */
.auction-section {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-black) 0%, #1a1a2e 50%, var(--color-black) 100%);
  position: relative;
  overflow: hidden;
}

.auction-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212, 168, 85, 0.08) 0%, transparent 50%);
  animation: auctionGlow 8s ease-in-out infinite;
}

@keyframes auctionGlow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5%, 5%);
  }
}

.auction-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.auction-text {
  max-width: 600px;
}

.auction-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.auction-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.auction-title span {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auction-desc {
  color: var(--color-gray-400);
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.auction-cta {
  display: flex;
  gap: var(--space-4);
}

/* ============================================
   EXHIBITIONS
   ============================================ */
.exhibitions-section {
  padding: var(--space-20) 0;
  background: var(--bg-section);
}

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.exhibition-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.exhibition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.exhibition-card:hover img {
  transform: scale(1.1);
}

.exhibition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  transition: background var(--transition-base);
}

.exhibition-card:hover .exhibition-overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.9) 100%);
}

.exhibition-date {
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.exhibition-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: var(--space-12) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  flex: 1 1 180px;
  max-width: 220px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  background: var(--color-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-black);
  color: var(--color-gray-400);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: var(--space-2);
}

.footer-about-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* Subscribe */
.footer-subscribe-text {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.footer-subscribe-form {
  display: flex;
  gap: var(--space-2);
}

.footer-subscribe-form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-subscribe-form input:focus {
  border-color: var(--color-red);
}

.footer-subscribe-form input::placeholder {
  color: var(--text-faint);
}

.footer-subscribe-form button {
  padding: var(--space-3) var(--space-5);
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: background var(--transition-fast);
}

.footer-subscribe-form button:hover {
  background: var(--color-red-hover);
}

/* Footer contact */
.footer-contact {
  margin-top: var(--space-5);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-red);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  margin-top: var(--space-6);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-payments svg,
.footer-payments img {
  height: 24px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer-payments svg:hover,
.footer-payments img:hover {
  opacity: 1;
}

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--color-black);
  z-index: 9999;
  transition: left var(--transition-slow);
  overflow-y: auto;
  padding: var(--space-6);
}

.mobile-menu-drawer.active {
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--color-white);
  padding: var(--space-2);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-links {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-links a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-gray-300);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  padding-left: var(--space-6);
}

.mobile-nav-links .theme-toggle {
  margin: var(--space-6) var(--space-4) var(--space-4);
  width: calc(100% - var(--space-8));
  justify-content: center;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: var(--radius-base);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-4) var(--space-1);
  color: var(--text-heading);
}

.woocommerce ul.products li.product .price {
  padding: 0 var(--space-4) var(--space-3);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
}

.woocommerce ul.products li.product .button {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--text-xs);
  margin: 0 var(--space-4) var(--space-4);
  transition: all var(--transition-fast);
}

.woocommerce ul.products li.product .button:hover {
  background: var(--color-red);
}

/* Single product */
.woocommerce div.product div.images {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-heading);
}

.woocommerce div.product p.price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-heading);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-8);
  transition: all var(--transition-fast);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--color-red);
  color: var(--color-white);
}

/* WooCommerce notices */
.woocommerce-message {
  border-top-color: var(--color-red) !important;
}

.woocommerce-message::before {
  color: var(--color-red) !important;
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {

  .vault-grid,
  .arrivals-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .hero-title {
    font-size: var(--text-4xl);
  }

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

  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .top-bar {
    display: none;
  }

  .main-header .container {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .header-search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .hero-section {
    height: 520px;
  }

  .hero-content {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .vault-grid,
  .arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .category-icon {
    width: 75px;
    height: 75px;
  }

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

  .exhibitions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .exhibition-card {
    height: 200px;
  }

  .trust-items {
    gap: var(--space-4);
  }

  .trust-item {
    flex: 1 1 40%;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .auction-content {
    flex-direction: column;
    text-align: center;
  }

  .auction-title {
    font-size: var(--text-2xl);
  }

  .auction-cta {
    justify-content: center;
  }

  .section-title {
    font-size: var(--text-xl);
    letter-spacing: 2px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-3) !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-section {
    height: 480px;
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .category-icon {
    width: 65px;
    height: 65px;
  }

  .auction-title {
    font-size: var(--text-xl);
  }

  .hero-cta .btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */

/* Breadcrumbs */
.sm-breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}

.sm-breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.sm-breadcrumbs a:hover {
  color: var(--color-red);
}

.sm-breadcrumb-sep {
  color: var(--color-gray-400);
  margin: 0 var(--space-1);
}

.sm-breadcrumb-current {
  color: var(--text-heading);
  font-weight: 500;
}

/* Product Title Mobile */
.sm-product-title-mobile {
  display: none;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-5);
}

/* Product Layout */
.sm-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

/* Gallery */
.sm-product-gallery {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  align-items: flex-start;
}

.sm-gallery-main {
  position: relative;
  background: var(--color-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.sm-gallery-main-image {
  width: 100%;
  padding-top: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-dark-card);
  cursor: zoom-in;
  transition: background-image var(--transition-base);
}

.sm-gallery-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-card);
}

.sm-gallery-zoom {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.sm-gallery-zoom:hover {
  background: var(--bg-section);
  transform: scale(1.1);
}

/* Gallery Thumbnails */
.sm-gallery-thumbs-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  order: -1;
  width: 80px;
  flex-shrink: 0;
  align-items: center;
}

.sm-thumb-nav {
  width: 100%;
  height: 24px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sm-thumb-nav:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.sm-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-height: 356px;
  /* 4 thumbs (80*4) + 3 gaps (12*3) */
  overflow-y: hidden;
  scroll-behavior: smooth;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sm-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.sm-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-section-alt);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.sm-gallery-thumb.active {
  border-color: var(--color-red);
}

.sm-gallery-thumb:hover {
  border-color: var(--color-gray-400);
}

/* Product Info */
.sm-product-info {
  padding-top: var(--space-2);
}

.sm-product-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: var(--space-5);
}

.sm-product-price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #2e7d32;
  margin-bottom: var(--space-5);
}

.sm-product-price del {
  color: var(--color-gray-400);
  font-size: var(--text-xl);
  margin-right: var(--space-2);
}

.sm-product-price ins {
  text-decoration: none;
}

.sm-por {
  color: var(--color-red);
  font-size: var(--text-xl);
}

/* Short Description */
.sm-product-short-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

/* Specifications Table */
.sm-specs-table {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.sm-specs-heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
  color: var(--text-heading);
}

.sm-specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.sm-specs-table tr {
  border-bottom: 1px solid var(--color-gray-100);
}

.sm-specs-table tr:last-child {
  border-bottom: none;
}

.sm-specs-table td {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
}

.sm-spec-label {
  color: var(--text-faint);
  font-weight: 600;
  width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--text-xs) !important;
}

.sm-spec-value {
  color: var(--text-heading);
  font-weight: 500;
}

/* Action Buttons */
.sm-product-actions {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.sm-product-actions .cart {
  display: none;
  /* Hide default WC cart form, we use custom buttons */
}

.sm-action-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.sm-btn-buy,
.sm-btn-inquiry {
  flex: 1;
  min-width: 160px;
  padding: var(--space-4) var(--space-6) !important;
  font-size: var(--text-sm) !important;
  justify-content: center;
}

/* Product Meta */
.sm-product-meta {
  margin-bottom: var(--space-5);
}

.sm-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.sm-meta-label {
  color: var(--text-faint);
  font-weight: 600;
}

.sm-meta-row a {
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.sm-meta-row a:hover {
  color: var(--color-red);
}

/* Share Links */
.sm-share-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sm-share-links a,
.sm-share-links button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-section-alt);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.sm-share-links a:hover,
.sm-share-links button:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.sm-copy-link {
  cursor: pointer;
}

/* Stock Status */
.sm-stock-status {
  margin-bottom: var(--space-6);
}

.sm-in-stock {
  color: #2e7d32;
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.sm-out-of-stock {
  color: var(--color-red);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Sticky Product Bar */
.sm-sticky-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  background: var(--bg-section);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
  transition: bottom var(--transition-slow);
  border-top: 1px solid var(--border-color);
}

.sm-sticky-bar.visible {
  bottom: 0;
}

.sm-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  gap: var(--space-6);
}

.sm-sticky-info {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex: 1;
  min-width: 0;
}

.sm-sticky-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.sm-sticky-price {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: #2e7d32;
  white-space: nowrap;
}

.sm-sticky-stock {
  font-size: var(--text-xs);
  white-space: nowrap;
}

.sm-sticky-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-sm {
  padding: var(--space-2) var(--space-5) !important;
  font-size: var(--text-xs) !important;
}

.sm-sticky-wishlist {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sm-sticky-wishlist:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

/* Description Tabs */
.sm-product-description {
  margin-bottom: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
}

.sm-desc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: var(--space-8);
}

.sm-desc-tab {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  background: none;
}

.sm-desc-tab.active {
  color: var(--text-heading);
  border-bottom-color: var(--color-red);
}

.sm-desc-tab:hover {
  color: var(--text-heading);
}

.sm-desc-content {
  display: none;
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.8;
}

.sm-desc-content.active {
  display: block;
}

.sm-desc-content p {
  margin-bottom: var(--space-5);
}

.sm-desc-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

/* Related Products */
.sm-related-products {
  margin-bottom: var(--space-16);
}

/* Image Lightbox */
.sm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: zoom-out;
}

.sm-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.sm-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.sm-lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.sm-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   BLOG ARCHIVE & SINGLE POST
   ============================================ */

/* Blog Archive */
.sm-blog-archive {
  background: var(--bg-body);
}

.sm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.sm-blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.sm-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.sm-blog-card-image {
  position: relative;
  padding-top: 60%;
  background: var(--bg-section-alt);
  overflow: hidden;
}

.sm-blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sm-blog-card:hover .sm-blog-card-image img {
  transform: scale(1.05);
}

.sm-blog-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-blog-card-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-blog-meta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-theme="dark"] .sm-blog-meta {
  color: var(--color-gray-400);
}

.sm-meta-sep {
  margin: 0 var(--space-2);
}

.sm-blog-category {
  color: var(--color-red);
  font-weight: 600;
}

.sm-blog-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

.sm-blog-card-title a {
  color: var(--text-heading);
}

.sm-blog-card-title a:hover {
  color: var(--color-red);
}

.sm-blog-excerpt {
  color: var(--text-body);
  font-size: var(--text-md);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex: 1;
}

.sm-blog-read-more {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.sm-blog-read-more:hover {
  color: var(--color-black);
}

[data-theme="dark"] .sm-blog-read-more:hover {
  color: var(--color-white);
}

/* Pagination */
.sm-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.sm-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.sm-pagination .page-numbers:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.sm-pagination .page-numbers.current {
  background: var(--color-red);
  color: var(--color-white);
}

.sm-pagination .prev,
.sm-pagination .next {
  width: auto;
  padding: 0 var(--space-4);
}

.sm-no-posts {
  text-align: center;
  padding: var(--space-20) 0;
  color: var(--text-muted);
}

/* Single Post */
.sm-single-post {
  background: var(--bg-body);
}

.sm-post-header {
  position: relative;
  margin-bottom: var(--space-12);
}

.sm-post-header.has-bg {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sm-post-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sm-post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.sm-post-header-content {
  position: relative;
  z-index: 2;
  padding: var(--space-24) 0 var(--space-12) 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.sm-post-header-content.has-bg {
  padding: var(--space-12) 0 var(--space-12) 0;
}

.sm-post-header-content.has-bg .sm-post-title,
.sm-post-header-content.has-bg .sm-post-meta,
.sm-post-header-content.has-bg .sm-post-meta a {
  color: var(--color-white) !important;
}

.sm-post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}

.sm-post-meta {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.sm-post-meta a {
  color: var(--color-red);
  font-weight: 600;
}

.sm-post-body {
  max-width: 800px;
  margin: 0 auto;
}

.sm-post-content {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: var(--space-12);
}

.sm-post-content h2,
.sm-post-content h3,
.sm-post-content h4 {
  color: var(--text-heading);
  font-family: var(--font-heading);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.sm-post-content h2 {
  font-size: 2rem;
}

.sm-post-content h3 {
  font-size: 1.5rem;
}

.sm-post-content p {
  margin-bottom: var(--space-6);
}

.sm-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.sm-post-content blockquote {
  border-left: 4px solid var(--color-red);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--bg-section-alt);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-heading);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.sm-post-content ul,
.sm-post-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.sm-post-content li {
  margin-bottom: var(--space-2);
}

.sm-post-footer {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-8);
  margin-bottom: var(--space-12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.sm-tags-links {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.sm-tags-links a {
  color: var(--text-heading);
  background: var(--bg-section-alt);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
  transition: all var(--transition-fast);
}

.sm-tags-links a:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.sm-post-share {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.sm-post-share a {
  color: var(--text-heading);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.sm-post-share a:hover {
  color: var(--color-red);
}

.sm-post-navigation {
  background: var(--bg-section-alt);
  padding: var(--space-12) 0;
}

.sm-nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.sm-nav-prev,
.sm-nav-next {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-nav-next {
  text-align: right;
  align-items: flex-end;
}

.sm-nav-subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.sm-nav-prev a,
.sm-nav-next a {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.sm-nav-prev a:hover,
.sm-nav-next a:hover {
  color: var(--color-red);
}

/* ============================================
   STANDARD PAGES & ABOUT US
   ============================================ */

/* Default Page */
.sm-default-page {
  background: var(--bg-body);
}

.sm-page-header {
  padding: 120px 0 60px 0;
  background: var(--bg-section-alt);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-12);
}

.sm-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-heading);
  line-height: 1.1;
}

.sm-page-body {
  max-width: 800px;
  margin: 0 auto;
}

.sm-page-content {
  margin-bottom: var(--space-20);
}

/* About Us Custom Page */
.sm-about-page {
  background: var(--bg-body);
}

.sm-about-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.sm-about-section {
  padding: 120px 0;
}

.sm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.sm-about-grid.reverse .sm-about-content {
  order: 2;
}

.sm-about-grid.reverse .sm-about-image {
  order: 1;
}

.sm-about-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-heading);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.sm-about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sm-about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sm-about-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  border: 1px dashed var(--border-color);
}

/* ============================================
   SINGLE PRODUCT — RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .sm-product-layout {
    gap: var(--space-8);
  }

  .sm-sticky-title {
    max-width: 250px;
  }
}

@media (max-width: 768px) {

  /* Blog Responsive */
  .sm-blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .sm-post-header-content {
    padding: var(--space-12) 0 var(--space-8) 0;
  }

  .sm-post-header.has-bg {
    min-height: 350px;
  }

  .sm-post-header-content.has-bg {
    padding: var(--space-8) 0;
  }

  .sm-post-title {
    font-size: 2.5rem;
  }

  /* .sm-post-hero-img height is inherited as 100% from desktop now */

  .sm-nav-links {
    flex-direction: column;
    gap: var(--space-8);
  }

  .sm-nav-prev,
  .sm-nav-next {
    align-items: flex-start;
    text-align: left;
  }

  /* Standard/About Pages Responsive */
  .sm-page-header {
    padding: 80px 0 40px 0;
  }

  .sm-about-section {
    padding: 80px 0;
  }

  .sm-about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .sm-about-grid.reverse .sm-about-content {
    order: 1;
    /* Reset order on mobile */
  }

  .sm-about-grid.reverse .sm-about-image {
    order: 2;
    /* Reset order on mobile */
  }

  .sm-product-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .sm-product-gallery {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .sm-gallery-main {
    margin-bottom: var(--space-4);
    flex: none;
    width: 100%;
  }

  .sm-gallery-thumbs-wrapper {
    flex-direction: row;
    order: 0;
    width: 100%;
    align-items: center;
    gap: var(--space-3);
  }

  .sm-gallery-thumbs {
    flex-direction: row;
    max-height: none;
    width: auto;
    flex: 1;
    overflow-y: hidden;
    overflow-x: hidden;
    padding-bottom: var(--space-2);
  }

  .sm-thumb-nav {
    width: 24px;
    height: 80px;
    flex-shrink: 0;
  }

  .sm-thumb-prev svg {
    transform: rotate(-90deg);
  }

  .sm-thumb-next svg {
    transform: rotate(-90deg);
  }

  .sm-product-title {
    display: none;
  }

  .sm-product-title-mobile {
    display: block;
  }

  .sm-sticky-info {
    display: none;
  }

  .sm-sticky-content {
    justify-content: center;
  }

  .sm-related-products .arrivals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .sm-action-buttons {
    flex-direction: column;
  }

  .sm-btn-buy,
  .sm-btn-inquiry {
    width: 100%;
  }

  .sm-gallery-thumb {
    width: 60px;
    height: 60px;
  }
}

/* ============================================
   WOOCOMMERCE — CART PAGE (Classic)
   ============================================ */

.woocommerce-cart .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: flex-start;
}

.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper {
  flex: 0 0 100%;
}

.woocommerce-cart .woocommerce-cart-form {
  flex: 1;
  min-width: 0;
}

.woocommerce-cart .cart-collaterals {
  flex: 0 0 340px;
  position: sticky;
  top: 100px;
}

/* Cart Table */
.woocommerce-cart table.shop_table {
  border-collapse: collapse;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.woocommerce-cart table.shop_table thead {
  background: var(--bg-section-alt);
}

.woocommerce-cart table.shop_table thead th {
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
  text-align: left;
}

.woocommerce-cart table.shop_table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.woocommerce-cart table.shop_table tbody tr:last-child {
  border-bottom: none;
}

.woocommerce-cart table.shop_table tbody tr:hover {
  background: var(--bg-card-hover);
}

.woocommerce-cart table.shop_table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  color: var(--text-body);
}

/* Remove button */
.woocommerce-cart table.shop_table td.product-remove {
  width: 40px;
  text-align: center;
}

.woocommerce-cart table.shop_table td.product-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-section-alt);
  color: var(--text-muted) !important;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.woocommerce-cart table.shop_table td.product-remove .remove:hover {
  background: var(--color-red);
  color: #fff !important;
  border-color: var(--color-red);
}

/* Product thumbnail */
.woocommerce-cart table.shop_table td.product-thumbnail {
  width: 90px;
  padding: 12px;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-section-alt);
  display: block;
}

/* Product name */
.woocommerce-cart table.shop_table td.product-name {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 15px;
}

.woocommerce-cart table.shop_table td.product-name a {
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.15s ease;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
  color: var(--color-red);
}

/* Price */
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 15px;
  white-space: nowrap;
}

/* Quantity */
.woocommerce-cart table.shop_table td.product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-section);
}

.woocommerce-cart table.shop_table td.product-quantity .quantity input[type="number"] {
  width: 52px;
  height: 38px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
}

.woocommerce-cart table.shop_table td.product-quantity .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce-cart table.shop_table td.product-quantity .quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Actions row */
.woocommerce-cart table.shop_table td.actions {
  padding: 16px 20px;
  background: var(--bg-section-alt);
  border-top: 2px solid var(--border-color);
}

.woocommerce-cart table.shop_table td.actions .coupon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-cart table.shop_table td.actions .coupon input.input-text {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg-section);
  color: var(--text-heading);
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 180px;
}

.woocommerce-cart table.shop_table td.actions .coupon input.input-text:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.woocommerce-cart table.shop_table td.actions .coupon input.input-text::placeholder {
  color: var(--text-faint);
}

.woocommerce-cart table.shop_table td.actions .coupon .button,
.woocommerce-cart table.shop_table td.actions button[name="update_cart"] {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.woocommerce-cart table.shop_table td.actions .coupon .button {
  background: var(--color-red);
  color: #fff;
}

.woocommerce-cart table.shop_table td.actions .coupon .button:hover {
  background: var(--color-red-hover);
}

.woocommerce-cart table.shop_table td.actions button[name="update_cart"] {
  background: var(--bg-section);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  float: right;
}

.woocommerce-cart table.shop_table td.actions button[name="update_cart"]:hover {
  background: var(--bg-section-alt);
  border-color: var(--text-muted);
}

.woocommerce-cart table.shop_table td.actions button[name="update_cart"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Cart Totals Box */
.woocommerce-cart .cart_totals {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.woocommerce-cart .cart_totals h2 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-heading);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-red);
}

.woocommerce-cart .cart_totals table.shop_table {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.woocommerce-cart .cart_totals table.shop_table tr {
  border-bottom: 1px solid var(--border-color);
}

.woocommerce-cart .cart_totals table.shop_table tr:last-child {
  border-bottom: none;
}

.woocommerce-cart .cart_totals table.shop_table th {
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-align: left;
  border: none;
  background: transparent;
  vertical-align: top;
}

.woocommerce-cart .cart_totals table.shop_table td {
  padding: 14px 0;
  text-align: right;
  font-size: 14px;
  color: var(--text-heading);
  border: none;
  vertical-align: top;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  padding-top: 18px;
  border-top: 2px solid var(--border-color);
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td .woocommerce-Price-amount {
  color: var(--color-red);
}

/* Proceed to Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--color-red);
  color: #fff !important;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.3);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

/* Empty cart */
.woocommerce-cart .cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 18px;
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  padding-bottom: 40px;
}

.woocommerce-cart .return-to-shop a {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-red);
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-cart .return-to-shop a:hover {
  background: var(--color-red-hover);
  transform: translateY(-2px);
}

/* Cart Notices */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-heading);
  background: var(--bg-section-alt);
  border-left: 4px solid var(--color-red);
}

/* Responsive cart */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce {
    flex-direction: column;
    padding: 20px 16px;
  }

  .woocommerce-cart .cart-collaterals {
    flex: 0 0 100%;
    position: static;
  }

  .woocommerce-cart table.shop_table thead {
    display: none;
  }

  .woocommerce-cart table.shop_table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px;
    gap: 10px;
    position: relative;
  }

  .woocommerce-cart table.shop_table tbody td {
    padding: 6px;
    border: none;
  }

  .woocommerce-cart table.shop_table td.product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail {
    width: 70px;
    padding: 0;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 70px;
    height: 70px;
  }

  .woocommerce-cart table.shop_table td.product-name {
    flex: 1;
    min-width: 140px;
  }

  .woocommerce-cart table.shop_table td.actions .coupon {
    flex-direction: column;
    width: 100%;
  }

  .woocommerce-cart table.shop_table td.actions .coupon input.input-text {
    min-width: 0;
    width: 100%;
  }

  .woocommerce-cart table.shop_table td.actions button[name="update_cart"] {
    float: none;
    width: 100%;
    margin-top: 10px;
  }
}

/* ============================================
   WOOCOMMERCE — BLOCK-BASED CART
   ============================================ */

.wp-block-woocommerce-cart {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header row */
.wc-block-cart .wc-block-cart-items th {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 14px 20px;
  border-bottom: 2px solid var(--border-color);
  background: var(--bg-section-alt);
}

/* Cart row */
.wc-block-cart .wc-block-cart-items__row {
  border-bottom: 1px solid var(--border-color);
}

.wc-block-cart .wc-block-cart-items__row:hover {
  background: var(--bg-card-hover);
}

.wc-block-cart .wc-block-cart-items__row td {
  padding: 18px 20px !important;
  vertical-align: middle;
}

/* Product image */
.wc-block-cart .wc-block-cart-item__image img,
.wc-block-cart .wc-block-components-product-image img {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

/* Product name */
.wc-block-cart .wc-block-components-product-name,
.wc-block-cart .wc-block-cart-item__product a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-heading) !important;
  text-decoration: none !important;
  font-size: 15px;
  transition: color 0.15s ease;
}

.wc-block-cart .wc-block-components-product-name:hover,
.wc-block-cart .wc-block-cart-item__product a:hover {
  color: var(--color-red) !important;
}

/* Price */
.wc-block-cart .wc-block-components-product-price,
.wc-block-cart .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  font-weight: 700;
  color: var(--text-heading);
}

/* Quantity selector */
.wc-block-cart .wc-block-components-quantity-selector {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  background: var(--bg-section);
}

.wc-block-cart .wc-block-components-quantity-selector input {
  background: transparent !important;
  color: var(--text-heading) !important;
  font-weight: 600;
}

.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  color: var(--text-muted);
  background: var(--bg-section-alt);
  border: none;
  transition: all 0.15s ease;
}

.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
  color: var(--color-red);
  background: var(--bg-section);
}

/* Remove link */
.wc-block-cart .wc-block-cart-item__remove-link,
.wc-block-cart a[href*="remove_item"] {
  color: var(--text-muted) !important;
  font-size: 12px;
  text-decoration: none !important;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 1px;
  transition: color 0.15s ease;
}

.wc-block-cart .wc-block-cart-item__remove-link:hover {
  color: var(--color-red) !important;
  border-bottom-color: var(--color-red);
}

/* Cart Totals sidebar */
.wc-block-cart .wc-block-cart__totals-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-heading);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-red);
}

.wc-block-cart .wc-block-components-totals-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.wc-block-cart .wc-block-components-totals-item:last-child {
  border-bottom: none;
}

.wc-block-cart .wc-block-components-totals-item__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.wc-block-cart .wc-block-components-totals-item__value {
  font-weight: 700;
  color: var(--text-heading);
}

/* Estimated total */
.wc-block-cart .wc-block-components-totals-footer-item {
  padding-top: 16px;
  margin-top: 10px;
  border-top: 2px solid var(--border-color);
}

.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
}

.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  font-size: 20px !important;
  font-weight: 800;
  color: var(--color-red) !important;
}

/* Coupon */
.wc-block-cart .wc-block-components-totals-coupon,
.wc-block-cart .wc-block-components-panel {
  border-color: var(--border-color) !important;
}

.wc-block-cart .wc-block-components-panel__button {
  color: var(--text-heading) !important;
  font-weight: 600;
}

/* Checkout button on block cart */
.wc-block-cart__submit-button,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
  display: block !important;
  width: 100% !important;
  padding: 16px 24px !important;
  background: var(--color-red) !important;
  color: #fff !important;
  text-align: center !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.3) !important;
  margin-top: 14px;
}

.wc-block-cart__submit-button:hover,
.wc-block-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: var(--color-red-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(198, 40, 40, 0.45) !important;
}

/* ============================================
   WOOCOMMERCE — CHECKOUT PAGE
   ============================================ */

.woocommerce-checkout .woocommerce,
.wp-block-woocommerce-checkout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section headings */
.woocommerce-checkout h3,
.wc-block-checkout h2,
.wc-block-checkout .wc-block-components-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-heading);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* Main checkout area card */
.wc-block-checkout__main {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px !important;
  border: 1px solid var(--border-color);
}

/* Sidebar */
.wc-block-checkout__sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px !important;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 90px;
}

/* ---- Form Fields (both classic and block) ---- */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="number"],
.wc-block-checkout textarea,
.wc-block-checkout select,
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-textarea textarea {
  background: var(--bg-section) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 14px !important;
  color: var(--text-heading) !important;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout .form-row input:focus,
.wc-block-checkout input:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
  outline: none !important;
}

/* Labels */
.woocommerce-checkout .form-row label,
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-checkout label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
}

.woocommerce-checkout #payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.woocommerce-checkout #payment .payment_methods li {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--bg-card);
  transition: border-color 0.2s ease;
}

.woocommerce-checkout #payment .payment_methods li:hover {
  border-color: var(--color-red);
}

.woocommerce-checkout #payment .payment_methods li label {
  color: var(--text-heading);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-checkout #payment .payment_methods li .payment_box {
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px 0 0 0;
  line-height: 1.6;
}

/* Block payment radio */
.wc-block-components-radio-control .wc-block-components-radio-control__option {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--bg-card);
  transition: border-color 0.2s ease;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option:hover,
.wc-block-components-radio-control .wc-block-components-radio-control__option--checked {
  border-color: var(--color-red);
}

.wc-block-components-radio-control .wc-block-components-radio-control__label {
  color: var(--text-heading);
  font-weight: 600;
}

.wc-block-components-radio-control .wc-block-components-radio-control__description {
  color: var(--text-muted);
  font-size: 12px;
}

/* Order summary items */
.wc-block-components-order-summary .wc-block-components-order-summary-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.wc-block-components-order-summary .wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

.wc-block-components-order-summary .wc-block-components-product-name {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 14px;
}

/* Checkout totals */
.wc-block-checkout .wc-block-components-totals-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.wc-block-checkout .wc-block-components-totals-item:last-child {
  border-bottom: none;
}

.wc-block-checkout .wc-block-components-totals-item__label {
  color: var(--text-muted);
  font-size: 13px;
}

.wc-block-checkout .wc-block-components-totals-item__value {
  color: var(--text-heading);
  font-weight: 700;
}

.wc-block-checkout .wc-block-components-totals-footer-item {
  border-top: 2px solid var(--border-color);
  padding-top: 14px;
  margin-top: 10px;
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-heading);
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  color: var(--color-red) !important;
  font-size: 20px !important;
  font-weight: 800;
}

/* In-stock badge */
.wc-block-components-product-badge {
  background: rgba(198, 40, 40, 0.1);
  color: var(--color-red);
  border: 1px solid rgba(198, 40, 40, 0.2);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
}

/* ---- PLACE ORDER BUTTON ---- */
/* Hide Return to Cart — users can use nav */
.wc-block-components-checkout-return-to-cart-button {
  display: none !important;
}

/* Place Order */
.woocommerce-checkout #place_order,
.wc-block-components-checkout-place-order-button {
  display: block !important;
  width: 100% !important;
  padding: 16px 32px !important;
  background: var(--color-red) !important;
  color: #fff !important;
  text-align: center !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35) !important;
  line-height: 1.5 !important;
  margin-top: 16px !important;
}

.woocommerce-checkout #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--color-red-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(198, 40, 40, 0.45) !important;
}

/* Terms */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.wc-block-checkout__terms {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.5;
}

.wc-block-checkout__terms a {
  color: var(--color-red);
  text-decoration: underline;
}

/* Checkout notices */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.wc-block-checkout .wc-block-components-notice-banner {
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg-section-alt);
  border-left: 4px solid var(--color-red);
  color: var(--text-heading);
}

/* ============================================
   DARK MODE OVERRIDES — CART & CHECKOUT
   ============================================ */

/* Cart table in dark mode */
[data-theme="dark"] .woocommerce-cart table.shop_table {
  background: #1e1e38;
  border-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-cart table.shop_table thead {
  background: #14142a;
}

[data-theme="dark"] .woocommerce-cart table.shop_table tbody tr {
  border-bottom-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-cart table.shop_table tbody tr:hover {
  background: #262650;
}

[data-theme="dark"] .woocommerce-cart table.shop_table td.actions {
  background: #14142a;
  border-top-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-cart table.shop_table td.actions .coupon input.input-text {
  background: #2a2a4a !important;
  border-color: #3a3a5a !important;
  color: #e8e8f0 !important;
}

[data-theme="dark"] .woocommerce-cart .cart_totals {
  background: #1e1e38;
  border-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-cart .cart_totals table.shop_table tr {
  border-bottom-color: #2a2a48;
}

/* Block cart dark mode */
[data-theme="dark"] .wc-block-cart .wc-block-cart-items th {
  background: #14142a;
  border-bottom-color: #2a2a48;
}

[data-theme="dark"] .wc-block-cart .wc-block-cart-items__row {
  border-bottom-color: #2a2a48;
}

[data-theme="dark"] .wc-block-cart .wc-block-components-quantity-selector {
  border-color: #3a3a5a !important;
  background: #1e1e38;
}

[data-theme="dark"] .wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  background: #2a2a4a;
  color: #8888a8;
}

[data-theme="dark"] .wc-block-cart .wc-block-components-totals-item {
  border-bottom-color: #2a2a48;
}

/* Checkout dark mode */
[data-theme="dark"] .wc-block-checkout__main {
  background: #1e1e38;
  border-color: #2a2a48;
}

[data-theme="dark"] .wc-block-checkout__sidebar {
  background: #1e1e38;
  border-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-checkout h3,
[data-theme="dark"] .wc-block-checkout h2,
[data-theme="dark"] .wc-block-checkout .wc-block-components-title {
  border-bottom-color: #2a2a48;
}

/* FORM FIELDS — clearly visible in dark mode */
[data-theme="dark"] .woocommerce-checkout .form-row input,
[data-theme="dark"] .woocommerce-checkout .form-row select,
[data-theme="dark"] .woocommerce-checkout .form-row textarea,
[data-theme="dark"] .wc-block-components-text-input input,
[data-theme="dark"] .wc-block-components-combobox input,
[data-theme="dark"] .wc-block-checkout input[type="text"],
[data-theme="dark"] .wc-block-checkout input[type="email"],
[data-theme="dark"] .wc-block-checkout input[type="tel"],
[data-theme="dark"] .wc-block-checkout input[type="number"],
[data-theme="dark"] .wc-block-checkout select,
[data-theme="dark"] .wc-block-checkout textarea {
  background: #2a2a4a !important;
  border-color: #3a3a5a !important;
  color: #e8e8f0 !important;
}

[data-theme="dark"] .wc-block-components-text-input input:focus,
[data-theme="dark"] .wc-block-components-combobox input:focus,
[data-theme="dark"] .wc-block-checkout input:focus {
  border-color: var(--color-red) !important;
  background: #32325a !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15) !important;
}

[data-theme="dark"] .wc-block-components-text-input label,
[data-theme="dark"] .wc-block-components-combobox label,
[data-theme="dark"] .wc-block-checkout label {
  color: #8888a8 !important;
}

/* Payment methods dark mode */
[data-theme="dark"] .woocommerce-checkout #payment {
  background: #14142a;
  border-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_methods li,
[data-theme="dark"] .wc-block-components-radio-control .wc-block-components-radio-control__option {
  background: #1e1e38;
  border-color: #2a2a48;
}

[data-theme="dark"] .woocommerce-checkout #payment .payment_methods li:hover,
[data-theme="dark"] .wc-block-components-radio-control .wc-block-components-radio-control__option:hover,
[data-theme="dark"] .wc-block-components-radio-control .wc-block-components-radio-control__option--checked {
  border-color: var(--color-red);
  background: rgba(198, 40, 40, 0.07);
}

/* Order review table */
[data-theme="dark"] .woocommerce-checkout-review-order-table th,
[data-theme="dark"] .woocommerce-checkout-review-order-table td {
  border-bottom-color: #2a2a48;
}

/* Order summary sidebar */
[data-theme="dark"] .wc-block-components-order-summary .wc-block-components-order-summary-item {
  border-bottom-color: #2a2a48;
}

/* Checkout totals */
[data-theme="dark"] .wc-block-checkout .wc-block-components-totals-item {
  border-bottom-color: #2a2a48;
}

[data-theme="dark"] .wc-block-checkout .wc-block-components-totals-footer-item {
  border-top-color: #3a3a5a;
}


/* Checkout styling reverted to default to fix regressions */

[data-theme="dark"] .wc-block-checkout .wc-block-components-radio-control__option:hover,
[data-theme="dark"] .wc-block-checkout .wc-block-components-radio-control__option--checked {
  border-color: var(--color-red) !important;
  background: rgba(198, 40, 40, 0.07) !important;
}

/* Checkout layout and alignment fixes (V4 - Non-Floating Reset) */
.wp-block-woocommerce-checkout.wc-block-checkout {
  max-width: 1320px !important;
  margin: 0 auto;
}

/* 1. Reset all field containers to behave as standard blocks with clear margins */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-select,
.wc-blocks-components-select {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}

/* 2. Force labels to sit ABOVE inputs as permanent blocks (Non-floating) */
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select-input label,
.wc-block-components-select label,
.wc-blocks-components-select__label {
  position: relative !important;
  /* Forces document flow */
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
  transform: none !important;
  /* Kill the WooCommerce float animation */
  top: 0 !important;
  left: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-heading) !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 3. Force inputs/selects to full width and consistent height */
.wc-block-components-text-input input,
.wc-block-components-combobox select,
.wc-block-components-combobox__input,
.wc-block-components-select-input select,
.wc-block-components-select__select,
.wc-blocks-components-select__select {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  height: 52px !important;
  min-height: 52px !important;
  background-color: var(--bg-body) !important;
  color: var(--text-heading) !important;
  transform: none !important;
}

/* 4. Checkbox and Radio - Standard flex spacing */
.wc-block-components-checkbox,
.wc-block-components-checkbox-control,
.wc-block-components-radio-control__option {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 !important;
}

.wc-block-components-checkbox label,
.wc-block-components-checkbox-control label {
  margin-bottom: 0 !important;
  width: auto !important;
  position: static !important;
  font-weight: 500 !important;
}

.wc-block-components-checkbox input,
.wc-block-components-checkbox-control__input,
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  position: static !important;
}

/* 5. Dark Mode Adjustments */
[data-theme="dark"] .wc-block-components-text-input input,
[data-theme="dark"] .wc-block-components-combobox .wc-block-components-combobox__input,
[data-theme="dark"] .wc-block-components-select__select,
[data-theme="dark"] .wc-blocks-components-select__select {
  background-color: #1a1a2e !important;
  border-color: #2d2d4d !important;
  color: #ffffff !important;
}

[data-theme="dark"] .wc-block-components-text-input label,
[data-theme="dark"] .wc-blocks-components-select__label {
  color: #a0a0c0 !important;
}

/* 6. Active States */
.wc-block-components-text-input:focus-within input,
.wc-blocks-components-select:focus-within select,
.wc-blocks-components-select:focus-within .wc-blocks-components-select__select {
  border-color: var(--color-red) !important;
  outline: none !important;
}

.wc-block-components-text-input:focus-within label,
.wc-blocks-components-select:focus-within label {
  color: var(--color-red) !important;
}


/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
button.theme-toggle {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: var(--text-xs);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  vertical-align: middle;
}

button.theme-toggle:hover {
  color: var(--text-heading);
}

[data-theme="dark"] button.theme-toggle:hover {
  color: var(--color-white);
}

button.theme-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Light mode: show sun, hide moon */
button.theme-toggle .icon-sun {
  display: inline-block !important;
}

button.theme-toggle .icon-moon {
  display: none !important;
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"] button.theme-toggle .icon-sun {
  display: none !important;
}

[data-theme="dark"] button.theme-toggle .icon-moon {
  display: inline-block !important;
}

button.theme-toggle:hover svg {
  transform: rotate(20deg);
}

/* Dark mode - Additional overrides */
[data-theme="dark"] .woocommerce-wrapper {
  background: var(--bg-body);
  color: var(--text-body);
}

[data-theme="dark"] .sm-product-info {
  color: var(--text-body);
}

[data-theme="dark"] .sm-product-title {
  color: var(--text-heading);
}

[data-theme="dark"] .sm-product-short-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .sm-specs-table table {
  background: var(--bg-card);
}

[data-theme="dark"] .sm-specs-table td {
  border-color: var(--border-color);
  color: var(--text-body);
}

[data-theme="dark"] .sm-specs-heading {
  color: var(--text-heading);
}

[data-theme="dark"] .sm-sticky-bar {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .sm-sticky-title {
  color: var(--text-heading);
}

[data-theme="dark"] .sm-desc-tabs {
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .sm-desc-tab {
  color: var(--text-muted);
}

[data-theme="dark"] .sm-desc-tab.active {
  color: var(--text-heading);
  border-color: var(--color-red);
}

[data-theme="dark"] .sm-desc-content {
  color: var(--text-body);
}

[data-theme="dark"] .sm-related-title {
  color: var(--text-heading);
}

[data-theme="dark"] .arrival-card-subtitle {
  color: var(--text-muted);
}

[data-theme="dark"] .vault-card-price-badge {
  color: var(--text-heading);
}

[data-theme="dark"] .category-count {
  color: var(--text-muted);
}

[data-theme="dark"] .testimonial-author-name {
  color: var(--text-heading);
}

[data-theme="dark"] .exhibition-info h3 {
  color: var(--text-heading);
}

[data-theme="dark"] .main-nav {
  background: #0d0d1a;
}

[data-theme="dark"] .categories-dropdown {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .categories-dropdown a:hover {
  background: var(--bg-card-hover);
}

/* ============================================
   WOOCOMMERCE BLOCKS — CHECKOUT PAGE
   ============================================ */

/* --- Page Layout & Container --- */
.wc-block-checkout .wp-block-woocommerce-checkout-fields-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border-color);
}

.wc-block-checkout .wp-block-woocommerce-checkout-totals-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border-color);
}

/* --- Section Headings --- */
.wc-block-checkout .wc-block-components-checkout-step__heading {
  font-family: var(--font-heading) !important;
  color: var(--text-heading) !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: var(--text-sm) !important;
  font-weight: 700 !important;
}

.wc-block-checkout .wc-block-components-checkout-step__description {
  color: var(--text-muted) !important;
  font-size: var(--text-sm) !important;
}

/* --- Text Input Fields --- */
/* Use flex column + order so label (which is AFTER input in DOM) appears ABOVE the input visually */
body .wc-block-components-text-input {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  margin-bottom: var(--space-4) !important;
}

/* Labels for text inputs — force to appear first via order */
body .wc-block-components-text-input label {
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  color: var(--text-muted) !important;
  font-size: var(--text-xs) !important;
  font-weight: 500 !important;
  margin-bottom: var(--space-1) !important;
  padding: 0 !important;
  pointer-events: auto !important;
  background: transparent !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px;
  order: -1 !important;
}

/* Input fields */
body .wc-block-components-text-input input[type="text"],
body .wc-block-components-text-input input[type="email"],
body .wc-block-components-text-input input[type="tel"],
body .wc-block-components-text-input input[type="number"],
body .wc-block-components-text-input input[type="password"],
body .wc-block-components-text-input input,
body .wc-block-components-text-input textarea {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-heading) !important;
  font-size: var(--text-sm) !important;
  font-family: var(--font-body) !important;
  height: 44px !important;
  line-height: 1.4 !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  order: 2 !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15) !important;
}

.wc-block-components-text-input input:hover:not(:focus),
.wc-block-components-text-input textarea:hover:not(:focus) {
  border-color: var(--border-strong) !important;
}

/* --- Select / Dropdown Fields --- */
.wc-blocks-components-select {
  position: relative !important;
  margin-bottom: var(--space-4) !important;
}

body .wc-blocks-components-select__container {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Select label — static above the dropdown, same style as text input labels */
body .wc-blocks-components-select__label {
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  font-size: var(--text-xs) !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  pointer-events: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: var(--space-1) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px;
  z-index: 1 !important;
  order: -1 !important;
}

/* The select element itself */
body .wc-blocks-components-select__select {
  width: 100% !important;
  padding: 0.75rem 2.5rem 0.75rem 1rem !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-heading) !important;
  font-size: var(--text-sm) !important;
  font-family: var(--font-body) !important;
  height: 44px !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  order: 2 !important;
}

.wc-blocks-components-select__select:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15) !important;
}

.wc-blocks-components-select__select:hover:not(:focus) {
  border-color: var(--border-strong) !important;
}

.wc-blocks-components-select__select option {
  background: var(--bg-card) !important;
  color: var(--text-heading) !important;
  padding: var(--space-2) !important;
}

/* Dropdown arrow icon */
.wc-blocks-components-select__expand {
  position: absolute !important;
  right: 0.75rem !important;
  bottom: 0.75rem !important;
  top: auto !important;
  width: 18px !important;
  height: 18px !important;
  pointer-events: none !important;
  fill: var(--text-muted) !important;
  order: 3 !important;
}

/* --- Checkbox Styling --- */
.wc-block-components-checkbox {
  margin-bottom: var(--space-4) !important;
}

.wc-block-components-checkbox>label {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-3) !important;
  cursor: pointer !important;
  color: var(--text-body) !important;
  font-size: var(--text-sm) !important;
  line-height: 1.4 !important;
}

.wc-block-components-checkbox__input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid var(--border-strong) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--bg-input) !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.wc-block-components-checkbox__input:checked {
  background: var(--color-red) !important;
  border-color: var(--color-red) !important;
}

.wc-block-components-checkbox__mark {
  position: absolute !important;
  width: 18px !important;
  height: 18px !important;
  pointer-events: none !important;
  fill: var(--color-white) !important;
}

.wc-block-components-checkbox__label {
  color: var(--text-body) !important;
  font-size: var(--text-sm) !important;
  text-transform: none !important;
  font-weight: 400 !important;
}

/* --- Radio Controls (Shipping Options & Payment) --- */
.wc-block-components-radio-control .wc-block-components-radio-control__option {
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-3) var(--space-4) !important;
  margin-bottom: var(--space-2) !important;
  transition: border-color var(--transition-fast) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option:hover {
  border-color: var(--border-strong) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
  border-color: var(--color-red) !important;
}

.wc-block-components-radio-control__input {
  accent-color: var(--color-red) !important;
}

.wc-block-components-radio-control__label {
  color: var(--text-body) !important;
  font-size: var(--text-sm) !important;
}

.wc-block-components-radio-control__description {
  color: var(--text-muted) !important;
  font-size: var(--text-xs) !important;
}

.wc-block-components-radio-control__secondary-label {
  color: var(--text-heading) !important;
  font-weight: 600 !important;
}

/* --- Place Order Button --- */
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-4) var(--space-8) !important;
  font-family: var(--font-heading) !important;
  font-size: var(--text-sm) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
  min-height: 48px !important;
}

.wc-block-components-checkout-place-order-button:hover {
  background: var(--color-red-hover) !important;
  box-shadow: var(--shadow-glow-red) !important;
  transform: translateY(-1px) !important;
}

.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  color: var(--color-white) !important;
}

/* --- Order Summary Sidebar --- */
.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  color: var(--text-body) !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border: none !important;
}

.wc-block-components-totals-item__label {
  color: var(--text-body) !important;
}

.wc-block-components-totals-item__value {
  color: var(--text-heading) !important;
  font-weight: 600 !important;
}

/* --- Additional Links --- */
.wc-block-components-address-form__address_2-toggle {
  color: var(--text-muted) !important;
  font-size: var(--text-sm) !important;
  transition: color var(--transition-fast) !important;
}

.wc-block-components-address-form__address_2-toggle:hover {
  color: var(--color-red) !important;
}

/* --- Order Notes Textarea --- */
.wc-block-checkout__add-note .wc-block-components-textarea {
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-heading) !important;
  padding: var(--space-3) var(--space-4) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  min-height: 80px !important;
  outline: none !important;
}

.wc-block-checkout__add-note .wc-block-components-textarea:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15) !important;
}

/* --- Coupon Button --- */
.wc-block-components-totals-coupon__button {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: var(--text-xs) !important;
}

.wc-block-components-totals-coupon__button:hover {
  background: var(--color-red-hover) !important;
}

/* --- Step Dividers --- */
.wc-block-components-checkout-step::after {
  background: var(--border-color) !important;
}

/* ============================================
   WOOCOMMERCE BLOCKS — CHECKOUT DARK MODE
   ============================================ */
[data-theme="dark"] .wc-block-checkout .wp-block-woocommerce-checkout-fields-block,
[data-theme="dark"] .wc-block-checkout .wp-block-woocommerce-checkout-totals-block {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .wc-block-components-text-input input,
[data-theme="dark"] .wc-block-components-text-input textarea {
  background: var(--bg-input) !important;
  border-color: var(--border-color) !important;
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-block-components-text-input input:focus,
[data-theme="dark"] .wc-block-components-text-input textarea:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.25) !important;
}

[data-theme="dark"] .wc-block-components-text-input label {
  color: var(--text-muted) !important;
  background: transparent !important;
}

[data-theme="dark"] .wc-blocks-components-select__container {
  background: transparent !important;
  border-color: transparent !important;
}

[data-theme="dark"] .wc-blocks-components-select__select {
  background: var(--bg-input) !important;
  border-color: var(--border-color) !important;
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-blocks-components-select__select:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.25) !important;
}

[data-theme="dark"] .wc-blocks-components-select__label {
  color: var(--text-muted) !important;
  background: transparent !important;
}

[data-theme="dark"] .wc-blocks-components-select__select option {
  background: var(--bg-card) !important;
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-blocks-components-select__expand {
  fill: var(--text-muted) !important;
}

[data-theme="dark"] .wc-block-components-checkbox__input {
  background: var(--bg-input) !important;
  border-color: var(--border-strong) !important;
}

[data-theme="dark"] .wc-block-components-checkbox__input:checked {
  background: var(--color-red) !important;
  border-color: var(--color-red) !important;
}

[data-theme="dark"] .wc-block-components-checkbox__label {
  color: var(--text-body) !important;
}

[data-theme="dark"] .wc-block-components-radio-control .wc-block-components-radio-control__option {
  background: var(--bg-input) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .wc-block-components-radio-control .wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
  border-color: var(--color-red) !important;
}

[data-theme="dark"] .wc-block-components-radio-control__label {
  color: var(--text-body) !important;
}

[data-theme="dark"] .wc-block-components-radio-control__description {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .wc-block-components-radio-control__secondary-label {
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-block-components-totals-item__label {
  color: var(--text-body) !important;
}

[data-theme="dark"] .wc-block-components-totals-item__value {
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-block-checkout__add-note .wc-block-components-textarea {
  background: var(--bg-input) !important;
  border-color: var(--border-color) !important;
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-block-components-address-form__address_2-toggle {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .wc-block-components-address-form__address_2-toggle:hover {
  color: var(--color-red) !important;
}

[data-theme="dark"] .wc-block-components-checkout-step::after {
  background: var(--border-color) !important;
}

[data-theme="dark"] .wc-block-components-checkout-step__heading {
  color: var(--text-heading) !important;
}

[data-theme="dark"] .wc-block-components-checkout-step__description {
  color: var(--text-muted) !important;
}

/* Nuke any white backgrounds that WooCommerce Blocks applies */
[data-theme="dark"] .wc-blocks-components-select__container,
[data-theme="dark"] .wc-blocks-components-select__container * {
  background-color: transparent !important;
}

/* Re-apply needed dark backgrounds */
[data-theme="dark"] .wc-blocks-components-select__select {
  background-color: var(--bg-input) !important;
}