/* Local Fonts Import (Zero CDN Dependency) */
@import url('fonts.css');

:root {
  --font-serif: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --bg-dark: #0a0908;
  --bg-surface: #12100e;
  --bg-card: #161412;
  --bg-card-hover: #1e1b18;

  --primary-gold: #d4a359;
  --primary-gold-hover: #e5b46a;
  --primary-gold-glow: rgba(212, 163, 89, 0.25);
  --gold-light: #f7d8a6;

  --text-main: #f5f2eb;
  --text-muted: #968f84;
  --text-dark: #0c0b0a;

  --border-gold: rgba(212, 163, 89, 0.22);
  --border-glass: rgba(255, 255, 255, 0.07);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Prevent mobile iOS / Android auto-zoom and double-tap zoom */
@media screen and (max-width: 768px) {

  input,
  select,
  textarea,
  button,
  a {
    touch-action: manipulation;
  }

  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
}

/* =========================================
   ULTRA-LUXURY GLASSMORPHISM HEADER NAV
   ========================================= */
.header-glass {
  background: rgba(10, 9, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo-img-frame {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.brand-logo-wrap:hover .brand-logo-img-frame {
  transform: scale(1.06);
}

.brand-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f7d8a6 60%, #d4a359 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

/* Header Actions & Language Dropdown Styling */
.desktop-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-only-menu-footer {
  display: none !important;
}

/* All mobile-only drawer elements hidden on desktop */
.mob-drawer-header,
.mob-nav-item,
.mob-cta-btn,
.mob-lang-pills,
.mob-lang-pill,
.mobile-only-menu-footer {
  display: none !important;
}

/* Desktop nav items: shown on desktop, hidden on mobile */
.desktop-nav-item {
  display: list-item;
  list-style: none;
}

.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(22, 20, 18, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lang-dropdown-btn:hover {
  background: rgba(30, 27, 24, 0.95);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 20px var(--primary-gold-glow);
}

.lang-globe-icon {
  font-size: 0.9rem;
}

.lang-chevron {
  font-size: 0.65rem;
  color: var(--primary-gold);
  transition: transform 0.25s ease;
}

.lang-dropdown-wrapper:hover .lang-chevron,
.lang-dropdown-wrapper.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(18, 16, 14, 0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.35rem;
  min-width: 110px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.lang-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-wrapper.open .lang-dropdown-menu,
.lang-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.lang-dropdown-item:hover {
  color: #ffffff;
  background: rgba(212, 163, 89, 0.12);
}

.lang-dropdown-item.active {
  color: var(--primary-gold);
  background: rgba(212, 163, 89, 0.18);
  font-weight: 700;
}

.lang-check {
  color: var(--primary-gold);
  font-weight: 800;
}

/* Luxury Nav Links */
.nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: #a8a196;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: var(--primary-gold);
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  background: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-gold);
  transition: var(--transition-smooth);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scale(1);
}

/* =========================================
   LUXURY DROPDOWN MENU FOR CATEGORIES
   ========================================= */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  min-width: 260px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 1100;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.dropdown-item-link:hover {
  color: var(--primary-gold);
  background: rgba(212, 163, 89, 0.08);
}

.dropdown-item-link.active {
  color: var(--primary-gold);
  font-weight: 700;
  background: rgba(212, 163, 89, 0.12);
}

/* Header Action Button */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.3rem;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b88338 100%);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 18px var(--primary-gold-glow);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-gold-hover) 0%, var(--primary-gold) 100%);
  box-shadow: 0 6px 24px rgba(212, 163, 89, 0.45);
}

/* =========================================
   SECONDARY CATEGORY BAR UNDER HEADER NAV
   ========================================= */
