.best-sellers-hero {
    margin-bottom: 40px;
    padding: 70px 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}

.best-sellers-hero h1 {
    margin-bottom: 10px;
    font-size: 42px;
    font-weight: 700;
}

.best-sellers-hero p {
    font-size: 16px;
    opacity: .85;
}

.themes-container {
    max-width: 1600px;
    margin: auto;
    padding: 0 20px 50px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.best-selling-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.best-selling-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.best-selling-card__image-wrap {
    position: relative;
    overflow: hidden;
}

.best-selling-card__image-link,
.best-selling-card__image {
    display: block;
}

.best-selling-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .4s ease;
}

.best-selling-card:hover .best-selling-card__image {
    transform: scale(1.05);
}

.best-selling-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 30px;
    background: #ff3b30;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.best-selling-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.best-selling-card__title {
    margin: 0 0 12px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.best-selling-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 14px;
}

.best-selling-card__price {
    margin-top: auto;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 9px;
}

.best-selling-card__old-price {
    margin-right: 10px;
    color: #9ca3af;
    font-size: 15px;
    text-decoration: line-through;
}

.best-selling-card__current-price {
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
}

.best-selling-card__sale-price {
    width: 100%;
    color: #64748b;
    font-size: 14px;
    text-decoration: line-through;
}

.best-selling-card__discount {
    padding: 3px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
}

.best-selling-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.best-selling-card__actions form {
    min-width: 0;
}

.best-selling-card__button {
    display: block;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color .3s ease;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
}

.best-selling-card__button:hover {
    background: #2563eb;
    color: #fff;
}

.best-selling-card__button--details {
    margin-top: 8px;
}

@media (max-width: 992px) {
    .theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .best-sellers-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .theme-grid {
        grid-template-columns: 1fr;
    }

    .best-sellers-hero {
        padding: 50px 15px;
    }

    .best-sellers-hero h1 {
        font-size: 28px;
    }
}
