/* --- ALINEACIÓN HORIZONTAL PERFECTA DE IMÁGENES EN EL CATÁLOGO --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 550px;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 0;
  box-sizing: border-box;
  text-align: left;
  background: #fff;
}

.product-image-container {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: auto !important;
  box-sizing: border-box;
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* --- ESTILO UNIFORME Y ALINEACIÓN VERTICAL PARA CATÁLOGO DE PRODUCTOS --- */
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 550px;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
  text-align: left;
  background: #fff;
}

.product-image-container {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  margin-bottom: auto;
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-info,
.product-details,
.available-measures,
.product-category {
  margin-bottom: 10px;
}

.select-measures-button {
  margin-top: auto;
  width: 100%;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  background-color: #7f8c8d;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.select-measures-button:hover {
  background-color: #95a5a6;
}
/* --- ESTILO UNIFORME Y COMPATIBLE PARA CATÁLOGO DE PRODUCTOS --- */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 450px;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
  background: #fff;
}

.product-card .select-measures-button {
  margin-top: auto;
  width: 100%;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 16px;
  border-radius: 5px;
  background-color: #7f8c8d;
  color: #fff;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-card .select-measures-button:hover {
  background-color: #95a5a6;
}
/* Imágenes de productos en el catálogo */
.product-image {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: contain;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-inline:auto;
  display: block;
}
/* =============================================================
   Inrapartes – styles.css
   Recreated 2025-06-24
   Palette: grayscale + accent #fed300
   Font: Century Gothic (already imported in HTML)
   ============================================================= */

/********************
  RESET & VARIABLES
*********************/
:root {
  /* Neutral scale */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Accent */
  --accent: #fed300;

  /* Typography */
  --font-base: 'Century Gothic', Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Transitions */
  --transition: all .25s ease;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-base);
  color:var(--gray-800);
  background:var(--gray-50);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;border:0;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button,input,select,textarea{font-family:inherit;color:inherit;background:none;border:none;outline:none;}

/* Utilities */
.container{width:100%;max-width:1240px;margin-inline:auto;padding-inline:1rem;}
.section-header{text-align:center;margin-bottom:3.5rem;}
.section-header h2{font-size:2.25rem;font-weight:700;color:#FFFEF8;margin-bottom:.75rem;}
.section-header p{color:#FFFEF8;max-width:600px;margin-inline:auto;}
.highlight{color:var(--accent);}  
.white-text{color:#FFFEF8;}
.section-badge{display:inline-block;padding:.3rem .9rem;border-radius:var(--radius-sm);background:rgba(254,211,0,.15);color:var(--accent);font-size:.75rem;font-weight:600;letter-spacing:.5px;}

/********************
  WHATSAPP FLOATING
*********************/
.whatsapp-float{position:fixed;right:25px;bottom:25px;z-index:9999;}
.whatsapp-float a{width:55px;height:55px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25d366;color:#fff;font-size:1.6rem;box-shadow:var(--shadow-lg);transition:var(--transition);}
.whatsapp-float a:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.2);}

/* Sello de Calidad Float */
.quality-seal-float{display:none!important;}

/* Quality Seal Hero Overlay */
.quality-seal-hero-overlay {
    position: absolute;
    top: 20px;
    right: 80px;
    z-index: 10;
    opacity: 0.95;
}

.quality-seal-hero-overlay img {
  width: 267.75px !important;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
    transition: all 0.3s ease;
}

.quality-seal-hero-overlay:hover img {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.6));
}

/* Footer quality seal */
.quality-seal{margin-top:.8rem;display:flex;justify-content:center;}
.quality-seal img{width:115.2px;height:auto;filter:drop-shadow(0 4px 8px rgba(0,0,0,.25));}

/* Quality seal above footer (Legacy - Hidden) */
.quality-seal-pre-footer{display:none;}
.quality-seal-left{text-align:left;padding-left:3rem;}
.quality-seal-left img{width:162px;height:auto;filter:drop-shadow(0 6px 12px rgba(0,0,0,.4));transition:all 0.3s ease;}
.quality-seal-left img:hover{transform:scale(1.05);filter:drop-shadow(0 8px 16px rgba(0,0,0,.6));}

