:root {
    --bs-blue: #00a9e8;
    --bs-blue-dark: #007eae;
    --bs-ink: #101820;
    --bs-muted: #65717d;
    --bs-line: #e4e8ec;
    --bs-surface: #f5f7f9;
}

.bsound-shop {
    width: min(1380px, calc(100% - 40px));
    margin: 42px auto 80px;
    color: var(--bs-ink);
    font-family: inherit;
}

.bsound-shop * { box-sizing: border-box; }

.bsound-shop__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 7vw, 78px);
    border-radius: 14px;
    background: linear-gradient(120deg, #081018 0%, #101f2b 68%, #004f70 100%);
    color: #fff;
}

.bsound-shop__hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 70px solid rgba(0,169,232,.16);
    border-radius: 50%;
}

.bsound-shop__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #54d0ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.bsound-shop__hero h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.bsound-shop__hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: #dce8ee;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.bsound-categories {
    display: flex;
    gap: 10px;
    margin: 28px 0 18px;
    padding: 3px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.bsound-categories a {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--bs-line);
    border-radius: 999px;
    background: #fff;
    color: var(--bs-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.bsound-categories a:hover,
.bsound-categories a.is-active {
    border-color: var(--bs-blue);
    background: var(--bs-blue);
    color: #fff;
}

.bsound-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 220px;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--bs-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(16,24,32,.05);
}

.bsound-search { display: flex; }

.bsound-search input,
.bsound-toolbar select {
    min-height: 48px;
    margin: 0;
    border: 1px solid #ccd3d9;
    border-radius: 6px;
    background: #fff;
    color: var(--bs-ink);
    font: inherit;
}

.bsound-search input {
    width: 100%;
    padding: 0 15px;
    border-radius: 6px 0 0 6px;
}

.bsound-search button {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: var(--bs-blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.bsound-search button:hover { background: var(--bs-blue-dark); }
.bsound-toolbar select { width: 100%; padding: 0 14px; }
.bsound-results { margin: 25px 0 14px; color: var(--bs-muted); }
.bsound-results p { margin: 0; font-size: 14px; }

.bsound-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
}

.bsound-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--bs-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16,24,32,.055);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bsound-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(16,24,32,.12);
}

.bsound-card__image {
    position: relative;
    display: flex;
    height: 270px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bs-surface);
}

.bsound-card__image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center;
}

.bsound-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--bs-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.bsound-card__body { padding: 18px; }
.bsound-card__category { min-height: 18px; color: var(--bs-blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.bsound-card__category a { color: inherit; text-decoration: none; }

.bsound-card h2 {
    min-height: 48px;
    margin: 8px 0 10px;
    color: var(--bs-ink);
    font-size: 17px;
    line-height: 1.4;
}

.bsound-card h2 a { color: inherit; text-decoration: none !important; }
.bsound-card h2 a:hover { color: var(--bs-blue-dark); }
.bsound-card__price { min-height: 30px; margin-bottom: 14px; color: var(--bs-ink); font-size: 18px; font-weight: 800; }
.bsound-card__price del { color: #8b949c; font-size: 14px; font-weight: 500; }
.bsound-card__price ins { color: var(--bs-blue-dark); text-decoration: none; }

.bsound-card__button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--bs-ink);
    border-radius: 5px;
    background: var(--bs-ink);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

.bsound-card__button:hover { border-color: var(--bs-blue); background: var(--bs-blue); }

.bsound-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 42px;
}

.bsound-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--bs-line);
    border-radius: 5px;
    background: #fff;
    color: var(--bs-ink);
    font-weight: 700;
    text-decoration: none !important;
}

.bsound-pagination .current,
.bsound-pagination a:hover { border-color: var(--bs-blue); background: var(--bs-blue); color: #fff; }

.bsound-empty,
.bsound-alert {
    margin-top: 25px;
    padding: 50px 25px;
    border-radius: 10px;
    background: var(--bs-surface);
    text-align: center;
}

.bsound-empty a { color: var(--bs-blue-dark); font-weight: 800; }

@media (max-width: 1150px) {
    .bsound-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .bsound-shop { width: min(100% - 28px, 1380px); margin-top: 24px; }
    .bsound-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bsound-toolbar { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .bsound-shop { width: min(100% - 20px, 1380px); }
    .bsound-shop__hero { padding: 38px 24px; border-radius: 9px; }
    .bsound-shop__hero h1 { letter-spacing: -1px; }
    .bsound-grid { grid-template-columns: 1fr; gap: 20px; }
    .bsound-card__image { height: 300px; }
    .bsound-search button { padding: 0 16px; }
}

