:root {
    --primary: #d52b1e;
    --primary-dark: #b82318;

    --text: #1d2329;
    --muted: #6c757d;

    --border: #e8e8e8;
    --background: #f7f8f9;

    --card-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);
}


body {
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


.navbar {
    background: #ffffff;

    border-bottom: 1px solid var(--border);

    padding-top: 10px;
    padding-bottom: 10px;
}


.navbar-brand {
    color: var(--text);

    font-size: 24px;
}


.brand-mark {
    margin-right: 6px;
}


.main-wrap {
    padding: 60px 0 80px;
}


.hero {
    max-width: 760px;

    margin: 0 auto 40px;
}


.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    background: #fff0ef;

    color: var(--primary);

    border-radius: 999px;

    padding: 8px 14px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 20px;
}


.hero h1 {
    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 750;

    margin-bottom: 20px;
}


.hero h1 span {
    color: var(--primary);
}


.hero-text {
    color: var(--muted);

    font-size: 19px;

    max-width: 620px;

    margin: auto;

    line-height: 1.6;
}


.app-card {
    max-width: 820px;

    margin: auto;

    background: #ffffff;

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

    border-radius: 18px;

    padding: 34px;

    box-shadow: var(--card-shadow);
}


.step-heading {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 26px;
}


.step-number {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: white;

    font-weight: 700;
}


.step-heading h2 {
    font-size: 22px;

    margin: 2px 0 4px;

    font-weight: 700;
}


.step-heading p {
    margin: 0;

    color: var(--muted);
}


.location-actions {
    max-width: 620px;

    margin: auto;
}


.location-btn {
    width: 100%;

    padding: 13px;
}


.btn-primary {
    background: var(--primary);

    border-color: var(--primary);
}


.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);

    border-color: var(--primary-dark);
}


.or-divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 18px 0;

    color: #999;
}


.or-divider:before,
.or-divider:after {
    content: "";

    flex: 1;

    height: 1px;

    background: var(--border);
}


.city-search,
.product-search {
    display: flex;

    gap: 10px;
}


.form-control {
    border-color: #dddddd;

    border-radius: 10px;
}


.form-control:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 0.2rem rgba(213, 43, 30, 0.10);
}


.btn {
    border-radius: 10px;

    font-weight: 600;
}


.section-divider {
    height: 1px;

    background: var(--border);

    margin: 34px 0;
}


.store-results {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.store-option {
    border: 1px solid var(--border);

    background: #ffffff;

    border-radius: 12px;

    padding: 16px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    text-align: left;

    width: 100%;

    transition: 0.15s ease;
}


.store-option:hover {
    border-color: var(--primary);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05);

    transform: translateY(-1px);
}


.store-option strong {
    display: block;

    font-size: 16px;
}


.store-option span {
    display: block;

    color: var(--muted);

    font-size: 14px;

    margin-top: 2px;
}


.selected-store {
    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #f7f8f9;

    border-radius: 12px;

    padding: 14px 16px;

    margin-bottom: 30px;
}


.selected-store strong,
.selected-store small {
    display: block;
}


.selected-label {
    display: block;

    font-size: 12px;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 2px;
}


.selected-store small {
    color: var(--muted);
}


.product-search-wrap {
    max-width: 680px;

    margin: auto;
}


.product-search-wrap .form-label {
    font-weight: 700;

    margin-bottom: 10px;

    font-size: 18px;
}


.product-search .form-control {
    flex: 1;
}


.search-examples {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}


.example-search {
    border: 0;

    background: transparent;

    color: var(--primary);

    padding: 0 4px;

    font-weight: 600;
}


.status-message {
    margin-top: 18px;

    padding: 12px 14px;

    background: #f7f8f9;

    border-radius: 10px;

    color: var(--muted);
}


.search-status {
    max-width: 820px;

    margin: 22px auto 0;

    background: white;

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

    border-radius: 12px;

    padding: 15px;

    text-align: center;

    color: var(--muted);
}


.search-status .spinner-border {
    margin-right: 8px;
}


.results-section {
    max-width: 1050px;

    margin: 50px auto 0;
}


.results-heading {
    margin-bottom: 24px;
}


.results-heading h2 {
    font-size: 28px;

    font-weight: 750;

    margin-bottom: 5px;
}


.results-heading p {
    color: var(--muted);

    margin: 0;
}


.product-card {
    height: 100%;

    background: #ffffff;

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

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.045);

    transition: 0.15s ease;
}


.product-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.07);
}


.product-top {
    padding: 18px 20px 0;
}


.canadian-badge {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 999px;

    background: #edf8f0;

    color: #23843a;

    font-size: 12px;

    font-weight: 700;
}


.product-body {
    padding: 18px 20px;
}


.product-brand {
    color: var(--muted);

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.product-body h3 {
    font-size: 21px;

    font-weight: 700;

    margin: 4px 0 20px;
}


.product-detail {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    margin-bottom: 13px;
}


.product-detail i {
    color: var(--primary);

    margin-top: 2px;
}


.product-detail span,
.product-detail strong {
    display: block;
}


.product-detail span {
    color: var(--muted);

    font-size: 12px;
}


.product-detail strong {
    font-size: 14px;
}


.product-footer {
    border-top: 1px solid var(--border);

    padding: 15px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.price-label {
    display: block;

    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;
}


.price {
    font-size: 19px;
}


.availability {
    font-size: 12px;

    color: #23843a;

    font-weight: 600;
}


footer {
    padding: 30px 0;

    color: var(--muted);

    font-size: 13px;
}


@media (max-width: 576px) {

    .main-wrap {
        padding-top: 35px;
    }


    .hero h1 {
        letter-spacing: -1px;
    }


    .app-card {
        padding: 24px 18px;

        border-radius: 14px;
    }


    .city-search,
    .product-search {
        flex-direction: column;
    }


    .city-search .btn,
    .product-search .btn {
        width: 100%;
    }


    .selected-store {
        align-items: flex-start;
    }

}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.hero-logo img {
    width: min(420px, 85vw);
    height: auto;
    display: block;

    /* Gives it that floating hero feel */
}