/* Estilos para catalogo.php - Scoped a .catalog-content, dinámico y responsivo */

.catalog-content {
  /* WELCOME BANNER SECTION */
  .welcome-banner {
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.9), rgba(59, 142, 230, 0.9)), url('/.././Vista/img/fondo3.png') no-repeat center center/cover;
    padding: 60px 0;
    position: relative;
  }

  .welcome-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }

  .welcome-banner .container {
    position: relative;
    z-index: 2;
  }

  .welcome-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .welcome-banner p.lead {
    font-size: 1.25rem;
    color: #dfe6e9;
    font-weight: 400;
  }

  .welcome-banner .btn-primary {
    background: #f39c12; /* Orange to match Mi Perfil */
    border-color: #f39c12;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
  }

  .welcome-banner .btn-primary:hover {
    background: #d35400;
    border-color: #d35400;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(243, 156, 18, 0.5);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* PRODUCT SECTION */
  .product-section {
    background: #f8f9fa;
    padding: 60px 0;
  }

  .product-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0984e3;
    margin-bottom: 1rem;
  }

  .product-section p.text-muted {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 2rem;
  }

  .product-section .product-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-section .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .product-section .product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
  }

  .product-section .product-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #00b894;
    opacity: 0.7;
  }

  .product-section .product-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
  }

  .product-section .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
  }

  .product-section .text-success {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00b894;
  }

  .product-section .btn-custom-info {
    background: #0984e3;
    border-color: #0984e3;
    color: #ffffff;
    padding: 10px;
    border-radius: 20px;
    font-weight: 500;
  }

  .product-section .btn-custom-info:hover {
    background: #0652dd;
    border-color: #0652dd;
    transform: scale(1.05);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .product-section .no-disponible {
    font-size: 1rem;
    color: #e84393;
    margin: 0;
  }

  /* MODAL STYLES */
  .modal-content {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .modal-header {
    border-bottom: 1px solid #dfe6e9;
    background: #f1f3f5;
    border-radius: 15px 15px 0 0;
  }

  .modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0984e3;
  }

  .modal-img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: auto;
  }

  .modal-body h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
  }

  .modal-body p {
    font-size: 1rem;
    color: #636e72;
    margin-bottom: 0.75rem;
  }

  .modal-body .text-success {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00b894;
  }

  .modal-footer .btn-secondary {
    background: #636e72;
    border-color: #636e72;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
  }

  .modal-footer .btn-secondary:hover {
    background: #2d3436;
    border-color: #2d3436;
    transform: scale(1.05);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .modal-footer .btn-primary {
    background: #f39c12; /* Orange to match Mi Perfil */
    border-color: #f39c12;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
  }

  .modal-footer .btn-primary:hover {
    background: #d35400;
    border-color: #d35400;
    transform: scale(1.05);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .modal-footer .btn-primary:disabled {
    background: #b2bec3;
    border-color: #b2bec3;
    cursor: not-allowed;
  }

  /* RESPONSIVE STYLES */
  @media (max-width: 992px) {
    .welcome-banner h1 {
      font-size: 2.5rem;
    }

    .welcome-banner p.lead {
      font-size: 1.1rem;
    }

    .welcome-banner .btn-primary {
      padding: 10px 20px;
      font-size: 1rem;
    }

    .product-section h2 {
      font-size: 2rem;
    }

    .product-section .product-image {
      height: 150px;
    }

    .modal-img {
      height: 150px;
    }
  }

  @media (max-width: 768px) {
    .welcome-banner {
      padding: 40px 0;
    }

    .welcome-banner h1 {
      font-size: 2rem;
      text-align: center;
    }

    .welcome-banner p.lead {
      font-size: 1rem;
      text-align: center;
    }

    .welcome-banner .btn-primary {
      width: 100%;
      padding: 10px;
    }

    .product-section {
      padding: 40px 0;
    }

    .product-section .col-md-6 {
      margin-bottom: 20px;
    }

    .product-section .product-image {
      height: 120px;
    }

    .product-section .btn-custom-info {
      padding: 8px;
      font-size: 0.9rem;
    }

    .modal-img {
      height: 120px;
    }
  }

  @media (max-width: 576px) {
    .welcome-banner h1 {
      font-size: 1.8rem;
    }

    .welcome-banner p.lead {
      font-size: 0.9rem;
    }

    .product-section h2 {
      font-size: 1.8rem;
    }

    .product-section .product-image {
      height: 100px;
    }

    .product-section .card-title {
      font-size: 1rem;
    }

    .product-section .text-success {
      font-size: 1rem;
    }

    .modal-img {
      height: 100px;
    }

    .modal-body h5 {
      font-size: 1.1rem;
    }

    .modal-body p {
      font-size: 0.9rem;
    }
  }
}