.subheader-category-bar {
  background: rgba(14, 12, 10, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.subheader-category-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.45rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subheader-category-container::-webkit-scrollbar {
  display: none;
}

.subheader-cat-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.subheader-cat-link:hover {
  color: var(--gold-light);
  background: rgba(212, 163, 89, 0.08);
}

.subheader-cat-link.active {
  color: var(--primary-gold);
  background: rgba(212, 163, 89, 0.12);
  font-weight: 700;
}

/* Hero Section - 100vh Full Screen Luxury Caucasian Walnut Slab Masterpiece */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 1.5rem 2rem;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: contrast(1.15) brightness(0.95) saturate(1.2);
  animation: heroPulse 16s infinite alternate ease-in-out;
}

@keyframes heroPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.04);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(10, 9, 8, 0.18) 0%, rgba(10, 9, 8, 0.65) 70%, var(--bg-dark) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.4) 0%, rgba(10, 9, 8, 0.25) 50%, rgba(10, 9, 8, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(212, 163, 89, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.2rem;
  font-weight: 400;
  line-height: 1.7;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b88338 100%);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--primary-gold-glow);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-gold-hover) 0%, var(--primary-gold) 100%);
  box-shadow: 0 12px 30px rgba(212, 163, 89, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(212, 163, 89, 0.15);
  border-color: var(--primary-gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* =========================================
   LUXURY SEARCH TOOLBAR & CATALOG LAYOUT
   ========================================= */
/* =========================================
   LUXURY SEARCH TOOLBAR & CATALOG LAYOUT
   ========================================= */
.catalog-page-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.2rem;
  align-items: start;
}

@media (max-width: 950px) {
  .catalog-page-layout {
    grid-template-columns: 1fr;
  }
}

.catalog-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: sticky;
  top: 160px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.sidebar-widget {
  margin-bottom: 1.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

/* Clean Vertical Category Buttons (No Icons) */
.category-list-vertical {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-item-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.category-item-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.category-item-btn.active {
  color: var(--primary-gold);
  background: rgba(212, 163, 89, 0.08);
  border-left-color: var(--primary-gold);
  font-weight: 700;
}

/* Form Styles */
.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

/* Dual Paired Select Layout */
.select-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.select-grid-2>div {
  min-width: 0;
}

.select-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Remove number input spin buttons */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  background: rgba(12, 11, 10, 0.85);
  border: 1px solid rgba(212, 163, 89, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.82rem;
  transition: var(--transition-smooth);
  text-overflow: ellipsis;
}

textarea,
.form-textarea {
  resize: none !important;
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #12100e;
  color: #ffffff;
  padding: 0.4rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(212, 163, 89, 0.3);
}

/* =========================================
   LUXURY DARK GOLD SELECT2 CUSTOM STYLING
   ========================================= */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  background-color: rgba(12, 11, 10, 0.9) !important;
  border: 1px solid rgba(212, 163, 89, 0.4) !important;
  border-radius: var(--radius-sm) !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  transition: var(--transition-smooth) !important;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 12px var(--primary-gold-glow) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text-main) !important;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  padding-left: 0.75rem !important;
  padding-right: 2rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px !important;
  right: 0.5rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--primary-gold) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--primary-gold) transparent !important;
}

.select2-dropdown {
  background-color: #12100e !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95) !important;
  z-index: 2000 !important;
  box-sizing: border-box !important;
}

.select2-results__options {
  max-height: 340px !important;
  overflow-y: auto !important;
}

.select2-results__options::-webkit-scrollbar {
  width: 4px;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 4px;
}

.select2-search--dropdown {
  padding: 0.5rem !important;
}

.select2-search--dropdown .select2-search__field {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  padding: 0.4rem 0.6rem !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: var(--primary-gold) !important;
  outline: none !important;
}

