#best-sellers-pagination button:hover,
.pagination .pagination-buttons button:hover,
.product-box button:hover {
    background: var(--btn-gradient-hover)
}

#sections-container {
    padding: 5px 20px
}

#best-sellers-section,
#product-sections-container {
    width: 100%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    padding: 1rem 0
}

#product-sections-container h2 {
    font-size: 1.3em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    flex-shrink: 0
}

.coupon-info {
    margin: 10px 0;
    color: #444;
    font-size: 13px
}

#shop-content-bestsellers,
.shop-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 300px;
    margin-top: 1rem;
    margin-bottom: 2.5rem
}

.shop-content .product-box {
    width: 100% !important
}

@media (max-width:767px) {

    #shop-content-bestsellers,
    .shop-content {
        gap: 1rem;
        grid-template-columns: repeat(2, 1fr)
    }
}

.hide-filters-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background-color: var(--danger-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgb(0 123 255 / .2)
}

.hide-filters-btn:hover {
    background-color: var(--danger-color-hover);
    color: #fff;
    box-shadow: 0 6px 12px rgb(0 123 255 / .3);
    transform: translateY(-2px)
}

.hide-filters-btn .fa-search {
    transition: transform .3s
}

.hide-filters-btn[aria-expanded=true] .fa-search {
    transform: rotate(15deg)
}

.filters-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0 20px;
    margin-top: 15px;
    transition: .4s ease-in-out;
    overflow: hidden;
    opacity: 0
}

.filters-container.show {
    height: auto;
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 20px
}

.filters-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 160px
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: .9rem
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem
}

.clear-filters-btn {
    padding: 8px 15px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer
}

.clear-filters-btn:hover {
    background-color: #5a6268
}

.product-box button {
    background: var(--btn-gradient);
    transition: background .2s, color .2s, box-shadow .2s, transform .15s, filter .2s
}

.product-box button:hover {
    cursor: pointer;
    box-shadow: 0 6px 16px rgb(2 6 23 / .06)
}

.pagination {
    margin: auto;
    background: #fff0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap
}

#best-sellers-pagination {
    display: none !important
}

#homepage-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.ios-instructions {
    color: #666;
    font-size: .9em
}

#best-sellers-pagination,
.pagination-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}

#best-sellers-pagination button,
.pagination .pagination-buttons button {
    min-width: 40px;
    background: var(--btn-gradient);
    color: #fff;
    border: 2px solid var(--color-primary);
    transition: background .2s
}

#best-sellers-pagination button[disabled],
.pagination .pagination-buttons button[disabled],
.pagination-info {
    color: var(--text-muted)
}

@media (max-width:600px) {
    .pagination {
        gap: 4px;
        margin: 10px 0 6px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%
    }

    .pagination button {
        font-size: .95em;
        padding: 3px 8px;
        min-width: 32px;
        border-radius: 5px
    }
}

@media (max-width:400px) {
    #product-sections-container h2 {
        font-size: 1.1em;
        margin-top: 8px
    }

    .pagination {
        gap: 2px;
        margin: 7px 0 4px;
        justify-content: center;
        align-items: center;
        width: 100%
    }

    #best-sellers-pagination button,
    .pagination button {
        font-size: .8em;
        padding: 2px 5px;
        min-width: 24px;
        border-radius: 4px
    }
}

@media (max-width:575px) {
    .hide-filters-btn {
        padding: 4px 10px;
        border: none;
        border-radius: 4px;
        cursor: pointer
    }
}

#homepage-swiper {
    aspect-ratio: 16/9;
    width: 100%;
    height: 80vh;
    background: hsl(0 0% 0%);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgb(0 0 0 / .35)
}

#homepage-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    overflow: auto
}

@media (max-width:480px) {

    #shop-content-bestsellers,
    .shop-content {
        gap: .5rem;
        grid-template-columns: repeat(2, 1fr)
    }

    #homepage-swiper {
        height: auto;
        max-height: none
    }

    #homepage-swiper .swiper-slide {
        height: auto
    }

    #homepage-swiper .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: contain
    }
}

