body {
    font-family: 'Times New Roman', serif;
    background-color: #f8f9fa;
    font-style: italic;
    color: #333;
}
.navbar {
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.navbar-brand img {
    height: 80px;
}
.navbar-nav .nav-link {
    font-size: 1.5rem;
    font-style: italic;
}
.carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
}
.carousel-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    width: 100%;
}
@media (max-width: 767px) {
    .carousel-image {
        background-image: url('../img/banner_movil.jpg?<?php echo time(); ?>') !important;
    }
}
.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 10px;
    font-size: 1.3em;
    font-style: italic;
}
.carousel-caption-title {
    font-style: italic;
    font-size: 1.4em;
}
.carousel-image.banner-1 {
    background-image: url('../img/banner_1.jpg');
}
.promo-ticker {
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(90deg, #1a1a2e 0%, #c9a84c 45%, #f0d982 55%, #1a1a2e 100%);
    border-top: 1px solid #c9a84c;
    border-bottom: 1px solid #c9a84c;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    display: none;
}
.promo-ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding: 10px 0;
    padding-left: 100%;
    animation: promoTickerMove 12s linear infinite;
    color: #1a1a2e;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
@keyframes promoTickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.btn-login {
    background-color: #D6A943;
    color: #000;
    border: none;
    font-weight: bold;
}
.btn-login:hover {
    background-color: #eed7a0;
}
.cart-icon {
    color:#D6A943;
    font-size: 1.5rem;
    font-style: italic;
}
.cart-count-badge {
    display: none;
}
.product-box {
    width: 90%;
    max-height: 400px;
    border: 2px solid #D6A943;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
}
.featured-products-carousel {
    position: relative;
    padding: 0 2.5rem;
    overflow: hidden;
}
.featured-products-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}
.featured-product-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0.25rem 0;
    display: flex;
    justify-content: center;
}
.featured-product-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}
.featured-products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.featured-products-nav-prev {
    left: 0;
}
.featured-products-nav-next {
    right: 0;
}

.btn-close {
    background-color: #f8f6f3;
    color: #000;
    border: 2px solid #000;
    font-weight: bold;
}

@media (min-width: 768px) {
    .featured-product-slide {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }

    .featured-product-box {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .featured-product-box {
        max-width: 100%;
    }
}
.product-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-image:hover {
    transform: scale(1.05);
}
.add-to-cart-image {
    max-width: 70%;
    height: auto;
    transition: transform 0.25s ease;
}
.add-to-cart-image:hover {
    transform: scale(1.08);
}
.product-description {
    text-align: center;
    margin: 6px 0;
    font-size: 1rem;
    font-weight: bold;
}
.product-price {
    text-align: center;
    margin: 2px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #D6A943;
}
.btn-gold {
    background-color: #D6A943;
    color: #221801;
    border: none;
    margin: 5px 0;
    transition: all 0.3s;
    width: 100%;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}
.btn-comprar {
    background-color: black;
    color: white;
    border: none;
    margin: 5px 0;
    transition: all 0.3s;
    width: 100%;
}
.btn-comprar:hover {
    background-color: #c6c4c0;
    color: black;
}
.btn-gold:hover {
    background-color: #ffed4e;
    transform: scale(1.05);
}
.product-panel.hidden {
    display: none;
}
.product-size-option {
    border: 1px solid #c4a24a;
    color: #4b2f00;
    background-color: #fff8e6;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.product-size-option:hover,
.product-size-option.active {
    background-color: #c4a24a;
    color: #fff;
    border-color: #c4a24a;
}
.quantity-input {
    width: 60px;
}
.promo-modal-content {
    background: #fff;
    border: 2px solid #c9a84c;
}
.promo-modal-header {
    background: #1a1a2e;
    border-bottom: 1px solid #c9a84c;
}
.promo-modal-title {
    color: #c9a84c;
    letter-spacing: 2px;
    font-size: 1.3rem;
}
.promo-modal-image {
    display: block;
    max-height: 500px;
    object-fit: contain;
}
.promo-modal-footer {
    background: #c9a84c;
    border-top: 1px solid #c9a84c;
}
.promo-offer-btn {
    background: #000;
    color: #fff;
    font-weight: 700;
    border-radius: 0;
    padding: 10px 20px;
}
.login-modal-dialog {
    max-width: 400px;
}
.forgot-modal-dialog {
    max-width: 420px;
}
.forgot-password-link {
    font-size: 0.9rem;
}
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.modal-description {
    white-space: pre-line;
    font-size: 0.9rem;
    line-height: 1.5;

}.payment-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    font-size: 25px;
}
@media (max-width: 576px) {
    .payment-icon {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
}


/* Formulario */
.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-submit-btn:hover {
    background-color: #218838;
}

/* Enlace de registro */
.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p {
    margin: 0;
    color: #666;
}

/* Estilos para pedido.php */
.checkout-header { background: #0d1b2a; }
.checkout-header .navbar-brand img { max-height: 60px; }
.policy-links a { color: #444; text-decoration: none; }
.policy-links a:hover { text-decoration: underline; }
.cart-item-image { width: 40px; height: 40px; object-fit: cover; border-radius: .75rem; }
.cart-item-qty-badge { position: absolute; top: -0.7rem; right: -0.5rem; width: 24px; height: 24px; border-radius: 50%; background: #dc3545; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.cart-item-card { min-height: 100px; }
.checkout-form-title { border-bottom: 1px solid #dee2e6; padding-bottom: .5rem; margin-bottom: 1rem; }
.summary-box { background: #f8f9fa; border-radius: 1rem; position: sticky; top: 20px; }
.summary-total-row { font-size: 1.05rem; }
.metodo-envio { display: none; margin-top: 1.5rem; }
.metodo-envio.visible { display: block; }
.shipping-option { border: 2px solid #e0e0e0; border-radius: 0.75rem; padding: 1rem; margin-bottom: 0.75rem; cursor: pointer; transition: all 0.3s ease; }
.shipping-option:hover { border-color: #dc3545; background-color: #f8f9fa; }
.shipping-option input[type="radio"] { cursor: pointer; margin-right: 0.85rem; flex-shrink: 0; }
.shipping-option label { display: flex; align-items: center; gap: 0.85rem; width: 100%; }
.shipping-option.selected { border-color: #dc3545; background-color: #fff5f5; }
.shipping-option.selected .shipping-name,
.shipping-option.selected .shipping-price { color: #dc3545; }
.shipping-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.shipping-name { font-weight: bold; font-size: 1rem; color: #333; transition: color 0.3s ease; }
.shipping-price { font-weight: bold; font-size: 1rem; color: #666; transition: color 0.3s ease; }
.shipping-date { font-size: 0.85rem; color: #999; margin-top: 0.25rem; }

.register-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    background-color: white;
    padding: 0 15px;
    color: #666;
    font-size: 0.9em;
}
