@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}
/* Logo */
.logo-dia-top {
    margin-bottom: 20px;
        position: absolute;
    z-index: 100;
    top: 45px;
    left: 30px;
}

.logo-dia-top img {
    width: 115px;
    height: auto;
    display: block;
}

/* Columna izquierda */
.columna-izquierda {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: 100vh;
    overflow-y: auto;
}

/* Main */
main {
    padding: 0;
    position: relative;
}

.home-header {
    background: white;
    padding: 65px 20px 65px 20px;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
        z-index: 1;
    position: relative;
}
.home-header h1 {
    color: #d4030f;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.home-header .subtitle {
    font-size: 21px;
    font-weight: 700;
    color: #000;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
        margin-bottom: 0;
}

.home-container {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
    align-items: start;
        background: #fcfcfcbf;
}

.carrusel-section {
    padding: 30px;
    position: relative;
    flex: 1;
        margin-top: 100px;
}

.carrusel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carrusel-items {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.carrusel-item {
    width: 100%;
    display: none;
    justify-content: center;
}

.carrusel-item.active {
    display: flex;
}

.carrusel-item img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.carrusel-producto {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.carrusel-producto img {
    width: 100%;
    height: auto;
    max-height: 500px;
    margin-bottom: 15px;
}

.carrusel-nombre {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
}

.carrusel-placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.carrusel-placeholder p {
    font-size: 18px;
    color: #999;
    text-align: center;
    margin: 0;
}

.carrusel-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carrusel-btn {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.carrusel-btn.carrusel-prev::before {
    content: '‹';
display: block;
    width: 40px;
    height: 40px;
    font-size: 50px;
    margin-top: -42.5px;
}
.carrusel-btn.carrusel-next::before {
    content: '›';
display: block;
    width: 40px;
    height: 40px;
    font-size: 50px;
    margin-top: -42.5px;
}
.carrusel-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

.carrusel-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Panel lateral derecho */
.panel-section {
    background: white;
    padding: 25px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
}

.panel-title {
color: rgba(51, 51, 51, 1);
font-size: 42px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.panel-subtitle {
    margin: 20px 0;
    color: rgba(143, 143, 143, 1);
font-size: 16px;
font-weight: 500;
line-height: 1.3;

}

.panel-group {
    margin-bottom: 22px;
}

.panel-group-title {
    color: rgba(212, 3, 15, 1);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.4px;
}

.panel-group-title a {
    color: #333;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 400;
    min-width: 100px;
    text-transform: none;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.modelo-btn {
    border: 2px solid #ddd;
    background: white;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.modelo-btn img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.modelo-btn.active {
    border-color: #d4030f;
    background: #fef5f4;
}

.tallas-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.talla-btn {
    border: 1px solid rgba(151, 151, 151, 1);
    background: white;
    padding: 6px 4px;
border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
    color: rgba(151, 151, 151, 1);
}

.talla-btn:hover {
    border-color: #d4030f;
}

.talla-btn.active {
    border: 1px solid rgba(212, 3, 15, 1);
    background-color: rgba(212, 3, 15, 0.19);
    color: rgba(212, 3, 15, 1)

}

.codigo-group {
    position: relative;
}

.codigo-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

.codigo-input.valido {
    border-color: #d4030f;
}

.codigo-icon {
    position: absolute;
    right: 12px;
    top: 33%;
    transform: translateY(-50%);
    color: #d4030f;
    font-size: 20px;
}

.codigo-error {
    color: #d4030f;
    font-size: 16px;
    margin-top: 5px;
    padding: 10px 0;
}
.codigo-error.visible {
    display: block!important;
}
.btn-rojo {
    background: #d4030f;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
    width: 100%;
}

.btn-rojo:hover {
    background: #a90208;
}

.btn-rojo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    color: #d4030f;

}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 20px;
        font-family: 'Montserrat', sans-serif;
    color: #d4030f;

}

h3 {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 15px;
            font-family: 'Montserrat', sans-serif;
    color: #d4030f;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Productos Grid */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.producto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.producto-imagen {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.producto-info {
    padding: 0;
}

.producto-descripcion {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.producto-precio {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

/* Producto Detalle */
.producto-detalle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.producto-imagen-grande {
    width: 100%;
}

.producto-imagen-grande img {
    width: 100%;
    border-radius: 8px;
}

.precio-grande {
    font-size: 32px;
    color: #667eea;
    font-weight: bold;
    margin: 20px 0;
}

.descripcion {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}
.panel-user .panel-group-title {
    color: #000;
    font-size: 20px;
font-weight: 500;

}
/* Carrito */
.carrito-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carrito-tabla thead {
    background: #f0f0f0;
    font-weight: bold;
}

.carrito-tabla th,
.carrito-tabla td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.carrito-tabla tbody tr:hover {
    background: #f9f9f9;
}

.btn-eliminar {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-eliminar:hover {
    background: #ff5252;
}

.carrito-vacio {
    text-align: center;
    padding: 60px 20px;
}

.carrito-vacio p {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
}

.carrito-resumen {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: right;
}

.carrito-resumen h2 {
    margin-top: 0;
}

/* Checkout */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.checkout-left {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.checkout-right {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resumen-carrito {
    margin-bottom: 20px;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.resumen-total {
    padding-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
}

.codigo-info {
    color: #666;
    margin-bottom: 15px;
}

.codigo-mensaje {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    min-height: 20px;
}

.codigo-mensaje.exito {
    color: #28a745;
}

.codigo-mensaje.error {
    color: #dc3545;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 16px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Montserrat', inherit;
    background: white;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #d4030f;
    box-shadow: 0 0 0 3px rgba(212, 3, 15, 0.08);
}

small {
    display: block;
    color: #999;
    margin-top: 5px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

/* Confirmación */
.confirmacion-exito {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmacion-exito h1 {
    color: #28a745;
    margin-bottom: 20px;
}

.confirmacion-detalles {
    text-align: left;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.confirmacion-detalles p {
    margin-bottom: 10px;
}

.confirmacion-detalles ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.confirmacion-detalles li {
    margin-bottom: 8px;
    color: #666;
}

/* Footer */
.dia-camisetas-footer {
    padding: 30px 0;
    margin-top: 60px;
    text-align: left;
    color: #000;
    background-color:#f9f9f9;
}

.dia-camisetas-footer a {
    color: #d4030f;
    text-decoration: none;
    font-size: 16px;
}

.dia-camisetas-footer a:hover {
    text-decoration: underline;
}
.footer_copyright{
    font-size: 16px;
    text-align: center;
}
.footer_nav{text-align: right;}
.footer_nav .list-inline-item{
    font-size: 16px;
    margin: 0 15px;
}
.footer_nav .list-inline-item:last-child{
    margin-right: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .home-header {
        padding: 30px 20px;
    }

    .home-header h1 {
        font-size: 24px;
    }

    .home-header .subtitle {
        font-size: 16px;
    }

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

    .columna-izquierda {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .carrusel-section {
        padding: 20px;
    }

    .panel-section {
        padding: 20px;
    }

    .panel-title {
        font-size: 32px;
    }

    .modelos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tallas-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .talla-btn {
        padding: 6px;
        font-size: 16px;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

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

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

    .checkout-left {
        position: static;
    }

    h1 {
        font-size: 24px;
    }

    .carrito-tabla {
        font-size: 16px;
    }

    .carrito-tabla th,
    .carrito-tabla td {
        padding: 8px;
    }

    .modal-content {
        width: 90%;
        max-width: 600px;
    }

    .guia-tallas-img {
        max-width: 100%;
    }
}

/* Modal */
.modal-backdrop {
    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: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content h2 {
    color: #d4030f;
    font-size: 24px;
    margin-bottom: 20px;
}

.guia-tallas-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Modal Explanation */
.modal-explanation {
    color: #555;
    line-height: 1.8;
}

.modal-explanation p {
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-explanation ol {
    margin-left: 20px;
    font-size: 16px;
}

.modal-explanation li {
    margin-bottom: 15px;
}

.modal-explanation strong {
    color: #d4030f;
    font-weight: 700;
}

/* Modal Política de Privacidad */
.modal-politica-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.modal-politica-content p {
    margin-bottom: 15px;
}
.modal-promocion-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.modal-promocion-content p {
    margin-bottom: 15px;
}

.modal-politica-content p {
    margin-bottom: 15px;
}
/* Formulario de datos del pedido */
#formulario-datos {
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 25px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#form-pedido {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

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

.form-group label {
    font-weight: 500;
    font-size: 14px;
    color: #999;
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
        background: rgba(226, 226, 226, 1);
}

.form-group input:focus {
    outline: none;
    border-color: #d4030f;
    box-shadow: 0 0 0 2px rgba(212, 3, 15, 0.1);
}

.form-error {
    display: none;
    color: #d4030f;
    font-size: 16px;
    margin-top: 5px;
}


/* Resumen del producto */
.resumen-producto {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.resumen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.resumen-titulo {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: rgba(212, 3, 15, 1);
    flex: 1;
}

.btn-cambiar-modelo {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-cambiar-modelo:hover {
    background: #d4030f;
    color: white;
    border-color: #d4030f;
}

.producto-detalle {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
}

.producto-imagen {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
}

.producto-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

.producto-info p {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

.producto-entrega {
    color: #d4030f;
    font-weight: 500;
}

/* Separador */
.separador {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* Política de privacidad */
.politica-privacidad {
    margin: 20px 0;
    padding: 15px;
    background: #fff9f9;
    border: 1px solid #f0e0e0;
    border-radius: 4px;
}

.politica-checkbox, .bases-promocion-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.politica-checkbox input[type="checkbox"], .bases-promocion-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d4030f;
}

.politica-checkbox label, .bases-promocion-checkbox label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin: 0;
}

.politica-link,.bases-promocion-link {
    color: #d4030f;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

.politica-link:hover, .bases-promocion-link:hover {
    color: #a90208;
}

/* Texto de política */
.politica-texto,.bases-promocion-texto {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.politica-texto p,.bases-promocion-texto p {
    margin-bottom: 10px;
}

.politica-texto p:last-child, .bases-promocion-texto p:last-child {
    margin-bottom: 0;
}

.politica-texto strong, .bases-promocion-texto strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.btn-confirmar-pedido {
    width: 100%;
    margin-top: 20px;
}

/* Modal de Confirmación / Gracias */
.modal-confirmacion {
    max-width: 650px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: #FFF;
    padding: 40px 20px;
    text-align: center;
        flex-direction: column;
}

.modal-titulo-principal {
    color: #d4030f;
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
}

.modal-subtitulo {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 0 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-imagen-producto {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 20px;
    text-align: center;
}

.modal-imagen-producto img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.modal-content-section {
    background: #FFF;
    padding: 0 20px;
    text-align: left;
}

.modal-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-details {
    margin: 20px 0;
}

.modal-detail-item {
    margin: 20px 0;
}

.modal-detail-label {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-detail-value {
    color: #d4030f;
}

.modal-detail-box {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    text-align: left;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.modal-detail-image {
    flex-shrink: 0;
    width: 100px;
    height: auto;
    border-radius: 4px;
    background: white;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.modal-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-detail-info {
    flex: 1;
}

.modal-detail-box p {
    color: #333;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.modal-detail-box .detail-row {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.modal-detail-box .detail-note {
    color: #999;
    font-size: 12px;
    margin: 10px 0 0 0;
}

.modal-divider {
    border: none;
    border-top: 1px solid #d4030f;
    margin: 30px 0 40px 0;
}

.modal-buttons {
    margin: 30px 0 40px 0;
    text-align: center;
}

.modal-button {
    display: inline-block;
    background: #FFF;
    color: #000;
    padding: 0 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 50px;
    margin-bottom: 15px;
    border: 2px solid #d4030f;
    transition: all 0.3s;
}

.modal-button:hover {
    background: #d4030f;
    color: white;
}

.modal-button span {
    color: #d4030f;
}

.modal-button:hover span {
    color: white;
}

.modal-button.secondary {
    border: 1px solid transparent;
    border-color: #999;
}

.modal-button.secondary:hover {
    background: #f0f0f0;
}

.modal-footer {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px 25px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-footer-text {
    color: #999;
    font-size: 12px;
    margin: 5px 0;
}

/* Modal de Error */
.modal-error {
    padding: 60px 40px;
    text-align: center;
}

.modal-error h1 {
    color: #d4030f;
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.modal-error p {
    color: #666;
    font-size: 18px;
    margin: 0 0 30px 0;
}

.modal-error .btn-action {
    display: inline-block;
    background: #FFF;
    color: #000;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #d4030f;
}

.modal-error .btn-action:hover {
    background: #d4030f;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .home-container {
        grid-template-columns: 1fr;
    }

    .producto-detalle {
        flex-direction: column;
        align-items: center;
    }

    .producto-imagen {
        width: 300px;
        height: 300px;
    }

    .modal-confirmacion {
        margin: 20px;
    }

    .modal-titulo-principal {
        font-size: 36px;
    }

    .modal-subtitulo {
        font-size: 18px;
    }

    .modal-button {
        font-size: 14px;
        line-height: 40px;
        padding: 0 20px;
    }
    .logo-dia-top {
    top: 25px;
    left: 20px;
}
    .logo-dia-top img {
        width: 75px;
    }
    .footer_logo {font-size: 12px;}
    .footer_nav {
    text-align: left;
    }
    .footer_nav .list-inline-item {
    display: block;
    }
}
