body {
    --bs-success-bg-subtle: #eef5e5;
    --bs-link-color: #333;
    --bs-link-hover-color: #333;
    --bs-link-color-rgb: 40, 40, 40;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-light-rgb: 248, 248, 248;
    --bs-font-sans-serif: "Open Sans", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 2;
    --bs-body-color: #747474;
    --bs-primary: #FFC43F;
    --bs-primary-rgb: 255, 196, 63;
    --bs-success: #a3be4c;
    --bs-success-rgb: 163, 190, 76;
    --bs-primary-bg-subtle: #FFF9EB;
    --bs-success-bg-subtle: #eef5e5;
    --bs-border-color: #F7F7F7;
    --bs-secondary-rgb: 230, 243, 251;
    /* --bs-success-rgb: 238, 245, 228; */
    --bs-danger-rgb: 249, 235, 231;
    --bs-warning-rgb: 255, 249, 235;
    --bs-info-rgb: 230, 243, 250;
}

.btn-link {
    margin-right: 10px;
}

.text-gray-900 {
    color: var(--color-gray-900);
}



@keyframes animation {

    0%,
    80%,
    100% {
        box-shadow: 0 2em 0 -1em var(--accent-color);
    }

    40% {
        box-shadow: 0 2em 0 0 var(--accent-color);
    }
}

.banner-blocks {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 2rem;
}

.block-1 {
    grid-area: 1 / 1 / 3 / 8;
}

.block-2 {
    grid-area: 1 / 8 / 2 / 13;
}

.block-3 {
    grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width:1140px) {
    .banner-blocks {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .block-1 {
        grid-area: 1 / 1 / 3 / 2;
    }

    .block-2 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .block-3 {
        grid-area: 4 / 1 / 5 / 2;
    }

}

/* banner ad */
.banner-ad {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.banner-ad.blue {
    background: #e6f3fb;
}

.banner-ad .swiper-pagination {
    bottom: 40px;
    left: 0;
    right: 0;
}

.banner-ad .swiper-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    margin: 4px;
    background: #FFF;
    opacity: 1;
    transition: background 0.3s ease-out;
}

.banner-ad .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #FFC43F;
}

.banner-ad .swiper-slide {
    min-height: 630px;
    display: flex;
}

/* .banner-ad .banner-content {
    padding: 52px;
  }
  .banner-ad.large .banner-content {
    padding: 90px;
  } */
.banner-ad .banner-content .categories {
    font-family: 'Garamond';
    font-size: 37px;
    text-transform: capitalize;
    color: var(--dark-color);
}

.banner-ad .banner-content .sale {
    position: relative;
    display: inline-block;
}

.banner-ad .banner-content .sale:before {
    content: '';
    width: 80px;
    border-bottom: 1px solid #111;
    position: absolute;
    bottom: 6px;
}

.banner-ad .banner-content .sale:after {
    content: 'SALE';
    font-family: var(--body-font);
    position: absolute;
    font-size: 11px;
    line-height: 15px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #252525;
    bottom: 0;
    right: 0;
}

.banner-ad .banner-content .banner-title {
    letter-spacing: 0.02em;
    font-size: 33px;
}

.banner-ad.large .banner-content .categories {
    color: var(--accent-color);
}

.banner-ad.large .banner-content .banner-title {
    font-size: 54px;
}

.bg-success-subtle {
    background-color: var(--bs-success-bg-subtle) !important;
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
    width: 38px;
    height: 38px;
    line-height: 38px;
    background: #F1F1F1;
    color: #222222;
    padding: 0;
    text-align: center;
    border-radius: 10px;
    --bs-btn-border-color: transparent;
    --bs-btn-active-bg: #ec9b22;
    --bs-btn-active-border-color: transparent;
    --bs-btn-hover-bg: #FFC43F;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-disabled-color: #ccc;
    --bs-btn-disabled-bg: #eaeaea;
    --bs-btn-disabled-border-color: #eaeaea
}

