/********** Template CSS **********/
:root {
     --primary: #024c8c;
    --secondary: #9B9B9B;
    --light: #b72222;
    --dark: #000000;

}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .7);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}
.container2 {
    text-align: center;
}

.philosophy {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
}

.mission, .vision, .values {
    margin-bottom: 20px; 
    width: 30%;
    padding: 20px;
    text-align: left;
}

.mission p, .vision p, .values p {
    color: rgb(77, 76, 76);
    text-align: center;
}

@media (max-width: 768px) {
    .mission, .vision, .values {
        width: 100%; 
    }
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px; 
    margin: 0 auto; 
}

.gallery a {
    width: calc(30% - 10px);
    margin-bottom: 20px;
    position: relative; 
    box-sizing: border-box; 
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
}

.gallery a img {
    width: 100%; 
    height: auto; 
    display: block;
    transition: transform 0.3s ease; 
}

.gallery a:hover img {
    transform: scale(1.1); 
}

@media (max-width: 768px) {
    .gallery a {
        width: calc(50% - 10px); 
    }
}

@media (max-width: 480px) {
    .gallery a {
        width: calc(100% - 10px); 
    }
}


body {
    font-family: 'Poppins', sans-serif; 
    font-style: italic;
    background-color: #f5f5f5;
    color: #333;
    }
    h1, h2, h5 {
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif; 
    font-style: italic;
    }

   
    /* Botón personalizado */
    .btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #024c8c;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }
    .btn-custom:hover {
    background-color: #024c8c;
    transform: scale(1.05);
    }
    .btn-custom i {
    margin-right: 8px;
    }
    /* Estilo del contenedor del botón */
    .btn-container {
    text-align: center;
    margin: 20px 0;
    }
    /* Galería de imágenes */
    .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    }
    .carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    }
    .carousel-item.active img:hover {
    transform: scale(1.02);
    }
    .carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    }
    .carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    }
    .carousel-control-prev {
    left: 10px;
    }
    .carousel-control-next {
    right: 10px;
    }
    /* Tarjetas de producto */
    .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
    }
    .card:hover {
    transform: translateY(-5px);
    }
    .card-body {
    padding: 20px;
    text-align: center;
    }
    .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #444;
    }
    .card-text {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #777;
    }
    .form-control {
    border-radius: 30px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    }
    /* Estilos para la paginación */
    .pagination a {
    color: #024c8c;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 50px;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    text-decoration: none;
    }
    .pagination a.active {
    background-color: #024c8c;
    color: #fff;
    font-weight: bold;
    }
    .pagination a:hover {
    background-color: #024c8c;
    color: #fff;
    }
    /* Redefinición del input de búsqueda */
    #search-input {
    border-radius: 50px;
    border: 1px solid #ddd;
    padding: 12px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300&display=swap');
    h1.display-5 {
        font-family: 'PT Sans Narrow', sans-serif;
        font-weight: 50; /* Peso fino para letras sutiles */
    font-size: 30px; /* Tamaño del texto */
    color: #000000; /* Color neutro */
    letter-spacing: 2px; /* Espaciado entre letras */
    position: relative; /* Para permitir animación */
    display: inline-block;
    overflow: hidden;
    }
    h1.display-5::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    top: 0;
    left: -100%;
    animation: shine 3s infinite; /* Efecto de brillo suave en movimiento */
    }
    @keyframes shine {
    0% {
    left: -100%;
    }
    100% {
    left: 100%;
    }
    }


    .page-header {
        position: relative;
        background-image: url('img/fondo3.jpg');
        background-size: cover;
        background-position: center;
        color: white; 
        }
        .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1; 
        }
        .title-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Espacio entre el texto y el ícono */
        }
        .best-seller-title {
           font-family: 'PT Sans Narrow', sans-serif;
           font-weight: 100; /* Letras finas */
        font-size: 3.0rem;
        color: #000000;
        margin: 0; /* Elimina el margen por defecto del título */
        text-align: center;
        position: relative;
        display: inline-block;
        animation: slideIn 1s ease-in-out, colorChange 3s infinite alternate;
        }
        /* Animación de entrada */
        @keyframes slideIn {
        from {
        opacity: 0;
        transform: translateY(-50px);
        }
        to {
        opacity: 1;
        transform: translateY(0);
        }
        }
        /* Animación de cambio de color */
        @keyframes colorChange {
        0% {
        color: #333;
        }
        100% {
        color: #024c8c; /* Cambia a color rojo tomate */
        }
        }
        /* Animación de entrada */
        @keyframes slideIn {
        from {
        opacity: 0;
        transform: translateY(-50px);
        }
        to {
        opacity: 1;
        transform: translateY(0);
        }
        }
        /* Estilos para el contenedor del ícono */
        .icon-container {
        margin-top: 20px; 
        }
        .icon-container i {
        font-size: 2rem; 
        color: #024c8c; 
        display: inline-block;
        }
        .icon {
        font-size: 2.5rem; /* Tamaño del ícono igual al tamaño del texto */
        color: #333; /* Color del ícono */
        animation: slideIn 1s ease-in-out, colorChange 3s infinite alternate;
        }
/* Aseguramos que las imágenes se ajusten correctamente */
img {
    width: 100%;
    height: auto;
}

/* Alineación de las imágenes en diferentes tamaños de pantalla */
@media (max-width: 576px) {
    .col-4 {
        width: 33.33%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .col-sm-4 {
        width: 33.33%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .col-md-3 {
        width: 33.33%;
    }
}

@media (min-width: 993px) {
    .col-lg-2 {
        width: 16.66%;
    }
}
.date-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.date-input:focus {
    border-color: #4CAF50; /* Color verde al enfocarse */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Sombra alrededor del campo */
}

.date-input:hover {
    background-color: #eaf7e1; /* Fondo suave cuando se pasa el ratón */
}
.date-input:focus {
    border-color: #4CAF50; /* Color verde al enfocarse */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* Sombra alrededor del campo */
}

.date-input:hover {
    background-color: #eaf7e1; /* Fondo suave cuando se pasa el ratón */
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex: 1; /* Esto asegura que cada campo ocupe el mismo espacio */
}

.date-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%; /* Para que los campos de fecha se adapten al tamaño disponible */
}
#checkout-details {
    gap: 20px; /* Espacio entre los campos */
}