.select2-results__option {
  padding: 0.6rem 0.85rem !important;
  font-size: 0.83rem !important;
  color: var(--text-muted) !important;
  white-space: nowrap !important;
  transition: var(--transition-smooth) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: rgba(212, 163, 89, 0.15) !important;
  color: var(--primary-gold) !important;
  font-weight: 600 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: rgba(212, 163, 89, 0.25) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* =========================================
   CUSTOM LUXURY SORT SELECT DROPDOWN
   ========================================= */
.custom-sort-wrapper {
  position: relative;
  display: inline-block;
  min-width: 0;
}

.custom-sort-btn {
  background: rgba(12, 11, 10, 0.9);
  border: 1px solid rgba(212, 163, 89, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  max-width: 180px;
  min-width: 0;
}

#customSortSelectedText {
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.custom-sort-btn:hover,
.custom-sort-wrapper.active .custom-sort-btn {
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px var(--primary-gold-glow);
  color: #ffffff;
}

.custom-sort-btn .sort-arrow {
  font-size: 0.65rem;
  color: var(--primary-gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-sort-wrapper.active .sort-arrow {
  transform: rotate(180deg);
}

.custom-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 230px;
  background: #12100e;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
  padding: 0.35rem 0;
  z-index: 3000;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-sort-wrapper.active .custom-sort-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.sort-option {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.sort-option:hover {
  background: rgba(212, 163, 89, 0.15);
  color: var(--primary-gold);
  font-weight: 600;
}

.sort-option.active {
  background: rgba(212, 163, 89, 0.25);
  color: #ffffff;
  font-weight: 700;
}

/* =========================================
   ACTIVE APPLIED FILTER CHIPS / TAGS BAR
   ========================================= */
.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* =========================================
   TOP ACTIVE APPLIED FILTERS BAR (BELOW MENU)
   ========================================= */
.top-active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.85rem 1.4rem;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

/* =========================================
   SIDEBAR CHECKBOX FILTER LIST & STYLING
   ========================================= */
.checkbox-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.checkbox-filter-list::-webkit-scrollbar {
  width: 4px;
}

.checkbox-filter-list::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 4px;
}

.checkbox-filter-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  user-select: none;
}

.checkbox-filter-item:hover {
  background: rgba(212, 163, 89, 0.08);
  color: var(--text-main);
}

.checkbox-filter-item input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(212, 163, 89, 0.4);
  border-radius: 4px;
  background: rgba(10, 9, 8, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.checkbox-filter-item input[type="checkbox"]:checked+.custom-checkbox {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  box-shadow: 0 0 8px var(--primary-gold-glow);
}

.checkbox-filter-item input[type="checkbox"]:checked+.custom-checkbox::after {
  content: '✓';
  color: #0d0b09;
  font-size: 0.75rem;
  font-weight: 900;
}

.checkbox-filter-item input[type="checkbox"]:checked~.checkbox-text {
  color: var(--primary-gold-light);
  font-weight: 600;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 163, 89, 0.15);
  border: 1px solid rgba(212, 163, 89, 0.4);
  color: var(--primary-gold-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.active-filter-chip:hover {
  background: rgba(212, 163, 89, 0.25);
  border-color: var(--primary-gold);
}

.active-filter-chip strong {
  color: #ffffff;
  font-weight: 600;
}

.active-filter-chip .chip-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.active-filter-chip .chip-remove:hover {
  color: #ff5252;
}

.chip-clear-all {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-left: auto;
}

.chip-clear-all:hover {
  background: rgba(255, 82, 82, 0.15);
  border-color: rgba(255, 82, 82, 0.4);
  color: #ff5252;
}

/* Cards & Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.wood-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.wood-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
}

.wood-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #0d0b09;
}

.wood-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wood-card:hover .wood-card-img {
  transform: scale(1.08);
}

.wood-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.card-price {
  font-size: 1.15rem;
  color: var(--primary-gold);
  font-weight: 800;
  white-space: nowrap;
}

.card-description-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
}

.card-specs-clean {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.spec-name {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.spec-val {
  color: #f5f2eb;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  line-height: 1.35;
}

.spec-val.gold {
  color: var(--primary-gold);
  font-weight: 700;
}

.card-footer-action {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.btn-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  background: rgba(212, 163, 89, 0.08);
  border: 1px solid rgba(212, 163, 89, 0.3);
  color: var(--primary-gold);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.wood-card:hover .btn-card-more {
  background: var(--primary-gold);
  color: #0c0b0a;
  border-color: var(--primary-gold);
  box-shadow: 0 3px 10px rgba(212, 163, 89, 0.25);
}

/* Pagination System */
.catalog-pagination-wrap {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pagination-info strong {
  color: #ffffff;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-btn,
.page-num-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: #f5f2eb;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.page-num-btn {
  padding: 0.45rem 0.75rem;
  min-width: 36px;
  text-align: center;
}

.page-btn:hover:not(:disabled),
.page-num-btn:hover:not(.active) {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: rgba(212, 163, 89, 0.08);
}

.page-num-btn.active {
  background: var(--primary-gold);
  color: #0c0b0a;
  border-color: var(--primary-gold);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 163, 89, 0.3);
}

.page-btn:disabled,
.page-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.spec-list li span:last-child {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

/* =========================================
   PREMIUM LUXURY FOOTER
   ========================================= */
.footer-luxury {
  background: linear-gradient(180deg, #0c0a08 0%, #070605 100%);
  position: relative;
  overflow: hidden;
}

.footer-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 50% -20%, rgba(212, 163, 89, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-gold) 30%, var(--gold-light) 50%, var(--primary-gold) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(212, 163, 89, 0.4);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 3.5rem;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  width: fit-content;
}

.footer-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #7a4c14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c0b0a;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(212, 163, 89, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer-brand-sub {
  display: block;
  font-size: 0.62rem;
  color: var(--primary-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Social Buttons */
.footer-socials {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid;
}

.footer-social-wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #4ade80;
}

.footer-social-wa:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.18);
}

.footer-social-tg {
  background: rgba(41, 182, 246, 0.08);
  border-color: rgba(41, 182, 246, 0.25);
  color: #38bdf8;
}

.footer-social-tg:hover {
  background: rgba(41, 182, 246, 0.18);
  border-color: rgba(41, 182, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(41, 182, 246, 0.18);
}

.footer-social-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(225, 48, 108, 0.3);
}

.footer-social-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.55);
  filter: brightness(1.1);
}

/* Footer Link Columns */
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 163, 89, 0.15);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-link-list li,
.footer-contact-list li {
  padding: 0;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 2.1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-link::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary-gold);
  transition: width 0.25s ease;
  position: absolute;
  bottom: 6px;
  left: 0;
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 0.5rem;
}

