/* ==========================================================================
   Construmax Itauguá — Professional Enterprise Luxury Store Design System
   Modern slate, warm charcoal & rich copper-gold aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface & Background Palette */
  --bg-cream: #FBF7F0;
  --bg-warm: #F5EDE0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FBF7F0;
  --bg-dark-section: #2A170C;
  --bg-footer: #1E1008;

  /* Primary Charcoal & Slate Typography */
  --walnut: #2A170C;
  --walnut-medium: #4A2A16;
  --walnut-light: #5C3D26;

  /* Accent System - Subdued Copper & Metallic Gold */
  --copper: #9A5F2A;
  --copper-hover: #B07436;
  --copper-light: rgba(154, 95, 42, 0.08);
  --copper-glow: rgba(154, 95, 42, 0.18);
  --amber: #C9A04E;

  /* Text Hierarchy */
  --text-primary: #2A170C;
  --text-secondary: #6E5037;
  --text-muted: #8C735C;
  --text-light: #B5A08A;
  --text-on-dark: #FBF7F0;

  /* Sage & Status Accents */
  --sage: #059669;
  --sage-light: rgba(5, 150, 105, 0.1);
  --success: #059669;
  --whatsapp: #25d366;

  /* Borders & Sharp Lines */
  --border-light: #ECE1CF;
  --border-medium: #DDCDB5;
  --border-copper: rgba(154, 95, 42, 0.35);

  /* Refined Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Subtle Crisp Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(42, 23, 12, 0.05), 0 1px 2px rgba(42, 23, 12, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(42, 23, 12, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(42, 23, 12, 0.12);
  --shadow-copper: 0 4px 16px rgba(154, 95, 42, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--walnut);
  letter-spacing: -0.02em;
}

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

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

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

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
  background: #D2C4B4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper);
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--bg-dark-section);
  padding: 9px 0;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(245, 240, 232, 0.7);
}

.topbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-info+.topbar-info {
  position: relative;
}

.topbar-info+.topbar-info::before {
  content: "•";
  position: absolute;
  left: -14px;
  color: var(--amber);
  opacity: 0.6;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 232, 0.85);
}

.topbar-info svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

/* ========== MAIN HEADER (CLEAN & MINIMALIST EXECUTIVE DESIGN) ========== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #ECE1CF;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 24px -6px rgba(42, 23, 12, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #2A170C;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 10px;
  color: #9A5F2A;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ========== CLEAN MINIMALIST NAV LIST ========== */
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #6E5037;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #9A5F2A;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #9A5F2A;
}

/* ========== EXECUTIVE E-COMMERCE MEGAMENU DROPDOWN ========== */
.categories-megamenu-item {
  position: relative;
}

.categories-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FBF7F0;
  color: #2A170C !important;
  padding: 8px 16px !important;
  border-radius: 10px;
  border: 1px solid #ECE1CF;
  font-weight: 700 !important;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(42, 23, 12, 0.04);
}

.categories-trigger-btn:hover,
.categories-megamenu-item:hover .categories-trigger-btn {
  background: linear-gradient(135deg, #2A170C 0%, #4A2A16 100%);
  color: #FFFFFF !important;
  border-color: #2A170C;
  box-shadow: 0 6px 18px rgba(42, 23, 12, 0.2);
}

.categories-megamenu-item:hover .cat-dropdown-arrow {
  transform: rotate(180deg);
  color: #DDB47A;
}

.megamenu-flyout-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 640px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(42, 23, 12, 0.16), 0 0 0 1px rgba(42, 23, 12, 0.04);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
  overflow: hidden;
  padding: 10px;
}

.categories-megamenu-item:hover .megamenu-flyout-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

.megamenu-main-list {
  width: 250px;
  border-right: 1px solid #F5EDE0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 6px;
}

.megamenu-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #5C3D26;
  transition: all 0.2s ease;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.megamenu-cat-row:hover,
.megamenu-cat-row.active {
  background: #FBF1E1;
  color: #9A5F2A;
  border-left-color: #9A5F2A;
  font-weight: 700;
  padding-left: 16px;
}

.cat-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-row-svg {
  color: #8C735C;
  transition: color 0.2s ease;
}

.megamenu-cat-row:hover .cat-row-svg,
.megamenu-cat-row.active .cat-row-svg {
  color: #9A5F2A;
}

.cat-row-arrow {
  font-size: 11px;
  color: #DDCDB5;
  transition: transform 0.2s ease, color 0.2s ease;
}

.megamenu-cat-row:hover .cat-row-arrow,
.megamenu-cat-row.active .cat-row-arrow {
  color: #9A5F2A;
  transform: translateX(4px);
}

.megamenu-sub-panel {
  flex: 1;
  padding: 18px 22px;
  background: #FBF7F0;
  border-radius: 12px;
  margin-left: 6px;
}

.sub-content-group {
  display: none;
}

.sub-content-group.active {
  display: block;
  animation: fadeInPanel 0.25s ease forwards;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateX(6px); }
  to { opacity: 1; transform: translateX(0); }
}

.subpanel-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #2A170C;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ECE1CF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subpanel-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.subpanel-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.column-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #9A5F2A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.subpanel-column a {
  font-size: 12.5px;
  font-weight: 600;
  color: #6E5037;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subpanel-column a:hover {
  color: #9A5F2A;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(42, 23, 12, 0.06);
  transform: translateX(4px);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: #2A170C;
  font-weight: 700;
}

.nav-link.active::after {
  transform: scaleX(1);
  background: #9A5F2A;
}

/* ========== CLEAN HEADER ACTIONS ========== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cart {
  position: relative;
  background: #2A170C;
  border: none;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(42, 23, 12, 0.12);
}

.btn-cart:hover {
  background: #4A2A16;
  transform: translateY(-1px);
}

.btn-cart svg {
  width: 16px;
  height: 16px;
}

.cart-count-badge {
  background: #9A5F2A;
  color: white;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-admin {
  background: #FFFFFF;
  border: 1px solid #DDCDB5;
  color: #5C3D26;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-admin:hover {
  background: #FBF7F0;
  border-color: #B5A08A;
  color: #2A170C;
}

.btn-admin svg {
  width: 14px;
  height: 14px;
}

/* ========== HERO SLIDER (COMPACT EXECUTIVE BANNER) ========== */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--bg-dark-section);
  border-radius: 20px;
  box-shadow: 0 12px 32px -4px rgba(42, 23, 12, 0.12);
  border: 1px solid var(--border-light);
}

.slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
  width: 33.3333%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 23, 12, 0.88) 0%, rgba(42, 23, 12, 0.60) 55%, rgba(42, 23, 12, 0.15) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 580px;
  padding: 0 24px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(154, 95, 42, 0.25);
  border: 1px solid rgba(154, 95, 42, 0.6);
  color: #D4A55A;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.slide-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.slide-title span {
  color: #D4A55A;
}

