/* ============================================================
   COMANDA MALL – Luxury Theme Styles
   Includes Tailwind fallbacks for reliable rendering.
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --navy: #0B132B;
  --navy-50: #e8e9ee;
  --navy-100: #c5c8d5;
  --navy-200: #9ea3b8;
  --navy-300: #777d9b;
  --navy-400: #5a6185;
  --navy-500: #3d456f;
  --navy-600: #2c3459;
  --navy-700: #1b2343;
  --navy-800: #0B132B;
  --navy-900: #060b18;
  --gold: #D4AF37;
  --gold-50: #fbf4e0;
  --gold-100: #f5e3b3;
  --gold-200: #eed082;
  --gold-300: #e7bd51;
  --gold-400: #e0af2e;
  --gold-500: #D4AF37;
  --gold-600: #b8942a;
  --gold-700: #9c791e;
  --gold-800: #805e14;
  --gold-900: #64460b;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --container-max: 1280px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .font-serif { font-family: var(--font-serif); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; }
p { margin: 0 0 1rem; }

/* ===== TAILWIND FALLBACKS ===== */
/* These ensure the theme works even if Tailwind CDN fails */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px)  { .container { padding-left: 2.5rem;  padding-right: 2.5rem;  } }
@media (min-width: 1024px) { .container { padding-left: 4rem;    padding-right: 4rem;    } }
@media (min-width: 1280px) { .container { padding-left: 5rem;    padding-right: 5rem;    } }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.sticky { position: sticky; top: 0; }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.no-underline { text-decoration: none; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }
.list-none { list-style: none; }
.m-0 { margin: 0; }
.p-0 { padding: 0; }
.border { border: 1px solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.rounded-sm { border-radius: 2px; }
.rounded-full { border-radius: 9999px; }

/* Spacing helpers */
.p-1 { padding: 0.25rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* Width / Height helpers */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-56 { height: 14rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-none { max-width: none; }
.min-h-screen { min-height: 100vh; }

/* Colors */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-green-400 { color: #34d399; }
.text-red-400 { color: #f87171; }
.bg-white { background-color: #fff; }
.bg-black\/30 { background-color: rgba(0,0,0,0.3); }
.border-gray-800 { border-color: #1f2937; }
.border-gray-700 { border-color: #374151; }

/* Shared border gold */
.border-gold\/10 { border-color: rgba(212, 175, 55, 0.1); }
.border-gold\/20 { border-color: rgba(212, 175, 55, 0.2); }
.border-gold\/30 { border-color: rgba(212, 175, 55, 0.3); }
.border-gold\/40 { border-color: rgba(212, 175, 55, 0.4); }
.border-gold\/50 { border-color: rgba(212, 175, 55, 0.5); }
.bg-gold\/10 { background-color: rgba(212, 175, 55, 0.1); }
.bg-navy\/95 { background-color: rgba(11, 19, 43, 0.95); }
.bg-navy\/98 { background-color: rgba(11, 19, 43, 0.98); }

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

/* Tracking / letter-spacing */
.tracking-widest { letter-spacing: 0.25em; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-normal { letter-spacing: 0; }

/* Tailwind arbitrary-value fallbacks */
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }

/* Aspect ratio */
.aspect-square { aspect-ratio: 1 / 1; }

/* Extra small text */
.text-xxs { font-size: 0.625rem; }

/* Transition */
.transition { transition: all 0.2s ease; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s ease; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }

/* Drop shadow / Hover */
.drop-shadow-lg { filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\\:text-3xl { font-size: 1.875rem; }
  .md\\:text-4xl { font-size: 2.25rem; }
  .md\\:text-5xl { font-size: 3rem; }
  .md\\:text-7xl { font-size: 4.5rem; }
  .md\\:h-20 { height: 5rem; }
  .md\\:h-72 { height: 18rem; }
  .md\\:flex-row { flex-direction: row; }
  .md\\:items-end { align-items: flex-end; }
  .md\\:mt-0 { margin-top: 0; }
  .md\\:-mt-20 { margin-top: -5rem; }
  .md\\:w-32 { width: 8rem; }
  .md\\:h-32 { height: 8rem; }
  .md\\:w-28 { width: 7rem; }
  .md\\:h-28 { height: 7rem; }
}
@media (min-width: 1024px) {
  .lg\\:flex { display: flex !important; }
  .lg\\:hidden { display: none !important; }
  .lg\\:w-64 { width: 16rem; }
  .lg\\:w-1\\/4 { width: 25%; }
  .lg\\:w-2\\/3 { width: 66.666%; }
  .lg\\:w-3\\/5 { width: 60%; }
  .lg\\:w-2\\/5 { width: 40%; }
  .lg\\:w-3\\/4 { width: 75%; }
  .lg\\:w-\\[55\\%\\] { width: 55%; }
  .lg\\:w-\\[45\\%\\] { width: 45%; }
  .lg\\:gap-8 { gap: 2rem; }
  .lg\\:gap-10 { gap: 2.5rem; }
  .lg\\:gap-12 { gap: 3rem; }
  .lg\\:mb-0 { margin-bottom: 0; }
  .lg\\:mt-0 { margin-top: 0; }
  .lg\\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .lg\\:text-8xl { font-size: 6rem; }
  .lg\\:h-80 { height: 20rem; }
}
@media (max-width: 1023px) {
  .lg\\:hidden { display: block; }
}

/* ===== CUSTOM COMANDA UTILITIES ===== */

/* Font classes */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

/* Brand colors */
.bg-navy { background-color: var(--navy); }
.bg-navy-700 { background-color: var(--navy-700); }
.bg-gold { background-color: var(--gold); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.border-gold { border-color: var(--gold); }

/* Gradient backgrounds */
.bg-gradient-to-br { background: linear-gradient(135deg, var(--from, #374151), var(--to, #111827)); }
.from-gray-200 { --from: #e5e7eb; }
.to-gray-300 { --to: #d1d5db; }
.from-gray-600 { --from: #4b5563; }
.to-gray-800 { --to: #1f2937; }
.from-gray-700 { --from: #374151; }
.to-gray-900 { --to: #111827; }
.from-transparent { --from: transparent; }
.via-gold\\/40 { --via: rgba(212, 175, 55, 0.4); }
.to-transparent { --to: transparent; }
.from-navy { --from: #0B132B; }
.to-gray-900 { --to: #111827; }
.bg-gradient-to-r { background: linear-gradient(to right, var(--from, transparent), var(--via, var(--gold)), var(--to, transparent)); }
.bg-gradient-to-t { background: linear-gradient(to top, var(--from, rgba(11,19,43,0.8)), var(--to, transparent)); }

/* Dark Marble Backgrounds */
.bg-marble-dark {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px);
}
.bg-marble-charcoal {
  background-color: #111827;
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255, 255, 255, 0.015) 3px, rgba(255, 255, 255, 0.015) 5px);
}

/* Hero */
.hero-overlay {
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.85) 0%, rgba(11, 19, 43, 0.60) 100%);
}
.text-glow {
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-600));
  color: var(--navy);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #e0bf5e, #c4a030);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Navigation / Header */
.nav-link {
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }
.header-icon {
  color: #d1d5db;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.header-icon:hover { color: var(--gold); }
.header-icon svg {
  vertical-align: middle;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav li {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: #d1d5db;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .sub-menu {
  list-style: none;
  padding-left: 1rem;
}

/* Logo text */
.logo-text {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Titles */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem auto 0;
}

/* Vendor Carousel */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Vendor circle - ensures minimum width even without Tailwind */
.vendor-item {
  flex: 0 0 auto;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
@media (min-width: 640px) {
  .vendor-item { width: 150px; }
}
.vendor-circle {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  padding: 0.25rem;
  transition: all 0.3s ease;
}
.vendor-circle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}
@media (min-width: 640px) {
  .vendor-circle { width: 7rem; height: 7rem; }
}

/* Product Grid */
.product-grid,
ul.products.product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.product-grid > *,
ul.products.product-grid > li {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}
.product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Product card - dark navy background for luxury feel */
.product-card {
  background-color: var(--navy-700);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

/* Vendor Badge */
.vendor-badge {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.vendor-link {
  color: var(--gold);
  font-weight: 600;
  transition: opacity 0.2s;
}
.vendor-link:hover { opacity: 0.8; }

/* Category tile */
.category-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}
.category-tile:hover {
  border-color: rgba(212, 175, 55, 0.5);
}
.category-tile-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #374151, #111827);
}
.category-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.category-tile-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.category-tile-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s;
}
.category-tile:hover .category-tile-label {
  color: var(--gold);
}

/* Newsletter form */
.newsletter-form input::placeholder {
  color: #6b7280;
}

/* Footer columns */
.footer-column {
  min-width: 0;
}

/* Footer Widgets – full width */
.footer-widgets {
  width: 100%;
}
.footer-widgets .widget {
  width: 100%;
  margin-bottom: 1.5rem;
}
.footer-widgets .widget:last-child {
  margin-bottom: 0;
}

/* ===== WOOCOMMERCE SPECIFIC OVERRIDES ===== */
/* Force serif font on all WC product titles */
.woocommerce div.product .product_title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce-page ul.products li.product h2,
.woocommerce-page ul.products li.product h3,
.product_title {
  font-family: var(--font-serif) !important;
}
.woocommerce a,
.woocommerce-page a {
  color: var(--gold);
}

/* Product price in cards */
.price del {
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 400;
}
.price ins {
  text-decoration: none;
}

/* Quantity inputs */
.quantity .qty {
  background: var(--navy);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  padding: 0.5rem;
  width: 70px;
  text-align: center;
  border-radius: 2px;
}

/* Pagination */
.woocommerce-pagination .page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.woocommerce-pagination .page-numbers li > * {
  display: block;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d1d5db;
  font-size: 0.85rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.woocommerce-pagination .page-numbers li > .current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.woocommerce-pagination .page-numbers li > a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Result count / ordering */
.woocommerce-ordering select {
  background: var(--navy-700);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d1d5db;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 2px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* Single Product */
.product-summary .product_title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
}
.product-summary .price {
  font-size: 1.75rem;
  color: var(--gold);
}
.product-summary .cart .quantity { margin-right: 0.75rem; }
.product-summary .single_add_to_cart_button {
  background: linear-gradient(135deg, var(--gold), var(--gold-600));
  color: var(--navy);
  font-weight: 600;
  padding: 0.9rem 2.5rem;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.product-summary .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #e0bf5e, #c4a030);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Tabs */
.woocommerce-tabs {
  margin-top: 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 2rem;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.woocommerce-tabs ul.tabs li {
  margin: 0;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.woocommerce-tabs .panel {
  padding: 1.5rem 0;
  color: #d1d5db;
}

/* Star Rating */
.star-rating {
  color: var(--gold);
  font-size: 0.85rem;
}

/* Cart & Checkout */
table.shop_table {
  border-collapse: collapse;
}
table.shop_table th {
  font-weight: 500;
}
table.shop_table td, table.shop_table th {
  padding: 1rem 0.5rem;
}
table.shop_table .product-thumbnail img {
  width: 80px;
  border-radius: 2px;
}

/* Account Dropdown */
.account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.account-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.account-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 210px;
  background: #1b2343;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.account-dropdown-menu.is-open {
  display: block;
}
.account-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: #d1d5db;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.account-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* Search */
.woocommerce-product-search,
.search-form {
  display: flex;
  gap: 0.5rem;
}
.woocommerce-product-search input[type="search"],
.search-form input[type="search"] {
  flex: 1;
  background: var(--navy-700);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
}
.woocommerce-product-search input[type="search"]:focus,
.search-form input[type="search"]:focus {
  border-color: var(--gold);
  outline: none;
}
.woocommerce-product-search button,
.search-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.woocommerce-product-search button:hover,
.search-form button:hover {
  background: #e0bf5e;
}

/* Prose for page content */
.prose.prose-invert {
  color: #d1d5db;
  line-height: 1.75;
}
.prose.prose-invert h1, .prose.prose-invert h2, .prose.prose-invert h3 {
  color: #fff;
  font-family: var(--font-serif);
}
.prose.prose-invert a {
  color: var(--gold);
}

/* Widget areas */
.widget-area .widget,
.dokan-widget-area .widget {
  margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================================
   SHOP PAGE – Layout, Sidebar & Filters
   ============================================================ */

/* Outer container — full-width with generous horizontal padding */
.shop-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px)  { .shop-container { padding-left: 2.5rem;  padding-right: 2.5rem;  } }
@media (min-width: 1024px) { .shop-container { padding-left: 4rem;    padding-right: 4rem;    } }
@media (min-width: 1280px) { .shop-container { padding-left: 5rem;    padding-right: 5rem;    } }

/* Page title */
.shop-page-title {
  margin-bottom: 2rem;
}
.shop-page-title h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.shop-page-title .woocommerce-products-header__title { display: none; } /* avoid double title */

/* Two-column layout: sidebar + products */
.shop-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

/* ---- LEFT SIDEBAR ---- */
.shop-sidebar {
  width: 260px;
  flex: 0 0 260px;
  position: sticky;
  top: 90px; /* clears sticky header */
}

/* Widget blocks inside sidebar */
.shop-sidebar .widget,
.shop-filter-widget > * {
  background: rgba(27, 35, 67, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.25rem;
}
.shop-sidebar .widget-title,
.shop-filter-widget .widget-title,
.shop-filter-widget .widgettitle {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* Category list */
.shop-sidebar .product-categories,
.shop-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-sidebar .product-categories li,
.shop-sidebar ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
}
.shop-sidebar .product-categories li:last-child,
.shop-sidebar ul li:last-child { border-bottom: none; }
.shop-sidebar .product-categories li a,
.shop-sidebar ul li a {
  color: #c9cdd8;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
}
.shop-sidebar .product-categories li a:hover,
.shop-sidebar ul li a:hover { color: var(--gold); }
.shop-sidebar .product-categories .count,
.shop-sidebar .count {
  color: #6b7280;
  font-size: 0.75rem;
}
/* Active/current category */
.shop-sidebar .product-categories .current-cat > a,
.shop-sidebar .product-categories .current-cat-parent > a {
  color: var(--gold);
}

/* Price filter slider */
.shop-sidebar .price_slider_wrapper { padding-top: 0.5rem; }
.shop-sidebar .ui-slider {
  background: rgba(255,255,255,0.1) !important;
  border: none !important;
  height: 4px !important;
  border-radius: 2px !important;
  margin: 0.75rem 0 1rem !important;
}
.shop-sidebar .ui-slider .ui-slider-range {
  background: var(--gold) !important;
  border-radius: 2px !important;
}
.shop-sidebar .ui-slider .ui-slider-handle {
  width: 14px !important;
  height: 14px !important;
  top: -5px !important;
  background: var(--gold) !important;
  border: 2px solid var(--navy) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  outline: none !important;
}
.shop-sidebar .price_slider_amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #d1d5db;
  margin-top: 0.5rem;
}
.shop-sidebar .price_slider_amount .button {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: none !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-radius: 2px !important;
  cursor: pointer !important;
}
.shop-sidebar .price_slider_amount .price_label { color: #9ca3af; font-size: 0.78rem; }

/* Rating filter */
.shop-sidebar .wc-layered-nav-rating li { padding: 0.35rem 0; }
.shop-sidebar .wc-layered-nav-rating .star-rating { display: inline-block; vertical-align: middle; }

/* Mobile filter toggle button */
.shop-filter-toggle {
  display: none; /* hidden on desktop */
  align-items: center;
  gap: 0.5rem;
  background: rgba(27,35,67,0.9);
  border: 1px solid rgba(212,175,55,0.3);
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.shop-filter-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* Mobile close button inside sidebar */
.shop-sidebar-close {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.shop-sidebar-close:hover { color: var(--gold); }

/* Sidebar overlay (mobile) */
.shop-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
}
.shop-sidebar-overlay.is-visible { display: block; }

/* ---- PRODUCTS COLUMN ---- */
.shop-products-col {
  flex: 1;
  min-width: 0;
}

/* Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.shop-result-count { flex: 1; color: #9ca3af; font-size: 0.82rem; }
.shop-ordering select {
  background: rgba(27,35,67,0.9) !important;
  border: 1px solid rgba(212,175,55,0.25) !important;
  color: #d1d5db !important;
  padding: 0.5rem 2rem 0.5rem 0.75rem !important;
  font-size: 0.82rem !important;
  border-radius: 2px !important;
}

/* ---- MOBILE (< 1024px) ---- */
@media (max-width: 1023px) {
  .shop-layout { display: block; }

  /* Sidebar slides in from left */
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    max-width: 85vw;
    background: var(--navy);
    border-right: 1px solid rgba(212,175,55,0.15);
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
  }
  .shop-sidebar.is-open { transform: translateX(0); }

  .shop-filter-toggle { display: inline-flex; }
  .shop-sidebar-close { display: inline-flex; }
  .lg-hide { display: inline-flex !important; }
}
