/* Ensure first menu item in mobile menu has appropriate top spacing for clean design */
.mobile-nav-menu li:first-child {
  margin-top: 0; /* Clean design - consistent spacing throughout */
}

/* ================================================================
   CUSTOM LOGIN MODAL - LUXURY DESIGN
================================================================ */

/* Modal Overlay */
.soundpeats-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.soundpeats-login-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.soundpeats-login-modal {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.soundpeats-login-overlay.active .soundpeats-login-modal {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.soundpeats-login-modal-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid #E5E7EB;
}

.soundpeats-login-modal-header h2 {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.soundpeats-login-modal-header p {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
  font-weight: 400;
}

.soundpeats-login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #9CA3AF;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}

.soundpeats-login-modal-close:hover {
  background: #F3F4F6;
  color: #1a1a1a;
}

/* Modal Body */
.soundpeats-login-modal-body {
  padding: 32px;
}

/* Google Login Button */
.soundpeats-google-login-btn {
  width: 100%;
  height: 56px;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}

.soundpeats-google-login-btn:hover {
  border-color: #C9A961;
  background: #FFFBF5;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.15);
}

.soundpeats-google-login-btn:active {
  transform: translateY(0);
}

.soundpeats-google-login-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Divider */
.soundpeats-login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: #9CA3AF;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.soundpeats-login-divider::before,
.soundpeats-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

/* Email/Password Form */
.soundpeats-login-form input[type="text"],
.soundpeats-login-form input[type="email"],
.soundpeats-login-form input[type="password"] {
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  background: #FFFFFF;
}

.soundpeats-login-form input:focus {
  outline: none;
  border-color: #C9A961;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

.soundpeats-login-form input::placeholder {
  color: #9CA3AF;
}

/* Submit Button */
.soundpeats-login-submit {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.soundpeats-login-submit:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.soundpeats-login-submit:active {
  transform: translateY(0);
}

/* Toggle Register/Login */
.soundpeats-login-toggle {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #6B7280;
}

.soundpeats-login-toggle a {
  color: #C9A961;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.soundpeats-login-toggle a:hover {
  color: #B8965A;
  text-decoration: underline;
}

/* Loading State */
.soundpeats-login-loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.soundpeats-login-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .soundpeats-login-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
  }

  .soundpeats-login-overlay.active .soundpeats-login-modal {
    transform: translateY(0);
  }

  .soundpeats-login-modal-header,
  .soundpeats-login-modal-body {
    padding: 24px;
  }

  .soundpeats-google-login-btn,
  .soundpeats-login-submit {
    height: 52px;
    font-size: 15px;
  }
}

/*
 Theme Name: Soundpeats Inspired
 Author: Scar
 Version: 9.9.9
 Description: Pixel‑tight, responsive, one‑page theme inspired by Soundpeats. Safe drop‑in for existing PHP/JS.
 Text Domain: soundpeats-inspired
*/

/* ================================================================
   FONT NOTE: Premium fonts loaded via functions.php
   - Satoshi (headlines): https://fonts.cdnfonts.com/css/satoshi
   - Inter (body/UI): https://rsms.me/inter/inter.css
================================================================ */

/* ================================================================
   0) Base Reset & Box Model
================================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

/* HORIZONTAL SCROLL FIX - PROPER APPROACH */
html {
  overflow-x: hidden;
  box-sizing: border-box;
  min-height: 100vh;
  height: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content area - flex grow to push footer down */
#content,
.site-content,
main,
.main-content {
  flex: 1 0 auto;
}

/* Footer - stick to bottom */
.site-footer,
footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Ensure all containers respect viewport width */
.container:not(.woocommerce-container), .header-container {
  max-width: 100%;
  overflow-x: hidden;
}

/* WooCommerce container specific rules */
.woocommerce-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-y) 20px;
}

/* Fix WooCommerce shop page layout */
.woocommerce {
  width: 100%;
  overflow-x: visible;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering {
  float: right;
  margin-bottom: 20px;
}

.woocommerce .woocommerce-result-count {
  float: left;
  margin-bottom: 20px;
}

/* Clear floats */
.woocommerce .woocommerce-ordering::after,
.woocommerce .woocommerce-result-count::after {
  content: "";
  display: table;
  clear: both;
}

/* Ensure shop page toolbar is properly cleared */
.woocommerce-shop .woocommerce-topbar::after,
.woocommerce nav.woocommerce-pagination::before {
  content: "";
  display: table;
  clear: both;
}

/* Fix shop page content wrapper */
.woocommerce-shop .site-main {
  width: 100%;
  max-width: none;
}

/* Ensure product grid is visible and properly sized */
.woocommerce ul.products {
  width: 100%;
  display: grid;
  visibility: visible;
}
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ================================================================
   1) Design Tokens
================================================================ */
:root {
  --font-family-heading: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-family-body: 'Inter', 'Inter var', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.25rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2.5vw, 1.5rem);
  --fs-body: clamp(0.975rem, 1.7vw, 1.0625rem);
  --fs-small: clamp(0.875rem, 1.4vw, 0.95rem);

  --color-primary: #111;
  --color-secondary: #555;
  --color-accent: #181818; /* was #e63946 */
  --color-bg: #FAF8F3; /* Warm honey cream - 2025 modern neutral */
  --color-muted: #f2f2f7;
  --color-border: #eee;
  --color-btn-hover: #222; /* new for hover */

  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 6px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 26px rgba(0,0,0,0.09);

  --container: clamp(320px, 90vw, 1200px);
  --section-y: clamp(48px, 6vw, 84px);
}