/********************
  TOP BAR
*********************/
.top-bar{background:#303030;color:var(--gray-200);font-size:.85rem;padding:.5rem 0;}
.top-bar-content{display:flex;justify-content:space-between;align-items:center;gap:1rem;}
.top-bar .contact-info span+span{margin-left:1.25rem;}
.social-links a{color:var(--gray-200);margin-left:1rem;transition:color .2s;}
.social-links a:hover{color:var(--accent);}
.top-bar .contact-info span{transition:color .2s;}
.top-bar .contact-info span:hover{color:var(--accent);}

/********************
  HEADER & NAVIGATION
*********************/
.header{background:rgba(48,48,48,0.95);position:sticky;top:0;left:0;width:100%;z-index:1000;border-bottom:1px solid rgba(255,255,255,.15);transition:all .3s ease;box-shadow:0 2px 20px rgba(0,0,0,.2);backdrop-filter:blur(10px);}
.header-content{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:1.2rem 0;}

/* logo */
.logo{display:flex;align-items:center;gap:1rem;color:#fff;}
.logo-circle{
  display:flex;
  align-items:center;
  justify-content:center;
  height:99.45px !important;
  width:auto;
  min-width:290.7px !important;
  padding:0;
  background:transparent url('brand/LOGO.png') no-repeat center center / contain;
  border:none;
  box-shadow:none;
  transition:all 0.3s ease;
  position:relative;
}
.logo-circle:hover{
  transform:scale(1.05);
}
/* Hide textual pieces of the logo when using image-only variant */
.logo-letter,.logo-text{display:none;}
.logo-name{font-weight:700;font-size:1.1rem;}
.logo-subtitle{font-weight:300;font-size:.75rem;letter-spacing:2px;}

/* nav */
.main-nav > ul{display:flex;align-items:center;gap:1.5rem;}
.main-nav a{color:rgba(255,255,255,0.9);font-size:.95rem;font-weight:500;transition:all .2s ease;text-shadow:0 1px 2px rgba(0,0,0,0.1);}
.main-nav a:hover,.main-nav a.active{color:var(--accent);text-shadow:0 1px 3px rgba(254,211,0,0.3);} 
.dropdown{position:relative;}
.dropdown-menu{position:absolute;top:100%;left:0;min-width:220px;background:rgba(48,48,48,0.98);padding:1rem;border-radius:var(--radius-sm);box-shadow:0 8px 35px rgba(0,0,0,.4);opacity:0;visibility:hidden;transform:translateY(15px);transition:var(--transition);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(15px);}
.dropdown-menu ul{display:flex;flex-direction:column;gap:.4rem;margin:0;padding:0;}
.dropdown-menu ul li{display:block;}
.dropdown-menu ul li a{display:block;width:100%;}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0);} 
.dropdown-column h4{color:var(--accent);margin-bottom:.5rem;font-size:.9rem;font-weight:600;}
.dropdown-column ul li{margin-bottom:.4rem;}
.dropdown-column a{white-space:normal;text-align:left;display:block;font-size:.85rem;color:rgba(255,255,255,0.9);transition:all 0.2s ease;}
.dropdown-column a:hover{color:var(--accent);padding-left:0.5rem;}

/* Centrar elementos específicos del dropdown */
.dropdown-column a.center-item {
  text-align: left !important;
  display: block !important;
  width: 100% !important;
}

