/* =====================================================
   BEST SELLING PRODUCTS
   UNIQUE PREFIX: sit-bsell-
===================================================== */

.sit-bsell-section {
    width: 100%;
    padding: 45px 0;
    background: var(--sit-gxcom-light);
    overflow: hidden;
}

.sit-bsell-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}


/* ---------- Heading ---------- */

.sit-bsell-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.sit-bsell-subtitle {
    display: block;
    margin-bottom: 4px;
    color: var(--sit-gxcom-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sit-bsell-heading h2 {
    margin: 0;
    padding: 0;
    color: var(--sit-gxcom-deep-dark);
    text-transform: uppercase;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}


/* ---------- Slider Controls ---------- */

.sit-bsell-controls {
    display: flex;
    gap: 8px;
}

.sit-bsell-controls button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--sit-gxcom-border);
    border-radius: 50%;
    background: var(--sit-gxcom-white);
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sit-bsell-controls button:hover {
    border-color: var(--sit-gxcom-green);
    background: var(--sit-gxcom-green);
    color: var(--sit-gxcom-white);
}


/* ---------- Slider ---------- */

.sit-bsell-viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.sit-bsell-viewport.sit-bsell-dragging {
    cursor: grabbing;
}

.sit-bsell-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    transition: transform 0.45s ease;
}


/* ---------- Product Slide ---------- */

.sit-bsell-slide {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;
    box-sizing: border-box;
}


/* ---------- Product Card ---------- */

.sit-bsell-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--sit-gxcom-border);
    border-radius: 10px;
    background: var(--sit-gxcom-white);
    box-shadow: 0 0px 6px #0000003b;
    box-sizing: border-box;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.sit-bsell-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.10);
}


/* ---------- Product Image ---------- */

.sit-bsell-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--sit-gxcom-border);
}

.sit-bsell-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sit-bsell-card:hover .sit-bsell-image img {
    transform: scale(1.04);
}


/* ---------- Product Content ---------- */

.sit-bsell-content {
    padding: 14px;
}

.sit-bsell-content h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #222222;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* ---------- Quantity ---------- */

.sit-bsell-quantity {
    margin-bottom: 13px;
    color: #777777;
    font-size: 13px;
}

.sit-bsell-quantity strong {
    color: #333333;
    font-weight: 600;
}


/* ---------- Product Buttons ---------- */

.sit-bsell-actions {
    display: flex;
    gap: 7px;
}

.sit-bsell-actions a {
    padding: 9px 7px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.sit-bsell-details {
    width: 65%;
    border: 1px solid var(--sit-gxcom-green);
    background: var(--sit-gxcom-green);
    color: var(--sit-gxcom-white);
}

.sit-bsell-details:hover {
    border-color: var(--sit-gxcom-deep-dark);
    background: var(--sit-gxcom-deep-dark);
    color: var(--sit-gxcom-white);
}

.sit-bsell-login {
    width: 35%;
    border: 1px solid var(--sit-gxcom-green);
    background: var(--sit-gxcom-white);
    color: var(--sit-gxcom-green);
}

.sit-bsell-login:hover {
    background: var(--sit-gxcom-green);
    color: var(--sit-gxcom-white);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .sit-bsell-slide {
        flex: 0 0 calc((100% - 36px) / 3);
    }

    .sit-bsell-heading h2 {
        font-size: 25px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .sit-bsell-section {
        padding: 35px 0;
    }

    .sit-bsell-heading {
        margin-bottom: 20px;
    }

    .sit-bsell-heading h2 {
        font-size: 22px;
    }

    .sit-bsell-subtitle {
        font-size: 11px;
    }

    .sit-bsell-controls {
        gap: 6px;
    }

    .sit-bsell-controls button {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .sit-bsell-track {
        gap: 12px;
    }

    .sit-bsell-slide {
        flex: 0 0 calc((100% - 12px) / 2);
    }

    .sit-bsell-content {
        padding: 11px;
    }

    .sit-bsell-content h3 {
        font-size: 14px;
    }

    .sit-bsell-actions {
        gap: 5px;
    }

    .sit-bsell-actions a {
        padding: 8px 5px;
        font-size: 11px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .sit-bsell-container {
        padding: 0 10px;
    }

    .sit-bsell-heading h2 {
        font-size: 20px;
    }

    .sit-bsell-track {
        gap: 10px;
    }

    .sit-bsell-slide {
        flex: 0 0 calc((100% - 10px) / 2);
    }

    .sit-bsell-content {
        padding: 9px;
    }

    .sit-bsell-content h3 {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .sit-bsell-quantity {
        margin-bottom: 9px;
        font-size: 11px;
    }

    .sit-bsell-actions a {
        padding: 7px 3px;
        font-size: 10px;
    }

}

.bpsp {
    padding: 45px 0 0 0;
}

@media (max-width: 767px) {
    .bpsp {
        padding: 30px 0 0 0;
    }
}

@media (max-width: 480px) {
    .bpsp {
        padding: 25px 0 0 0;
    }
}

.bpsp2 {
    padding: 45px 0 0 0;
}

@media (max-width: 767px) {
    .bpsp2 {
        padding: 30px 0 0 0;
    }
}

@media (max-width: 480px) {
    .bpsp2 {
        padding: 30px 0 0 0;
    }
}