.slide-desc {
  font-size: 14px;
  color: rgba(251, 247, 240, 0.85);
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 480px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--copper) 0%, #6B4427 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-copper);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 115, 51, 0.35);
  background: linear-gradient(135deg, var(--copper-hover) 0%, var(--copper) 100%);
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

.slider-nav-btn.prev {
  left: 20px;
}

.slider-nav-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 34px;
  border-radius: 6px;
  background: var(--copper);
}

/* ========== CATALOG SECTION ========== */
.catalog-section {
  padding: 60px 0 40px;
  background: var(--bg-cream);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 38px;
  margin-bottom: 14px;
  color: var(--walnut);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.categories-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-btn {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  color: #6E5037;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(42, 23, 12, 0.03);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-btn:hover {
  background: #FBF1E1;
  border-color: #DDB47A;
  color: #9A5F2A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(154, 95, 42, 0.1);
}

.pill-btn.active {
  background: linear-gradient(135deg, #2A170C 0%, #4A2A16 100%) !important;
  border-color: #2A170C !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(42, 23, 12, 0.22) !important;
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 44px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

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

.search-input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-light);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.product-thumb {
  position: relative;
  height: 230px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--copper);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.product-category-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-code {
  font-size: 10.5px;
  color: var(--copper);
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--walnut);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-unit {
  font-size: 10.5px;
  color: var(--text-muted);
}

.price-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--copper);
}

.btn-add-cart {
  background: var(--copper-light);
  border: 1px solid var(--border-copper);
  color: var(--copper);
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--copper);
  color: #ffffff;
  transform: scale(1.05);
}

.btn-add-cart svg {
  width: 18px;
  height: 18px;
}

.btn-card-add-cart-full {
  width: 100%;
  background: #2A170C;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(42, 23, 12, 0.12);
}

.btn-card-add-cart-full:hover {
  background: #9A5F2A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(154, 95, 42, 0.35) !important;
}

/* Sidebar Hierarchical Subcategories */
.cat-group-item {
  margin-bottom: 6px;
  border-radius: 10px;
  overflow: hidden;
  background: #FAF7F2;
  border: 1px solid #ECE1CF;
}

.cat-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #2A170C;
  user-select: none;
  transition: background 0.2s ease;
}

.cat-group-header:hover {
  background: #F5EDE0;
}

.cat-group-icon {
  font-size: 14px;
  font-weight: 800;
  color: #9A5F2A;
  transition: transform 0.25s ease;
}

.cat-group-item.open .cat-group-icon {
  transform: rotate(45deg);
}

.subcat-list {
  list-style: none;
  padding: 4px 0 6px 12px;
  margin: 0;
  display: none;
  border-top: 1px dashed #ECE1CF;
  background: #FFFFFF;
}

.cat-group-item.open .subcat-list {
  display: block;
}

.subcat-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6E5037;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.subcat-btn::before {
  content: '•';
  color: #9A5F2A;
  font-size: 14px;
}

.subcat-btn:hover, .subcat-btn.active {
  color: #9A5F2A;
  background: #FBF1E1;
  font-weight: 700;
}

/* ========== CATALOG PAGE LAYOUT ========== */
.catalog-page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.sidebar-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-box-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--walnut);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-cat-btn:hover,
.sidebar-cat-btn.active {
  background: var(--copper-light);
  border-color: var(--copper);
  color: var(--copper);
}

.cat-count {
  display: none !important;
}

.catalog-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-control {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: var(--text-primary);
  outline: none;
}

.form-control:focus {
  border-color: var(--copper);
}

/* ========== CALCULATOR SECTION ========== */
.calculator-section {
  padding: 90px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-card {
  background: #FFFFFF;
  border: 1px solid var(--border-copper);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-result-box {
  background: var(--bg-dark-section);
  border: 1px dashed var(--copper);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
}

.calc-res-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--amber);
  margin: 12px 0;
}

/* ========== CART DRAWER ========== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 23, 12, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 92vw;
  height: 100%;
  background: #FFFFFF;
  border-left: 1px solid #ECE1CF;
  border-radius: 16px 0 0 16px;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px rgba(42, 23, 12, 0.2);
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.btn-close-cart:hover {
  background: #ECE1CF !important;
  color: #2A170C !important;
  transform: rotate(90deg);
}

#btnCheckout:hover {
  background: linear-gradient(135deg, #9A5F2A 0%, #6B4427 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154, 95, 42, 0.35) !important;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  padding: 14px;
  border-radius: var(--radius-md);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  padding: 4px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--copper);
  font-weight: 700;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-warm);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--walnut);
}

.btn-whatsapp-order {
  width: 100%;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-whatsapp-order:hover {
  background: #1eb956;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(184, 115, 51, 0.15);
  padding: 60px 0 30px;
  margin-top: auto;
  color: rgba(245, 240, 232, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 15px;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.6);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-slider-container {
    height: 460px;
  }

  .slide-title {
    font-size: 34px;
  }

  .catalog-page-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

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

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

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .topbar-content {
    flex-direction: column;
    text-align: center;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-list {
    display: none;
  }

  .hero-slider-container {
    height: 400px;
  }

  .slide-title {
    font-size: 26px;
  }

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

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

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

/* ========== PAYMENT METHODS LUXURY CARDS ========== */
.payment-card-item {
  background: #FFFFFF;
  border: 1.5px solid rgba(44, 24, 16, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.payment-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B8834A, #D4A04A);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-card-item:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 115, 51, 0.35);
  box-shadow: 0 20px 40px -10px rgba(44, 24, 16, 0.12), 0 0 20px rgba(184, 115, 51, 0.1);
}

.payment-card-item:hover::before {
  opacity: 1;
}

.payment-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.payment-card-item:hover .payment-icon-box {
  transform: scale(1.08) rotate(3deg);
}

.payment-icon-box svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* Icon Variants */
.p-icon-cash {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
}

.p-icon-bank {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1E40AF;
}

.p-icon-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #9A3412;
}

.p-icon-qr {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #6B21A8;
}

.p-icon-mobile {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #854D0E;
}

.p-icon-credit {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: #115E59;
}

.payment-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.payment-desc {
  font-size: 0.92rem;
  color: #6B5B4E;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.payment-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.badge-cash {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803D;
}

.badge-bank {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1D4ED8;
}

.badge-card {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #B45309;
}

.badge-qr {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #7E22CE;
}

.badge-mobile {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #A16207;
}

.badge-credit {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #0F766E;
}