.swiper-prev:hover,
.swiper-next:hover {
    background: #FFC43F;
}

/* category carousel */
.category-carousel .category-item {
    background: #FFFFFF;
    border: 1px solid #FBFBFB;
    box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    text-align: center;
    padding: 60px 20px;
    margin: 20px 0;
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.category-carousel .category-item:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}

.category-carousel .category-item .category-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #222222;
    margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
    background: #FFFFFF;
    border: 1px solid #FBFBFB;
    box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 16px;
}

.brand-carousel .brand-item img {
    width: 100%;
    border-radius: 12px;
}

.brand-carousel .brand-item .brand-details {
    margin-left: 15px;
}

.brand-carousel .brand-item .brand-title {
    margin: 0;
}

/* product tabs */
.product-tabs .nav-tabs {
    justify-content: flex-end;
    border: none;

    --bs-nav-link-hover-color: #111;
    --bs-nav-link-color: #555;
    --bs-nav-tabs-link-border-color: #fff;
    --bs-nav-tabs-link-hover-border-color: transparent;
    --bs-nav-tabs-link-active-border-color: #fff;
}

.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-item.show .nav-link {
    /* border: none; */
    border-bottom: 3px solid var(--accent-color);
}

/* product-grid */
/* .product-grid {
    gap: 25px;
  } */
.product-item {
    position: relative;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #FBFBFB;
    box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease-out;
}

.product-item:hover {
    box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}

.product-item h3 {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    text-transform: capitalize;
    color: #333333;
    margin: 0;
}

.product-item figure {
    background: #F9F9F9;
    border-radius: 12px;
    text-align: center;
}

.product-item figure img {
    max-height: 210px;
    height: auto;
}

.product-item .btn-wishlist {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d8d8d8;
    transition: all 0.3s ease-out;
}

.product-item .btn-wishlist:hover {
    background: rgb(240, 56, 56);
    color: #fff;
}

.product-item .qty {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #9D9D9D;
}

.product-item .rating {
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    text-transform: capitalize;
    color: #222222;
}

.product-item .rating iconify-icon {
    color: #FFC43F;
}

.product-item .price {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    text-transform: capitalize;
    color: #222222;
}

.product-item .product-qty {
    width: 85px;
}

.product-item .btn-link {
    text-decoration: none;
}

.product-item #quantity {
    height: auto;
    width: 28px;
    text-align: center;
    border: none;
    margin: 0;
    padding: 0;
}

.product-item .btn-number {
    width: 26px;
    height: 26px;
    line-height: 1;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 6px;
    color: #222;
    padding: 0;
}

/* cart */
.cart .product-qty {
    min-width: 130px;
}

/* floating image */
.image-float {
    margin-top: -140px;
    margin-bottom: -140px;
}

.yape-Modal {
    background: #EEEEEE;
    font-size: 25px;
    font-weight: 300;
}

.yape-btn {
    background-color: rgb(116, 35, 132);
    border-color: rgb(104, 32, 119);
    display: block;
}

@media screen and (max-width:991px) {
    .image-float {
        margin: 0;
    }
}

/* post item */
.post-item .post-meta {
    font-size: 0.8rem;
    line-height: 1;
}

.post-item .post-meta svg {
    margin-right: 5px;
}


/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
    height: 740px;
}

.texto-largo {
  width: 200px; /* Ancho máximo definido */
  white-space: nowrap; /* Evita el salto de línea */
  overflow: hidden; /* Oculta el texto sobrante */
  text-overflow: ellipsis; /* Añade los tres puntos */
}

.contenedor-img {
  display: grid;
  justify-content: center; /* Centrado horizontal */
  /* Alternativa completa: place-items: center; */
}

@media screen and (max-width:992px) {
    .product-thumbnail-slider {
        margin-top: 20px;
        height: auto;
    }
}

@media screen and (min-width:992px) {
    .product-thumbnail-slider {
        height: 520px;
    }
}

@media screen and (min-width:1200px) {
    .product-thumbnail-slider {
        height: 740px;
    }
}