/* ================================================================
   2) Typography & Global
================================================================ */
body {
  font-family: var(--font-family-body);
  font-size: var(--fs-body);
  margin: 0;
  color: var(--color-primary);
  line-height: 1.6;
  background: #FAF8F3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em 0; color: var(--color-secondary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Prevent any "text out of the box" issues */
.card, .feature-item {
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Separate rule for product-item to allow gallery pagination to show */
.product-item {
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* ================================================================
   3) Header & Navigation
================================================================ */
.site-header {
  position: fixed; /* Fixed positioning for transparent overlay effect */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white; /* Default white background for all pages */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

/* Transparent header only on homepage AND only on desktop */
body.home .site-header {
  background: transparent;
  box-shadow: none;
}

.site-header.scrolled {
  background: white !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Desktop: Center logo perfectly when header is transparent */
@media (min-width: 769px) {
  body.home .header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  body.home .header-container {
    position: relative;
  }
}

/* Mobile: solid WHITE header with BLACK icons (below 768px) */
@media (max-width: 768px) {
  body.home .site-header {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  body.home .site-logo svg path {
    fill: #111 !important;
  }

  body.home .menu-toggle,
  body.home .header-icon {
    color: #111 !important;
  }
}


.header-container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.header-left, .header-right { display: flex; align-items: center; gap: 18px; }
.header-center { display: flex; justify-content: center; flex: 1; }
.header-right { justify-content: flex-end; }
.site-logo img { max-height: 36px; width: auto; display: block; }

/* Dark logo for white header (default) */
.site-logo svg path {
  fill: var(--color-primary);
  transition: fill 0.3s ease;
}

/* White logo only on homepage */
body.home .site-logo svg path {
  fill: rgba(255,255,255,0.9);
}

/* Dark logo when header is scrolled */
.site-header.scrolled .site-logo svg path {
  fill: var(--color-primary);
}

.menu-toggle,
.header-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--color-primary); /* Dark icons for white header (default) */
  padding: 6px;
  line-height: 1;
  transition: color 0.3s ease;
}
.menu-toggle:hover, .header-icon:hover { color: var(--color-accent); }

/* White icons only on homepage */
body.home .menu-toggle,
body.home .header-icon {
  color: rgba(255,255,255,0.9);
}
body.home .menu-toggle:hover, 
body.home .header-icon:hover { 
  color: rgba(255,255,255,1); 
}

/* Dark icons when header is scrolled */
.site-header.scrolled .menu-toggle,
.site-header.scrolled .header-icon {
  color: var(--color-primary);
}
.site-header.scrolled .menu-toggle:hover,
.site-header.scrolled .header-icon:hover {
  color: var(--color-accent);
}

/* Mobile menu is always present, hidden by transform unless active */
.mobile-menu-container {
  display: block;
  position: fixed;
  top: 70px; /* height of header */
  left: 0;
  right: auto;
  width: min(84vw, 320px);
  height: calc(100vh - 70px);
  background: var(--color-bg);
  z-index: 8888;
  padding: 40px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform .3s ease-in-out;
}

.mobile-menu-container.active { 
  transform: translateX(0); 
}

/* ================================================================
   Mobile Menu Navigation Styling - Clean Minimalistic Design
================================================================ */

/* Mobile navigation menu list styling */
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile navigation menu items with generous spacing */
.mobile-nav-menu li {
  margin-bottom: 12px; /* Increased spacing for clean organization */
  position: relative;
}

/* Mobile navigation links - Enhanced typography for clean, readable design */
.mobile-nav-menu a {
  display: block;
  padding: 20px 24px; /* Touch-friendly 44px+ touch target */
  font-size: 1.4rem; /* Increased from 1.1rem for better readability */
  font-weight: 400; /* Clean, readable weight */
  color: #333333;
  text-decoration: none;
  border-radius: 8px; /* Simple, clean corners */
  position: relative;
  transition: all 0.25s ease;
  /* Clean flat design - no shadows or effects */
  background: transparent;
  border: none;
  line-height: 1.4; /* Improved line height for readability */
  letter-spacing: 0.02em; /* Subtle letter spacing for modern typography */
}

/* Hover state for mobile menu links - but NOT for current/active items */
.mobile-nav-menu li:not(.current-menu-item):not(.current_page_item) a:hover,
.mobile-nav-menu li:not(.current-menu-item):not(.current_page_item) a:focus {
  /* Subtle gray hover - visible feedback but not white */
  background: rgba(128, 128, 128, 0.15) !important; /* Light gray, 15% opacity */
  color: #111111;
  border-radius: 0; /* Remove rounded corners for full-width appearance */
  margin: 0 -24px; /* Extend background to full width by negating padding */
  padding: 20px 48px; /* Maintain visual padding while extending background */
  /* Clean flat design - no shadows or 3D effects */
  transform: none; /* Remove slide animation for cleaner feel */
}

/* Force remove gray background from Home menu specifically when not active or hovered */
.mobile-nav-menu li.menu-item-home:not(.current-menu-item):not(.current_page_item) a:not(:hover) {
  background: transparent !important;
}

/* Active/Current page styling - Full-width solid background with no rounded corners */
.mobile-nav-menu .current-menu-item a,
.mobile-nav-menu .current_page_item a {
  background: #ffffff; /* Pure white background for active items */
  color: #000000; /* Black text for contrast with white background */
  font-weight: 600; /* Bold for clear active state indication */
  border-radius: 0; /* Remove rounded corners for full-width appearance */
  margin: 0 -24px; /* Extend background to full width by negating padding */
  padding: 20px 48px; /* Maintain visual padding while extending background */
  /* Clean flat design - no shadows or 3D effects */
}

/* Hover states for active/current page items */
.mobile-nav-menu .current-menu-item a:hover,
.mobile-nav-menu .current_page_item a:hover,
.mobile-nav-menu .current-menu-item a:focus,
.mobile-nav-menu .current_page_item a:focus {
  background: #f0f0f0; /* Slightly darker background on hover for active items */
  color: #000000; /* Keep black text for consistency */
  border-radius: 0; /* Maintain no rounded corners on hover */
}

/* Focus state for accessibility (WCAG compliance) */
.mobile-nav-menu a:focus {
  outline: none;
  /* Remove focus outline that was creating white frames */
}

/* Submenu support (if using dropdown menus) */
.mobile-nav-menu .sub-menu {
  margin-top: 12px; /* Increased spacing */
  margin-left: 20px;
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 20px;
}

.mobile-nav-menu .sub-menu a {
  font-size: 1.2rem; /* Increased from 1rem for better readability */
  font-weight: 400;
  padding: 16px 20px; /* Increased padding for touch-friendly targets */
  color: rgba(255,255,255,0.9); /* Slightly less dimmed for better readability */
  line-height: 1.4; /* Consistent line height */
  letter-spacing: 0.01em; /* Subtle letter spacing */
}

.mobile-nav-menu .sub-menu a:hover,
.mobile-nav-menu .sub-menu a:focus {
  color: #ffffff;
  background: rgba(255,255,255,0.08); /* Clean flat hover */
}

/* ================================================================
   Main Content Spacing
================================================================ */

/* Ensure main content starts below fixed header on all pages except homepage */
body:not(.home) #main-content {
  padding-top: 70px; /* Match header height */
}

/* ================================================================
   Mobile Menu Enhancement Effects
================================================================ */

/* Subtle menu item animation on load */
.mobile-menu-container.active .mobile-nav-menu li {
  animation: slideInLeft 0.4s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

/* Staggered animation delay for menu items */
.mobile-menu-container.active .mobile-nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-container.active .mobile-nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-container.active .mobile-nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-container.active .mobile-nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-container.active .mobile-nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-container.active .mobile-nav-menu li:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Menu overlay backdrop for better focus when menu is open */
.mobile-menu-container.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 320px; /* Width of mobile menu */
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5); /* Simplified overlay - no blur effects */
  z-index: -1;
  /* Clean flat design - no complex animations */
}

/* Enhanced focus ring for better accessibility */
.mobile-nav-menu a:focus-visible {
  outline: none;
  /* Remove focus outline that was creating white frames */
}

/* ================================================================
   4) Hero / Swiper - DISABLED - Using new slider plugin
================================================================ */
/* .hero-section {
  position: relative;
  height: min(90vh, 860px);
  padding: 0;
  color: #fff;
}

.swiper.hero-slider,
.hero-swiper,
.swiper-slide { width: 100%; height: 100%; }

.swiper-slide {
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 20px;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 10px;
}
.hero-content h1 { margin: 0 0 14px 0; }
.hero-content p  { margin: 0 0 26px 0; }

.swiper-button-next, .swiper-button-prev { color: #fff; }
.swiper-pagination-bullet-active { background: #fff; }

.swiper-button-next:after {
  content: '→' !important;
  font-family: Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: bold !important;
}

.swiper-button-prev:after {
  content: '←' !important;
  font-family: Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: bold !important;
}

#hero-slider, .hero-swiper, .swiper, .swiper-wrapper, .swiper-slide {
  margin: 0; padding: 0; box-sizing: border-box;
} */

/* ================================================================
   5) Sections (Products / Features / Contact)
================================================================ */
.products-section,
.features-section,
.contact-section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
}