/* Floating WhatsApp Button (Icon Only Circular Button) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #FFFFFF !important;
}

.floating-whatsapp-btn .whatsapp-icon {
  width: 32px;
  height: 32px;
}

.floating-whatsapp-btn .whatsapp-badge {
  position: absolute;
  top: -4px;
  left: 4px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }

  .floating-whatsapp-btn .whatsapp-text {
    display: none;
  }
}

.badge-credit {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #0F766E;
}

/* Floating WhatsApp Button (Icon Only Circular Button) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #FFFFFF !important;
}

.floating-whatsapp-btn .whatsapp-icon {
  width: 32px;
  height: 32px;
}

.floating-whatsapp-btn .whatsapp-badge {
  position: absolute;
  top: -4px;
  left: 4px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }

  .floating-whatsapp-btn .whatsapp-text {
    display: none;
  }
}

/* ========== PRODUCT PREVIEW MODAL LUXURY STYLES ========== */
#productModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 23, 12, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

#productModalOverlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-product-card-container {
  position: relative;
  width: 780px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(236, 225, 207, 0.8);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#productModalOverlay.open .modal-product-card-container {
  transform: scale(1) translateY(0);
}

.btn-close-product-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F5EDE0;
  border: 1px solid #ECE1CF;
  color: #6E5037;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.btn-close-product-modal:hover {
  background: #2A170C;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-product-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 680px) {
  .modal-product-layout { grid-template-columns: 1fr; }
}

.modal-product-gallery {
  position: relative;
  background: #FBF7F0;
  border-radius: 14px;
  border: 1px solid #ECE1CF;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}

.modal-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.modal-code {
  font-size: 11px;
  font-weight: 800;
  color: #B8834A;
  letter-spacing: 1px;
}

.modal-cat-tag {
  background: #F5EDE0;
  color: #6E5037;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #2A170C;
  line-height: 1.3;
  margin-bottom: 8px;
}

.modal-stock-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #059669;
  font-weight: 500;
  margin-bottom: 16px;
}

.modal-desc-box {
  background: #FBF7F0;
  border: 1px solid #ECE1CF;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.modal-desc-box h4, .modal-specs-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: #2A170C;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.modal-desc-box p, .modal-specs-box p {
  font-size: 13.5px;
  color: #6E5037;
  line-height: 1.5;
  margin: 0;
}

.modal-specs-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.modal-price-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #F5EDE0;
  flex-wrap: wrap;
}

.modal-price-label {
  font-size: 11px;
  color: #8C735C;
  display: block;
}

.modal-price-value {
  font-size: 24px;
  font-weight: 800;
  color: #2A170C;
  letter-spacing: -0.5px;
}

.modal-buttons-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-btn-cart {
  background: #F5F5F5;
  color: #2A170C;
  border: 1px solid #ECE1CF;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.modal-btn-cart:hover {
  background: #B8834A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 115, 51, 0.4);
}

.modal-btn-cart svg {
  width: 18px;
  height: 18px;
}

.modal-btn-wa {
  background: #25D366;
  color: #FFFFFF !important;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.modal-btn-wa:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.modal-btn-wa svg {
  width: 22px;
  height: 22px;
}

/* ========== ACCORDION & PRICE SLIDER SIDEBAR FILTERS (Reference: Herramientas TOTAL / Construmax) ========== */
/* ========== MINIMALIST CLEAN SIDEBAR CATEGORIES ========== */
.filter-accordion-box {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(42, 23, 12, 0.04);
}

.filter-accordion-header {
  width: 100%;
  padding: 15px 18px;
  background: #FFFFFF;
  border: none;
  border-bottom: 1px solid #F5EDE0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.filter-accordion-header:hover {
  background: #FBF7F0;
}

.filter-title-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #2A170C;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-title-text svg {
  color: #9A5F2A;
}

.accordion-arrow {
  font-size: 12px;
  color: #B5A08A;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(90deg);
}

.filter-accordion-header.collapsed .accordion-arrow {
  transform: rotate(0deg);
}

.filter-accordion-body {
  padding: 14px;
  display: block;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.filter-accordion-body.closed {
  display: none;
}

/* ========== CLEAN LIGHT SIDEBAR CATEGORIES (ACCORDION DOWNWARD SUBMENU) ========== */
.filter-accordion-box {
  background: #FFFFFF !important;
  border: 1px solid #ECE1CF !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(42, 23, 12, 0.04) !important;
}

.filter-accordion-header {
  width: 100%;
  padding: 15px 18px;
  background: #FFFFFF !important;
  border: none;
  border-bottom: 1px solid #F5EDE0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.filter-accordion-header:hover {
  background: #FBF7F0 !important;
}

.filter-title-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #2A170C !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-title-text svg {
  color: #9A5F2A;
}

.accordion-arrow {
  font-size: 12px;
  color: #B5A08A;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(90deg);
}

.filter-accordion-header.collapsed .accordion-arrow {
  transform: rotate(0deg);
}

.filter-accordion-body {
  padding: 12px;
  display: block;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.filter-accordion-body.closed {
  display: none;
}

.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-btn {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.cat-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #F5EDE0;
  color: #8C735C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #5C3D26;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.cat-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-cat-btn .cat-count {
  background: #F5EDE0;
  color: #8C735C;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.subcat-arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  color: #B5A08A;
  transition: all 0.25s ease;
}

.sidebar-cat-btn:hover .subcat-arrow-icon {
  color: #9A5F2A;
}

/* Submenu Downward Accordion Wrapper */
.sidebar-subcat-wrapper {
  padding-left: 12px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid #FED7AA;
  margin-left: 10px;
}

.sidebar-cat-btn.subcat-btn {
  background: #FBF7F0;
  border: 1px solid #F5EDE0;
  border-radius: 8px;
  min-height: 38px;
}

.subcat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DDCDB5;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sidebar-cat-btn.subcat-btn .cat-name {
  font-size: 12.5px;
  color: #6E5037;
}

/* Hover State */
.sidebar-cat-btn:hover {
  background: #FBF1E1;
  border-color: #DDB47A;
  transform: translateX(3px);
}

.sidebar-cat-btn:hover .cat-name {
  color: #9A5F2A;
}

.sidebar-cat-btn:hover .cat-icon-wrap {
  background: #F6E6CC;
  color: #9A5F2A;
}

.sidebar-cat-btn:hover .cat-count {
  background: #F6E6CC;
  color: #9A5F2A;
}

.sidebar-cat-btn:hover .subcat-dot {
  background: #9A5F2A;
  transform: scale(1.4);
}

/* Active Selected State - Clean & High-End */
.sidebar-cat-btn.active {
  background: #FBF1E1 !important;
  border: 1.5px solid #9A5F2A !important;
  border-left: 4px solid #9A5F2A !important;
  box-shadow: 0 3px 10px rgba(154, 95, 42, 0.12) !important;
  transform: translateX(0) !important;
}

.sidebar-cat-btn.active .cat-name {
  color: #9A5F2A !important;
  font-weight: 800 !important;
}

.sidebar-cat-btn.active .cat-icon-wrap {
  background: #9A5F2A !important;
  color: #FFFFFF !important;
}

.sidebar-cat-btn.active .cat-count {
  background: #9A5F2A !important;
  color: #FFFFFF !important;
}

.sidebar-cat-btn.subcat-btn.active .subcat-dot {
  background: #9A5F2A !important;
  box-shadow: 0 0 6px rgba(154, 95, 42, 0.6);
  transform: scale(1.4) !important;
}

/* Brands Filter Checkboxes */
.brands-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.brand-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6E5037;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.brand-check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #9A5F2A;
  cursor: pointer;
}