.footer-link:hover::before {
  width: 100%;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Quality Badge */
.footer-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: rgba(212, 163, 89, 0.06);
  border: 1px solid rgba(212, 163, 89, 0.2);
  border-radius: var(--radius-md);
  margin-top: 0.6rem;
  width: fit-content;
}

/* Stats Bar */
.footer-stats-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 2.5rem;
  text-align: center;
}

.footer-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.footer-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(212, 163, 89, 0.3), transparent);
}

/* Bottom Bar */
.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: #5a5348;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-bottom-link {
  color: #5a5348;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--primary-gold);
}

/* Process Cards Polish */
.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold) !important;
  box-shadow: 0 15px 40px rgba(212, 163, 89, 0.22) !important;
}

/* ==========================================================================
   SUPER IDEAL MOBILE RESPONSIVE SYSTEM (TABLET & MOBILE OPTIMIZATIONS)
   ========================================================================== */

/* Modern Catalog Control Toolbar */
.catalog-top-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.toolbar-search-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  width: 100%;
}

.search-pill {
  background: rgba(10, 9, 8, 0.7);
  font-size: 0.88rem;
  padding-left: 2.3rem !important;
  border-radius: var(--radius-full) !important;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gold);
  font-size: 0.85rem;
  pointer-events: none;
}

.toolbar-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.results-count-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.results-count-text strong {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.sort-control-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.sort-label-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mobile-filter-toggle-btn {
  display: none;
}

/* Mobile Filter Modal Drawer Popup */
.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.filter-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.filter-modal-content {
  background: #110f0d;
  border: 1px solid var(--border-gold);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.9);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-modal-backdrop.active .filter-modal-content {
  transform: translateY(0);
}

.filter-modal-header {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 18, 16, 0.9);
}

.filter-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filter-modal-close:hover {
  color: #ffffff;
  border-color: var(--primary-gold);
}

.filter-modal-body {
  padding: 1rem 1.2rem;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gold) rgba(255, 255, 255, 0.05);
}

.filter-modal-body::-webkit-scrollbar {
  width: 4px;
}

.filter-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.filter-modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 4px;
}

/* Remove double card borders inside modal body */
.filter-modal-body .sidebar-widget {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 0 !important;
  padding: 0.8rem 0 !important;
  margin-bottom: 0.6rem !important;
  box-shadow: none !important;
}

.filter-modal-body .sidebar-widget:last-child {
  border-bottom: none !important;
}

