﻿/* ─────────────────────────────────────────────────────────
   BlackStore — Homepage styles
   Scope: .bs-* prefix to avoid conflicts with Bootstrap
   ───────────────────────────────────────────────────────── */

/* ── HERO ──────────────────────────────────────────────── */
.bs-hero {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
    padding: 20px 0 16px;
}

.bs-hero__main {
    background: #1d1d1f;
    border-radius: 16px;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
}

.bs-hero__bg-word {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 110px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -6px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.bs-hero__content {
    position: relative;
    z-index: 1;
}

.bs-hero__eyebrow {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.bs-hero__title {
    font-size: 30px;
    font-weight: 600;
    color: #f5f5f7;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.bs-hero__sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.bs-hero__cta {
    display: inline-block;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    padding: 9px 20px;
    text-decoration: none;
    transition: background 0.15s;
}

    .bs-hero__cta:hover {
        background: #fff;
        color: #1d1d1f;
        text-decoration: none;
    }

.bs-hero__badge {
    position: absolute;
    top: 28px;
    right: 36px;
    background: #0071e3;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    z-index: 1;
}

    .bs-hero__badge span {
        font-size: 10px;
        font-weight: 400;
        opacity: 0.85;
    }

.bs-hero__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bs-hero__side-card {
    flex: 1;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.bs-hero__side-card--blue {
    background: #ddeeff;
}

.bs-hero__side-card--green {
    background: #e4f5e0;
}

.bs-hero__side-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.35;
    margin-bottom: 3px;
}

.bs-hero__side-card p {
    font-size: 11px;
    color: #6e6e73;
    margin: 0;
}

.bs-side-icon {
    font-size: 26px;
    position: absolute;
    top: 14px;
    right: 14px;
    opacity: 0.55;
    font-style: normal;
}

/* ── SHORTCUTS ──────────────────────────────────────────── */
.bs-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.bs-shortcut {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

    .bs-shortcut:hover {
        border-color: #0071e3;
        box-shadow: 0 2px 12px rgba(0, 113, 227, 0.08);
        text-decoration: none;
    }

.bs-shortcut__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bs-shortcut__icon--orange {
    background: #fff3e6;
}

.bs-shortcut__icon--blue {
    background: #e8f0fe;
}

.bs-shortcut__icon--green {
    background: #e6f4ea;
}

.bs-shortcut__icon--purple {
    background: #f0e8ff;
}

.bs-shortcut__label {
    font-size: 12px;
    color: #3a3a3c;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}

/* ── SECTION WRAPPER ────────────────────────────────────── */
.bs-section {
    margin-bottom: 28px;
}

.bs-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bs-section__title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.2px;
    margin: 0;
}

.bs-section__link {
    font-size: 13px;
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

    .bs-section__link:hover {
        text-decoration: underline;
    }

/* ── PRODUCT CARDS ──────────────────────────────────────── */
.bs-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bs-product-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

    .bs-product-card:hover {
        border-color: #0071e3;
        box-shadow: 0 4px 20px rgba(0, 113, 227, 0.1);
        transform: translateY(-2px);
    }

.bs-product-card__img {
    background: #f5f5f7;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    position: relative;
}

.bs-product-card__grade {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.bs-product-card__grade--a {
    background: #e6f4ea;
    color: #1a7f37;
}

.bs-product-card__grade--b {
    background: #fff8e0;
    color: #9a6700;
}

.bs-product-card__grade--c {
    background: #f0e8ff;
    color: #7c3aed;
}

.bs-product-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bs-product-card__cat {
    font-size: 10px;
    font-weight: 600;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.bs-product-card__name {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-product-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 3px;
}

.bs-product-card__stock {
    font-size: 11px;
    color: #1a7f37;
    font-weight: 500;
    margin-bottom: 10px;
}

.bs-product-card__stock--low {
    color: #9a6700;
}

.bs-product-card__btn {
    display: block;
    text-align: center;
    background: #f5f5f7;
    color: #1d1d1f;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

    .bs-product-card__btn:hover {
        background: #0071e3;
        color: #fff;
        text-decoration: none;
    }

/* ── PROMO BANNER ───────────────────────────────────────── */
.bs-promo {
    background: #1d1d1f;
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.bs-promo__text h2 {
    font-size: 18px;
    font-weight: 600;
    color: #f5f5f7;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.bs-promo__text p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.bs-promo__btn {
    flex-shrink: 0;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    padding: 10px 22px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

    .bs-promo__btn:hover {
        background: #fff;
        color: #1d1d1f;
        text-decoration: none;
    }

/* ── WHY US FEATURES ────────────────────────────────────── */
.bs-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bs-feature {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    padding: 20px 16px;
}

.bs-feature__icon {
    font-size: 24px;
    display: block;
    margin-bottom: 12px;
}

.bs-feature h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.bs-feature p {
    font-size: 12px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .bs-hero {
        grid-template-columns: 1fr;
    }

    .bs-hero__side {
        flex-direction: row;
    }

    .bs-products,
    .bs-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .bs-shortcuts {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .bs-hero__main {
        min-height: 200px;
        padding: 24px 20px;
    }

    .bs-hero__title {
        font-size: 22px;
    }

    .bs-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }

    .bs-products,
    .bs-features {
        grid-template-columns: 1fr;
    }

    .bs-promo {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
}
