/* ============================================
   HERO PRODUCTOS
============================================ */
.hero-productos {
    background: url('../img/Fondos/patronDiamante-fondo.png') center/cover no-repeat;
    background-color: #0a1172;
    padding: 100px 0;
    margin-top: 80px;
}

.hero-productos h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
}

/* ============================================
   CATEGORÍAS DE PRODUCTOS
============================================ */
.categorias-productos-section {
    padding: 60px 0;
    background-color: white;
}

.categorias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.categorias-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.buscador-productos {
    display: flex;
    gap: 0;
}

.input-buscar {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    width: 250px;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-buscar:focus {
    border-color: #1a237e;
}

.input-buscar::placeholder {
    color: #999;
}

.btn-buscar {
    padding: 12px 20px;
    background-color: #1a237e;
    border: 2px solid #1a237e;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-buscar:hover {
    background-color: #0d1654;
}

.btn-buscar svg {
    width: 20px;
    height: 20px;
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.producto-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.producto-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-image img {
    transform: scale(1.05);
}

.producto-info {
    padding: 20px;
    text-align: left;
}

.producto-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    margin: 0 0 8px 0;
}

.producto-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ============================================
   RESPONSIVE - PRODUCTOS
============================================ */
@media (max-width: 968px) {
    .hero-productos {
        padding: 80px 0;
    }

    .hero-productos h1 {
        font-size: 3rem;
    }

    .categorias-productos-section {
        padding: 50px 0;
    }

    .categorias-header {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .buscador-productos {
        width: 100%;
    }

    .input-buscar {
        flex: 1;
        width: auto;
    }

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

@media (max-width: 768px) {
    .hero-productos {
        padding: 60px 0;
        margin-top: 60px;
    }

    .hero-productos h1 {
        font-size: 2.5rem;
    }

    .categorias-productos-section {
        padding: 40px 0;
    }

    .categorias-header h2 {
        font-size: 1.6rem;
    }

    .input-buscar {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .btn-buscar {
        padding: 10px 16px;
    }

    .producto-image {
        height: 200px;
    }

    .producto-info h3 {
        font-size: 1rem;
    }

    .producto-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-productos {
        padding: 50px 0;
    }

    .hero-productos h1 {
        font-size: 2rem;
    }

    .categorias-productos-section {
        padding: 35px 0;
    }

    .categorias-header {
        gap: 20px;
        margin-bottom: 30px;
    }

    .categorias-header h2 {
        font-size: 1.4rem;
    }

    .input-buscar {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .btn-buscar {
        padding: 10px 14px;
    }

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

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

    .producto-image {
        height: 180px;
        padding: 15px;
    }

    .producto-info {
        padding: 16px;
    }

    .producto-info h3 {
        font-size: 0.95rem;
    }

    .producto-info p {
        font-size: 0.8rem;
    }
}

/* ============================================
   PÁGINA DE PRODUCTOS POR CATEGORÍA
============================================ */
.productos-categoria-section {
    padding: 60px 0;
    background-color: white;
}

.categoria-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.categoria-breadcrumb p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.categoria-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categoria-breadcrumb a:hover {
    color: #1a237e;
}

.categoria-breadcrumb span {
    color: #666;
}

.categoria-breadcrumb strong {
    color: #1a237e;
    font-weight: 600;
}

/* Grid de productos individuales */
.productos-lista-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.producto-item-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.producto-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.producto-item-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.producto-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.producto-item-card:hover .producto-item-image img {
    transform: scale(1.05);
}

.producto-item-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.producto-item-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    text-align: left;
}

.btn-mas-informacion {
    padding: 10px 20px;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn-mas-informacion:hover {
    background-color: #0d1654;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

/* ============================================
   RESPONSIVE - PRODUCTOS CATEGORÍA
============================================ */
@media (max-width: 968px) {
    .productos-categoria-section {
        padding: 50px 0;
    }

    .categoria-breadcrumb {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .buscador-productos {
        width: 100%;
    }

    .productos-lista-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .productos-categoria-section {
        padding: 40px 0;
    }

    .categoria-breadcrumb {
        gap: 15px;
        margin-bottom: 35px;
    }

    .categoria-breadcrumb p {
        font-size: 0.9rem;
    }

    .producto-item-image {
        height: 220px;
        padding: 25px;
    }

    .producto-item-info {
        padding: 20px;
    }

    .producto-item-info h3 {
        font-size: 1rem;
    }

    .btn-mas-informacion {
        font-size: 0.8rem;
        padding: 9px 18px;
    }
}

@media (max-width: 480px) {
    .productos-categoria-section {
        padding: 35px 0;
    }

    .categoria-breadcrumb {
        gap: 15px;
        margin-bottom: 30px;
    }

    .categoria-breadcrumb p {
        font-size: 0.85rem;
    }

    .productos-lista-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .producto-item-image {
        height: 200px;
        padding: 20px;
    }

    .producto-item-info {
        padding: 18px;
        gap: 12px;
    }

    .producto-item-info h3 {
        font-size: 0.95rem;
    }

    .btn-mas-informacion {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* ============================================
   PÁGINA DE DETALLE DEL PRODUCTO
============================================ */
.detalle-producto-section {
    padding: 60px 0;
    background-color: white;
}

.producto-breadcrumb {
    margin-bottom: 40px;
}

.producto-breadcrumb p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.producto-breadcrumb span {
    color: #666;
}

.producto-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.producto-breadcrumb a:hover {
    color: #1a237e;
}

.producto-breadcrumb strong {
    color: #1a237e;
    font-weight: 600;
}

.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Columna Izquierda */
.detalle-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.categoria-nombre {
    font-size: 1rem;
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 40px;
}

.producto-imagen {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-bottom: 40px;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto-descripcion h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.producto-descripcion p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.caracteristicas-lista {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.caracteristicas-lista li {
    font-size: 0.95rem;
    color: #333;
    padding-left: 25px;
    position: relative;
}

.caracteristicas-lista li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #1a237e;
    font-size: 1.2rem;
}

/* Columna Derecha - Formulario */
.consulta-form-wrapper {
    position: sticky;
    top: 100px;
}

.consulta-form {
    background-color: white;
    border: 3px solid #1a237e;
    border-radius: 8px;
    padding: 40px 35px;
}

.consulta-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
}

.form-disponibilidad {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a237e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.btn-enviar {
    padding: 14px 30px;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: #0d1654;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

/* ============================================
   RESPONSIVE - DETALLE PRODUCTO
============================================ */
@media (max-width: 968px) {
    .detalle-producto-section {
        padding: 50px 0;
    }

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

    .consulta-form-wrapper {
        position: static;
    }

    .producto-imagen {
        height: 350px;
        padding: 35px;
    }

    .caracteristicas-lista {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detalle-producto-section {
        padding: 40px 0;
    }

    .producto-breadcrumb {
        margin-bottom: 30px;
    }

    .producto-breadcrumb p {
        font-size: 0.85rem;
    }

    .detalle-info h1 {
        font-size: 2rem;
    }

    .categoria-nombre {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .producto-imagen {
        height: 300px;
        padding: 30px;
        margin-bottom: 30px;
    }

    .producto-descripcion h3 {
        font-size: 1.2rem;
    }

    .producto-descripcion p {
        font-size: 0.9rem;
    }

    .caracteristicas-lista li {
        font-size: 0.9rem;
    }

    .consulta-form {
        padding: 30px 25px;
    }

    .consulta-form h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .detalle-producto-section {
        padding: 35px 0;
    }

    .producto-breadcrumb {
        margin-bottom: 25px;
    }

    .producto-breadcrumb p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .detalle-grid {
        gap: 30px;
    }

    .detalle-info h1 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .categoria-nombre {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .producto-imagen {
        height: 250px;
        padding: 25px;
        margin-bottom: 25px;
    }

    .producto-descripcion h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .producto-descripcion p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .caracteristicas-lista {
        gap: 10px;
    }

    .caracteristicas-lista li {
        font-size: 0.85rem;
        padding-left: 20px;
    }

    .consulta-form {
        border-width: 2px;
        padding: 25px 20px;
    }

    .consulta-form h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .form-disponibilidad {
        gap: 18px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

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

    .btn-enviar {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
