/* =========================================================
   CardMax - style.css (Electro-like)
   Fuente: Montserrat | Colores: Body #333, Headings #2B2D42,
   Primary #D10024, Dark #15161D/#1E1F29, Borders #E4E7ED
   ========================================================= */

/* Tipografía (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/*----------------------------------------------------------
  01 > GENERAL
-----------------------------------------------------------*/

/* Reset básico */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  font-weight:400;
  color:#333;   /*----------------------------------------------------------
  12 > COMPONENTES MAPEADOS A TU HTML
-----------------------------------------------------------*/

/* Navegación secundaria (footer) */
.footer .list-unstyled li+li{margin-top:15px}
.footer .list-unstyled i{margin-right:15px;color:#D10024;width:14px;text-align:center}

/* Tabs de "New products" ya definidos arriba con .tabs/.tab */

/* Sección "Categorías" y "New products" títulos */
.section .h2{text-transform:uppercase}

/* Hover sutil en ratios dentro de .card */
.card:hover .ratio-4x3>img,.card:hover .ratio-16x9>img{transform:scale(1.06)}

/*----------------------------------------------------------
  17 > SECCIÓN DE APLICACIONES (APPLE MINIMALIST STYLE)
-----------------------------------------------------------*/

/* Contenedor principal de aplicaciones - ultra minimalista */
.applications-section {
  margin-top: 30px;
  padding: 50px 0;
  background: transparent;
}

/* Header de aplicaciones */
.applications-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.applications-header .h2 {
  font-size: 2.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.applications-header .lead {
  font-size: 1.25rem;
  color: #86868b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* Grid de aplicaciones - minimalista sin bordes */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: #d2d2d7;
  border: 1px solid #d2d2d7;
}

/* Tarjeta individual de aplicación - sin bordes circulares */
.application-card {
  background: #ffffff;
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.application-card:hover {
  background: #f5f5f7;
}

/* Icono de la aplicación - sin fondo, solo emoji grande */
.application-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 24px;
  display: block;
}

/* Título de la aplicación */
.application-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

/* Descripción de la aplicación - mejor para SEO */
.application-card p {
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

/* Contenedor de industry tags */
.industry-tags {
  margin-top: auto;
  padding-top: 16px;
}

/* Industrias específicas badge - minimalista */
.industry-tag {
  display: inline-block;
  background: transparent;
  color: #D10024;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 4px;
  margin-right: 12px;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.industry-tag:hover {
  border-bottom-color: #D10024;
}

.industry-tag::before {
  content: '·';
  margin-right: 6px;
  color: #d2d2d7;
  font-weight: 700;
}

.industry-tag:first-of-type::before {
  content: '';
  margin-right: 0;
}

/* Responsive para aplicaciones */
@media (max-width: 991px) {
  .applications-section {
    margin-top: 20px;
    padding: 40px 0;
  }

  .applications-header {
    margin-bottom: 48px;
  }

  .applications-header .h2 {
    font-size: 2.25rem;
  }

  .applications-header .lead {
    font-size: 1.125rem;
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .application-card {
    padding: 32px 24px;
    min-height: 220px;
  }

  .application-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .application-card h3 {
    font-size: 1.25rem;
  }

  .application-card p {
    font-size: 0.9375rem;
  }
}

@media (max-width: 767px) {
  .applications-section {
    margin-top: 16px;
    padding: 32px 0;
  }

  .applications-header {
    margin-bottom: 40px;
  }

  .applications-header .h2 {
    font-size: 1.875rem;
    letter-spacing: -0.5px;
  }

  .applications-header .lead {
    font-size: 1rem;
  }

  .applications-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .application-card {
    padding: 28px 20px;
    min-height: 200px;
  }

  .application-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
  }

  .application-card h3 {
    font-size: 1.125rem;
  }

  .application-card p {
    font-size: 0.875rem;
  }

  .industry-tag {
    font-size: 0.75rem;
    margin-right: 10px;
  }
}

/*----------------------------------------------------------
  15 > ESTILOS NOSOTROS (APPLE-LIKE)
-----------------------------------------------------------*/

/* Servicios principales - Apple style cards */
.services-apple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 60px 0;
}

.service-card-apple {
  background: #fff;
  border-radius:0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-apple:hover {
  transform: translateY(-8px);
}

.service-card-apple img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-content {
  padding: 28px 24px;
}

.service-card-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6e6e73;
  margin: 0 0 20px 0;
}

.service-card-content .btn-ver-mas {
  display: inline-block;
  padding: 10px 24px;
  background: #D10024;
  color: #fff;
  text-decoration: none;
  border-radius:0;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-card-content .btn-ver-mas:hover {
  background: #b0001e;
  transform: translateY(-2px);
}

/* Por qué CardMax - Feature cards */
.features-apple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.feature-card-apple {
  text-align: center;
  padding: 40px 24px;
  background: #fbfbfd;
  border-radius:0;
  transition: background 0.3s ease;
}

.feature-card-apple:hover {
  background: #f5f5f7;
}

.feature-icon-apple {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  background: #D10024;
  border-radius:0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.feature-card-apple h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card-apple p {
  font-size: 1rem;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0;
}

/* Proceso - Timeline style */
.process-apple {
  max-width: 960px;
  margin: 60px auto;
  position: relative;
}

.process-timeline {
  display: grid;
  gap: 48px;
}

.process-step-apple {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
}

.process-step-apple::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 80px;
  bottom: -48px;
  width: 2px;
  background: linear-gradient(180deg, rgba(209,0,36,0.2) 0%, rgba(209,0,36,0) 100%);
}

.process-step-apple:last-child::before {
  display: none;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius:0;
  background: linear-gradient(135deg, #D10024 0%, #b0001e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.process-content {
  padding-top: 8px;
}

.process-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-content p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #6e6e73;
  margin: 0;
}

/* Section headers - Apple typography */
.section-header-apple {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-apple h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header-apple p {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: #6e6e73;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA Panel - Apple style */
.cta-panel-apple {
  background: linear-gradient(135deg, #D10024 0%, #b0001e 100%);
  border-radius:0;
  padding: 64px 40px;
  text-align: center;
  margin: 80px 0;
  box-shadow: 0 8px 32px rgba(209,0,36,0.2);
}

.cta-panel-apple h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-panel-apple p {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.cta-panel-apple .btn {
  margin: 0 8px;
  padding: 14px 32px;
  font-size: 1.0625rem;
  font-weight: 500;
}

.btn-white {
  background: #fff;
  color: #D10024;
  border: none;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-apple {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-apple {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .process-step-apple {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .process-step-apple::before {
    left: 29px;
    top: 60px;
  }
  
  .section-header-apple h2 {
    font-size: 2rem;
  }
  
  .cta-panel-apple {
    padding: 48px 24px;
  }
  
  .cta-panel-apple h2 {
    font-size: 1.75rem;
  }
  
  .cta-panel-apple .btn {
    display: block;
    width: 100%;
    margin: 8px 0;
  }
}

/*----------------------------------------------------------
  16 > PÁGINA DE CONTACTO
-----------------------------------------------------------*/

/* Grid de información de contacto */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.contact-info-card {
  background: #fff;
  border-radius:0;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-info-card:hover {
  background: #f5f5f7;
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.contact-info-card p {
  margin: 4px 0;
  color: #6e6e73;
}

.contact-info-card a {
  color: #D10024;
  font-weight: 500;
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* Información de contacto compacta */
.contact-info-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d2d2d7;
  border: 1px solid #d2d2d7;
  border-radius:0;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
}

.contact-compact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 24px 20px;
  transition: background 0.2s ease;
}

.contact-compact-item:hover {
  background: #f5f5f7;
}

.contact-compact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-compact-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-compact-content strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.2px;
}

.contact-compact-content a,
.contact-compact-content span {
  font-size: 0.9375rem;
  color: #6e6e73;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-compact-content a {
  color: #D10024;
  font-weight: 500;
}

.contact-compact-content a:hover {
  text-decoration: underline;
}

/* Grid principal de contacto (formulario + mapa) */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 60px 0;
}

/* Contenedor del formulario */
.contact-form-container {
  background: #fff;
  border-radius:0;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1d1d1f;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius:0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fbfbfd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D10024;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(209, 0, 36, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff3b30;
  background: #fff5f5;
}

.form-error {
  font-size: 0.75rem;
  color: #ff3b30;
  min-height: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-actions {
  margin-top: 12px;
}

.form-message {
  text-align: center;
  padding: 40px 24px;
}

.form-success .success-icon,
.form-error-message .error-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.form-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.form-message p {
  font-size: 1rem;
  color: #6e6e73;
  margin-bottom: 24px;
}

.form-success {
  background: #f0fff4;
  border-radius:0;
}

.form-error-message {
  background: #fff5f5;
  border-radius:0;
}

/* Contenedor del mapa */
.contact-map-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-wrapper {
  border-radius:0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-details-box {
  background: #fff;
  border-radius:0;
  padding: 32px;
}

.contact-details-box h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.contact-detail-item {
  margin-bottom: 20px;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.9375rem;
  color: #D10024;
  margin-bottom: 8px;
}

.contact-detail-item p {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.6;
  margin: 0;
}

/* Responsive para contacto */
@media (max-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-container {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-details-box {
    padding: 24px;
  }

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

  .contact-compact-item {
    padding: 20px 16px;
  }

  .contact-compact-content a,
  .contact-compact-content span {
    white-space: normal;
    font-size: 0.875rem;
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .contact-info-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*----------------------------------------------------------
  13 > BOTÓN FLOTANTE DE WHATSAPP
-----------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius:50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/*----------------------------------------------------------
  14 > MODAL DE COTIZACIÓN
-----------------------------------------------------------*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: #fff;
  border-radius:0;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid #E4E7ED;
}

.modal-header .h3 {
  margin: 0;
  color: #2B2D42;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #8D99AE;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #D10024;
}

.modal-body {
  padding: 24px;
}

#cotizacion-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-body .form-group {
  margin-bottom: 0;
}

.modal-body .form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #2B2D42;
  font-size: 13px;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E4E7ED;
  border-radius:0;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
  outline: none;
  border-color: #D10024;
  box-shadow: 0 0 0 2px rgba(209, 0, 36, 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #dc3545;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 2px;
  min-height: 14px;
}

.modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .modal-body .form-row {
    grid-template-columns: 1fr;
  }
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E4E7ED;
}

.form-actions .btn {
  min-width: 120px;
}

.form-message {
  text-align: center;
  padding: 40px 20px;
}

.form-message h3 {
  margin: 20px 0 12px;
  color: #2B2D42;
}

.form-message p {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

.success-icon,
.error-icon {
  font-size: 64px;
  line-height: 1;
}

.form-success .success-icon {
  color: #28a745;
}

.form-error-message .error-icon {
  color: #dc3545;
}

.btn-spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Estilos responsive del modal */
@media (max-width: 640px) {
  .modal-container {
    max-height: 95vh;
    border-radius:0;
    margin-top: auto;
  }

  .modal-header,
  .modal-body {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

  background:#FBFBFC;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:#2B2D42;font-weight:500;transition:color .2s}
a:hover,a:focus{color:#D10024;text-decoration:none;outline:none}
ul,ol{margin:0;padding:0;list-style:none}
.container{width:min(1200px,100% - 2rem);margin-inline:auto}
.section{padding:30px 0}
.flex-between{display:flex;justify-content:space-between;align-items:center}
.gap-8{gap:8px}

/* Encabezados */
h1,h2,h3,h4,h5,h6{
  color:#2B2D42;            /* Headers */
  font-weight:700;
  margin:0 0 10px;
}

/* Utilidades */
.muted{color:#8D99AE}
.small{font-size:.875rem}
.w-100{width:100%}
.lead{font-size:1.125rem;color:#333}
.btn-group{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}

/* Grids responsivas */
.grid-2,.grid-3{display:grid;gap:24px}
@media(min-width:640px){.grid-2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.grid-3{grid-template-columns:repeat(3,1fr)}}

/* Ratios para imágenes */
.ratio-16x9,.ratio-4x3{position:relative;background:#E4E7ED;overflow:hidden}
.ratio-16x9::before{content:"";display:block;padding-top:56.25%}
.ratio-4x3::before{content:"";display:block;padding-top:75%}
.ratio-16x9>img,.ratio-4x3>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .2s
}

/* Botón primario tipo Electro */
.primary-btn,
.btn.btn-primary{
  display:inline-block;
  padding:12px 30px;
  background:#D10024;
  border:none;border-radius:0;
  color:#FFF;text-transform:uppercase;font-weight:700;text-align:center;
  font-family:inherit;
  transition:.2s all
}
.primary-btn:hover,.primary-btn:focus,
.btn.btn-primary:hover,.btn.btn-primary:focus{
  background:#A8001D;color:#FFF
}

/* Botón contorno claro (CTA oscuro) */
.btn.btn-outline-light{
  display:inline-block;padding:12px 30px;border-radius:0;
  background:transparent;color:#FFF;border:2px solid #FFF;
  text-transform:uppercase;font-weight:700;transition:.2s all
}
.btn.btn-outline-light:hover{background:#FFF;color:#D10024}

/* Botón PVC gris */
.btn.btn-pvc{
  display:inline-block;padding:12px 30px;border-radius:0;
  background:#6C757D;color:#FFF;border:2px solid #6C757D;
  text-transform:uppercase;font-weight:700;transition:.2s all
}
.btn.btn-pvc:hover{background:#5A6268;border-color:#5A6268;color:#FFF}

/* Botón NFC gris */
.btn.btn-nfc{
  display:inline-block;padding:12px 30px;border-radius:0;
  background:#6C757D;color:#FFF;border:2px solid #6C757D;
  text-transform:uppercase;font-weight:700;transition:.2s all
}
.btn.btn-nfc:hover{background:#5A6268;border-color:#5A6268;color:#FFF}

/* Botón etiquetas gris */
.btn.btn-etiquetas{
  display:inline-block;padding:12px 30px;border-radius:0;
  background:#6C757D;color:#FFF;border:2px solid #6C757D;
  text-transform:uppercase;font-weight:700;transition:.2s all
}
.btn.btn-etiquetas:hover{background:#5A6268;border-color:#5A6268;color:#FFF}

/* Botón suave gris */
.btn.btn-soft{
  display:inline-block;padding:10px 22px;border-radius:0;
  background:#FBFBFC;border:1px solid #E4E7ED;color:#2B2D42;
  text-transform:uppercase;font-weight:700;transition:.2s all
}
.btn.btn-soft:hover{background:#E4E7ED;color:#D10024}

/* Listas */
.list{padding-left:0;margin:8px 0 0}
.list li{margin:6px 0;color:#333}

/* Badges */
.badge{
  display:inline-block;border:2px solid #E4E7ED;background:#FFF;
  color:#8D99AE;font-size:12px;padding:2px 10px;border-radius:0
}
.badge-ok{background:#D10024;border-color:#D10024;color:#FFF}

/*----------------------------------------------------------
  02 > HEADER
-----------------------------------------------------------*/

/* Topbar oscuro */
.topbar{
  background:#1E1F29;       /* Dark (light) */
  color:#FFF;font-size:12px
}
.topbar .container{display:flex;justify-content:space-between;gap:16px}
.topbar a{color:#FFF;padding:10px 0}
.topbar a:hover{color:#D10024}

/* Header / barra principal */
.header{
  background:#15161D;       /* Dark */
  border-bottom:2px solid #E4E7ED;
  position:sticky;top:0;z-index:1000
}
.nav{
  display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:20px
}
.brand{
  display:inline-flex;align-items:center;gap:10px;color:#FFF
}
.brand img{display:block}
.brand span{font-weight:700}

/* Toggle móvil (hamburger con checkbox existente) */
.nav-toggle{display:none}
.nav-toggle-btn{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  width:44px;
  height:44px;
  padding:8px;
  cursor:pointer;
  border:none;
  background:transparent;
  transition:transform 0.3s ease;
}
.nav-toggle-btn .bar{
  width:100%;
  height:3px;
  background:#FFF;
  transition:all 0.3s ease;
}

/* Menú responsivo (inspirado en responsive-nav del Electro) */
.menu{
  position:fixed;left:0;top:0;background:#15161D;height:100vh;max-width:250px;
  width:0;overflow:hidden;z-index:1100;padding-top:70px;
  transform:translateX(-100%);transition:.2s all;border-right:2px solid #E4E7ED;
  visibility:hidden
}
.menu-list{margin:0}
.menu-list a{
  display:block;padding:15px;color:#FFF;border-bottom:1px solid #1E1F29
}
.menu-list a:hover{color:#D10024;background:#1E1F29}

/* Estado abierto - transformar hamburguesa en X */
.nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}
.nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(2){
  opacity:0;
}
.nav-toggle:checked ~ .nav-toggle-btn .bar:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}
.nav-toggle:checked ~ .menu{
  transform:translateX(0);width:100%;max-width:250px;visibility:visible
}

/* Menú desktop con barra superior roja y subrayado animado */
@media(min-width:992px){
  .nav-toggle-btn{display:none}
  /* Reset menu styles on desktop - fixes bug when resizing with hamburger open */
  .menu,
  .nav-toggle:checked ~ .menu{
    all:unset;display:flex;align-items:center;gap:20px;
    position:static;transform:none;visibility:visible;width:auto;max-width:none;
    height:auto;background:transparent;border:none;padding:0;overflow:visible
  }
  .menu-list{
    display:flex;gap:30px;border-top:3px solid #D10024;
  }
  .menu-list a{
    color:#FFF;padding:20px 0;border:none;position:relative
  }
  .menu-list a::after{
    content:"";display:block;width:0;height:2px;background:#D10024;
    position:absolute;left:0;bottom:10px;transition:.2s all
  }
  .menu-list a:hover::after,.menu-list a:focus::after{width:100%}
}

/* Botón CTA Navbar */
.btn-nav-cta{
  background:#D10024;color:#FFF;padding:10px 18px;font-weight:600;
  font-size:0.85rem;text-transform:uppercase;letter-spacing:0.5px;
  border:none;cursor:pointer;transition:background .2s;white-space:nowrap
}
.btn-nav-cta:hover{background:#A8001D;color:#FFF}
@media(max-width:991px){
  .btn-nav-cta{display:block;margin:20px 15px;text-align:center}
}

/*----------------------------------------------------------
  03 > HERO
-----------------------------------------------------------*/
.hero{
  position:relative;
  padding:80px 0 90px;
  color:#2B2D42;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,255,255,.78)) , url('img/hero-placeholder.png') center/cover no-repeat;
}
.hero .container{position:relative;z-index:1;display:flex;align-items:center;min-height:180px}
.hero-content{max-width:560px;display:grid;gap:14px}
.hero .h1{margin:0;font-size:clamp(2rem,3.5vw,3rem)}
.hero .lead{color:#333;margin:0}
.hero .cta-group{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;justify-content:flex-start}
@media(max-width:640px){
  .hero{padding:70px 0 80px}
  .hero .container{justify-content:flex-start}
  .hero-content{gap:12px}
}
@media(max-width:420px){
  .hero{padding:65px 0 70px}
  .hero-content{text-align:left}
}
.h1{margin-bottom:10px}

/*----------------------------------------------------------
  04 > SECCIONES / TITULARES (Electro-like)
-----------------------------------------------------------*/
.section-head{position:relative;margin:15px 0 30px}
.section-head .h2{display:inline-block;text-transform:uppercase;margin:0}
.section-head .tabs{float:right}
.tabs{display:inline-flex;gap:15px}
.tab{
  font:inherit;font-weight:700;color:#8D99AE;display:inline-block;position:relative;padding:6px 0;
  background:none;border:0;cursor:pointer
}
.tab::after{
  content:"";display:block;width:0;height:2px;background:#D10024;transition:.2s all
}
.tab:hover::after,.tab.active::after{width:100%}
.tab.active{color:#D10024}
.tab:focus{outline:none}

/* Tabs wrapper responsiveness */
.section-head .tabs{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:640px){
  .section-head .tabs{justify-content:flex-start}
}

/*----------------------------------------------------------
  05 > CATEGORÍAS (cards estilo "shop" de Electro)
-----------------------------------------------------------*/
.card.cat{
  position:relative;
  overflow:hidden;
  margin:15px 0;
  background:#FFF;
  border:1px solid #E4E7ED;
  display:flex;
  flex-direction:column;
}
.card.cat .card-media{background:#E4E7ED}
.card.cat .card-media img{transition:.2s all}
.card.cat:hover .card-media img{transform:scale(1.08)}
.card.cat .card-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  flex:1;
  position:relative;
}
.card.cat .h3{margin:0 0 12px}
.card.cat .cat-list{
  list-style:none;
  padding:0;
  margin:0 0 auto;
  flex:1;
}
.card.cat .cat-list li{
  position:relative;
  padding-left:18px;
  margin-bottom:6px;
  color:#333;
  font-size:0.9rem;
  line-height:1.5;
}
.card.cat .cat-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:6px;
  height:6px;
  background:#6C757D;
  border-radius:50%;
}
.card.cat .btn-cat{
  align-self:flex-start;
  margin-top:16px;
  background:#6C757D;
  border-color:#6C757D;
  box-shadow:none;
}
.card.cat .btn-cat:hover{
  background:#5A6268;
  border-color:#5A6268;
}

/*----------------------------------------------------------
  06 > PRODUCTOS (cards estilo Electro .product)
-----------------------------------------------------------*/
.card.product{
  position:relative;
  margin:15px 0;
  background:#FFF;
  border:1px solid #E4E7ED;
  transition:.2s all;
  display:flex;
  flex-direction:column;
  height:100%;
}
.card.product .card-media{
  position:relative;
  background:#FFF;
  flex-shrink:0;
}
.card.product .card-body{
  position:relative;
  padding:15px;
  background:#FFF;
  text-align:center;
  z-index:20;
  display:flex;
  flex-direction:column;
  flex:1;
  justify-content:space-between;
}
.card.product .h4{
  text-transform:uppercase;
  font-size:14px;
  min-height:2.5em;
}
.card.product .muted{color:#8D99AE}
.product-grid{align-items:stretch}

/* Horizontal scroll for product showcase */
.product-grid{display:none}
.product-grid.active{display:grid}
.product-grid.product-scroll{display:none}
.product-grid.product-scroll.active{display:flex}

.product-grid.active {
  justify-content: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 24px 32px 30px;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 32px;
}

.product-grid.active .card {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
  height: 520px;
  scroll-snap-align: start;
  margin: 0;
}

.product-grid.active .card .card-media {
  height: 240px;
  overflow: hidden;
}

.product-grid.active .card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-grid.active .card:first-child {
  margin-left: 0;
}

.product-grid.active .card:last-child {
  margin-right: 32px;
}

/* Scrollbar visible */
.product-grid.active::-webkit-scrollbar {
  height: 8px;
}
.product-grid.active::-webkit-scrollbar-track {
  background: #F5F5F7;
  border-radius:0;
}
.product-grid.active::-webkit-scrollbar-thumb {
  background: #D10024;
  border-radius:0;
}

/* Responsive: mantiene el mismo tamaño en móviles */
@media(max-width:768px){
  .product-grid.active {
    padding: 20px 20px 26px;
    scroll-padding-inline: 20px;
  }
  .product-grid.active .card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    height: 480px;
  }
  .product-grid.active .card .card-media {
    height: 210px;
  }
  .product-grid.active .card:last-child {
    margin-right: 20px;
  }
}

@media(max-width:1200px){
  .product-scroll{--product-card-width:300px}
}
@media(max-width:1024px){
  .product-scroll{
    --product-card-width:280px;
    scroll-padding-inline:24px;
  }
}
@media(max-width:768px){
  .product-scroll{
    --product-card-width:260px;
    gap:20px;
  }
}
@media(max-width:640px){
  .product-scroll{
    --product-card-width:85vw;
    padding:20px 20px 24px;
    scroll-padding-inline:20px;
  }
}

.category-grid{
  display:grid;
  gap:24px;
}
@media(min-width:720px){
  .category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1040px){
  .category-grid{grid-template-columns:repeat(3,1fr)}
}

/* Grid de 3 columnas para productos (sin scroll horizontal) */
.product-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  overflow: visible;
  transform: none;
  margin-left: auto;
}
.product-grid-3col .card {
  flex: none;
  min-width: auto;
  max-width: none;
  height: auto;
  margin: 0;
}
.product-grid-3col .card .card-media {
  height: 200px;
  overflow: hidden;
}
.product-grid-3col .card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media(max-width:1040px){
  .product-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:640px){
  .product-grid-3col {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }
}

.category-hero{
  padding:40px 0 10px
}
.category-hero .h1{margin-bottom:16px}
.category-hero p{max-width:640px}
.category-highlight{
  display:grid;
  gap:20px;
  margin:30px 0 10px;
}
@media(min-width:900px){
  .category-highlight{grid-template-columns:1.2fr .8fr;align-items:start}
}
.category-list{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:24px
}
.category-list h3{margin-bottom:12px}
.category-list ul{list-style:disc;margin-left:18px;color:#333}
.category-list li{margin-bottom:6px}
.category-card{
  background:#1E1F29;color:#FFF;border-radius:0;padding:24px;display:grid;gap:12px
}
.category-card .btn{justify-self:start}

.stats-grid{
  display:grid;gap:16px;margin:30px 0
}
@media(min-width:768px){
  .stats-grid{grid-template-columns:repeat(3,1fr)}
}
.stat-card{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:20px;text-align:center
}
.stat-card span{display:block;font-size:2rem;font-weight:700;color:#D10024}
.playbook-steps{
  display:grid;gap:16px;margin:30px 0
}
@media(min-width:840px){
  .playbook-steps{grid-template-columns:repeat(4,1fr)}
}
.playbook-step{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:18px
}
.playbook-step h4{margin:0 0 6px;font-size:1.125rem;color:#D10024}

.process-grid{
  display:grid;gap:24px;margin:30px 0
}
@media(min-width:980px){
  .process-grid{grid-template-columns:repeat(3,1fr)}
}
.process-card{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:24px
}
.process-card h3{margin-bottom:10px}
.process-card p{margin:0}

.cta-panel{
  background:#FFF;color:#2B2D42;border:1px solid #E4E7ED;border-radius:0;padding:32px;margin:40px 0;display:grid;gap:16px;text-align:center
}
.cta-panel .btn{justify-self:center}

/* Product Detail Layout */
.product-detail-layout{
  display:grid;gap:32px;margin:30px 0;
}
@media(min-width:960px){
  .product-detail-layout{grid-template-columns:1fr 1fr;align-items:start}
}

/* Gallery Column */
.product-gallery-col{display:grid;gap:16px}
.product-main-image{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;
  padding:20px;display:flex;align-items:center;justify-content:center;
  min-height:400px;position:relative;overflow:hidden;cursor:zoom-in
}
.product-main-image img{
  max-width:100%;height:auto;object-fit:contain;
  transition:transform .3s ease;transform-origin:center center
}
.product-main-image.zoomed{cursor:zoom-out}
.product-main-image.zoomed img{transform:scale(2)}

/* Zoom Controls */
.zoom-controls{
  position:absolute;bottom:12px;right:12px;
  display:flex;gap:8px;z-index:10
}
.zoom-btn{
  width:36px;height:36px;border-radius:0;
  background:rgba(255,255,255,0.95);border:1px solid #E4E7ED;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .2s;color:#2B2D42
}
.zoom-btn:hover{background:#D10024;color:#FFF;border-color:#D10024;transform:scale(1.1)}
.zoom-btn svg{width:18px;height:18px}

.product-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:8px 0}
.product-thumbs img{
  width:100%;aspect-ratio:1;object-fit:cover;border-radius:0;
  border:2px solid #E4E7ED;cursor:pointer;transition:all .2s
}
.product-thumbs img.active,.product-thumbs img:hover{border-color:#D10024;transform:scale(1.05)}

/* Info Column */
.product-info-col{background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:24px}
.product-header{margin-bottom:16px}
.product-header .muted{margin-bottom:4px}
.product-title{font-size:1.75rem;margin:0 0 16px;color:#2B2D42}

/* Badges */
.product-badges{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.badge{
  display:inline-flex;align-items:center;gap:6px;padding:6px 12px;
  border-radius:0;font-size:0.875rem;font-weight:500
}
.badge-stock{background:#D4EDDA;color:#155724;border:1px solid #C3E6CB}
.badge-stock svg{width:12px;height:12px}
.badge-info{background:#F8F9FA;color:#495057;border:1px solid #DEE2E6}

/* Features List */
.product-features-list{
  margin:20px 0;padding-left:0;list-style:none;
}
.product-features-list li{
  margin-bottom:10px;color:#333;position:relative;padding-left:18px;
  font-size:0.95rem;line-height:1.5;
}
.product-features-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:6px;
  height:6px;
  background:#6C757D;
  border-radius:50%;
}
.product-features-list li svg{
  display:none;
}

/* Product Actions */
.product-actions{
  display:grid;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #E4E7ED
}
@media(min-width:480px){
  .product-actions{grid-template-columns:auto 1fr;align-items:center}
}

/* Quantity Selector */
.quantity-selector{
  display:flex;align-items:center;border:2px solid #E4E7ED;border-radius:0;
  overflow:hidden;width:fit-content;background:#FFF
}
.qty-btn{
  background:#F8F9FA;border:none;padding:14px 18px;cursor:pointer;
  font-size:1.5rem;font-weight:700;color:#2B2D42;transition:all .2s;
  min-width:50px;display:flex;align-items:center;justify-content:center;
  flex-shrink:0
}
.qty-btn:hover{background:#E4E7ED;color:#D10024}
.qty-input{
  border:none;text-align:center;min-width:80px;max-width:140px;padding:14px 8px;
  font-size:1.05rem;font-weight:600;color:#2B2D42;outline:none;
  background:#FFF;cursor:text;flex:1;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.qty-input:focus{
  background:#F8F9FA
}

/* Quote Button */
.btn-quote-now{
  padding:14px 32px;border-radius:0;text-transform:uppercase;
  font-weight:700;font-size:0.95rem;cursor:pointer;transition:all .2s;
  border:none;background:#D10024;color:#FFF;width:100%
}
.btn-quote-now:hover{background:#A8001D;color:#FFF}

/* Product Tabs Section */
.product-tabs-section{margin:40px 0 20px 0;background:#FFF;border:1px solid #E4E7ED;border-radius:0;overflow:hidden}
.product-tabs-nav{
  display:flex;border-bottom:2px solid #E4E7ED;background:#F8F9FA
}
.product-tab{
  flex:1;padding:16px 24px;background:none;border:none;
  font-weight:600;font-size:1rem;color:#6C757D;cursor:pointer;
  transition:all .2s;border-bottom:3px solid transparent
}
.product-tab:hover{color:#2B2D42;background:#FFF}
.product-tab.active{color:#D10024;background:#FFF;border-bottom-color:#D10024}
.product-tabs-content{padding:32px}
.product-tab-panel{display:none}
.product-tab-panel.active{display:block}
.product-tab-panel h3{margin:0 0 16px;color:#2B2D42;font-size:1.5rem}
.product-tab-panel p{line-height:1.7;color:#495057;margin-bottom:12px}

.blog-grid{
  display:grid;gap:24px;margin:30px 0
}
@media(min-width:900px){
  .blog-grid{grid-template-columns:repeat(3,1fr)}
}
.blog-card{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;padding:24px;display:grid;gap:12px
}
.blog-card .badge{justify-self:start}
.blog-card .btn{justify-self:start}

.accent-note{
  border-left:4px solid #D10024;background:#FFF;padding:18px 20px;border-radius:0;margin:20px 0
}

/*----------------------------------------------------------
  07 > BLOG (tarjetas limpias)
-----------------------------------------------------------*/
#blog .card{
  background:#FFF;border:1px solid #E4E7ED;border-radius:0;overflow:hidden
}
#blog .card .card-body{padding:15px}

/*----------------------------------------------------------
  08 > CTA OSCURA (banner)
-----------------------------------------------------------*/
.cta{
  background:#1E1F29;color:#FFF;border-top:2px solid #E4E7ED;border-bottom:3px solid #D10024;
  text-align:center;padding:60px 0;margin:30px 0
}
.cta .lead{color:#FBFBFC}
.cta .cta-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.btn.btn-light{background:#FFF;color:#D10024;border:0;border-radius:0;padding:12px 30px;font-weight:700;text-transform:uppercase}
.btn.btn-light:hover{opacity:.9}

/*----------------------------------------------------------
  09 > FOOTER (Electro)
-----------------------------------------------------------*/
.footer{
  background:#15161D;color:#B9BABC;margin-top:30px
}
.footer .footer-grid{
  display:grid;gap:24px;padding:30px 0
}
.footer .brand{color:#FFF}
.footer .brand span{font-size:18px}
.footer .footer-nav .h5,
.footer .footer-contact .h5{
  color:#FFF;text-transform:uppercase;font-size:18px;margin:0 0 30px
}
.footer a{color:#B9BABC}
.footer a:hover{color:#D10024}
.footer .footer-legal{
  background:#1E1F29;border-top:1px solid #1E1F29;text-align:center
}
.footer .footer-legal p{margin:0;padding:14px 0;font-size:12px}
@media(min-width:840px){
  .footer .footer-grid{grid-template-columns:1.2fr 1fr 1fr;align-items:start}
}

/*----------------------------------------------------------
  10 > ACCESIBILIDAD / FOCUS
-----------------------------------------------------------*/
a:focus,.btn:focus,.tab:focus{
  outline:2px solid #D10024;outline-offset:2px
}
[id]{scroll-margin-top:90px}

/*----------------------------------------------------------
  11 > RESPONSIVE
-----------------------------------------------------------*/
@media(max-width:991px){
  .section-head .tabs{float:none;margin-top:10px}
}
@media(max-width:767px){
  .section .grid-3{grid-template-columns:1fr}
  .section .grid-2{grid-template-columns:1fr}
}
@media print{
  .topbar,.header,.nav-toggle-btn,.menu,.cta{display:none!important}
  .btn{border:1px solid #000!important;color:#000!important;background:#FFF!important;box-shadow:none!important}
  .card{break-inside:avoid}
}

/*----------------------------------------------------------
  12 > COMPONENTES MAPEADOS A TU HTML
-----------------------------------------------------------*/

/* Navegación secundaria (footer) */
.footer .list-unstyled li+li{margin-top:15px}
.footer .list-unstyled i{margin-right:15px;color:#D10024;width:14px;text-align:center}

/* Tabs de “New products” ya definidos arriba con .tabs/.tab */

/* Sección “Categorías” y “New products” títulos */
.section .h2{text-transform:uppercase}

/* Hover sutil en ratios dentro de .card */
.card:hover .ratio-4x3>img,.card:hover .ratio-16x9>img{transform:scale(1.06)}

/* Cursor pointer para elementos clickeables */
button,
.btn,
a.btn,
[role="button"],
input[type="submit"],
input[type="button"],
label[for],
.nav-toggle-btn,
.tab,
.card,
select {
  cursor: pointer !important;
}

/*----------------------------------------------------------
  PRODUCT PAGES STYLES (ETIQUETAS)
-----------------------------------------------------------*/
/* Estilos específicos para páginas de productos de etiquetas */
/* Usamos selectores específicos para no afectar el navbar principal */

/* Breadcrumb navigation */
.breadcrumb{background:#f9f9f9;padding:1rem 0;border-bottom:1px solid #e5e5e5}
.breadcrumb-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;gap:0.5rem;align-items:center}
.breadcrumb a{color:#666;text-decoration:none;font-size:0.9rem}
.breadcrumb a:hover{color:#D10024}
.breadcrumb .separator{color:#999}
.breadcrumb .current{color:#333;font-weight:500}

/* Product detail section */
.product-detail{max-width:1200px;margin:3rem auto;padding:0 2rem}
.product-container{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}

/* Product gallery */
.product-gallery{}
.product-gallery .main-image{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;margin-bottom:1rem;background:#fff}
.product-gallery .main-image img{width:100%;display:block;height:auto}
.thumbnail-list{display:grid;grid-template-columns:repeat(4,1fr);gap:0.5rem}
.thumbnail{border:2px solid #e5e5e5;border-radius:4px;overflow:hidden;cursor:pointer;background:#fff;padding:0;transition:border-color 0.3s}
.thumbnail:hover{border-color:#D10024}
.thumbnail.active{border-color:#D10024}
.thumbnail img{width:100%;display:block;height:auto}

/* Product info */
.product-info{}
.product-info h1{font-size:2rem;margin:0 0 1rem;color:#333;line-height:1.2}
.product-info .price{font-size:1.5rem;color:#D10024;font-weight:700;margin-bottom:1.5rem;display:block}
.product-info .description{color:#666;line-height:1.6;margin-bottom:2rem}
.product-info .btn-primary{background:#D10024;color:#fff;padding:1rem 2rem;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-block;transition:all 0.3s;border:0}
.product-info .btn-primary:hover{background:#b0001e;transform:translateY(-2px);box-shadow:0 4px 12px rgba(209,0,36,0.3)}

/* Features grid */
.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:3rem}
.feature-card{padding:1.5rem;background:#f9f9f9;border-radius:8px;border:1px solid #e5e5e5}
.feature-card h3{color:#D10024;margin:0 0 0.5rem;font-size:1.1rem}
.feature-card p{color:#666;font-size:0.9rem;margin:0;line-height:1.5}

/* Specifications */
.specifications{margin-top:3rem;padding:2rem;background:#f9f9f9;border-radius:8px;border:1px solid #e5e5e5}
.specifications h2{margin:0 0 1.5rem;color:#333;font-size:1.5rem}
.spec-list{display:grid;gap:1rem}
.spec-item{display:flex;justify-content:space-between;padding:0.75rem 1rem;background:#fff;border-radius:4px;border:1px solid #e5e5e5}
.spec-label{font-weight:600;color:#333}
.spec-value{color:#666;text-align:right}

/* Responsive styles */
@media(max-width:768px){
  .product-container{grid-template-columns:1fr;gap:2rem}
  .features-grid{grid-template-columns:1fr}
  .thumbnail-list{grid-template-columns:repeat(4,1fr)}
  .breadcrumb-container{padding:0 1rem}
  .product-detail{padding:0 1rem}
}

@media(max-width:480px){
  .product-info h1{font-size:1.5rem}
  .product-info .price{font-size:1.25rem}
  .thumbnail-list{grid-template-columns:repeat(3,1fr)}
}

/* Related Products Grid - 3 per row */
.products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2rem;
  margin:3rem 0;
}
.product-card{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:8px;
  overflow:hidden;
  transition:transform 0.3s, box-shadow 0.3s;
  cursor:pointer;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
}
.product-card-image{
  width:100%;
  height:240px;
  object-fit:cover;
  border-bottom:1px solid #e5e5e5;
}
.product-card-content{
  padding:1.5rem;
}
.product-card-title{
  font-size:1.1rem;
  font-weight:600;
  color:#333;
  margin:0 0 0.5rem;
}
.product-card-description{
  color:#666;
  font-size:0.9rem;
  line-height:1.5;
  margin:0 0 1rem;
}
.product-card-link{
  color:#D10024;
  text-decoration:none;
  font-weight:600;
  font-size:0.9rem;
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  transition:gap 0.3s;
}
.product-card-link:hover{
  gap:0.75rem;
}

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

@media(max-width:640px){
  .products-grid{
    grid-template-columns:1fr;
  }
}

/*----------------------------------------------------------
  FAQ Section - Preguntas Frecuentes para SEO
-----------------------------------------------------------*/
.faq-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #2B2D42;
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.faq-item summary {
  padding: 20px;
  font-weight: 600;
  color: #2B2D42;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #D10024;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}

@media(max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-section h2 {
    font-size: 1.5rem;
    padding: 0 15px;
  }
}

/*----------------------------------------------------------
  SEO Cities Section - Contenido Geográfico
-----------------------------------------------------------*/
.seo-cities {
  padding: 50px 0;
  background: #fff;
}

.seo-cities h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #2B2D42;
  margin-bottom: 25px;
  font-weight: 600;
}

.seo-cities p {
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0 20px;
}

.seo-cities strong {
  color: #D10024;
  font-weight: 600;
}

@media(max-width: 768px) {
  .seo-cities {
    padding: 40px 0;
  }
  
  .seo-cities h2 {
    font-size: 1.3rem;
  }
  
  .seo-cities p {
    font-size: 0.9rem;
    text-align: left;
  }
}