/* Price Range Filter Box */
.filter-price-box {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(42, 23, 12, 0.03);
}

.filter-price-title {
  font-size: 14px;
  font-weight: 800;
  color: #2A170C;
  margin-bottom: 14px;
}

.price-range-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #2A170C;
  margin-bottom: 12px;
  gap: 4px;
}

.range-slider-wrapper {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.range-slider-wrapper input[type="range"] {
  position: absolute;
  width: 100%;
  height: 5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

.range-slider-wrapper input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: #ECE1CF;
  border-radius: 3px;
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #9A5F2A;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(154, 95, 42, 0.4);
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
}

.price-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.price-inputs-row input {
  width: 100%;
  padding: 6px 4px;
  border: 1px solid #DDCDB5;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #2A170C;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
}

.price-inputs-row input:focus {
  border-color: #9A5F2A;
  box-shadow: 0 0 0 3px rgba(154, 95, 42, 0.12);
}

.btn-apply-price {
  width: 100%;
  background: #9A5F2A;
  color: #FFFFFF;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(154, 95, 42, 0.25);
}

.btn-apply-price:hover {
  background: #B07436;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(154, 95, 42, 0.35);
}

/* ========== SOBRE NOSOTROS (EXECUTIVE MODERN DESIGN) ========== */
.about-hero-executive {
  background: linear-gradient(135deg, #2A170C 0%, #4A2A16 100%);
  color: #ffffff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(236, 225, 207, 0.1);
}

.about-hero-executive::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(154, 95, 42, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(154, 95, 42, 0.2);
  border: 1px solid rgba(154, 95, 42, 0.5);
  color: #D4A55A;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.about-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.about-hero-title span {
  color: #D4A55A;
}

.about-hero-desc {
  font-size: 15.5px;
  color: rgba(251, 247, 240, 0.85);
  max-width: 680px;
  line-height: 1.6;
}

/* Stats Bar */
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.stat-card-executive {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(42, 23, 12, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-executive:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(42, 23, 12, 0.12);
  border-color: #9A5F2A;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #2A170C;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #2A170C 0%, #9A5F2A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 12.5px;
  font-weight: 700;
  color: #8C735C;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mission & Vision Cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card-luxury {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(42, 23, 12, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mv-card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(42, 23, 12, 0.08);
  border-color: rgba(154, 95, 42, 0.4);
}

.mv-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2A170C, #9A5F2A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(154, 95, 42, 0.3);
}

.mv-title {
  font-size: 20px;
  font-weight: 800;
  color: #2A170C;
  margin-bottom: 10px;
}

.mv-text {
  font-size: 14px;
  color: #6E5037;
  line-height: 1.65;
}

/* Company Data Box */
.company-dossier-card {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(42, 23, 12, 0.04);
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.dossier-item {
  background: #FBF7F0;
  border: 1px solid #ECE1CF;
  border-radius: 12px;
  padding: 14px 18px;
}

.dossier-label {
  font-size: 11px;
  font-weight: 700;
  color: #8C735C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.dossier-val {
  font-size: 14px;
  font-weight: 800;
  color: #2A170C;
}

/* Values Grid */
.values-grid-luxury {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card-executive {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 4px 15px rgba(42, 23, 12, 0.03);
  transition: all 0.3s ease;
}

.value-card-executive:hover {
  transform: translateY(-4px);
  border-color: #9A5F2A;
  box-shadow: 0 10px 25px rgba(42, 23, 12, 0.08);
}

.value-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(154, 95, 42, 0.1);
  border: 1px solid rgba(154, 95, 42, 0.3);
  color: #9A5F2A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

/* ========== IDENTIDAD MADERAS ITAUGUÁ (colores del logo) ========== */
/* Veta de madera sutil sobre las superficies oscuras */
.topbar,
.site-footer,
.wood-banner {
  background-color: #2A170C;
  background-image:
    repeating-linear-gradient(90deg, rgba(212, 165, 90, 0.05) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #3A2112 0%, #2A170C 100%);
}

.topbar {
  border-bottom: 2px solid #C9A04E;
}

.site-footer {
  border-top: 4px solid #C9A04E;
}

.wood-banner {
  border-bottom: 3px solid #C9A04E;
}

.wood-banner .section-tag {
  color: #D4A55A;
}

.main-header {
  background: rgba(251, 247, 240, 0.97);
  border-bottom: 1px solid #E3D2B6;
}

.brand-name {
  color: #4A2A16;
}

.brand-subtitle {
  color: #B07436;
}

.brand-icon {
  box-shadow: 0 4px 14px rgba(74, 42, 22, 0.3);
}

.section-tag {
  color: #B07436;
}

.btn-cart,
.pill-btn.active {
  background: linear-gradient(135deg, #4A2A16 0%, #2A170C 100%) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #B07436 0%, #7A4A20 100%);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C9A04E 0%, #9A5F2A 100%);
}

/* ========== CATÁLOGO ========== */
.catalog-hero {
  padding: 40px 0 36px;
  color: #FBF7F0;
}

.catalog-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(244, 236, 221, 0.6);
  margin-bottom: 14px;
}

.catalog-breadcrumb a {
  color: #D4A55A;
  font-weight: 600;
}

.catalog-breadcrumb a:hover {
  color: #E3C17A;
}

.catalog-hero h1 {
  font-size: 38px;
  color: #FBF7F0;
  margin-bottom: 0;
  line-height: 1.15;
}

.catalog-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 236, 221, 0.82);
  max-width: 640px;
  margin-bottom: 22px;
}

.catalog-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-hero-stats span {
  background: rgba(244, 236, 221, 0.08);
  border: 1px solid rgba(201, 160, 78, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(244, 236, 221, 0.85);
}

.catalog-hero-stats strong {
  color: #D4A55A;
  margin-right: 4px;
}

.catalog-pro {
  padding: 36px 0 64px;
  background: var(--bg-cream);
}

.catalog-pro .catalog-page-layout {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-pro .catalog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-panel,
.cat-help {
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 14px;
  padding: 18px;
}

.cat-panel-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8C735C;
  margin-bottom: 12px;
}

.catalog-pro .sidebar-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-pro .sidebar-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #5C3D26;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.catalog-pro .sidebar-cat-btn:hover {
  background: #FBF7F0;
  border-color: #ECE1CF;
  color: #2A170C;
  transform: none;
}

.catalog-pro .sidebar-cat-btn:hover .cat-name {
  color: #2A170C;
}

/* !important: gana a los estilos viejos de .sidebar-cat-btn.active, que también usan !important */
.catalog-pro .sidebar-cat-btn.active {
  background: #2A170C !important;
  border: 1px solid #2A170C !important;
  box-shadow: none !important;
}

.catalog-pro .sidebar-cat-btn.active .cat-name {
  color: #FBF7F0 !important;
  font-weight: 700 !important;
}

.cat-num {
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F5EDE0;
  color: #6E5037;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.catalog-pro .sidebar-cat-btn.active .cat-num {
  background: rgba(201, 160, 78, 0.25);
  color: #E3C17A;
}

.cat-help h3 {
  font-size: 15px;
  color: #2A170C;
  margin-bottom: 6px;
}

.cat-help p {
  font-size: 13px;
  line-height: 1.5;
  color: #8C735C;
  margin-bottom: 14px;
}

.cat-help .btn-whatsapp-order {
  padding: 11px 14px;
  font-size: 13.5px;
}

.catalog-pro .catalog-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ECE1CF;
  border-radius: 14px;
  box-shadow: none;
}

.catalog-pro .search-box {
  flex: 1 1 280px;
  max-width: 420px;
  min-width: 0;
}

.catalog-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-result-count {
  font-size: 13px;
  font-weight: 600;
  color: #8C735C;
}

.catalog-pro .sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-pro .sort-box label {
  font-size: 13px;
  font-weight: 600;
  color: #8C735C;
}

.catalog-pro .sort-box select {
  padding: 8px 12px;
  border: 1px solid #DDCDB5;
  border-radius: 10px;
  background: #FFFFFF;
  color: #2A170C;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.catalog-empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 20px;
  margin-bottom: 20px;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed #DDCDB5;
  border-radius: 14px;
  color: #8C735C;
  font-size: 14px;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog-empty strong {
  color: #2A170C;
  font-size: 15px;
}

/* Tarjetas del catálogo */
.catalog-pro .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}

.catalog-pro .product-card {
  border: 1px solid #ECE1CF;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(42, 23, 12, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-pro .product-card:hover {
  transform: translateY(-4px);
  border-color: #D9C3A2;
  box-shadow: 0 16px 34px rgba(42, 23, 12, 0.12);
}

/* Marco de imagen uniforme, con fondo cálido para que todas las fotos luzcan parejas */
.catalog-pro .product-thumb {
  position: relative;
  height: 210px !important;
  padding: 18px !important;
  background: #FBF8F2 !important;
  border-bottom: 1px solid #F0E6D6;
}

.catalog-pro .product-thumb img {
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.catalog-pro .product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.catalog-pro .product-category-tag {
  top: 12px;
  bottom: auto;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ECE1CF;
  color: #8A6A3E;
  backdrop-filter: blur(4px);
}

.catalog-pro .product-badge-featured {
  top: 12px;
  left: auto;
  right: 12px;
  background: linear-gradient(135deg, #B07436 0%, #8A5A28 100%);
  color: #FFF6E6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(138, 90, 40, 0.3);
}

.catalog-pro .product-body {
  padding: 14px 16px 16px;
}

.catalog-pro .product-code {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #B08A5A;
  margin-bottom: 3px;
}

.catalog-pro .product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2A170C;
  margin-bottom: 6px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-pro .product-name:hover {
  color: #9A5F2A;
}

.catalog-pro .product-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #8C735C;
  margin-bottom: 12px;
}

/* Disponibilidad como texto discreto, sin recuadro pesado */
.catalog-pro .product-avail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
}

.catalog-pro .product-avail .avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.catalog-pro .product-avail--ok {
  color: #1E7A4D;
}

.catalog-pro .product-avail--ok .avail-dot {
  background: #22A565;
  box-shadow: 0 0 0 3px rgba(34, 165, 101, 0.18);
}

.catalog-pro .product-avail--ask {
  color: #9A7B50;
}

.catalog-pro .product-avail--ask .avail-dot {
  background: #C3A878;
}

/* Pie de tarjeta con separador superior */
.catalog-pro .product-footer {
  padding-top: 14px;
  border-top: 1px solid #F0E6D6;
  gap: 12px;
}

.catalog-pro .price-unit {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #A8906F;
}

.catalog-pro .price-amount {
  font-size: 18px;
  font-weight: 800;
  color: #7A4A20;
  letter-spacing: -0.3px;
}

/* ========== PEDIDO / COTIZACIÓN ========== */
/* En las tarjetas, el precio queda arriba y "AGREGAR" (o el contador) ocupa todo el ancho */
.product-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.card-cart-ctrl {
  min-height: 38px;
}

.btn-agregar {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #4A2A16 0%, #2A170C 100%);
  color: #FBF7F0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-agregar:hover {
  background: linear-gradient(135deg, #6B4427 0%, #4A2A16 100%);
  box-shadow: 0 6px 16px rgba(42, 23, 12, 0.25);
}

.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 38px;
}

.qty-stepper button {
  width: 38px;
  height: 38px;
  border: 1px solid #DDCDB5;
  border-radius: 10px;
  background: #FBF7F0;
  color: #2A170C;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.qty-stepper button:hover {
  background: #F5EDE0;
  border-color: #B5A08A;
}

.qty-stepper span {
  font-size: 18px;
  font-weight: 800;
  color: #2A170C;
}

/* Botón flotante "REVISAR PEDIDO (n)" */
.btn-revisar-pedido {
  position: fixed;
  right: 100px;
  bottom: 34px;
  z-index: 9998;
  padding: 14px 26px;
  border: 1px solid rgba(201, 160, 78, 0.6);
  border-radius: 999px;
  background: linear-gradient(135deg, #4A2A16 0%, #2A170C 100%);
  color: #FBF7F0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(42, 23, 12, 0.35);
  animation: aparecerPedido 0.3s ease;
}

.btn-revisar-pedido:hover {
  background: linear-gradient(135deg, #6B4427 0%, #4A2A16 100%);
}

.btn-revisar-pedido[hidden] {
  display: none;
}

@keyframes aparecerPedido {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ventana "TU COTIZACIÓN": centrada en computadora, hoja inferior en celular */
.cart-drawer-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-drawer {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 85vh;
  border: 1px solid #ECE1CF;
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(40px);
  box-shadow: 0 30px 60px rgba(42, 23, 12, 0.35);
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateY(0);
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #ECE1CF;
  background: #FFFFFF;
}

.quote-header h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #2A170C;
  margin: 0;
}

.quote-header .btn-close-cart {
  width: 34px;
  height: 34px;
  border: 1px solid #DDCDB5;
  border-radius: 50%;
  background: #F5EDE0;
  color: #6E5037;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.cart-drawer .cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  background: #FBF7F0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-empty {
  text-align: center;
  color: #8C735C;
  padding: 40px 0;
  font-size: 15px;
}

.quote-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 12px;
}

.quote-item .cart-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #ECE1CF;
  background: #FFFFFF;
  object-fit: contain;
}

.quote-item-info {
  flex: 1;
  min-width: 0;
}

.quote-item-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #2A170C;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-price {
  font-size: 12px;
  font-weight: 700;
  color: #9A5F2A;
  margin-bottom: 8px;
}

.quote-item-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-item-ctrl button {
  width: 28px;
  height: 28px;
  border: 1px solid #DDCDB5;
  border-radius: 8px;
  background: #FBF7F0;
  color: #2A170C;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.quote-item-ctrl span {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #2A170C;
}

.quote-item-ctrl .quote-item-delete {
  margin-left: auto;
  border-color: #F3C9C0;
  background: #FFFFFF;
  color: #C2410C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-item-delete svg {
  width: 15px;
  height: 15px;
}

.quote-item-subtotal {
  font-size: 13px;
  font-weight: 800;
  color: #2A170C;
  white-space: nowrap;
}

.cart-drawer .cart-footer {
  padding: 18px 22px;
  background: #FFFFFF;
  border-top: 1px solid #ECE1CF;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-drawer .cart-footer[hidden] {
  display: none;
}

.cart-drawer .cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer .cart-total-row span:first-child {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8C735C;
}

#cartTotalDisplay {
  font-size: 22px;
  font-weight: 800;
  color: #9A5F2A;
}

