* {
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #101828;
    --muted: #667085;
    --border: #e4e7ec;
    --surface: #ffffff;
    --background: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--dark);
    background: var(--background);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.shopping-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.shopping-header {
    background: white;
    border-bottom: 1px solid var(--border);
}

.shopping-header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shopping-logo {
    font-size: 23px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
}

.shopping-logo span {
    color: var(--primary);
}

.shopping-header-badge {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #eff6ff;
    color: var(--primary);
}

.shopping-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, .22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 50%,
            #1e3a8a 100%
        );

    color: white;
}

.shopping-hero-content {
    max-width: 760px;
}

.shopping-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;

    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.shopping-hero h1 {
    max-width: 700px;
    margin: 0;

    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.shopping-hero p {
    max-width: 620px;
    margin: 20px 0 0;

    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,.78);
}

.shopping-search {
    width: min(620px, 100%);
    min-height: 58px;

    margin-top: 32px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 11px;

    background: white;
    border-radius: 15px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);
}

.shopping-search input {
    width: 100%;
    height: 56px;

    border: 0;
    outline: 0;

    font-size: 15px;
    background: transparent;
    color: var(--dark);
}

.shopping-stores {
    padding: 58px 0 80px;
}

.shopping-section-heading {
    margin-bottom: 26px;

    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.shopping-section-label {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.shopping-section-heading h2 {
    margin: 6px 0 0;
    font-size: 29px;
    letter-spacing: -1px;
}

#shoppingStoreCount {
    color: var(--muted);
    font-size: 13px;
}

.shopping-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.shopping-store-card {
    overflow: hidden;

    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow:
        0 5px 18px rgba(16,24,40,.04);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.shopping-store-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 36px rgba(16,24,40,.10);
}

.shopping-store-cover {
    display: block;
    height: 190px;
    overflow: hidden;
    text-decoration: none;
    background: #eaf0f8;
}

.shopping-store-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .3s ease;
}

.shopping-store-card:hover
.shopping-store-cover img {
    transform: scale(1.035);
}

.shopping-store-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--store-color),
            #101828
        );

    color: white;

    font-size: 64px;
    font-weight: 900;
}

.shopping-store-body {
    padding: 20px;
}

.shopping-store-identity {
    display: flex;
    align-items: center;
    gap: 13px;
}

.shopping-store-logo {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    overflow: hidden;
    display: grid;
    place-items: center;

    border-radius: 15px;
    border: 1px solid var(--border);

    background: var(--store-color);
    color: white;

    font-size: 19px;
    font-weight: 900;
}

.shopping-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shopping-store-identity h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.2;
}

.shopping-store-identity span {
    display: block;
    margin-top: 4px;

    color: var(--muted);
    font-size: 12px;
}

.shopping-store-description {
    min-height: 44px;

    margin: 17px 0;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.shopping-store-button {
    min-height: 46px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 12px;

    background: var(--store-color);
    color: white;

    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.shopping-store-button:hover {
    filter: brightness(.94);
}

.shopping-no-results,
.shopping-empty {
    padding: 55px 25px;

    text-align: center;

    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.shopping-no-results strong,
.shopping-empty strong {
    font-size: 18px;
}

.shopping-no-results p,
.shopping-empty p {
    margin-bottom: 0;
    color: var(--muted);
}

.shopping-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    background: white;
}

.shopping-footer .shopping-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: var(--muted);
    font-size: 12px;
}

.shopping-footer strong {
    color: var(--dark);
}

@media (max-width: 900px) {

    .shopping-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {

    .shopping-container {
        width: min(100% - 28px, 1180px);
    }

    .shopping-header-content {
        min-height: 68px;
    }

    .shopping-header-badge {
        display: none;
    }

    .shopping-hero {
        padding: 56px 0;
    }

    .shopping-hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .shopping-hero p {
        font-size: 15px;
    }

    .shopping-grid {
        grid-template-columns: 1fr;
    }

    .shopping-store-cover {
        height: 180px;
    }

    .shopping-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .shopping-footer .shopping-container {
        flex-direction: column;
    }
}

.shopping-featured {
    padding: 55px 0 10px;
}

.shopping-featured-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.shopping-featured-card {
    position: relative;
    min-height: 260px;

    overflow: hidden;

    display: flex;
    align-items: end;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #172554,
            #101828
        );

    text-decoration: none;
    color: white;
}

.shopping-featured-card > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shopping-featured-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.92),
            rgba(15,23,42,.08)
        );
}

.shopping-featured-overlay {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 26px;
}

.shopping-featured-overlay span {
    display: inline-flex;

    margin-bottom: 8px;
    padding: 6px 9px;

    border-radius: 999px;

    background: var(--store-color);

    font-size: 10px;
    font-weight: 900;
}

.shopping-featured-overlay h3 {
    margin: 0;

    font-size: 27px;
}

.shopping-featured-overlay p {
    margin: 6px 0 0;

    color: rgba(255,255,255,.75);
}

.shopping-categories {
    display: flex;
    gap: 9px;

    margin-bottom: 25px;
    padding-bottom: 5px;

    overflow-x: auto;
}

.shopping-category {
    flex: 0 0 auto;

    min-height: 40px;
    padding: 0 16px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: white;
    color: var(--muted);

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;
}

.shopping-category.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.shopping-store-cover {
    position: relative;
}

.store-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;

    padding: 7px 10px;

    border-radius: 999px;

    background: #fbbf24;
    color: #422006;

    font-size: 10px;
    font-weight: 900;
}

@media (max-width: 700px) {

    .shopping-featured-grid {
        grid-template-columns: 1fr;
    }

    .shopping-featured-card {
        min-height: 220px;
    }

}