@media (min-width:481px) and (max-width:768px) {
    #homepage-swiper {
        height: 80vh
    }

    #homepage-swiper .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: contain
    }
}

@media (min-width:769px) and (max-width:1024px) {
    #homepage-swiper {
        height: 80vh
    }

    #homepage-swiper .swiper-slide img {
        max-height: 100%;
        object-fit: contain
    }
}

@media (min-width:1025px) and (max-width:1280px) {
    #homepage-swiper {
        height: 80vh
    }
}

@media (min-width:1537px) {
    #homepage-swiper {
        height: 90vh
    }
}

#homepage-swiper .swiper-button-next,
#homepage-swiper .swiper-button-prev {
    color: #fff;
    background: rgb(0 0 0 / .55);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s
}

#homepage-swiper .swiper-button-next svg,
#homepage-swiper .swiper-button-prev svg {
    width: 80%;
    height: 80%
}

#homepage-swiper .swiper-button-next:hover,
#homepage-swiper .swiper-button-prev:hover {
    background: rgb(0 0 0 / .85);
    transform: scale(1.1)
}

#homepage-swiper .swiper-pagination-bullet {
    background: #00e0ff;
    opacity: .6;
    transition: .3s
}

#homepage-swiper .swiper-pagination-bullet-active {
    background: #0fa;
    opacity: 1;
    transform: scale(1.3)
}

.fade-in-product {
    opacity: 0;
    animation: .7s forwards fadeInProduct
}

@keyframes fadeInProduct {
    to {
        opacity: 1
    }
}

.products-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    min-height: 200px
}

.lds-dual-ring {
    display: inline-block;
    width: 40px;
    height: 40px
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px;
    border-radius: 50%;
    border: 4px solid #f9a825;
    border-color: #f9a825 #fff0;
    animation: .4s linear infinite lds-dual-ring
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.more-products-link {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 15px auto 30px;
    padding: 12px 25px;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(45deg, #f9a825, #ff6f00);
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgb(249 168 37 / .3)
}

.more-products-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(249 168 37 / .4);
    background: linear-gradient(45deg, #ff6f00, #f9a825)
}

@media (max-width:480px) {

    #homepage-swiper .swiper-button-next,
    #homepage-swiper .swiper-button-prev {
        width: 45px;
        height: 45px
    }

    .more-products-link {
        margin: 5px auto 20px;
        padding: 3px 16px;
        font-size: .8em
    }
}

.search-button {
    padding: 8px 15px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color .3s
}

.search-button:hover {
    background-color: #45a049
}

.product-box.out-of-stock img {
    filter: grayscale(30%)
}

.product-box.out-of-stock .add-cart.disabled {
    background-color: #6c757d;
    cursor: not-allowed
}

.product-box.out-of-stock {
    opacity: .85;
    pointer-events: none
}

.product-box.out-of-stock .add-cart {
    pointer-events: none
}

.highlight-product {
    animation: 3s ease-in-out highlight
}

@keyframes highlight {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 #fff0
    }

    20% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgb(249 168 37 / .5)
    }
}

h1 {
    text-align: center
}

@media (min-width:1280px) {

    body:not(.home-page) #shop-content-bestsellers,
    body:not(.home-page) .shop-content {
        grid-template-columns: repeat(5, 1fr)
    }
}

@media (min-width:1600px) {

    body:not(.home-page) #shop-content-bestsellers,
    body:not(.home-page) .shop-content {
        grid-template-columns: repeat(6, 1fr)
    }
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500
}

.btn-social-facebook {
    background: #0d47a1
}

.btn-social-whatsapp {
    background: #075e54
}

.btn-social-twitter {
    background: #0277bd
}

.btn-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer
}



.quick-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px
}

.social-share-section {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px
}

.social-share-section h3 {
    margin-bottom: 15px;
    color: #333
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.icon-inline {
    vertical-align: middle;
    margin-inline-end: 4px
}

.icon-tiktok {
    color: #fe2c55
}

.icon-facebook {
    color: #1877f2
}