.btn-quote-wa,
#btnCheckout.btn-quote-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: #25D366 !important;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3) !important;
  transform: none !important;
}

.btn-quote-wa:hover,
#btnCheckout.btn-quote-wa:hover {
  background: #1EBE5B !important;
}

.btn-quote-wa svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.btn-vaciar {
  border: none;
  background: transparent;
  color: #8C735C;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  padding: 4px;
}

.btn-vaciar:hover {
  color: #C2410C;
}

@media (max-width: 640px) {
  .cart-drawer-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .cart-drawer {
    max-width: none;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .btn-revisar-pedido {
    left: 16px;
    right: 88px;
    bottom: 22px;
    padding: 14px 16px;
    text-align: center;
  }
}

/* Tarjetas grandes del pedido (foto grande, nombre completo, controles cómodos para el dedo) */
.cart-drawer {
  max-width: 580px;
}

.cart-drawer .cart-body {
  gap: 14px;
}

.quote-card {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(42, 23, 12, 0.04);
}

.quote-card-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid #F5EDE0;
  border-radius: 12px;
}

.quote-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.quote-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-card-info h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2A170C;
  margin: 0;
}

.quote-card-price {
  font-size: 13px;
  font-weight: 700;
  color: #9A5F2A;
  margin: 0;
}

