/* CSS Document */
/* =========================================================
   VARIABLES BASE
   ========================================================= */
:root {
  --primary-color: #163B6D;      /* Azul corporativo */
  --secondary-color: #FBB600;    /* Amarillo corporativo */
  --bg-color: #D9D9D6;
  --text-color: #4F4C4C;
}

/* =========================================================
   RESET Y BASE
   ========================================================= */
body {
  background-color: var(--bg-color);
  margin: 0;
  font-family: Arial, sans-serif;
}

/* =========================================================
   HEADER & NAVBAR
   ========================================================= */
.header-custom {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-top: 8px;
}

.polymer-nav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 8px 0;
}

.polymer-link {
  color: #495057;
  font-weight: 500;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.polymer-link:hover {
  color: var(--primary-color);
}

.btn-register-client {
  background-color: var(--primary-color);
  color: white;
  margin-left: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.btn-register-client:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-register-client i {
  margin-right: 5px;
}

@media (max-width: 991.98px) {
  .polymer-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .polymer-nav::-webkit-scrollbar {
    display: none;
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */

 .hero-container {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        .hero-image {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .overlay-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
            width: 80%;
        }
        
        .polymer-name {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: 2px;
        }
        
        .polymer-description {
            font-size: 1.5rem;
            font-weight: 300;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* Efecto de overlay para mejorar legibilidad */
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }
        
        /* Responsividad */
        @media (max-width: 768px) {
            .polymer-name {
                font-size: 2.5rem;
            }
            
            .polymer-description {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 576px) {
            .polymer-name {
                font-size: 2rem;
            }
            
            .polymer-description {
                font-size: 1rem;
            }
        }
        
        .content-section {
            padding: 3rem 0;
            background-color: #f8f9fa;
        }





.hero-section {
  position: relative;
  height: 400px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('tu-imagen-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.hero-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.overlap-banner {
  position: relative;
  z-index: 2;
  margin-top: -75px;
}

@media (max-width: 768px) {
  .hero-banner,
  .hero-section .carousel-item img {
    height: 250px;
  }
  .overlap-banner {
    margin-top: -20px;
  }
}

/* Carrusel dentro del hero */
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  width: 100%;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* =========================================================
   CARDS GENERALES
   ========================================================= */
.info-cards-container {
  position: relative;
  margin: 30px 0;
  z-index: 10;
	
}

.info-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 80%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 20px;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.info-card-icon {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.info-card-text {
  color: var(--text-color);
  font-size: 14px;
}

.info-card.iso {
  border-left-color: #28a745;
}
.info-card.iso .info-card-icon {
  color: #28a745;
}

.info-card.delivery {
  border-left-color: var(--secondary-color);
}
.info-card.delivery .info-card-icon {
  color: var(--secondary-color);
}

.info-card.warranty {
  border-left-color: #dc3545;
}
.info-card.warranty .info-card-icon {
  color: #dc3545;
}

/* =========================================================
   PRODUCTOS / DETALLE DE PRODUCTO
   ========================================================= */
.product-card {
  height: 100%;
}

.product-img {
  height: 180px;
  object-fit: contain;
  background-color: #f8f9fa;
}

.product-detail-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 30px 0 50px 0;
  overflow: hidden;
}

.product-gallery {
  border-right: 1px solid #eee;
}

.main-image {
  height: 400px;
  object-fit: contain;
  background-color: #f9f9f9;
  cursor: zoom-in;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary-color);
}

.product-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.product-price {
  font-size: 32px;
  color: var(--primary-color);
  margin: 15px 0;
}

.tech-specs li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #eee;
}

.badge-certification {
  background-color: #e3f2fd;
  color: var(--primary-color);
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn-buy {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
}

.btn-secondary-action {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: white;
}

.btn-register {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 6px;
}
.btn-register:hover {
  background-color: var(--secondary-color);
}

.btn-checkout {
  background-color: #28a745;
  color: white;
  font-weight: 500;
  padding: 12px;
}
.btn-checkout:hover {
  background-color: #218838;
}

.btn-login {
  background-color: var(--primary-color);
  color: white;
}
.btn-login:hover {
  background-color: #2968c8;
}

.btn-dashboard {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 6px;
  margin: 10px;
}
.btn-dashboard:hover {
  background-color: #2968c8;
}

.btn-print {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 6px;
  margin: 10px;
}
.btn-print:hover {
  background-color: #f0f7ff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-custom {
  background-color: #2d2d2d;
  color: #e8e8e8;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-custom a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-custom a:hover {
  color: white;
}

.footer-custom .social-icons a {
  font-size: 1.5rem;
  margin-right: 15px;
}

/* =========================================================
   CARRITO DE COMPRA
   ========================================================= */
.cart-container {
  max-width: 1200px;
  margin: 30px auto;
}

.cart-header {
  background-color: var(--secondary-color);
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.cart-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  overflow: hidden;
}

.cart-item-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 10px;
}

.quantity-input {
  width: 80px;
  text-align: center;
}

.remove-item {
  color: #dc3545;
  cursor: pointer;
}

.summary-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}

.price-highlight {
  color: #28a745;
  font-weight: 600;
}
/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-container {
  max-width: 1200px;
  margin: 30px auto;
}

.checkout-header {
  background-color: var(--secondary-color);
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.checkout-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 25px;
  margin-bottom: 20px;
}

/* Tabs de login / registro */
.login-tabs .nav-link {
  color: #495057;
  font-weight: 500;
}
.login-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  background: transparent;
}

/* Botones en checkout */
.btn-login {
  background-color: var(--primary-color);
  color: white;
}
.btn-login:hover {
  background-color: #2968c8;
}



/* Resumen de orden */
.order-summary {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}
.price-highlight {
  color: #28a745;
  font-weight: 600;
}

/* Métodos de pago */
.payment-method {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
}
.payment-method:hover {
  border-color: var(--primary-color);
}
.payment-method.selected {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}
.payment-icon {
  font-size: 24px;
  margin-right: 10px;
  color: var(--primary-color);
}

/* Opciones de envío y recolección */
.shipping-option,
.pickup-option {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
}
.shipping-option:hover,
.pickup-option:hover {
  border-color: var(--primary-color);
}
.shipping-option.selected,
.pickup-option.selected {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}

/* Steps (progreso de checkout) */
.step {
  flex: 1;
  position: relative;
}
.step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #dee2e6;
  z-index: -1;
}
.step.active:not(:last-child):after {
  background-color: var(--primary-color);
}
.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6c757d;
}
.step.active .step-number {
  background-color: var(--primary-color) !important;
}
.step.completed .step-number {
  background-color: #28a745;
}

/* Inputs de tarjeta */
.card-input {
  background-image: linear-gradient(to right, #f8f9fa 10%, rgba(255,255,255,0) 0%);
  background-position: bottom;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  border: none;
  border-bottom: 1px solid #dee2e6;
  border-radius: 0;
  padding-left: 0;
}
.card-input:focus {
  box-shadow: none;
  border-bottom: 2px solid var(--primary-color);
}

/* Logos de tarjetas */
.card-logos {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.card-logo {
  height: 30px;
  object-fit: contain;
}

/* Botones de acción en checkout */
.btn-continue {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  padding: 12px 30px;
}
.btn-continue:hover {
  background-color: #2968c8;
}

.btn-confirm {
  background-color: #28a745;
  color: white;
  font-weight: 500;
  padding: 12px;
}
.btn-confirm:hover {
  background-color: #218838;
}
/* =========================================================
   CONFIRMACIÓN DE COMPRA
   ========================================================= */
.confirmation-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.confirmation-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 40px;
  margin-bottom: 30px;
}

.confirmation-icon {
  font-size: 72px;
  color: #28a745;
  margin-bottom: 20px;
}

.confirmation-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.confirmation-text {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Siguientes pasos */
.next-steps {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.next-steps-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Detalle de orden dentro de la confirmación */
.order-details {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  text-align: left;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  font-weight: 500;
  color: #6c757d;
}
.price-highlight {
  color: #28a745;
  font-weight: 600;
}

/* Botones de acción en confirmación */
.btn-dashboard {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 6px;
  margin: 10px;
}
.btn-dashboard:hover {
  background-color: #2968c8;
}

.btn-print {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 6px;
  margin: 10px;
}
.btn-print:hover {
  background-color: #f0f7ff;
}
/* =========================================================
   DASHBOARD DE USUARIO
   ========================================================= */
.dashboard-container {
  max-width: 1200px;
  margin: 30px auto;
}

/* Tarjeta de usuario */
.user-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 25px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

/* Navegación lateral con pills */
.nav-pills .nav-link {
  color: #495057;
  transition: background 0.3s;
}
.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Panel de contenido del dashboard */
.dashboard-panel {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 25px;
  margin-bottom: 20px;
}

/* Listados dentro del dashboard */
.dashboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.dashboard-list li:last-child {
  border-bottom: none;
}

/* Botones del dashboard */
.btn-dashboard {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 25px;
  font-weight: 500;
  border-radius: 6px;
  margin: 5px;
}
.btn-dashboard:hover {
  background-color: #2968c8;
}

.btn-logout {
  background-color: #dc3545;
  color: white;
  padding: 10px 25px;
  font-weight: 500;
  border-radius: 6px;
  margin: 5px;
}
.btn-logout:hover {
  background-color: #b52b3b;
}


/*Panel de proveedores*/
 /* Estilos para el nuevo panel de tabs - MEJORADO */
        .suppliers-panel {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin: 20px auto;
            padding: 20px;
            max-width: 1200px;
        }
        
        .nav-tabs {
            border-bottom: 1px solid #dee2e6;
        }
        
        .nav-tabs .nav-link {
            color: #495057;
            font-weight: 500;
            border: none;
            padding: 12px 20px;
            margin-right: 5px;
            border-radius: 4px 4px 0 0;
            text-decoration: none;
        }
        
        .nav-tabs .nav-link:hover {
            border-color: transparent;
            color: var(--primary-color);
        }
        
        .nav-tabs .nav-link.active {
            color: white;
            background-color: var(--primary-color);
            font-weight: 600;
            border: none;
        }
        
        .supplier-item, .material-item, .industry-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
        
        .supplier-item a, 
        .material-item a, 
        .industry-item a {
            color: #000;
            text-decoration: none;
            flex-grow: 1;
        }
        
        .supplier-item a:hover, 
        .material-item a:hover, 
        .industry-item a:hover {
            color: var(--primary-color);
        }
        
        .expand-btn {
            background: none;
            border: none;
            color: var(--primary-color);
            cursor: pointer;
            font-size: 1rem;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(52, 131, 250, 0.1);
            transition: all 0.3s;
        }
        
        .expand-btn:hover {
            background-color: rgba(52, 131, 250, 0.2);
        }
        
        .brands-list, 
        .supplier-brands, 
        .industry-suppliers {
            padding-left: 20px;
            margin-top: 8px;
            display: none;
        }
        
        .brand-item {
            margin-bottom: 5px;
        }
        
        .brand-item a {
            color: #FF6B00; /* Naranja para las marcas */
            text-decoration: none;
            font-weight: 500;
        }
        
        .brand-item a:hover {
            color: #e65c00;
        }
        
        .supplier-brands-item {
            margin-bottom: 10px;
        }
        
        .supplier-name {
            font-weight: 500;
            color: #000;
            margin-bottom: 5px;
        }
        
        @media (max-width: 768px) {
            .suppliers-columns, .materials-columns {
                display: block;
            }
            
            .suppliers-column, .materials-column {
                width: 100%;
            }
            
            .nav-tabs .nav-link {
                padding: 8px 12px;
                font-size: 14px;
            }
        }