/* --- Best Sellers (gp-bs-) Redesign --- */

.gp-bs-section {
    padding: 100px 5%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.gp-bs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gp-bs-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gp-bs-main-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 52px !important;
    color: var(--gp-primary) !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    line-height: 1.1 !important;
}

.gp-bs-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    color: #666 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.gp-bs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.gp-bs-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gp-bs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(45, 90, 39, 0.08);
}

.gp-bs-sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff4757;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
    pointer-events: none;
    text-transform: uppercase;
}

.gp-bs-image-wrap {
    height: 240px;
    background: linear-gradient(180deg, #121212 0%, #cbd5e1 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.gp-bs-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}


.gp-bs-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gp-bs-card:hover .gp-bs-image {
    transform: scale(1.05);
}

.gp-bs-content {
    padding: 0 4px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gp-bs-info-link {
    text-decoration: none !important;
    display: block;
    margin-bottom: 4px;
    flex-grow: 1;
}

.gp-bs-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
}

.gp-bs-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #888 !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-bs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.gp-bs-price-wrap {
    font-family: 'Inter', sans-serif !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.gp-bs-price-wrap del {
    color: #777 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    order: 1;
}

.gp-bs-price-wrap ins {
    text-decoration: none !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    order: 2;
}

.gp-bs-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-bs-buy-btn {
    background: var(--gp-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gp-bs-buy-btn:hover {
    background: #1d3a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.gp-bs-add-btn {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
}

.gp-bs-add-btn:hover {
    background: #1e3d1a !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.gp-bs-add-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.gp-bs-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

.gp-bs-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    background: #F8F9FA;
    border-radius: 40px;
    color: #666;
    font-style: italic;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .gp-bs-main-title {
        font-size: 42px !important;
    }

    .gp-bs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .gp-bs-section {
        padding: 40px 12px;
    }

    .gp-bs-header {
        margin-bottom: 40px;
    }

    .gp-bs-main-title {
        font-size: 28px !important;
    }

    .gp-bs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gp-bs-card {
        padding: 8px;
        border-radius: 20px;
    }

    .gp-bs-image-wrap {
        height: 160px;
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .gp-bs-title {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .gp-bs-description {
        font-size: 11px !important;
        line-height: 1.4 !important;
        min-height: auto;
    }

    .gp-bs-price-wrap {
        font-size: 14px !important;
        gap: 4px !important;
    }

    .gp-bs-price-wrap ins {
        font-size: 14px !important;
    }

    .gp-bs-price-wrap del {
        font-size: 12px !important;
    }

    .gp-bs-add-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        font-size: 18px !important;
    }

    .gp-bs-sale-badge {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 9px;
    }
}