.quote-card-qty {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  margin-top: 2px;
  background: #FBF7F0;
  border: 1px solid #ECE1CF;
  border-radius: 12px;
}

.quote-card-qty button {
  width: 40px;
  height: 40px;
  border: 1px solid #DDCDB5;
  border-radius: 10px;
  background: #FFFFFF;
  color: #2A170C;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.quote-card-qty button:hover {
  background: #F5EDE0;
}

.quote-card-qty span {
  min-width: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #2A170C;
}

.quote-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #ECE1CF;
}

.quote-card-subtotal {
  font-size: 15px;
  font-weight: 800;
  color: #2A170C;
}

.quote-card-subtotal small {
  font-size: 12px;
  font-weight: 600;
  color: #8C735C;
  margin-right: 4px;
}

.quote-card-delete {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #F3C9C0;
  border-radius: 10px;
  background: #FFFFFF;
  color: #C2410C;
  cursor: pointer;
}

.quote-card-delete:hover {
  background: #FFF4F0;
}

.quote-card-delete svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .quote-card {
    gap: 12px;
    padding: 12px;
  }

  .quote-card-img {
    width: 92px;
    height: 92px;
  }

  .quote-card-info h4 {
    font-size: 14px;
  }

  .cart-drawer .cart-body {
    padding: 14px 16px;
  }

  .cart-drawer .cart-footer {
    padding: 14px 16px;
  }

  .cart-drawer .cart-total-row {
    gap: 10px;
  }

  .cart-drawer .cart-total-row span:first-child {
    white-space: nowrap;
    font-size: 12px;
  }

  #cartTotalDisplay {
    font-size: 17px;
    text-align: right;
  }
}

/* Inicio: modalidades de envío bajo el título */
.envios-lista {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.envios-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 999px;
  font-size: 14px;
  color: #5C3D26;
  text-align: left;
}

.envios-lista strong {
  color: #2A170C;
}

.envios-icono {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #9A5F2A;
}

@media (max-width: 640px) {
  .envios-lista {
    flex-direction: column;
    align-items: stretch;
  }

  .envios-lista li {
    border-radius: 14px;
    font-size: 13.5px;
  }
}

/* ========== FICHA DE PRODUCTO ========== */
.pd-page {
  background: #FFFFFF;
  padding: 40px 0 64px;
}

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.pd-main-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  padding: 24px;
  background: #FFFFFF;
}

.pd-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pd-thumb {
  width: 84px;
  height: 84px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 6px;
  cursor: pointer;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: #9A5F2A;
  box-shadow: 0 0 0 1px #9A5F2A;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  text-transform: uppercase;
  color: #6E5037;
}

.pd-breadcrumb a {
  color: #6E5037;
}

.pd-breadcrumb a:hover {
  color: #9A5F2A;
}

.pd-breadcrumb strong {
  color: #9A5F2A;
  font-weight: 700;
}

.pd-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #4A2A16;
  margin-bottom: 14px;
}

.pd-code {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #6E5037;
  margin-bottom: 22px;
}

.pd-price {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #2A170C;
  margin-bottom: 16px;
}

.pd-price small {
  font-size: 14px;
  font-weight: 500;
  color: #8C735C;
}

.pd-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.pd-stock {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
}

.pd-stock--ok {
  background: #FDE8E4;
  color: #C2410C;
}

