/* Barra de navegacion y Footer con gradiente */
.navbar,
.footer {
    background: linear-gradient(to right, #2c3e50, #34495e);
    color: white;
}

/* Cambiar el color del texto de los enlaces de la barra de navegacion a blanco */
.navbar .nav-link,
.footer span {
    color: white !important;
}

/* Degradado brillante para el nombre de la tienda */
.navbar .navbar-brand {
    font-size: 1.8em;
    font-weight: bold;
    background: linear-gradient(to right, #89f7fe 0%, #66a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Estilo del contenedor de contacto */
.contact-container {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilo de las etiquetas del formulario */
.form-label {
    font-weight: bold;
}

/* Botón de enviar con gradiente */
.btn-primary {
    background: linear-gradient(to right, #007bff, #0056b3);
    border: none;
}

/* --- Utility Classes --- */
.gradient-text {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand-custom {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00c6ff, #e83e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* --- Estilos del Carrusel de Productos --- */

#productCarousel {
    background: linear-gradient(to right, #2c3e50, #000000);
}

#productCarousel .carousel-item {
    background-color: transparent;
    height: 550px;
}

#productCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

#productCarousel .carousel-caption {
    bottom: 15%;
    left: 12%;
    right: 12%;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 8px;
    padding: 25px 20px;
}

#productCarousel .carousel-caption h5 {
    font-size: 1.9rem;
    font-weight: bold;
}

#productCarousel .carousel-caption p {
    font-size: 1.15rem;
}

#productCarousel .new-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 5px;
}

.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 3px;
    background-color: #fff;
    opacity: .5;
    transition: opacity .6s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

/* --- Sección de Bienvenida y Conócenos Mejor --- */
.text-justify {
    text-align: justify;
}

.about-section .about-icon {
    font-size: 4rem; /* Tamaño grande y atractivo */
    color: #0d6efd; /* Color primario de Bootstrap */
}

/* --- Contact Page Styles --- */
.contact-container-custom {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 5rem; /* Added margin to create space above the footer */
}
.contact-title {
    font-weight: bold;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}
.contact-header-custom {
    background-color: #1976D2;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.btn-custom-send {
    background-color: #1976D2;
    border-color: #1976D2;
    border-radius: 5px;
    padding: 10px 0;
    font-weight: bold;
    width: 100%;
}

/* --- PayPal Login Style --- */
.login-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-logo {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(to right, #007bff, #0056b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-login {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-register-alt {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
}

/* --- Product Detail Page --- */
.gallery-and-main-media {
    display: flex;
}

.thumbnail-gallery-vertical {
    flex-shrink: 0;
    width: 90px;
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 1rem; /* Space between thumbs and main image */
}

.thumbnail-item-vertical {
    cursor: pointer;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    padding: 2px;
    position: relative;
    transition: border-color .2s ease;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.thumbnail-item-vertical:hover,
.thumbnail-item-vertical.active {
    border-color: #007bff;
}

.thumbnail-item-vertical img,
.thumbnail-item-vertical video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.main-media-display-vertical {
    flex-grow: 1;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.main-media-display-vertical img,
.main-media-display-vertical video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.product-info-panel {
    padding: 1.5rem;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* --- About Us Page --- */
.about-header {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: .3rem;
}
.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: .5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #66a6ff;
}
.service-card {
    border: 1px solid #e9ecef;
    border-radius: .3rem;
    padding: 2rem;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    background-color: #fff;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
.service-icon {
    font-size: 3rem;
    color: #66a6ff;
    margin-bottom: 1.5rem;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}


/* --- Shopping Cart --- */
.cart-item .card-body {
    padding: 1rem;
}

.update-cart-form .input-group {
    max-width: 140px;
}


/* Responsive adjustments */
@media (max-width: 991.98px) {
    .gallery-and-main-media {
        flex-direction: column-reverse;
    }
    .thumbnail-gallery-vertical {
        flex-direction: row;
        overflow-y: hidden;
        overflow-x: auto;
        width: 100%;
        max-height: none;
        margin-top: 1rem;
        margin-right: 0;
    }
    .thumbnail-item-vertical {
        margin-bottom: 0 !important;
        margin-right: 0.5rem;
    }
    .main-media-display-vertical {
        height: auto;
        min-height: 400px; /* Minimum height on smaller screens */
    }
}

@media (max-width: 767.98px) {
    .about-header {
        padding: 2.5rem 1.5rem;
    }
    .about-header .display-4 {
        font-size: 2.5rem;
    }
    .about-header .lead {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    p.fs-5 {
        font-size: 1rem !important;
    }

    /* Cart Responsive */
    .cart-item .row {
        flex-direction: column;
        align-items: center;
    }

    .cart-item .col-md-2, .cart-item .col-4 {
        width: 60%;
        max-height: 180px;
        margin-bottom: 1rem;
    }
    
    .cart-item .col-md-10, .cart-item .col-8 {
        width: 100%;
    }

    .cart-item .card-body {
        padding: 0 1rem 1rem 1rem;
        text-align: center;
    }
    
    .cart-item .update-cart-form {
        justify-content: center;
    }

    .cart-item img {
       border-radius: .25rem !important;
    }
    
    .text-end {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .cart-item .card-title {
        font-size: 1.15rem;
    }
    
    .update-cart-form .input-group {
        max-width: 100%;
    }
}