/* Search & Cart */
.header-actions{display:flex;align-items:center;gap:1.25rem;}
.search-container{position:relative;}
.search-input{background:rgba(255,255,255,0.1);border-radius:var(--radius-sm);padding:.5rem .75rem;padding-right:2.5rem;color:#fff;width:190px;transition:var(--transition);border:1px solid rgba(255,255,255,0.2);backdrop-filter:blur(10px);}
.search-input::placeholder{color:rgba(255,254,248,0.9);font-weight:400;}
.search-input:focus{border-color:var(--accent);background:rgba(255,255,255,0.15);box-shadow:0 0 0 2px rgba(254,211,0,0.2);}
.search-btn{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);color:#FFFEF8;cursor:pointer;font-size:.9rem;transition:all 0.2s ease;}
.search-btn:hover{color:var(--accent);transform:translateY(-50%) scale(1.1);}
.cart-btn{display:flex;flex-direction:column;align-items:center;cursor:pointer;color:var(--gray-200);position:relative;}
.cart-btn i{font-size:1.2rem;}
.cart-count{position:absolute;top:-6px;right:-6px;background:var(--accent);color:var(--gray-900);border-radius:50%;font-size:.7rem;font-weight:700;width:18px;height:18px;display:flex;align-items:center;justify-content:center;}
.cart-label{font-size:.65rem;margin-top:.2rem;}

/* Mobile Menu Button */
.mobile-menu-btn{
  display: block !important;
  background: rgba(0,0,0,0.65);
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
  z-index: 1200;
  font-size:1.5rem;
  cursor:pointer;
  transition:all .3s ease;
  padding:0.5rem;
  backdrop-filter:blur(10px);
}
.mobile-menu-btn:hover{
  background: var(--accent);
  color: var(--gray-900);
  transform: translateY(-2px) scale(1.05);
}

/* Header Actions Mobile */
.header-actions{
  position:relative;
}

/********************
  HERO SECTION
*********************/
.hero{position:relative;min-height:680px;color:#fff;background:var(--gray-900);overflow:hidden;}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease;}
.hero-slide.active{opacity:1;z-index:1;}
.hero-image{position:absolute;inset:0;z-index:-2;}
.hero-image img{width:100%;height:100%;object-fit:cover;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.6) 100%);z-index:-1;}
.hero-content{position:relative;z-index:5;max-width:740px;padding-top:80px;padding-bottom:30px;}
.hero-badge{background:rgba(254,211,0,.2);color:var(--accent);display:inline-block;padding:.35rem 1rem;border-radius:25px;font-size:.75rem;font-weight:600;margin-bottom:.75rem;border:1px solid rgba(254,211,0,.4);} 
.hero-content h1{font-size:3rem;line-height:1.1;font-weight:800;margin-bottom:.75rem;}
.hero-content p{color:var(--gray-200);font-size:1rem;margin-bottom:1.5rem;line-height:1.5;}
.hero-stats{display:flex;gap:2rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.stat-item{display:flex;flex-direction:column;align-items:center;text-align:center;}
.stat-number{font-size:2rem;font-weight:700;color:var(--accent);} 
.stat-label{font-size:.85rem;color:var(--gray-300);} 
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;}

/* Align buttons to the left naturally */
.hero-buttons{justify-content:flex-start;}