.pd-stock--ask {
  background: #F5EDE0;
  color: #8A6A3E;
}

.pd-category {
  padding: 4px 10px;
  border-radius: 3px;
  background: #4A2A16;
  color: #FBF7F0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.pd-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #2A170C;
  margin-bottom: 22px;
}

.pd-desc ul {
  list-style: none;
  margin-top: 6px;
}

.pd-desc .pd-unit {
  margin-top: 4px;
}

.pd-buy {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.pd-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pd-qty button {
  width: 42px;
  height: 38px;
  border: none;
  border-radius: 4px;
  background: #4A2A16;
  color: #FBF7F0;
  font-family: inherit;
  font-size: 20px;
  cursor: pointer;
}

.pd-qty button:hover {
  background: #6B4427;
}

.pd-qty span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border: 1px solid #DDCDB5;
  border-radius: 6px;
  font-size: 15px;
  color: #2A170C;
}

.pd-add {
  flex: 1;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #B07436 0%, #8A5A28 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(138, 90, 40, 0.28);
}

.pd-add:hover {
  background: linear-gradient(135deg, #C08443 0%, #9A5F2A 100%);
}

.pd-wa-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #1E9E57;
  text-decoration: underline;
}

.pd-pay {
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid #ECE1CF;
  border-radius: 12px;
}

.pd-pay-head {
  margin-bottom: 12px;
  font-size: 15px;
  color: #2A170C;
}

.pd-pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-pay-chips span {
  padding: 7px 12px;
  border: 1px solid #DDCDB5;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #4A2A16;
}

.pd-pay-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F0E6D6;
  font-size: 13px;
  font-weight: 600;
  color: #6B4427;
}

.pd-ship {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.pd-ship li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #2A170C;
}

.pd-ship svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #4A2A16;
}

.pd-share strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #9A5F2A;
}

.pd-share div {
  display: flex;
  gap: 14px;
}

.pd-share a {
  color: #4A2A16;
}

.pd-share a:hover {
  color: #9A5F2A;
}

.pd-share svg {
  width: 24px;
  height: 24px;
}

/* Selector de medida */
.pd-variante {
  margin-bottom: 18px;
}

.pd-variante label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #6E5037;
}

.pd-variante select {
  width: 100%;
  max-width: 360px;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #DDCDB5;
  border-radius: 10px;
  background: #FFFFFF;
  color: #2A170C;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.pd-variante select:focus {
  outline: none;
  border-color: #9A5F2A;
  box-shadow: 0 0 0 3px rgba(154, 95, 42, 0.15);
}

/* Precio calculado por dimensiones */
.pd-dimensiones {
  margin-bottom: 18px;
}

.pd-dim-titulo span {
  font-weight: 600;
  color: #8C735C;
}

.pd-dim-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  /* Si una etiqueta ocupa dos líneas en el celular, los campos igual quedan alineados */
  align-items: end;
}

.pd-dim-selects .pd-variante {
  margin-bottom: 0;
}

.pd-dim-titulo {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #2A170C;
}

.pd-dim-selects label span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #8C735C;
}

.pd-dim-selects input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #DDCDB5;
  border-radius: 10px;
  background: #FFFFFF;
  color: #2A170C;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}

.pd-dim-selects input:focus {
  outline: none;
  border-color: #9A5F2A;
  box-shadow: 0 0 0 3px rgba(154, 95, 42, 0.15);
}

.pd-dim-selects input.pd-dim-error {
  border-color: #C2410C;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}

.pd-dim-calculo {
  margin-top: 12px;
  padding: 10px 14px;
  background: #FBF8F2;
  border: 1px dashed #DDCDB5;
  border-radius: 10px;
  font-size: 14px;
  color: #5C3D26;
}

#pdDimensiones .pd-dim-calculo {
  font-weight: 600;
}

.pd-dim-calculo strong {
  color: #2A170C;
  font-size: 15px;
}

.pd-dim-calculo:empty {
  display: none;
}

.pd-rel-price small {
  font-size: 12px;
  font-weight: 600;
  color: #8C735C;
}

a.pd-rel-add,
a.btn-agregar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Te podría interesar */
.pd-related {
  margin-top: 64px;
}

.pd-related h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #2A170C;
  margin-bottom: 28px;
}

.pd-related h2 span {
  color: #9A5F2A;
}

.pd-related-wrap {
  position: relative;
  padding: 0 44px;
}

.pd-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 18px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.pd-related-track::-webkit-scrollbar {
  display: none;
}

.pd-rel-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #ECE1CF;
  border-radius: 6px;
  scroll-snap-align: start;
}

.pd-rel-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 14px;
}

.pd-rel-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pd-rel-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: #4A2A16;
}

.pd-rel-name:hover {
  color: #9A5F2A;
}

.pd-rel-code {
  margin-top: 4px;
  font-size: 11px;
  color: #6E5037;
}

.pd-rel-price {
  margin: 6px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: #2A170C;
}

.pd-rel-add {
  margin-top: auto;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #B07436 0%, #8A5A28 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.pd-rel-add:hover {
  background: linear-gradient(135deg, #C08443 0%, #9A5F2A 100%);
}

.pd-related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 56px;
  border: none;
  background: transparent;
  color: #9A5F2A;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.pd-related-nav.prev {
  left: 0;
}

.pd-related-nav.next {
  right: 0;
}

@media (max-width: 1024px) {
  .pd-grid {
    gap: 36px;
  }

  .pd-related-track {
    grid-auto-columns: calc((100% - 2 * 18px) / 3);
  }
}

@media (max-width: 760px) {
  .pd-page {
    padding: 20px 0 48px;
  }

  .pd-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pd-main-img {
    padding: 8px;
  }

  .pd-thumb {
    width: 72px;
    height: 72px;
  }

  .pd-title {
    font-size: 25px;
  }

  .pd-price {
    font-size: 24px;
  }

  .pd-desc,
  .pd-ship li {
    font-size: 15px;
  }

  .pd-related h2 {
    font-size: 26px;
  }

  .pd-related-wrap {
    padding: 0;
  }

  .pd-related-nav {
    display: none;
  }

  .pd-related-track {
    grid-auto-columns: 70%;
    gap: 12px;
  }

  .pd-rel-img {
    height: 160px;
  }
}

/* ========== INICIO: PRODUCTOS Y FORMAS DE PAGO ========== */
.home-productos {
  padding-top: 40px;
}

.home-intro {
  margin-bottom: 32px;
}

.home-intro .section-title {
  margin-bottom: 12px;
}

.home-pagos {
  padding: 34px 0;
  background: #FFFFFF;
  border-top: 1px solid #ECE1CF;
}

