/*============================================================================================
   Start Top Selling Product
==============================================================================================*/
.top-selling-product .section-head.style-6 {
    margin-bottom: 32px;
}
.tp-product-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tp-product-card {
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 8px;
    position: relative;
    background: #f5f5f5;
}

.tp-product-badge {
    border-radius: 2px 8px;
    background: #ff3f33;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 120%;
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
}
.tp-product-badge i {
    position: relative;
    top: 2px;
}

.tp-product-img {
    display: block;
    width: 300px;
    min-width: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.tp-product-img img {
    border-radius: 8px;
    width: 100%;
    transition: all 0.4s ease;
}
.tp-product-card:hover img {
    transform: scale(1.06);
}
.tp-product-content {
    width: 100%;
    padding: 12px 12px 12px 0px;
}

.tp-product-title {
    color: var(--title-color);
    font-style: normal;
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tp-product-price {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 6px;
    align-items: center;
}
.tp-product-price .disct-price {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: var(--title-color);
}
.tp-product-price .main-price {
    color: var(--hints-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    text-decoration-line: line-through;
}
.tp-product-price .save-price {
    border-radius: 99px;
    background: #bfdb38;
    font-size: 12px;
    font-weight: 600;
    line-height: 120%;
    color: var(--title-color);
    padding: 6px 8px;
    text-align: center;
}
.tp-product-action {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-product-action .theme-btn {
    padding: 12px 16px;
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.tp-product-action .theme-btn i {
    position: relative;
    top: 2px;
}
.tp-product-action .theme-btn:hover {
    background: var(--secondary-color);
}
.tp-product-action .theme-btn.secondary {
    background: var(--white-color);
    color: var(--primary-color);
}
.tp-product-action .theme-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
}
.product-section-button {
    text-align: center;
    margin-top: 24px;
}
.product-section-button .btn {
    margin: auto;
    text-transform: capitalize;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .tp-product-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .top-selling-product .section-head.style-6 {
        margin-bottom: 16px;
    }
    .tp-product-wrapper {
        gap: 12px;
    }
    .tp-product-card {
        gap: 0;
        flex-wrap: wrap;
    }
    .tp-product-badge {
        font-weight: 600;
    }
    .tp-product-img {
        width: 100%;
        min-width: 100%;
    }
    .tp-product-title {
        font-size: 14px;
        line-height: 120%;
    }

    .tp-product-action {
        margin-top: 12px;
    }

    .tp-product-price .save-price {
        font-size: 12px;
        padding: 4px;
        text-align: center;
    }
    .tp-product-action .theme-btn {
        padding: 8px;
        font-size: 12px;
    }

    .tp-product-content {
        padding: 12px;
    }
    .tp-product-price {
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
    }
    .tp-product-price .disct-price,
    .tp-product-price .main-price {
        font-size: 12px;
    }
    .tp-product-price .save-price {
        font-size: 10px;
        padding: 2px 4px;
    }
    .tp-product-action .theme-btn i {
        font-size: 14px;
        display: block;
        top: 0;
    }
    .tp-product-action .theme-btn {
        font-size: 0;
        padding: 0;
        width: 50%;
        height: 30px;
        text-align: center;
        justify-content: center;
    }
    .product-section-button .btn {
        padding: 8px 16px;
    }
}

/*============================================================================================
   End Top Selling Product
==============================================================================================*/
