/* Best Seller Section */
.best-seller-section {
    padding: 80px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Main Wrapper - Flex Layout */
.best-seller-section__wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left Side - Text Content */
.best-seller-section__left {
    flex: 0 0 350px;
    max-width: 350px;
}

.best-seller-section__title {
    font-size: 48px;
    font-weight: 700;
    color: #213868;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-family: Montserrat ExtraBold, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.best-seller-section__subtitle,
.best-seller-section__subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 30px;
    text-align: justify;
}

.best-seller-section__view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid #213868;
    color: #213868;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.best-seller-section__view-all:hover {
    background-color: #213868;
    color: #ffffff;
}

/* Right Side - Carousel Container */
.best-seller-section__right {
    flex: 1;
    min-width: 0;
}

/* Carousel */
.best-seller-section__carousel {
    margin-bottom: 20px;
}

/* Product Card */
.best-seller-section__card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.best-seller-section__card:hover {
    transform: translateY(-8px);
}

.best-seller-section__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.best-seller-section__card-image {
    width: 100%;
    aspect-ratio: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin-bottom: 0;
}

.best-seller-section__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.best-seller-section__card-content {
    padding: 24px;
    background: #ffffff;
}

.best-seller-section__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #213868;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.best-seller-section__card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.best-seller-section__card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
}

.best-seller-section__card-meta-label {
    color: #616161;
    font-size: 12px;
    line-height: 136%;
    font-weight: 400;
}

.best-seller-section__card-volume {
    color: #616161;
    padding: 4px 6px;
    background: transparent;
    border: 1px solid #EEEEEE;
    font-size: 12px;
    font-weight: 400;
    line-height: 136%;
    display: inline-block;
    width: fit-content;
}

/* Quantity Controls */
.best-seller-section__quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border: 1px solid #EEEEEE;
}

.best-seller-section__quantity-btn {
    width: 12px;
    height: 12px;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-seller-section__quantity-input {
    width: 16px;
    height: 16px;
    text-align: center;
    background: transparent;
    color: #616161;
    font-size: 12px;
    line-height: 136%;
    -moz-appearance: textfield;
}

.best-seller-section__quantity-input::-webkit-outer-spin-button,
.best-seller-section__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.best-seller-section__card-price {
    color: #616161;
    font-weight: 400;
    font-size: 12px;
}

.best-seller-section__card-btn {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #EEEEEE;
    color: #616161;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.best-seller-section__card-btn:hover {
    background: #213868;
    color: #ffffff;
}

/* Pagination Progress Bar */
.best-seller-section__pagination {
    margin-top: 40px;
    text-align: center;
}

.best-seller-section .swiper-pagination-progressbar {
    position: relative !important;
    height: 4px;
    background: rgba(33, 56, 104, 0.2);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.best-seller-section .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #213868;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(33, 56, 104, 0.4);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.best-seller-section .swiper-pagination-progressbar:hover {
    height: 12px;
    background: rgba(33, 56, 104, 0.3);
}

.best-seller-section .swiper-pagination-progressbar.dragging {
    height: 6px;
    background: rgba(33, 56, 104, 0.35);
    cursor: grabbing;
}

.best-seller-section .swiper-pagination-progressbar:hover,
.best-seller-section .swiper-pagination-progressbar.dragging {
    cursor: grab;
}

/* Responsive */
@media (max-width: 1440px) {
    .best-seller-section__wrapper .product {
        max-width: 100%;
        padding-top: 10px;
    }
}

@media (max-width: 1024px) {
    .best-seller-section {
        padding: 60px 0;
    }

    .best-seller-section__wrapper {
        gap: 40px;
        flex-direction: column;
        align-items: normal;
    }

    .best-seller-section__left {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .best-seller-section__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .best-seller-section {
        padding: 40px 0;
    }

    .best-seller-section__wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .best-seller-section__left {
        flex: 1;
        max-width: 100%;
    }

    .best-seller-section__title {
        font-size: 28px;
    }

    .best-seller-section__subtitle,
    .best-seller-section__subtitle {
        font-size: 14px;
    }

    .best-seller-section__card-content {
        padding: 16px;
    }

    .best-seller-section__card-title {
        font-size: 16px;
    }

    .best-seller-section__wrapper .product {
        width: 100%;
        max-width: 100%;
    }
}