/* Hero Features & Buttons Layout */
.hero-features{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem;}
.feature-item{display:flex;align-items:center;gap:.6rem;color:#fff;}
.feature-item i{font-size:1.1rem;color:var(--accent);}
.feature-item span{font-size:.85rem;font-weight:500;}

/* Hero stats aligned to left naturally */
.hero-stats{justify-content:flex-start;}

/* Hero Features-Buttons Wrapper - Keep features and button aligned left */
.hero-features-buttons-wrapper{display:flex;flex-direction:column;align-items:flex-start;gap:1.75rem;margin-bottom:1.5rem;}
.hero-features-buttons-wrapper .hero-features{margin-bottom:0;align-self:flex-start;}
.hero-features-buttons-wrapper .hero-buttons{align-self:flex-start;}

/* CTA buttons */
.cta-btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 2rem;font-size:.95rem;font-weight:600;border-radius:var(--radius-md);cursor:pointer;transition:var(--transition);} 
.cta-btn.primary{background:var(--accent);color:var(--gray-900);} 
.cta-btn.primary:hover{background:#fed300;transform:translateY(-2px);} 
.cta-btn.secondary{border:2px solid rgba(255,255,255,.35);color:#fff;} 
.cta-btn.secondary:hover{background:rgba(255,255,255,.1);transform:translateY(-2px);} 

/* Slider navigation */
.hero-nav{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:6;padding-inline:1rem;}
.hero-nav-btn{pointer-events:auto;width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px);color:#fff;font-size:1rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition);} 
.hero-nav-btn:hover{background:rgba(0,0,0,.7);} 

/* Indicators */
.hero-indicators{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:.5rem;z-index:6;}
.indicator{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:var(--transition);} 
.indicator.active{background:var(--accent);} 

/********************
  CATEGORIES SECTION
*********************/
.categories{padding:100px 0;background:#1b1c1c;}
.categories .section-header h2{color:#FFFEF8;}
.categories .section-header p{color:#FFFEF8;}

/* Categories Carousel */
.categories-carousel-container{position:relative;padding:0 100px;}
.categories-navigation{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:calc(100% + 40px);
  left:-20px;
  display:flex;
  justify-content:space-between;
  z-index:10;
  pointer-events:none;
  padding:0 10px;
}
.nav-btn{
  background:#303030 !important;
  border:3px solid #303030 !important;
  color:#FFFEF8 !important;
  width:60px !important;
  height:60px !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  transition:all 0.3s ease !important;
  pointer-events:auto !important;
  box-shadow:0 6px 20px rgba(0,0,0,0.15) !important;
  z-index:1000 !important;
  position:relative !important;
  user-select:none !important;
  outline:none !important;
  font-size:20px !important;
  font-weight:600 !important;
  backdrop-filter:blur(10px) !important;
}
.nav-btn:hover{
  background:var(--accent) !important;
  color:#303030 !important;
  transform:scale(1.1) !important;
  box-shadow:0 8px 25px rgba(254,211,0,0.4) !important;
}
.nav-btn:disabled{
  opacity:0.3;
  cursor:not-allowed;
  transform:none;
}
.nav-btn:disabled:hover{
  background:#303030;
  color:#FFFEF8;
  transform:none;
}

.categories-carousel{overflow:hidden;border-radius:var(--radius-lg);}
.categories-track{
  display:flex;
  transition:transform 0.4s ease;
  gap:2rem;
}

/* Category Card in Carousel */
.categories-track .category-card{
  min-width:320px;
  max-width:320px;
  flex-shrink:0;
  flex-grow:0;
}

/* Categories Dots */
.categories-dots{
  display:flex;
  justify-content:center;
  gap:0.8rem;
  margin-top:2rem;
}
.categories-dots .dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#7d7d7e;
  cursor:pointer;
  transition:all 0.3s ease;
}
.categories-dots .dot.active{
  background:var(--accent);
  transform:scale(1.2);
}
.categories-dots .dot:hover{
  background:var(--accent);
  transform:scale(1.1);
}

.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2rem;}
.category-card{background:#FFFEF8;padding:2rem;border-radius:var(--radius-md);box-shadow:var(--shadow-md);display:flex;flex-direction:column;gap:1.25rem;transition:var(--transition);} 
.category-card:hover{transform:translateY(-6px);box-shadow:0 12px 24px rgba(0,0,0,.12);} 
.category-card:hover .category-icon{
  background:rgba(254,211,0,0.2);
  transform:scale(1.1);
  box-shadow:0 8px 20px rgba(254,211,0,0.3);
} 
.category-icon{
  font-size:2.8rem;
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  width:95px;
  height:95px;
  background:rgba(254,211,0,0.1);
  border-radius:50%;
  margin:0 auto 1rem;
  line-height:1;
  text-align:center;
  transition:all 0.3s ease;
  cursor:pointer;
}
.category-icon i{
  font-size:2.2rem;
} 
.category-content h3{font-size:1.25rem;font-weight:600;color:#303030;margin-bottom:.5rem;}
.category-content p{font-size:.9rem;color:#303030;margin-bottom:1.25rem;}
.category-btn{width:100%;padding:.65rem 1rem;border-radius:var(--radius-sm);background:#303030;color:#FFFEF8;font-weight:600;cursor:pointer;transition:var(--transition);} 
.category-btn:hover{background:var(--accent);color:#303030;} 

/********************
  BEST SELLERS / PRODUCTS
*********************/
.best-sellers{padding:100px 0;background:#1b1c1c;}
.best-sellers .section-header h2{color:#FFFEF8;}
.best-sellers .section-header p{color:#FFFEF8;}
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:1000px;margin:0 auto;}
.product-card {
  background: #FFFEF8;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  min-height: 420px;
  padding-bottom: 56px; /* espacio para el botón */
}
.product-card:hover{transform:translateY(-6px);box-shadow:0 12px 24px rgba(0,0,0,.12);} 
.product-badge{
  position:absolute;
  top:15px;
  left:15px;
  background:#fed300;
  color:#1a1a1a;
  padding:.4rem 1rem;
  border-radius:25px;
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  z-index:3;
  border:2px solid #fed300;
  backdrop-filter:blur(10px);
  box-shadow:0 2px 8px rgba(254,211,0,0.2);
  transition:all 0.3s ease;
}

.product-badge:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(254,211,0,0.3);
}

.product-badge.recommended{
  background:#fed300;
  color:#1a1a1a;
  border:2px solid #fed300;
  font-weight:700;
}

.product-badge.new{
  background:#fed300;
  color:#1a1a1a;
  border:2px solid #fed300;
  font-weight:700;
  animation:badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse{
  0%, 100%{
    box-shadow:0 2px 8px rgba(254,211,0,0.2);
  }
  50%{
    box-shadow:0 4px 16px rgba(254,211,0,0.4);
  }
}
.product-image{position:relative;overflow:hidden;}
.product-image img{width:100%;height:220px;object-fit:cover;transition:var(--transition);} 
.product-card:hover img{transform:scale(1.05);} 
.product-actions{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;background:rgba(0,0,0,.55);opacity:0;transition:var(--transition);} 
.product-card:hover .product-actions{opacity:1;} 
.product-actions button{padding:.5rem 1rem;border-radius:var(--radius-sm);background:var(--accent);color:var(--gray-900);font-size:.8rem;font-weight:600;cursor:pointer;}
.product-info{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:.75rem;flex-grow:1;}
.product-info h3{font-size:1.1rem;font-weight:600;color:#303030;} 
.product-info p{font-size:.85rem;color:#303030;flex-grow:1;}

/* Product Specs Styles */
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 15px 0;
}

.spec-tag {
    background: #f1f3f4;
    color: #5f6368;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price{font-size:1.05rem;font-weight:700;color:var(--accent);} 
.quote-btn {
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #e0e0e0 0%, #bdbdbd 100%);
  color: #444;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
  border: 1.5px solid #bdbdbd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
}
.quote-btn.full-width {
  width: 100%;
  text-align: center;
}
.quote-btn:hover {
  background: linear-gradient(180deg, #bdbdbd 0%, #757575 100%);
  color: #222;
  border-color: #757575;
}

/********************
  CUSTOM PIECES SECTION
*********************/
.custom-pieces-section{padding:120px 0;background:#1b1c1c;} 
.custom-pieces-section .section-header h2{color:#FFFEF8;}
.custom-pieces-section .section-header p{color:#FFFEF8;}
.custom-pieces-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:3rem;align-items:center;}
.custom-pieces-text h2{font-size:2.5rem;font-weight:800;color:#FFFEF8;margin-bottom:1rem;}
.custom-pieces-text p{font-size:1rem;color:#FFFEF8;margin-bottom:1.5rem;}
.custom-features{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:2rem;}
.custom-feature{display:flex;align-items:flex-start;gap:1rem;}
.custom-feature i{font-size:1.5rem;color:var(--accent);} 
.custom-feature h4{font-size:1rem;font-weight:600;color:#FFFEF8;} 
.custom-feature p{font-size:.9rem;color:#FFFEF8;} 
.custom-pieces-image img{border-radius:var(--radius-md);box-shadow:var(--shadow-lg);} 

/********************
  CONTACT SECTION
*********************/
.contact-section{padding:120px 0;background:#1b1c1c;} 
.contact-section .section-header h2{color:#FFFEF8;}
.contact-section .section-header p{color:#FFFEF8;}
.contact-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;}
.contact-intro{font-size:1rem;color:#FFFEF8;margin-bottom:2rem;}
.contact-methods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2.5rem;margin-bottom:2rem;}
.contact-methods{display:flex;flex-direction:column;gap:2.5rem;}
.contact-method{display:flex;gap:1rem;align-items:flex-start;background:#fff;border-radius:var(--radius-md);padding:1rem;box-shadow:var(--shadow-sm);} 
.method-icon{font-size:1.5rem;color:var(--accent);} 
.method-content h4{font-size:1rem;font-weight:600;color:var(--gray-800);} 
.method-hours{font-size:.75rem;color:var(--gray-500);} 
.contact-map h4{font-size:1rem;font-weight:700;color:#FFFEF8;margin-bottom:.75rem;}
.map-container{border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-md);} 

/* Contact form */
.contact-form h3{font-size:1.5rem;font-weight:700;color:#ffffff;margin-bottom:1.25rem;}
.form-row{display:flex;gap:1.5rem;}
.form-group{flex:1;display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem;}
.contact-form .form-group label{font-size:.85rem;color:var(--accent);font-weight:600;}
.contact-form .form-group input,.contact-form .form-group textarea,.contact-form .form-group select{padding:.65rem .9rem;border-radius:var(--radius-sm);border:2px solid #ffffff;background:#1a1a1a;color:#ffffff;font-size:.9rem;transition:all .25s;}
.contact-form .form-group input::placeholder,.contact-form .form-group textarea::placeholder{color:#ffffff;opacity:0.8;}
.contact-form .form-group select option{color:#ffffff;background:#1a1a1a;}
.contact-form .form-group input:focus,.contact-form .form-group textarea:focus,.contact-form .form-group select:focus{border-color:#ffffff;box-shadow:0 0 0 3px rgba(255,255,255,0.3);transform:translateY(-1px);} 
textarea{resize:vertical;}
.submit-btn{display:inline-flex;align-items:center;gap:.5rem;background:#1a1a1a;color:#ffffff;font-weight:600;padding:.75rem 1.5rem;border-radius:var(--radius-sm);cursor:pointer;transition:var(--transition);border:2px solid var(--accent);} 
.submit-btn:hover{background:var(--accent);color:var(--gray-900);transform:translateY(-2px);} 

/********************
  FOOTER
*********************/
.footer{
  background:#1a1a1a;
  color:var(--gray-200);
  padding:40px 0 20px;
  position:relative;
  overflow:hidden;
}

/* Footer transition effect */
.footer::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 20%, 
    #fed300 50%, 
    var(--accent) 80%, 
    transparent 100%
  );
  animation:footerGlow 3s ease-in-out infinite alternate;
}

.footer::after{
  content:'';
  position:absolute;
  top:-60px;
  left:0;
  right:0;
  height:60px;
  background:linear-gradient(180deg, 
    #1b1c1c 0%,
    rgba(27,28,28,0.95) 20%,
    rgba(254,211,0,0.03) 50%,
    rgba(26,26,26,0.95) 80%,
    #1a1a1a 100%
  );
  pointer-events:none;
}

@keyframes footerGlow{
  0%{
    opacity:0.6;
    transform:scaleX(0.8);
  }
  100%{
    opacity:1;
    transform:scaleX(1);
  }
}
.footer-content{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:2rem;}
/* Footer Column Specific Alignments */
.footer-contact{text-align:left;padding-left:2rem;}
.company-info{text-align:center;}
.footer-navigation{text-align:right;padding-right:2rem;}

.footer-logo{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:1rem;}
.footer-logo .logo-circle{
  height:61.2px;
  min-width:198.9px;
  background:transparent url('brand/LOGO.png') no-repeat center center / contain;
  border:none;
  box-shadow:none;
  padding:0;
  justify-content:center;
}
.footer-logo .logo-circle:hover{
  border-color:var(--accent);
  box-shadow:0 6px 30px rgba(254,211,0,0.15);
}
.footer p{font-size:.85rem;line-height:1.5;color:var(--gray-300);margin-bottom:.8rem;}
.footer-column h4{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:.8rem;line-height:1.5;}
.footer-column ul{margin-bottom:.8rem;}
.footer-column ul li{margin-bottom:.3rem;}
.footer-column a{font-size:.8rem;color:var(--gray-200);transition:color .2s;line-height:1.5;display:block;padding:.1rem 0;}
.footer-column a:hover{color:var(--accent);} 
.footer-certifications{margin-top:.8rem;display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center;}
.cert-badge{background:var(--accent);color:var(--gray-900);font-size:.6rem;font-weight:700;padding:.15rem .4rem;border-radius:var(--radius-sm);} 
.contact-details .contact-item{display:flex;gap:.5rem;align-items:center;font-size:.8rem;margin-bottom:.3rem;color:var(--gray-200);line-height:1.5;padding:.1rem 0;}
.footer-contact .contact-item{justify-content:flex-start;}
.contact-details{margin-bottom:.8rem;}
.footer-contact .social-footer{text-align:left;margin-top:.4rem;}
/* Footer social icons: anchor spacing + direct icon sizing for clarity */
.social-footer a{color:var(--gray-300);margin-right:.8rem;transition:color .2s;line-height:1.5;display:inline-block;padding:.25rem;}
/* Make the icon glyph itself 1.5rem (~+20% from 1.25rem) */
.social-footer i{font-size:1.5rem;}
.social-footer a:hover{color:var(--accent);} 
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:.8rem;padding-bottom:.4rem;background:rgba(0,0,0,.1);margin-top:.4rem;}
.footer-bottom-content{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;}
.footer-bottom-content .heart{color:#ff6b6b;}
.footer-bottom-content div{font-size:.75rem;line-height:1.5;padding:.1rem 0;}
.footer-links a{font-size:.7rem;color:var(--gray-300);margin-left:.8rem;transition:color .2s;line-height:1.5;}
.footer-links a:hover{color:var(--accent);} 

/********************
  MODAL
*********************/
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;align-items:center;justify-content:center;padding:1rem;}
.modal.show{display:flex;} 
.modal-content{background:#fff;border-radius:var(--radius-md);width:100%;max-width:500px;box-shadow:var(--shadow-lg);position:relative;animation:pop .35s ease;}
@keyframes pop{0%{transform:scale(.7);opacity:0;}100%{transform:scale(1);opacity:1;}}
.modal-header{padding:1rem 1.5rem;border-bottom:1px solid var(--gray-200);display:flex;align-items:center;justify-content:space-between;}
.modal-header h3{font-size:1.25rem;font-weight:700;color:var(--gray-800);} 
.modal-header .close{cursor:pointer;font-size:1.2rem;color:var(--gray-600);} 
.modal-body{padding:1.5rem;max-height:70vh;overflow-y:auto;}
.modal .form-group{margin-bottom:1rem;}
.modal .form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem;}
.btn-primary,.btn-secondary{padding:.6rem 1.2rem;border-radius:var(--radius-sm);font-weight:600;cursor:pointer;transition:var(--transition);} 
.btn-primary{background:var(--accent);color:var(--gray-900);} 
.btn-primary:hover{background:#fed300;} 
.btn-secondary{background:var(--gray-300);color:var(--gray-900);} 
.btn-secondary:hover{background:var(--gray-400);} 

/********************
  RESPONSIVE DESIGN
*********************/
@media (max-width:1024px){
  .header-content{gap:1rem;}
  .main-nav ul{gap:1rem;}
  .hero-content h1{font-size:2.5rem;}
  
  .logo-circle{
    height:84.15px;
    min-width:252.45px;
  }
  .footer-logo .logo-circle{
    height:55.08px;
    min-width:179.01px;
  }
  
  /* Quality Seal Responsive - Large Tablet */
  .quality-seal-hero-overlay {
    top: 18px;
    right: 70px;
  }
  
  .quality-seal-hero-overlay img {
    width: 183.6px;
  }
}

@media (max-width:768px){
  .header-content{flex-wrap:wrap;}
  .main-nav{display:none;}
  .mobile-menu-btn{display:block;}
  .search-input{width:140px;}
  .hero{min-height:450px;}
  .hero-content{padding-top:50px;padding-bottom:40px;}
  .hero-content h1{font-size:2.5rem;}
  .hero-content p{font-size:.95rem;margin-bottom:1.3rem;}
  .hero-stats{gap:1.5rem;margin-bottom:1.3rem;}
  .hero-features{gap:1.3rem;margin-bottom:.9rem;}
.hero-features-buttons-wrapper{gap:1.4rem;}
  .categories{padding:80px 0;}
  .categories-carousel-container{padding:0 30px;}
  .categories-track .category-card{min-width:280px;}
  .nav-btn{
    width:50px !important;
    height:50px !important;
    font-size:18px !important;
  }
  .categories-navigation{
    padding:0 10px;
  }
  .contact-content{grid-template-columns:1fr;}
  .contact-methods-grid{gap:2rem;}
  .contact-methods{gap:2rem;}
  .hero-features-buttons-wrapper{gap:1.5rem;align-items:flex-start;}
  .footer-content{
    gap:1.5rem;
  }
  .footer-contact{
    padding-left:1rem;
  }
  .footer-navigation{
    padding-right:1rem;
  }
  
  .logo-circle{
    height:72.675px;
    min-width:229.5px;
  }
  
  .footer-logo .logo-circle{
    height:43.605px;
    min-width:143.82px;
  }
  
  /* Quality Seal Responsive - Tablet */
  .quality-seal-hero-overlay {
    top: 15px;
    right: 50px;
  }
  
  .quality-seal-hero-overlay img {
    width: 114.75px;
  }

  /* Horizontal scroll for Best-Sellers section */
  .products-grid.featured-products{
    display:flex !important;
    overflow-x:auto;
    gap:1rem;
    padding-bottom:1rem;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .products-grid.featured-products::-webkit-scrollbar{
    display:none;
  }
  .products-grid.featured-products .product-card{
    min-width:270px;
    flex:0 0 auto;
    scroll-snap-align:start;
  }
}

@media (max-width:576px){
  .top-bar{font-size:.75rem;}
  .hero-content h1{font-size:1.8rem;}
  .hero-content p{font-size:.9rem;margin-bottom:1.25rem;}
  .hero-stats{gap:1.25rem;margin-bottom:1.25rem;}
  .hero-features{gap:1rem;margin-bottom:.75rem;flex-direction:column;align-items:flex-start;}
.hero-features-buttons-wrapper{gap:1.3rem;}
  .feature-item span{font-size:.8rem;}
  .section-header h2{font-size:1.75rem;}
  .cta-btn{padding:.75rem 1.5rem;font-size:.9rem;}
  .categories-carousel-container{padding:0 15px;}
  .categories-track .category-card{min-width:260px;}
  .nav-btn{
    width:45px !important;
    height:45px !important;
    font-size:16px !important;
  }
  .categories-navigation{
    padding:0 5px;
  }
  .categories-dots .dot{width:10px;height:10px;}
  .form-row{flex-direction:column;}
  .contact-methods-grid{gap:1.5rem;}
  .contact-methods{gap:1.5rem;}
.hero-features-buttons-wrapper{flex-direction:column;align-items:center;gap:1.3rem;}
  .hero-features-buttons-wrapper .hero-features{align-self:center;}
  .hero-features-buttons-wrapper .hero-buttons{align-self:center;justify-content:center;}
  .hero-buttons{justify-content:center;}
  .hero-stats{justify-content:center;min-height:auto;}
  .footer-content{grid-template-columns:1fr;}
  .footer-navigation,.company-info,.footer-contact{
    text-align:center;
    padding-left:0;
    padding-right:0;
  }
  .footer-contact .contact-item{
    justify-content:center;
  }
  .footer-contact .social-footer{
    text-align:center;
  }
  .quality-seal-pre-footer{
    padding:1.5rem 0 0 0;
  }
  .quality-seal-left{
    text-align:center;
    padding-left:0;
  }
  .quality-seal-left img{
    width:135px;
  }
  .footer-bottom-content{flex-direction:column;align-items:flex-start;}
  
  .logo-circle{
    height:61.2px;
    min-width:198.9px;
  }
  
  .footer-logo{
    justify-content:center;
  }
  .footer-logo .logo-circle{
    height:40.545px;
    min-width:132.345px;
  }

  /* Quality Seal Responsive - Mobile */
  .quality-seal-hero-overlay {
    top: 10px;
    right: 20px;
  }
  
  .quality-seal-hero-overlay img {
    width: 97.92px;
  }

  /* Sello de Calidad responsivo móvil (Legacy) */
  .quality-seal-float{
    bottom:90px;
    left:15px;
  }
  .quality-seal-float img{
    width:60px;
    height:60px;
  }
  .whatsapp-float{
    bottom:90px;
    right:15px;
  }
  .whatsapp-float a{
    width:45px;
    height:45px;
    font-size:1.4rem;
  }

  /* Compact Best-Sellers cards on smartphones */
  .products-grid.featured-products{
    gap:0.75rem;               /* tighter gap between cards */
  }
  .products-grid.featured-products .product-card{
    min-width:160px;           /* even narrower */
    padding:0.75rem;           /* less padding */
  }
  .products-grid.featured-products .product-image img{
    height:140px;              /* smaller image */
  }
  .products-grid.featured-products .product-info p{
    display:none;              /* hide description for ultra-compact */
  }
  .products-grid.featured-products .spec-tag{
    display:none;              /* hide spec tags to save space */
  }
  .products-grid.featured-products .product-info h3{
    font-size:0.85rem;         /* smaller title */
  }
  .products-grid.featured-products .quote-btn{
    font-size:0.7rem;
    padding:0.4rem 0.6rem;
  }
}

/* Show nav when hamburger toggled */
.main-nav.open {
  display: block;
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* --- Reducción de Tamaño para Elementos de Marca (15% más pequeños) --- */

/* 1. Reduce el tamaño del logo en la cabecera */
.header .logo {
  transform: scale(0.85);
  transform-origin: left center; /* Asegura que se encoja hacia la izquierda */
}

/* 2. Reduce el tamaño del Sello de Calidad superpuesto */
.quality-seal-hero-overlay {
  transform: scale(0.85);
  transform-origin: top right; /* Asegura que se encoja hacia la esquina superior derecha */
}

/* Material selector buttons */
.material-options {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 0.5rem 0;
}
.material-option {
  display: inline-block;
  padding: 0.35em 1.1em;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--gray-300);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  user-select: none;
}
.material-option.selected {
  background: var(--accent);
  color: #222;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(254,211,0,0.12);
}
.material-option:hover:not(.selected) {
  background: var(--gray-200);
  color: var(--gray-900);
  border-color: var(--accent);
}