.filter-modal-footer {
  padding: 0.8rem 1.1rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(14, 12, 10, 0.98);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-modal-reset {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-modal-reset:hover {
  color: #ffffff;
  border-color: var(--primary-gold);
}

.btn-modal-apply {
  flex: 1.5;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0c0b0a;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b8860b 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 14px rgba(212, 163, 89, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* ─── Gallery Showcase Grid ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card-wrap {
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-photo-click-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.gallery-photo-click-wrap:hover .wood-card-img {
  transform: scale(1.06);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-photo-click-wrap:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 1.3rem;
  color: #ffffff;
  background: rgba(212, 163, 89, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.gallery-photo-click-wrap:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* ─── Contact & Inquiry System ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.inquiry-form-card,
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.btn-chat-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.btn-chat-contact.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
}

.btn-chat-contact.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-chat-contact.btn-telegram {
  background: rgba(0, 136, 204, 0.12);
  border: 1px solid rgba(0, 136, 204, 0.35);
  color: #29b6f6;
}

.btn-chat-contact.btn-telegram:hover {
  background: rgba(0, 136, 204, 0.22);
  border-color: #29b6f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.25);
}

/* Tablets & Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .mobile-filter-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 163, 89, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--primary-gold);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-filter-toggle-btn.active {
    background: var(--primary-gold);
    color: #0c0b0a;
    box-shadow: 0 4px 14px rgba(212, 163, 89, 0.3);
  }

  .catalog-layout {
    flex-direction: column;
    gap: 1.2rem;
  }

  .catalog-sidebar {
    display: none;
    width: 100%;
    position: static;
    margin-bottom: 1.5rem;
  }

  .catalog-sidebar.active {
    display: block !important;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Hamburger & Drawer Styles */
.mobile-toggle-btn {
  display: none;
}

.mobile-cta-item {
  display: none;
}

.mobile-categories-group {
  display: none;
}

/* Intermediate Desktop Navigation (1081px - 1280px) */
@media (min-width: 1081px) and (max-width: 1280px) {
  .header-container {
    padding: 0.75rem 1.25rem;
  }

  .brand-logo-wrap {
    gap: 0.65rem;
  }

  .brand-logo-img-frame {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .nav-menu {
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .desktop-header-actions {
    gap: 0.65rem;
  }

  .lang-dropdown-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .btn-header-cta {
    padding: 0.48rem 0.95rem;
    font-size: 0.8rem;
  }

  .subheader-category-container {
    padding: 0.4rem 1.25rem;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   TABLET & MOBILE NAVIGATION SYSTEM (<= 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .desktop-header-actions {
    display: none !important;
  }

  .header-container {
    padding: 0.7rem 1.2rem;
  }

  /* nav wrapper becomes layout-invisible; fixed drawer still works */
  .nav-container-desktop {
    display: contents;
  }

  /* Hide desktop nav items on mobile, show mobile drawer items */
  .desktop-nav-item {
    display: none !important;
  }

  .mobile-only-menu-footer {
    display: flex !important;
  }

  .mobile-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(212, 163, 89, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition-smooth);
  }

  .hamburger-bar {
    width: 22px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-toggle-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-toggle-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ─── MOBILE DRAWER CONTAINER ─── */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(170deg, #0f0d0b 0%, #181410 60%, #1a1208 100%);
    border-left: 1px solid rgba(212, 163, 89, 0.18);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
    display: flex;
    list-style: none;
  }

  .nav-menu.active {
    right: 0;
  }

  /* ─── DRAWER HEADER ─── */
  .mob-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(212, 163, 89, 0.12);
    background: rgba(212, 163, 89, 0.04);
    flex-shrink: 0;
  }

  .mob-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .mob-drawer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(212, 163, 89, 0.3);
  }

  .mob-drawer-brand-title {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--primary-gold);
    line-height: 1.1;
  }

  .mob-drawer-brand-sub {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    line-height: 1.1;
  }

  /* ─── NAV ITEMS ─── */
  .mob-nav-item {
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .mob-nav-link {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    color: #b8b0a6;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    position: relative;
  }

  .mob-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: var(--primary-gold);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mob-nav-link:hover,
  .mob-nav-link.active {
    color: #fff;
    background: rgba(212, 163, 89, 0.07);
  }

  .mob-nav-link.active::before,
  .mob-nav-link:hover::before {
    opacity: 1;
  }

  .mob-nav-link.active {
    color: var(--primary-gold);
  }

  .mob-nav-icon {
    font-size: 0.9rem;
    color: var(--primary-gold);
    opacity: 0.7;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
  }

  .mob-nav-link span:nth-child(2) {
    flex: 1;
  }

  .mob-nav-arrow {
    color: rgba(212, 163, 89, 0.35);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .mob-nav-link:hover .mob-nav-arrow,
  .mob-nav-link.active .mob-nav-arrow {
    color: var(--primary-gold);
    transform: translateX(2px);
  }

  /* ─── BOTTOM BAR ─── */
  .mobile-only-menu-footer {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.2rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(212, 163, 89, 0.12);
    background: rgba(212, 163, 89, 0.03);
    flex-shrink: 0;
  }

  /* Language Pills */
  .mob-lang-pills {
    display: flex !important;
    gap: 0.5rem;
  }

  .mob-lang-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(212, 163, 89, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: var(--transition-smooth);
  }

  .mob-lang-pill:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(212, 163, 89, 0.08);
  }

  .mob-lang-pill.active {
    border-color: var(--primary-gold);
    background: rgba(212, 163, 89, 0.15);
    color: var(--primary-gold);
  }

  /* CTA Button */
  .mob-cta-btn {
    display: block !important;
    text-align: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #d4a359, #e5b46a);
    color: #0a0908;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(212, 163, 89, 0.3);
  }

  .mob-cta-btn:hover {
    background: linear-gradient(135deg, #e5b46a, #f7d8a6);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.45);
    transform: translateY(-1px);
  }

  /* Hide old desktop nav-link styles on mobile/tablet */
  .nav-link {
    display: none !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .subheader-category-bar {
    display: none !important;
  }

  .mobile-categories-group {
    display: flex !important;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    margin: 0.3rem 0;
  }

  .mobile-cat-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.12em;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(212, 163, 89, 0.15);
  }

  .mobile-cat-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .mobile-cat-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
  }

  .mobile-cat-item:hover {
    color: var(--primary-gold);
    background: rgba(212, 163, 89, 0.08);
  }

  .desktop-cta {
    display: none !important;
  }

  .mobile-cta-item {
    display: block !important;
    margin-top: 0.8rem;
    width: 100%;
  }
}

@media (max-width: 768px) {

  /* Hero Section Mobile Tuning */
  .hero-section {
    height: auto !important;
    min-height: 100vh;
    padding: 6.5rem 1.2rem 3.5rem !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1.8rem !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }

  /* Filter Header & Top Toolbar */
  .catalog-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .catalog-search-wrap {
    width: 100%;
  }

  .custom-luxury-select {
    width: 100%;
  }

  /* Product Cards Grid - 1 item per row on mobile for clear luxury showcase */
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .wood-card-img-wrap {
    height: 220px;
  }

  .wood-card-body {
    padding: 1.15rem 1rem;
  }

  .card-title {
    font-size: 0.92rem;
  }

  .card-description-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .card-price {
    font-size: 1.15rem;
  }

  .card-header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
  }

  .spec-row {
    font-size: 0.84rem;
  }

  /* Pagination Mobile */
  .catalog-pagination-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-stats-bar {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }

  .footer-stat-divider {
    display: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  /* Modal Mobile */
  .modal-content {
    width: 94% !important;
    max-height: 88vh;
    padding: 1.4rem !important;
    margin: 1rem;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem !important;
  }

  .card-header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.4rem;
  }

  .card-price {
    align-self: auto;
  }

  .spec-row {
    font-size: 0.82rem;
  }

  .page-num-btn {
    min-width: 32px;
    padding: 0.35rem 0.55rem;
    font-size: 0.8rem;
  }

  .page-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
}

.home-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.home-section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.6rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Helper Base Classes for Responsive Layouts */
.home-section-padding,
.section-padding {
  padding: 5rem 1.5rem;
}

.home-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.home-feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.home-callout-card {
  background: linear-gradient(135deg, rgba(24, 21, 18, 0.95), rgba(18, 16, 14, 0.95));
  border: 1px solid var(--primary-gold);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.contact-header-padding {
  padding: 140px 1.5rem 4rem;
}

.page-title-responsive {
  font-size: 3rem;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-heading-responsive {
  font-size: 2.3rem;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.btn-responsive {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  padding: 0.95rem 2.2rem;
  font-size: 0.95rem;
}

.product-detail-padding {
  padding: 140px 1.5rem 5rem;
}

.product-detail-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-price-display {
  font-size: 1.8rem;
  color: var(--primary-gold);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.product-action-buttons-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-action-buttons-wrap .btn-primary,
.product-action-buttons-wrap .btn-secondary {
  flex: 1 1 200px;
  padding: 0.9rem 1.4rem;
  font-size: 0.92rem;
  justify-content: center;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.related-products-section {
  border-top: 1px solid var(--border-glass);
  padding-top: 3rem;
  margin-top: 2.5rem;
}

.related-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Luxury Gold Carousel Styling */
.native-carousel-slider {
  display: flex !important;
  gap: 1.2rem;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  cursor: grab;
  user-select: none;
}

.native-carousel-slider.active-drag {
  cursor: grabbing;
  scroll-snap-type: none !important;
}

.native-carousel-slider::-webkit-scrollbar {
  display: none;
}

.native-carousel-slider .item {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .native-carousel-slider .item {
    flex: 0 0 85%;
  }
}

.carousel-custom-nav,
.owl-nav,
.owl-dots {
  display: none !important;
}

.product-detail-img-stage {
  background: radial-gradient(ellipse at center, #251d16 0%, #14110d 60%, #090807 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-bottom: 1.2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), inset 0 0 60px rgba(0, 0, 0, 0.65);
  padding: 24px;
}

.product-gallery-column {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.product-thumbnails-carousel {
  position: relative;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.product-thumbnails-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 4px 1px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  user-select: none;
  box-sizing: border-box !important;
}

.product-thumbnails-strip::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.thumb-btn {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(212, 163, 89, 0.22);
  background: radial-gradient(circle at center, #221c16 0%, #0d0b09 100%) !important;
  cursor: pointer;
  padding: 3px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  opacity: 0.65;
  position: relative;
  box-sizing: border-box !important;
}

.thumb-btn:hover {
  opacity: 1;
  border-color: rgba(212, 163, 89, 0.6);
  transform: translateY(-2px);
}

.thumb-btn.active {
  opacity: 1;
  border-color: var(--primary-gold, #d4a359) !important;
  box-shadow: 0 0 14px rgba(212, 163, 89, 0.45);
  transform: scale(1.04);
}

.thumb-btn img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none;
  border-radius: 6px;
}

.about-hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.process-cards-grid,
.grain-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}

.inquiry-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* ==========================================================================
   PAGE-WIDE COMPREHENSIVE MOBILE OVERRIDES (ALL SUBPAGES & COMPONENTS)
   ========================================================================== */

.catalog-top-spacer {
  padding-top: 145px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.catalog-container-padding {
  padding: 1rem 1.5rem 6rem;
}

/* Subheader Category Bar Mobile Smooth Scroll */
.subheader-category-bar {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1080px) {
  .desktop-header-actions {
    display: none !important;
  }

  .subheader-category-container {
    padding: 0.55rem 1.2rem !important;
    gap: 0.85rem !important;
    justify-content: flex-start !important;
    width: max-content;
  }

  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 1.2rem !important;
  }

  .about-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {

  .inquiry-form-card,
  .contact-card {
    padding: 1.4rem 1.1rem !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .gallery-card-wrap {
    height: 190px !important;
  }

  .header-container {
    padding: 0.75rem 1.1rem !important;
  }

  .catalog-top-spacer {
    padding-top: 80px !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .catalog-container-padding {
    padding: 0.5rem 0.75rem 4rem !important;
  }

  .catalog-top-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 1.2rem !important;
    gap: 0.7rem !important;
  }

  /* Mobile & Tablet Toolbar Layout — 2 Equal Buttons Grid */
  .toolbar-actions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
  }

  .desktop-only-count {
    display: none !important;
  }

  .mobile-filter-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(212, 163, 89, 0.12) !important;
    border: 1px solid var(--border-gold) !important;
    color: var(--primary-gold) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .mobile-count-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 9px !important;
    background: var(--primary-gold) !important;
    color: #0c0a08 !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .sort-control-group {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sort-label-text {
    display: none !important;
  }

  .custom-sort-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
  }

  .custom-sort-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: rgba(18, 16, 14, 0.95) !important;
    border: 1px solid var(--border-gold) !important;
    color: var(--text-main) !important;
  }

  .sort-icon-prefix {
    color: var(--primary-gold) !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
  }

  #customSortSelectedText {
    flex: 1 !important;
    max-width: 100% !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .custom-sort-menu {
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }

  .brand-logo-wrap {
    gap: 0.65rem !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
    letter-spacing: 0.05em !important;
  }

  .brand-logo-img-frame {
    width: 44px !important;
    height: 44px !important;
  }

  .contact-header-padding {
    padding: 95px 1rem 2.5rem !important;
  }

  .page-title-responsive {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  .section-title,
  .section-heading-responsive {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .home-section-header {
    margin-bottom: 1.8rem !important;
  }

  .home-section-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .section-padding,
  .home-section-padding {
    padding: 2.2rem 1rem !important;
  }

  .home-split-grid,
  .about-hero-grid,
  .contact-grid,
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .home-feature-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .home-callout-card {
    padding: 2rem 1.1rem !important;
  }

  .btn-responsive {
    width: 100% !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.88rem !important;
  }

  .product-detail-padding {
    padding: 72px 0.75rem 2.5rem !important;
  }

  .product-detail-breadcrumb {
    margin-bottom: 0.9rem !important;
    font-size: 0.78rem !important;
    gap: 0.35rem !important;
  }

  .product-detail-img-stage {
    height: 400px !important;
    padding: 12px !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }

  .thumb-nav-arrow {
    display: none !important;
  }

  .product-thumbnails-carousel {
    gap: 0 !important;
    margin-top: 0.65rem !important;
  }

  .product-thumbnails-strip {
    gap: 6px !important;
    padding: 2px 0 !important;
    justify-content: space-between !important;
  }

  .thumb-btn {
    flex: 1 1 0 !important;
    min-width: 44px !important;
    max-width: 74px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
    padding: 2px !important;
  }

  .inquiry-form-card {
    padding: 1.6rem 1.1rem !important;
  }

  .gallery-grid,
  .process-cards-grid,
  .grain-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .active-filter-chip {
    font-size: 0.76rem !important;
    padding: 0.3rem 0.65rem !important;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 0.92rem !important;
  }

  .brand-logo-img-frame {
    width: 38px !important;
    height: 38px !important;
  }

  .wood-card-body {
    padding: 1.05rem !important;
  }

  .wood-card-img-wrap {
    height: 205px !important;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.2rem !important;
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   ULTRA-SMALL PHONE RESPONSIVE SYSTEM (DOWN TO 320px WIDTH OPTIMIZATION)
   ========================================================================== */

@media (max-width: 380px) {

  /* Header & Brand Logo */
  .header-container {
    padding: 0.6rem 0.75rem !important;
  }

  .brand-logo-wrap {
    gap: 0.45rem !important;
  }

  .brand-logo-img-frame {
    width: 34px !important;
    height: 34px !important;
  }

  .brand-title {
    font-size: 0.8rem !important;
    letter-spacing: 0.02em !important;
  }

  .mobile-toggle-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .hamburger-bar {
    width: 18px !important;
  }

  /* Hero Section (Home) */
  .hero-section {
    padding: 5.2rem 0.8rem 2.2rem !important;
  }

  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.22 !important;
  }

  .hero-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 1.2rem !important;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 0.75rem 1rem !important;
    font-size: 0.8rem !important;
  }

  /* Catalog Top Bar & Search */
  .catalog-search-input,
  .custom-luxury-select-trigger {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .sidebar-widget {
    padding: 0.9rem !important;
  }

  .widget-title {
    font-size: 0.8rem !important;
  }

  .checkbox-text {
    font-size: 0.78rem !important;
  }

  /* Product Card (Catalog & Home) */
  .wood-card-body {
    padding: 0.95rem !important;
  }

  .wood-card-img-wrap {
    height: 185px !important;
  }

  .card-title {
    font-size: 0.88rem !important;
  }

  .card-price {
    font-size: 1.1rem !important;
  }

  .card-description-text {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .spec-row {
    font-size: 0.78rem !important;
  }

  .btn-card-more {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  /* Pagination Mobile (320px) */
  .pagination-info {
    font-size: 0.75rem !important;
  }

  .page-btn {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  .page-num-btn {
    min-width: 28px !important;
    padding: 0.3rem 0.4rem !important;
    font-size: 0.75rem !important;
  }

  /* Single Product View (product_detail.blade.php) */
  .product-detail-padding {
    padding: 68px 0.45rem 2rem !important;
  }

  .product-detail-breadcrumb {
    margin-bottom: 0.7rem !important;
    font-size: 0.73rem !important;
  }

  .product-detail-container h1 {
    font-size: 1.35rem !important;
  }

  .product-price-display {
    font-size: 1.25rem !important;
  }

  /* Process Cards (about.blade.php) */
  .process-card {
    padding: 1.1rem !important;
  }

  .process-card h3 {
    font-size: 1.05rem !important;
  }

  .process-card p {
    font-size: 0.8rem !important;
  }

  /* Contact & Form Inputs */
  .contact-card,
  .inquiry-form-card {
    padding: 1.1rem !important;
  }

  .form-input {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
  }

  .search-pill {
    padding-left: 2.1rem !important;
    font-size: 0.78rem !important;
  }

  .results-count-text {
    font-size: 0.73rem !important;
  }

  .mobile-filter-toggle-btn {
    padding: 0.38rem 0.65rem !important;
    font-size: 0.73rem !important;
  }

  .custom-sort-btn {
    padding: 0.38rem 0.5rem !important;
    font-size: 0.72rem !important;
    max-width: 105px !important;
  }

  #customSortSelectedText {
    max-width: 65px !important;
  }

  .catalog-top-spacer {
    padding-top: 75px !important;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }

  .catalog-container-padding {
    padding: 0.3rem 0.45rem 3rem !important;
  }
}

@media (max-width: 480px) {

  .inquiry-form-card,
  .contact-card {
    padding: 1.2rem 0.85rem !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .gallery-card-wrap {
    height: 160px !important;
  }

  .btn-chat-contact {
    font-size: 0.78rem !important;
    padding: 0.65rem 0.8rem !important;
    gap: 0.5rem !important;
  }
}