.products-section h2 {
  font-size: var(--fs-h2);
  margin-bottom: 48px;
  text-align: center;
  color: var(--color-primary);
}

/* ---- Grids (auto-fit for consistency) ---- */
.products-section .product-grid,
.features-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

/* Products:
   - 1 col on small screens
   - 2 cols centered on desktop */
.products-section .product-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  padding: 0 20px;
}
@media (min-width: 768px) {
  .products-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}
@media (min-width: 1200px) {
  .products-section .product-grid {
    grid-template-columns: repeat(2, 400px);
    gap: 48px;
    justify-content: center;
  }
}

/* Features (you said you prefer two boxes side-by-side) */
.features-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Card styles ---- */
.product-item,
.feature-item {
  background: transparent;
  border: none;
  padding: 0;
  transition: transform .25s ease;
}

.product-item:hover {
  transform: translateY(-6px);
}

.feature-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* Product specifics */
.product-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.product-item h3 { font-weight: 600; margin: 4px 0 2px 0; }
.product-item .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  display: block;
}

/* Buttons: Read More, Add to Cart, etc. */
.button,
.cta-button,
.product-item .button,
.woocommerce a.button,
.woocommerce button.button,
input[type="submit"],
input[type="button"] {
  background: var(--color-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: var(--font-family-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.button:hover,
.cta-button:hover,
.product-item .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #353535 !important; /* more gray-black than pure black */
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(53,53,53,0.18);
}

/* Feature specifics */
.feature-item h3 { margin-top: 0; margin-bottom: 8px; color: var(--color-primary); }
.feature-item p  { font-size: var(--fs-small); color: var(--color-secondary); }

.contact-section .container { max-width: 980px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
  margin: 0 auto;
}
.contact-form textarea, .contact-form .cta-button { grid-column: 1 / -1; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: var(--color-muted);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px 14px;
  font-size: var(--fs-body);
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.12);
  background: #fff;
}

/* ================================================================
   7) Footer
================================================================ */
.site-footer {
  background: #000;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: var(--fs-small);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  color: #fff;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
}

.site-info {
  font-size: 0.95rem;
  color: #aaa;
}

.site-info p {
  margin: 0;
}
.newsletter-form { display: flex; align-items: stretch; gap: 0; }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #3a3a3a;
  background: #242424;
  color: #fff;
  border-radius: 8px 0 0 8px;
}
.newsletter-form .cta-button { border-radius: 0 8px 8px 0; }

/* ================================================================
   8) Utility Spacing / Fixes
================================================================ */
#products { margin-top: 36px; }
.products-section,
.features-section,
.contact-section { text-align: center; }
/* .hero-section { text-align: center; } - DISABLED */

/* .hero-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: 100%; max-height: 100%;
} - DISABLED */

/* ================================================================
   9) Responsive
================================================================ */
@media (max-width: 1024px) {
  .header-container { height: 64px; padding: 0 16px; }
  .site-logo img { max-height: 28px; }
  
  /* Adjust main content spacing for smaller mobile header */
  body:not(.home) #main-content {
    padding-top: 64px; /* Match mobile header height */
  }
}

/* Mobile layout & menu */
@media (max-width: 768px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  /* .hero-section { height: 62vh; min-height: 460px; } - DISABLED */

  /* Mobile scroll effect now works properly without position conflicts */

  /* Remove position: relative that was breaking mobile scroll effect */
  .header-left { position: relative; z-index: 2; }
  .header-center {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); z-index: 1;
  }

  /* Show only cart icon on mobile */
  .header-right {
    display: flex;
    gap: 0;
  }
  .header-right .search-icon,
  .header-right .user-icon {
    display: none;
  }
  .header-right .cart-icon {
    display: flex;
  }

  /* Off-canvas menu: already handled above for all sizes */

  /* Mobile menu list items - spacing handled in main mobile menu styles above */
  .mobile-nav-menu li { 
    margin-bottom: 12px; /* Updated to match enhanced spacing */
    text-align: left; 
  }
  
  /* Mobile menu links - properties handled in main mobile menu styles above */
  .mobile-nav-menu a { 
    font-size: 1.4rem; /* Updated to match enhanced typography */
    font-weight: 400; /* Updated to match clean design */
  }

  /* Stacking where appropriate */
  .features-grid,
  .products-section .product-grid { grid-template-columns: 1fr; }

  .contact-form { grid-template-columns: 1fr; }
  .footer-container { text-align: center; }
  .social-links { justify-content: center; }
}

/* A little extra breathing room on huge screens (no layout shift) */
@media (min-width: 1600px) {
  .hero-content { max-width: 820px; }
}

/* =========================
   WooCommerce Product GRID — solid, small, responsive
   ========================= */

/* Responsive product grid - mobile first, centered */
.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  justify-content: center;
}

