﻿:root {
    --light-bg: var(--light-bg, #ffffff);
    --light-gray: var(--light-gray, #f5f5f5);
    --primary-color: var(--primary-color, #000000);
    --dark-color: var(--dark-color, #000000);
    --border-radius-round: var(--border-radius-round, 30px);
    --a4w-font-family: var(--font-family-base, "Poppins", sans-serif);
    --line-height: var(--line-height, 1.6em);
    --font-size: var(--font-size, 16px);
    --font-size-small: var(--font-size-small, 13px);
    --font-size-medium: var(--font-size-large, 18px);
    --font-size-xl: var(--font-size-xl, 20px);
    --font-size-h2: var(--font-size-h2, 40px);
    --font-size-price: var(--font-size-price, 32px);
    --primary-color: var(--text-color, #000000);
    --primary-color: var(--primary-color, #000000);
    --secondary-color: var(--secondary-color, #ffffff);
    --medium-gray: var(--medium-gray, #666666);
    --secondary-color: var(--secondary-color, #FFE4ED);
    --primary-color: var(--primary-color, #593322);
    --background-color: var(--button-text-color, #ffffff);
    --a4w-populartheme-tabs-radius: 13.06px;
}

#a4w_populartheme .featured-products {
    padding: 40px 20px;
    background-color: var(--light-bg);
}
.background-medium {
    background-color: var(--light-gray);
    width: 100% !important;
}
#a4w_populartheme {
    padding: 0px;
}

#a4w_populartheme .container {
    max-width: var(--a4w-container-xxl-max-width, 1320px);
    margin: 0 auto;
    width: min(calc(100% - var(--a4w-container-gutter, 2rem)), var(--a4w-container-xxl-max-width, 1320px)) !important;
    padding-bottom: 40px;
}

#a4w_populartheme .flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#a4w_populartheme .products-section-title {
    font-size: var(--font-size-h2);
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 30px;
    text-align: center;
    text-transform: math-auto;
    color: var(--primary-color);
}

#a4w_populartheme .nav-tabs .nav-item {
    padding: 5px 0px;
}

#a4w_populartheme .nav-tabs {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 50px;
    border-bottom: none;
    background: #FFF5FB;
    padding: 5px;
    border-radius: var(--a4w-populartheme-tabs-radius);
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: fit-content;
    box-sizing: border-box;
}

#a4w_populartheme .nav-tabs::-webkit-scrollbar {
    display: none;
}

#a4w_populartheme .nav-tabs .nav-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: var(--font-size-medium);
    font-weight: bold;
    color: var(--primary-color);
    border-radius: var(--a4w-populartheme-tabs-radius);
    transition: all 0.3s;
    margin: 0 10px;
    user-select: none;
    cursor: grab;
    background: transparent;
}

#a4w_populartheme .nav-tabs .nav-link:hover,
#a4w_populartheme .nav-tabs .nav-link:focus {
    border-color: transparent;
    color: var(--dark-color);
}

#a4w_populartheme .nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    border-radius: var(--a4w-populartheme-tabs-radius);
    color: var(--background-color);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: grabbing;
}

#a4w_populartheme .product-card {
    min-width: 220px;
    max-width: 220px;
    margin: 0 10px;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#a4w_populartheme .product-card:hover {
    transform: translateY(-10px);
}

#a4w_populartheme .product-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

#a4w_populartheme .product-price {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    font-weight: bold;
}

#a4w_populartheme .product-old-price {
    font-size: var(--font-size-small);
    color: var(--medium-gray);
    text-decoration: line-through;
    margin-left: 10px;
}

#a4w_populartheme .btn-view-product {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-round);
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 15px;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

#a4w_populartheme .btn-view-product:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(15px);
}

#a4w_populartheme .all-product-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: bold;
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    border-radius: 5px;
    padding: 15px 20px;
}

#a4w_populartheme .product-miniature .product-description {
    display: flex;
    flex-direction: column;
    padding: 17px 15px;
}
#a4w_populartheme .tab-pane .row {
    display: flex;
    justify-content: center;
}
#a4w_populartheme .product-miniature .thumbnail-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

#a4w_populartheme .product-miniature .thumbnail-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#a4w_populartheme .product-miniature .product-title a {
    font-weight: 600;
    font-size: var(--font-size-medium);
    line-height: 21.78px;
    color: var(--primary-color);
    height: 90px;
}

#a4w_populartheme .swiper-button-next, #a4w_populartheme .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 52.5%);
}

#a4w_populartheme .product-miniature .product-title {
    text-align: left;
}

#a4w_populartheme .product-miniature .product-price-and-shipping {
    font-weight: 600;
    font-size: var(--font-size-price);
    line-height: 48px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#a4w_populartheme .product-flags {
    margin-left: 10px;
}

#a4w_populartheme .product-miniature .product-flags li.product-flag {
    font-size: var(--font-size-small);
    border-radius: var(--border-radius-round);
}

#a4w_populartheme .product-flags li.product-flag.discount,
#a4w_populartheme .product-flags li.product-flag.discount-amount,
#a4w_populartheme .product-flags li.product-flag.discount-percentage {
    background-color: var(--secondary-color);
}

#a4w_populartheme .nav-tabs .nav-link.active {
    border-color: transparent;
}

#a4w_populartheme .swiper-wrapper {
    overflow: visible !important;
    box-sizing: inherit;
  }
#a4w_populartheme  .product-slide {
    position: relative;
}
#a4w_populartheme .swiper-wrapper.centered {
    justify-content: center;
}

.pt-25 {
    padding-top: 25px;
}

@media (max-width: 991px) {
    .featured-products .products {
        justify-content: center;
    }
    #a4w_populartheme .swiper-wrapper.centered {
        justify-content: unset;
    }
}

@media (max-width: 900px) {
    #a4w_populartheme .nav-tabs {
        width: 100%;
    }
    .page-index .featured-products .product {
        min-width: 300px;
    }
    #a4w_populartheme .nav-tabs .nav-link.active {
        background-color: var(--primary-color);
        color: var(--background-color);
    }
    #a4w_populartheme .nav-tabs .nav-link {
        background: transparent;
    }
}

@media (max-width: 426px) {
    .page-index .featured-products .product {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-index .featured-products .product-miniature {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .page-index .featured-products .thumbnail-container {
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
    }
}