.home-pagos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.home-pagos-text h2 {
  font-size: 24px;
  color: #2A170C;
  margin-bottom: 4px;
}

.home-pagos-text p {
  font-size: 14px;
  color: #8C735C;
}

.home-pagos-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-pagos-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FBF8F2;
  border: 1px solid #ECE1CF;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #4A2A16;
}

.home-pagos-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #9A5F2A;
}

@media (max-width: 760px) {
  .home-productos {
    padding-top: 24px;
  }

  .home-intro {
    margin-bottom: 20px;
  }

  .home-pagos-list li {
    flex: 1 1 100%;
  }
}

/* ========== ACENTO DORADO EN BOTONES DE COMPRA ========== */
/* Dorado de la cinta del logo con texto café oscuro: es lo primero que debe mirar el ojo */
.btn-agregar,
.pd-add,
.pd-rel-add,
.btn-revisar-pedido {
  background: linear-gradient(135deg, #E3B85E 0%, #C9952F 100%);
  color: #2A170C;
  border: 1px solid #B8862A;
  box-shadow: 0 6px 16px rgba(201, 149, 47, 0.35);
}

.btn-agregar:hover,
.pd-add:hover,
.pd-rel-add:hover,
.btn-revisar-pedido:hover {
  background: linear-gradient(135deg, #EDC76F 0%, #D6A23C 100%);
  box-shadow: 0 8px 20px rgba(201, 149, 47, 0.45);
}

.btn-agregar,
.pd-add,
.pd-rel-add {
  font-weight: 800;
}

/* "Consultar disponibilidad" más legible */
.catalog-pro .product-avail--ask {
  color: #7A5A2E;
}

.pd-stock--ask {
  background: #F3E3C3;
  color: #6B4A1F;
}

/* Resalta el producto al volver desde su ficha */
.product-card.card-volver {
  border-color: #C9A04E;
  box-shadow: 0 0 0 3px rgba(201, 160, 78, 0.55), 0 12px 28px rgba(74, 42, 22, 0.15);
}

/* ========== RESPONSIVE: TABLETS & TELÉFONOS ========== */
/* Las columnas "1fr" no bajan del ancho mínimo de su contenido; minmax(0, 1fr) y min-width: 0 evitan que un hijo ancho estire toda la página. */
.catalog-page-layout > *,
.product-main-grid > *,
.contact-layout > *,
.products-grid > * {
  min-width: 0;
}

.contact-layout {
  grid-template-columns: 1fr 1fr;
}

.contact-2col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1024px) {
  .catalog-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dossier-grid,
  .values-grid-luxury {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Topbar: solo la dirección y el teléfono */
  .topbar {
    padding: 6px 0;
    font-size: 11px;
  }

  .topbar-info {
    gap: 6px 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar-info + .topbar-info {
    display: none;
  }

  /* Header: logo + carrito arriba, menú desplazable abajo */
  .main-header {
    padding: 10px 0 0;
  }

  .header-inner {
    gap: 10px;
  }

  .header-inner > nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
  }

  .btn-cart {
    padding: 8px 12px;
  }

  .brand-icon {
    width: 76px;
    height: 76px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .btn-cart > span:not(.cart-count-badge) {
    display: none;
  }

  /* Slider */
  .hero-slider-container {
    height: 340px;
    border-radius: 14px;
  }

  .slide-content {
    padding: 0 48px;
  }

  .slide-title {
    font-size: 22px;
  }

  .slide-desc {
    font-size: 13px;
  }

  .slider-nav-btn {
    width: 32px;
    height: 32px;
  }

  .slider-nav-btn.prev {
    left: 8px;
  }

  .slider-nav-btn.next {
    right: 8px;
  }

  /* Secciones y títulos */
  .catalog-section {
    padding: 36px 0 28px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .filter-bar {
    padding: 14px;
    margin-bottom: 24px;
  }

  .categories-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .categories-pills::-webkit-scrollbar {
    display: none;
  }

  .pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .contact-2col {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-card-item {
    padding: 24px 20px;
  }

  .payment-methods-section h2 {
    font-size: 1.75rem !important;
  }

  .payment-methods-section a.btn-primary {
    white-space: normal !important;
    width: 100%;
    justify-content: center;
  }

  .dossier-grid,
  .values-grid-luxury {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-main-grid {
    padding: 16px !important;
  }

  .prod-action-row {
    flex-wrap: wrap;
  }

  .prod-action-row .btn-wa-detail {
    flex: 1 1 100%;
    justify-content: center;
  }

  .catalog-controls-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }

  .catalog-controls-bar .search-box {
    flex: 1 1 100% !important;
    max-width: none !important;
  }

  .btn-add-cart[disabled] {
    width: auto;
    padding: 0 10px;
  }

  .cart-drawer {
    max-width: 100vw;
  }
}

/* Catálogo en tablet y celular: categorías como fila deslizable arriba, productos enseguida */
@media (max-width: 1024px) {
  .catalog-pro .catalog-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .catalog-pro .catalog-sidebar {
    position: static;
  }

  .cat-panel {
    padding: 0;
    border: none;
    background: transparent;
  }

  .cat-panel-title,
  .cat-help {
    display: none;
  }

  .catalog-pro .sidebar-cat-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-pro .sidebar-cat-list::-webkit-scrollbar {
    display: none;
  }

  .catalog-pro .sidebar-cat-item {
    flex-shrink: 0;
  }

  .catalog-pro .sidebar-cat-btn {
    width: auto;
    white-space: nowrap;
    background: #FFFFFF;
    border-color: #ECE1CF;
    padding: 8px 12px;
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    padding: 26px 0 24px;
  }

  .catalog-hero h1 {
    font-size: 28px;
  }

  .catalog-hero p {
    font-size: 14.5px;
    margin-bottom: 16px;
  }

  .catalog-hero-stats span:last-child {
    display: none;
  }

  .catalog-pro {
    padding-top: 18px;
  }

  .catalog-pro .search-box {
    max-width: none;
    flex-basis: 100%;
  }

  .catalog-controls-right {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-pro .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-pro .product-thumb {
    height: 160px !important;
    padding: 12px !important;
  }

  .catalog-pro .product-desc {
    display: none;
  }

  .catalog-pro .product-category-tag {
    font-size: 9px;
    padding: 3px 8px;
  }

  .catalog-pro .product-body {
    padding: 10px 12px 12px;
  }

  .catalog-pro .product-name {
    font-size: 13px;
    min-height: 36px;
  }

  .catalog-pro .product-avail {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-pro .product-avail span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-pro .product-footer {
    padding-top: 10px;
  }

  .catalog-pro .price-amount {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }
}

/* SMARTPHONE MAP MOCKUP ANIMATIONS */
@keyframes phoneModalAppear {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}