/* Tablet: 2 columns, centered */
@media (min-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Desktop: 3 columns, centered */
@media (min-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Large desktop: 3 columns, centered */
@media (min-width: 1400px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Card base: equal height + tidy visuals */
.woocommerce ul.products li.product,
.product-item {
  float: none !important;          /* stop legacy float layout */
  width: auto !important;
  margin: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover,
.product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* Image: never giant, always neat */
.woocommerce ul.products li.product a img,
.product-item img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* perfect square thumbnails */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Title, price, meta: small & consistent */
.woocommerce-loop-product__title,
.product-item h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.25;
  margin: 10px 0 6px;
  font-weight: 600;
}

.woocommerce ul.products li.product .price,
.product-item .price {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.woocommerce ul.products li.product .star-rating { 
  transform: scale(.9);
  transform-origin: left center;
  margin-bottom: 6px;
}

/* Buttons: stay at the bottom so cards align */
.woocommerce ul.products li.product .button,
.product-item .button {
  margin-top: auto;               /* pushes button to bottom */
  width: 100%;
  text-align: center;
  padding: 10px 12px !important;
  font-size: 0.95rem !important;
  border-radius: 8px;
}

/* Keep surrounding sections from overlapping the products */
/* .hero-section { position: relative; z-index: 1; } - DISABLED */
.products-section, .woocommerce ul.products { position: relative; z-index: 2; }

/* Optional: limit the products block width and center it on the page */
.products-section { max-width: 1200px; margin: 0 auto; padding-inline: 16px; }

/* If your theme also uses custom product grid classes, normalize them too */
.products-section .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}


/* Accessibility focus states */
.skip-link:focus {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}
.product-item .button:focus,
.menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.products-section .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.products-section .product-item {
  flex: 1 1 250px;  /* min width ≈ 250px, then grow */
  margin: 0;
  max-width: none;
}


.menu-toggle:focus,
.header-icon:focus,
.skip-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  background: rgba(0,0,0,0.07);
}

/* ================================================================
   TEMPLATE PAGES STYLING (Single, Page, Archive, Search)
================================================================ */

/* Post and Page Singles */
.post-single, .page-single {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-y) 20px;
}

.post-header, .page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-title, .page-title {
  font-size: var(--fs-h1);
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: var(--fs-small);
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-featured-image, .page-featured-image {
  margin-bottom: 2rem;
  text-align: center;
}

.post-featured-image img, .page-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.post-content, .page-content {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.post-content p, .page-content p {
  margin-bottom: 1.5rem;
}

.post-footer, .page-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-secondary);
}

.post-tags a {
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.post-tags a:hover {
  color: var(--color-btn-hover);
}

/* Post Navigation */
.post-navigation {
  margin: 3rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.nav-previous, .nav-next {
  flex: 1;
}

.nav-previous a, .nav-next a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-muted);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-previous a:hover, .nav-next a:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.nav-next a {
  justify-content: flex-end;
  text-align: right;
}

.nav-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-label {
  font-size: var(--fs-small);
  color: var(--color-secondary);
  font-weight: 600;
}

.nav-title {
  font-weight: 700;
}

/* Archive Pages */
.archive-header, .search-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.archive-title, .search-title {
  font-size: var(--fs-h1);
  margin-bottom: 1rem;
}

.search-query {
  color: var(--color-accent);
  font-style: italic;
}

.archive-description {
  color: var(--color-secondary);
  font-size: var(--fs-body);
  max-width: 600px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-item, .search-result-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-item:hover, .search-result-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.post-thumbnail {
  margin-bottom: 1rem;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.post-item .post-title, .search-result-item .post-title {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.post-item .post-title a, .search-result-item .post-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-item .post-title a:hover, .search-result-item .post-title a:hover {
  color: var(--color-accent);
}

.post-excerpt {
  flex: 1;
  color: var(--color-secondary);
  line-height: 1.6;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.read-more-link:hover {
  color: var(--color-btn-hover);
  transform: translateX(4px);
}

/* Search Results Specific */
.search-results-info {
  background: var(--color-muted);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: var(--fs-body);
  text-align: center;
}

.post-type-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.post-type-label {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.search-result-item mark {
  background: rgba(255, 235, 59, 0.3);
  padding: 0.2rem 0.1rem;
  border-radius: 2px;
}

/* No Results / Not Found Pages */
.no-posts-found, .no-search-results {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.no-posts-found h1, .no-posts-found h2,
.no-search-results h1, .no-search-results h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.no-posts-found p, .no-search-results p {
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

.search-suggestions {
  text-align: left;
  background: var(--color-muted);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.search-suggestions h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.search-suggestions ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.search-suggestions li {
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

/* Compact Secure Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5vh;
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 480px;
  width: 95%;
  position: relative;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-30px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 80vh;
  overflow-y: auto;
}

.search-modal.active .search-modal-content {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  position: relative;
  margin-bottom: 1rem;
}

.search-modal-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.search-modal-close:hover {
  background: rgba(220, 53, 69, 0.9);
  transform: scale(1.1) rotate(90deg);
}

.search-modal-close:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

/* Compact search form styling */

.search-form-container {
  margin: 0;
}

.secure-search-form {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.secure-search-form:focus-within {
  border-color: #007cba;
  box-shadow: 
    0 4px 6px -1px rgba(0, 124, 186, 0.1), 
    0 2px 4px -1px rgba(0, 124, 186, 0.06),
    0 0 0 3px rgba(0, 124, 186, 0.1);
}

.secure-search-form input[type="search"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  font-size: 16px;
  background: transparent;
  color: #374151;
  font-family: inherit;
  font-weight: 400;
}

.secure-search-form input[type="search"]:focus {
  outline: none;
}

.secure-search-form input[type="search"]::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.secure-search-form button {
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 56px;
  position: relative;
  overflow: hidden;
}

.secure-search-form button:hover {
  background: linear-gradient(135deg, #005a87 0%, #004066 100%);
  transform: translateY(-1px);
}

.secure-search-form button:active {
  transform: translateY(0);
}

.search-suggestions {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.search-suggestions p {
  margin: 0 0 0.75rem 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.search-tag:hover {
  background: #eff6ff;
  border-color: #007cba;
  color: #007cba;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 124, 186, 0.1);
}

/* Prevent body scroll when modal is open */
.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Cart Count Badge */
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-icon {
  position: relative;
}

/* Page Links (Pagination within post/page content) */
.page-links {
  margin: 2rem 0;
  padding: 1rem;
  background: var(--color-muted);
  border-radius: var(--radius-sm);
  text-align: center;
}

.page-links-title {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--color-primary);
}

.page-links a, .page-links span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.page-links a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.page-links .current {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* Responsive Design for Templates */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Mobile search modal adjustments */
  .search-modal {
    padding-top: 2vh;
    padding-bottom: 2vh;
    align-items: center;
  }
  
  .search-modal-content {
    width: 95%;
    margin: 0 auto;
    padding: 1.25rem;
    max-height: 90vh;
    border-radius: 12px;
  }
  
  .search-modal-close {
    width: 28px;
    height: 28px;
    top: -0.5rem;
    right: -0.5rem;
    font-size: 0.875rem;
  }
  
  .secure-search-form input[type="search"] {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 0.75rem 1rem;
  }
  
  .secure-search-form button {
    padding: 0.75rem 1rem;
    min-width: 48px;
  }
  
  .search-suggestions {
    margin-top: 1rem;
    padding-top: 1rem;
  }
  
  .search-suggestions p {
    font-size: 12px;
  }
  
  .search-tags {
    gap: 0.375rem;
  }
  
  .search-tag {
    padding: 0.25rem 0.625rem;
    font-size: 12px;
  }
  
  .post-meta {
    justify-content: flex-start;
    gap: 1rem;
  }
  
  .post-meta span {
    font-size: 0.85rem;
  }
  
  .search-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .nav-previous a, .nav-next a {
    padding: 0.75rem;
  }
  
  .nav-text {
    gap: 0.1rem;
  }
  
  .nav-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .search-form {
    flex-direction: column;
  }
  
  .search-form input[type="search"] {
    border-right: 1px solid var(--color-border);
  }
  
  .post-single, .page-single {
    padding: 2rem 1rem;
  }
}

/* ================================================================
   WOOCOMMERCE SINGLE PRODUCT GALLERY ADJUSTMENTS
================================================================ */

/* Product page gallery positioning - move slightly right */
.single-product .woocommerce-product-gallery {
  margin-left: 10px;
  position: relative;
  overflow: visible;
}

/* ================================================================
   PRODUCT PAGE - MOBILE RESPONSIVE (CONSOLIDATED)
   Combines 9 separate media query blocks into one organized section
================================================================ */
@media (max-width: 768px) {
  /* Gallery Centering & Controls */
  .single-product .woocommerce-product-gallery {
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    overflow: visible;
  }

  /* Hide thumbnail navigation, show dot pagination */
  .single-product .woocommerce-product-gallery ol.flex-control-thumbs {
    display: none !important;
  }

  .flex-control-nav {
    display: flex !important; /* Mobile dots - must override desktop display: none */
  }

  /* Product Title - Responsive Typography */
  .woocommerce div.product .product_title,
  .single-product .product_title,
  .woocommerce div.product h1.entry-title,
  .single-product h1.entry-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
    margin-bottom: 20px !important;
  }

  /* Price & Color Selector - Inline Layout */
  .woocommerce div.product .summary > p.price + .custom-color-selector,
  .woocommerce div.product .summary > .price + .custom-color-selector {
    display: inline-flex !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 0 0 24px 0 !important;
    vertical-align: middle !important;
  }

  .woocommerce div.product .summary > p.price,
  .woocommerce div.product .summary > .price {
    display: inline-block !important;
    margin: 0 16px 24px 0 !important;
    vertical-align: middle !important;
  }

  /* Price Typography */
  .woocommerce div.product p.price ins,
  .woocommerce div.product span.price ins,
  .woocommerce div.product p.price .woocommerce-Price-amount,
  .woocommerce div.product span.price .woocommerce-Price-amount {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
  }

  .woocommerce div.product p.price del,
  .woocommerce div.product span.price del,
  .woocommerce div.product p.price del .woocommerce-Price-amount,
  .woocommerce div.product span.price del .woocommerce-Price-amount {
    font-size: 1rem !important;
  }

  /* Product Description */
  .woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.95rem !important;
  }

  .woocommerce div.product .woocommerce-product-details__short-description li {
    font-size: 0.95rem !important;
    padding-left: 24px !important;
  }

  .woocommerce div.product .woocommerce-product-details__short-description li::before {
    width: 5px !important;
    height: 5px !important;
    top: 10px !important;
  }

  /* Summary Section Spacing */
  .woocommerce div.product .summary > * {
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
  }

  .woocommerce div.product .summary > *:not(:last-child)::after,
  .woocommerce div.product .summary > *:not(:last-child)::before {
    left: -16px;
    right: -16px;
  }

  /* Color Swatches - Smaller Size */
  .color-swatch {
    width: 48px !important;
    height: 48px !important;
  }

  .color-options {
    gap: 10px !important;
  }
}

/* Thumbnail adjustments - 100px luxury size, single row with horizontal scroll */
.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-top: 24px !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding: 0;
  margin-left: 0 !important;
  touch-action: pan-x;
  position: relative;
  z-index: 10;
}

.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
  width: 100px !important;
  max-width: 100px !important;
  min-width: 100px !important;
  height: 100px !important;
  margin: 0;
  flex: 0 0 auto !important;
  flex-shrink: 0;
}

.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 12px !important;
  opacity: 0.5 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

/* Hover state - subtle feedback */
.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
  opacity: 0.8 !important;
  transform: translateY(-2px);
}

/* Active/Selected thumbnail - minimal clean approach */
.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active {
  opacity: 1 !important;
}

/* Mobile: Hide thumbnails - CONSOLIDATED ABOVE in main Product Page Mobile block */

/* Desktop: Show thumbnails, hide dots (min-width: 769px) */
@media (min-width: 769px) {
  .single-product .woocommerce-product-gallery ol.flex-control-thumbs {
    display: flex !important; /* Show thumbnails on desktop - override mobile display: none */
  }

  .flex-control-nav {
    display: none; /* Hide dots on desktop - no !important needed */
  }
}

/* ================================================================
   FLEXSLIDER NATIVE DOT PAGINATION (MOBILE ONLY)
================================================================ */

/* FlexSlider dots container */
.flex-control-nav {
  display: none; /* Hidden on desktop */
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  margin: 0;
  list-style: none;
}

/* Show dots on mobile - CONSOLIDATED ABOVE in main Product Page Mobile block */

/* Individual dot */
.flex-control-nav li a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-indent: -9999px; /* Hide text */
  display: block;
}

/* Active dot - champagne gold */
.flex-control-nav li a.flex-active {
  background: #C9A961;
  transform: scale(1.4);
}

/* ================================================================
   WOOCOMMERCE SINGLE PRODUCT UX IMPROVEMENTS
================================================================ */

/* ================================================================
   STEP 5: LUXURY BUTTON HIERARCHY & CTA REDESIGN
================================================================ */

/* Primary CTA - Add to Cart (Pure Black Filled) */
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single-product .woocommerce .button,
.woocommerce-page .single-product .button,
.single_add_to_cart_button {
  width: 100%;
  max-width: 500px !important;
  height: 60px !important;
  padding: 0 40px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  margin: 32px 0 0 0 !important;
  background: #1a1a1a !important;
  color: #FFFFFF !important;
  border: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.single-product .woocommerce .button:hover,
.woocommerce-page .single-product .button:hover,
.single_add_to_cart_button:hover {
  background: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce div.product form.cart .button:active,
.single_add_to_cart_button:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Secondary CTA - Buy Now (Outline Luxury) */
.buy-now-button-primary {
  width: 100%;
  max-width: 500px !important;
  height: 60px !important;
  padding: 0 40px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  margin: 16px 0 0 0 !important;
  background: transparent !important;
  color: #1a1a1a !important;
  border: 2px solid #1a1a1a !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.buy-now-button-primary:hover {
  background: #1a1a1a !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.buy-now-button-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile: Buttons - CONSOLIDATED below in "Product Buttons - Mobile" block */

/* Remove Quantity Input Border and Styling */
.woocommerce form.cart .quantity input.qty,
.woocommerce .quantity input.qty,
input[type="number"].qty {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  width: 60px !important;
  height: 48px !important;
  margin: 0;
  padding: 8px !important;
  color: var(--color-primary) !important;
  border-radius: 0 !important;
  outline: none;
}

.woocommerce form.cart .quantity input.qty:focus,
.woocommerce .quantity input.qty:focus,
input[type="number"].qty:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

/* Cart form layout */
.woocommerce form.cart {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
}

/* Custom Quantity Selector with Arrows */
.woocommerce form.cart .quantity,
.woocommerce .quantity {
  display: flex;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #FFFFFF !important;
  border: 2px solid #EAEAEA !important;
  border-radius: 12px !important;
  padding: 4px !important;
  margin: 12px 0 !important;
  width: fit-content !important;
  position: relative !important;
  gap: 8px !important;
}

/* Quantity input styling */
.woocommerce form.cart .quantity input.qty,
.woocommerce .quantity input.qty {
  width: 60px !important;
  text-align: center !important;
  order: 1 !important;
}

/* Quantity Control Buttons - Added via JavaScript */
.quantity-btn {
  width: 32px !important;
  height: 32px !important;
  background: #F5F5F5 !important;
  color: #333333 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  user-select: none !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.quantity-btn:hover {
  background: #E0E0E0 !important;
  transform: scale(1.1) !important;
}

.quantity-btn:active {
  transform: scale(0.95) !important;
}

.quantity-btn.decrease {
  order: 0 !important;
  font-size: 1.4rem !important;
}

.quantity-btn.increase {
  order: 2 !important;
}

/* Container adjustments for better spacing */
.woocommerce div.product form.cart {
  margin-bottom: 24px !important;
}

.woocommerce div.product form.cart .cart {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 16px !important;
}

/* ================================================================
   PRODUCT SUMMARY DIVIDERS
================================================================ */

/* Add dividers between product summary sections */
.woocommerce div.product .summary > * {
  position: relative;
  padding-bottom: 20px !important;
  margin-bottom: 20px !important;
}

/* Create elegant horizontal divider lines with gradient effect */
.woocommerce div.product .summary > *:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0, 0.2) 25%,
    rgba(0,0,0, 0.35) 50%,
    rgba(0,0,0, 0.2) 75%,
    transparent 100%
  );
  opacity: 0.9;
}

/* Add subtle highlight above the divider */
.woocommerce div.product .summary > *:not(:last-child)::before {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.6) 30%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0.6) 70%,
    transparent 100%
  );
  opacity: 0.7;
}

/* Alternative decorative divider style */
.woocommerce div.product .summary.decorative-dividers > *:not(:last-child)::after {
  content: '◦ ◦ ◦';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(var(--color-accent-rgb, 0,0,0), 0.3);
  letter-spacing: 8px;
  background: var(--color-background, #fff);
  padding: 0 12px;
  height: auto;
  width: auto;
}

/* Special styling for specific sections */
.woocommerce div.product .summary .price {
  padding-bottom: 24px !important;
  margin-bottom: 16px !important;
}

.custom-color-selector {
  padding-bottom: 20px !important;
  margin-bottom: 16px !important;
}

.woocommerce div.product .summary .woocommerce-product-details__short-description {
  padding-bottom: 24px !important;
  margin-bottom: 20px !important;
}

.woocommerce div.product .summary form.cart {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove divider from the last element */
.woocommerce div.product .summary form.cart::after,
.woocommerce div.product .summary form.cart::before {
  display: none !important;
}

/* ================================================================
   STEP 1: LUXURY PRODUCT TITLE TYPOGRAPHY
================================================================ */

/* Product Title - Bold, Luxury Typography */
.woocommerce div.product .product_title,
.single-product .product_title,
.woocommerce div.product h1.entry-title,
.single-product h1.entry-title {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  color: #1a1a1a !important;
  margin: 0 0 24px 0 !important;
  text-transform: none !important;
}

/* Mobile: Product Title - CONSOLIDATED ABOVE in Product Page Mobile block */

/* ================================================================
   STEP 2: LUXURY PRICE TREATMENT
================================================================ */

/* Price + Color Selector Row - Horizontal Layout */
.woocommerce div.product .summary {
  display: flex;
  flex-direction: column;
}

/* Create horizontal row for price + color selector */
.woocommerce div.product .summary > p.price,
.woocommerce div.product .summary > .price {
  margin: 0;
  flex: 0 0 auto;
}

/* Mobile: Price and Color Selector - CONSOLIDATED ABOVE in Product Page Mobile block */

/* Desktop: Price and Color Selector side by side */
@media (min-width: 769px) {
  .woocommerce div.product .summary > p.price + .custom-color-selector,
  .woocommerce div.product .summary > .price + .custom-color-selector {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
  }

  .woocommerce div.product .summary > p.price,
  .woocommerce div.product .summary > .price {
    margin: 0 0 32px 0 !important;
    position: relative;
  }
}

/* Price Container */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: flex;
  align-items: baseline !important;
  gap: 16px !important;
  margin: 0;
  flex-wrap: wrap !important;
}

/* Sale Price - Large, Bold, Prominent */
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 900 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  letter-spacing: -0.01em !important;
}

/* Original Price - Subtle Strikethrough */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: #999 !important;
  opacity: 0.6 !important;
  text-decoration: line-through !important;
  order: -1 !important;
}

.woocommerce div.product p.price del .woocommerce-Price-amount,
.woocommerce div.product span.price del .woocommerce-Price-amount {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: #999 !important;
}

/* When there's no sale, make regular price prominent */
.woocommerce div.product p.price:not(:has(ins)) .woocommerce-Price-amount,
.woocommerce div.product span.price:not(:has(ins)) .woocommerce-Price-amount {
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 900 !important;
  color: #1a1a1a !important;
}

/* Mobile Price Typography - CONSOLIDATED ABOVE in Product Page Mobile block */

/* ================================================================
   STEP 3: FEATURE LIST - TRUE LUXURY MINIMALISM
================================================================ */

/* Short Description Container */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin: 0 0 32px 0 !important;
  max-width: 600px !important;
}

/* Feature List - Clean Lines, No Bullets */
.woocommerce div.product .woocommerce-product-details__short-description ul,
.woocommerce div.product .woocommerce-product-details__short-description ol {
  list-style: none !important;
  padding: 0;
  margin: 20px 0 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px !important;
}

.woocommerce div.product .woocommerce-product-details__short-description li {
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  position: relative !important;
  transition: color 0.2s ease !important;
  box-shadow: none !important;
  line-height: 1.6 !important;
}

/* No bullets, no dots - pure text */
.woocommerce div.product .woocommerce-product-details__short-description li::before {
  display: none !important;
}

/* Hover Effect - Subtle */
.woocommerce div.product .woocommerce-product-details__short-description li:hover {
  color: #1a1a1a !important;
}

/* Mobile: Product Description - CONSOLIDATED ABOVE in Product Page Mobile block */

/* Mobile: Summary Spacing - CONSOLIDATED ABOVE in Product Page Mobile block */

/* ================================================================
   CUSTOM COLOR SELECTOR
================================================================ */

.custom-color-selector {
  margin: 0 0 24px 0 !important;
  font-family: var(--font-family-body);
  display: flex;
  align-items: center !important;
  gap: 16px !important;
}

.color-selector-label {
  display: none !important;
}

.color-options {
  display: flex;
  gap: 12px !important;
  align-items: center !important;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  gap: 6px !important;
}

.color-option input[type="radio"] {
  display: none !important;
}

.color-swatch {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: 2px solid #E5E7EB !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  position: relative !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

.color-swatch:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  border-color: #C9C9C9 !important;
}

/* Selected State - Champagne Gold Ring */
.color-option input[type="radio"]:checked + .color-swatch {
  border-color: #C9A961 !important;
  border-width: 3px !important;
  box-shadow: 0 0 0 1px #C9A961, 0 4px 16px rgba(201, 169, 97, 0.25) !important;
}

/* Remove checkmark - use gold ring only */
.color-option input[type="radio"]:checked + .color-swatch::after {
  display: none !important;
}

.color-name {
  display: none !important;
}

/* Mobile: Color Swatches - CONSOLIDATED ABOVE in Product Page Mobile block */

/* ================================================================
   CART COLOR DISPLAY
================================================================ */

.cart-item-color {
  color: var(--color-accent) !important;
  font-weight: 600 !important;
  font-size: 0.95em !important;
}

.cart-color-display {
  display: inline-flex !important;
  align-items: center !important;
  background: #f8f9fa !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  border: 1px solid #e9ecef !important;
  margin: 4px 0 !important;
  font-size: 0.9rem !important;
}

.cart-color-swatch {
  margin-right: 8px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

.cart-color-display strong {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

/* Make cart item names more prominent */
.woocommerce-cart table.cart td.product-name a {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.woocommerce-cart table.cart td.product-name a:hover {
  color: var(--color-accent) !important;
}

/* Style the variation data better */
.woocommerce-cart-form .color-selection,
.woocommerce table.shop_table .color-selection {
  font-size: 0.9rem !important;
  color: var(--color-secondary) !important;
  margin-top: 4px !important;
}

.woocommerce dl.variation dd,
.woocommerce dl.variation dt {
  margin: 0;
  padding: 2px 0 !important;
  font-size: 0.9rem !important;
}

.woocommerce dl.variation dt {
  font-weight: 600 !important;
  color: var(--color-primary) !important;
}

.woocommerce dl.variation dd {
  color: var(--color-secondary) !important;
}

/* Mini cart widget styling */
.woocommerce .widget_shopping_cart .cart_list li .cart-color-display {
  display: block !important;
  margin-top: 4px !important;
  font-size: 0.8rem !important;
}

/* Checkout page styling */
.woocommerce-checkout .cart-color-display {
  margin-top: 4px !important;
}

/* ================================================================
   PRODUCT BUTTONS - MOBILE (CONSOLIDATED)
   Resolves conflict between two button blocks (was at lines 2334 & 2853)
================================================================ */
@media (max-width: 768px) {
  /* All Product Buttons - Full Width, Consistent Sizing */
  .woocommerce div.product form.cart .button,
  .single_add_to_cart_button,
  .buy-now-button-primary {
    max-width: 100%;
    min-height: 56px !important;        /* Using larger height from first block */
    font-size: 1.1rem !important;       /* Using larger font from second block */
    padding: 16px 20px !important;      /* From second block */
    letter-spacing: 0.75px !important;  /* From first block */
  }

  .buy-now-button-primary {
    margin: 12px 0 0 0 !important;
  }

  /* Quantity Spacing */
  .woocommerce form.cart .quantity,
  .woocommerce .quantity {
    margin: 8px 0 !important;
  }
}

/* ================================================================
   CRITICAL FIXES FOR MOBILE MENU
================================================================ */

/* Body scroll lock when mobile menu is open - iOS Compatible */
body.no-scroll {
  overflow: hidden;
  /* Removed position: fixed to prevent iOS scroll detection issues */
  width: 100%;
  height: 100vh;
  /* Enhanced iOS compatibility - preserve scroll detection while preventing scroll */
  -webkit-overflow-scrolling: touch; /* Restore proper iOS scroll behavior */
  touch-action: none; /* Prevent all touch gestures when menu is open */
}


/* Enhanced menu toggle button with ARIA support */
.menu-toggle[aria-expanded="true"] {
  background: rgba(0,0,0,0.1);
}

/* Accessibility enhancements for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-container,
  .mobile-nav-menu li {
    transition: none !important;
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .mobile-menu-container {
    border: 2px solid #ffffff;
  }
  
  .mobile-nav-menu a {
    border: none !important;
  }

  .mobile-nav-menu .current-menu-item a,
  .mobile-nav-menu .current_page_item a {
    border: none !important;
  }
}

/* ================================================================
   WOOCOMMERCE PRODUCT CARD PREMIUM OVERRIDES
================================================================ */

/* Premium white cards override */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 24px;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #D0D0D0;
}

/* Product images */
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .wp-post-image {
  border-radius: 0;
  margin-bottom: 16px;
}

/* Product title - Satoshi font */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 12px 0 8px 0;
  color: #1a1a1a;
  line-height: 1.4;
}

/* Price - Inter font, dark text */
.woocommerce ul.products li.product .price {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0 16px 0;
  color: #1a1a1a;
}

/* Sale badge - gold */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: #C9A961;
  color: #1a1a1a;
  border-radius: 4px;
  padding: 6px 12px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  min-width: auto;
  min-height: auto;
  line-height: 1;
}

/* Buttons - gold background */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button {
  background: #C9A961;
  color: #1a1a1a;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #B89451;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 16px;
  }

  .woocommerce ul.products li.product .onsale,
  .woocommerce span.onsale {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.add_to_cart_button,
  .woocommerce ul.products li.product a.button {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}


/* ================================================================
   Buy Now Button with Modern Payment Modal - Premium 2025 Design
================================================================ */

/* Primary Buy Now Button styling is defined in STEP 5 section above (line 2104-2154) */

/* ================================================================
   Payment Selector Modal - Modern E-Commerce UX
================================================================ */

/* Modal Overlay - Blur backdrop effect */
.payment-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-selector-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container - Desktop centered, Mobile bottom sheet */
.payment-selector-modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-selector-overlay.active .payment-selector-modal {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.modal-header {
  padding: 28px 28px 20px 28px;
  border-bottom: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-header h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #F5F5F5;
  color: #1a1a1a;
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  padding: 28px;
}

/* Payment Option Card */
.payment-option {
  position: relative;
  margin-bottom: 16px;
}

.payment-option:last-child {
  margin-bottom: 0;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option label {
  display: block;
  padding: 20px 24px;
  background: #FAFAFA;
  border: 2px solid #E8E8E8;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.payment-option label:hover {
  background: #F5F5F5;
  border-color: #C9A961;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.payment-option input[type="radio"]:checked + label {
  background: #FFFFFF;
  border-color: #C9A961;
  border-width: 3px;
  padding: 19px 23px;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.2);
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.payment-option-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
}

.payment-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-left: auto;
}

/* Recommended Badge */
.payment-option-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: linear-gradient(135deg, #C9A961 0%, #B89451 100%);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

/* Coming Soon Badge */
.payment-option-soon {
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  margin-left: auto;
  padding: 4px 12px;
  background: #F0F0F0;
  border-radius: 8px;
}

/* Disabled Payment Option */
.payment-option-disabled label {
  opacity: 0.5;
  cursor: not-allowed;
  background: #F8F8F8;
}

.payment-option-disabled label:hover {
  transform: none;
  border-color: #E8E8E8;
  box-shadow: none;
}

/* Modal Footer */
.modal-footer {
  padding: 20px 28px 28px 28px;
  border-top: 1px solid #E8E8E8;
  display: flex;
  gap: 12px;
}

.btn-cancel,
.btn-continue {
  flex: 1;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cancel {
  background: #F5F5F5;
  color: #666;
  border: 2px solid #E8E8E8;
}

.btn-cancel:hover {
  background: #ECECEC;
  color: #333;
  transform: translateY(-2px);
}

.btn-continue {
  background: linear-gradient(135deg, #C9A961 0%, #B89451 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-continue:hover {
  background: linear-gradient(135deg, #B89451 0%, #A07A3C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.btn-continue:active {
  transform: translateY(0);
}

/* Mobile Responsive - Bottom Sheet Style */
@media (max-width: 768px) {
  .payment-selector-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .payment-selector-modal {
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
  }

  .payment-selector-overlay.active .payment-selector-modal {
    transform: translateY(0);
  }

  .modal-header {
    padding: 24px 20px 16px 20px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 20px;
  }

  .payment-option label {
    padding: 16px 18px;
  }

  .payment-option input[type="radio"]:checked + label {
    padding: 15px 17px;
  }

  .payment-logo {
    height: 24px;
    max-width: 100px;
  }

  .modal-footer {
    padding: 16px 20px 24px 20px;
    flex-direction: column-reverse;
  }

  .btn-cancel,
  .btn-continue {
    width: 100%;
    padding: 14px 20px;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  height: 100vh;
}

/* BOG Buy Now Button - Official BOG Orange */
.buy-now-button.bog-button {
  background: linear-gradient(135deg, #FF600A 0%, #E55500 100%);
  color: #ffffff;
  position: relative;
}

/* BOG logo - using modified SVG with white text */
.buy-now-button.bog-button img {
  /* No filter needed - bog-logo-button.svg has white text */
}

.buy-now-button.bog-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #E55500 0%, #D94F00 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.buy-now-button.bog-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 96, 10, 0.35);
}

.buy-now-button.bog-button:hover::after {
  opacity: 1;
}

.buy-now-button.bog-button:hover img {
  transform: scale(1.05);
}

.buy-now-button.bog-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 96, 10, 0.3);
}

/* TBC Buy Now Button - Modern Blue Gradient */
.buy-now-button.tbc-button {
  background: linear-gradient(135deg, #1D4E89 0%, #163D6F 100%);
  color: #ffffff;
  position: relative;
}

.buy-now-button.tbc-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #163D6F 0%, #0F2A4A 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.buy-now-button.tbc-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 78, 137, 0.35);
}

.buy-now-button.tbc-button:hover::after {
  opacity: 1;
}

.buy-now-button.tbc-button:hover img {
  transform: scale(1.05);
}

.buy-now-button.tbc-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 137, 0.3);
}

/* Loading state for Buy Now buttons */
.buy-now-button.loading {
  pointer-events: none;
  opacity: 0.7;
}

.buy-now-button.loading span::after {
  content: '...';
  animation: loading-dots 1.4s infinite;
}

@keyframes loading-dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Mobile responsive - Elegant stacking */
@media (max-width: 767px) {
  .buy-now-buttons-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .buy-now-button {
    width: 100%;
    padding: 18px 28px;
    font-size: 1.05rem;
    min-width: auto;
  }

  .buy-now-button img {
    height: 30px;
    max-width: 90px;
  }
}

/* Tablet responsive */
@media (min-width: 768px) and (max-width: 1024px) {
  .buy-now-button {
    padding: 15px 28px;
    min-width: 180px;
  }

  .buy-now-button img {
    height: 30px;
  }
}

/* Single product page button container */
.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  width: 100%;
}

/* Focus states for accessibility */
.buy-now-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
