.store-page {
    min-height: 65vh;
    background: #f5f7fa;
}

.store-hero {
    padding: 72px 20px 58px;
    color: #fff;
    background: linear-gradient(125deg, #10243a, #1d4265);
}

.store-hero h1 {
    max-width: 760px;
    margin: 8px 0 14px;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.08;
}

.store-hero p:last-child {
    max-width: 680px;
    margin: 0;
    color: #e4edf5;
    font-size: 1.1rem;
    line-height: 1.6;
}

.store-eyebrow {
    margin: 0;
    color: #f6c445;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.store-catalog {
    padding-top: 40px;
    padding-bottom: 64px;
}

.store-builder {
    padding-top: 36px;
}

.store-builder-card {
    padding: 24px;
    border: 1px solid #dce3e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(22 43 63 / 7%);
}

.store-builder-card h2 {
    margin: 8px 0;
    color: #162a3d;
}

.store-builder-card > p:not(.store-eyebrow) {
    max-width: 820px;
    color: #536273;
    line-height: 1.5;
}

.store-builder-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 14px;
    margin: 20px 0;
}

.store-builder-fields label {
    display: block;
    color: #24384c;
    font-weight: 650;
}

.store-builder-fields select {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #bec9d3;
    border-radius: 6px;
    background: #fff;
    color: #172635;
    font: inherit;
}

.store-builder-component-image {
    display: block;
    width: 100%;
    max-width: 180px;
    max-height: 120px;
    margin-top: 8px;
    border-radius: 6px;
    object-fit: contain;
}

.store-builder-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid #e3e8ed;
}

.store-builder-actions .checkout-price {
    margin: 0;
}

.store-builder-actions .store-primary-button {
    width: auto;
    min-width: 220px;
}

.store-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.store-toolbar h2 {
    margin: 0 0 6px;
    color: #182b3d;
}

.store-toolbar p {
    margin: 0;
    color: #536273;
}

.store-toolbar label,
.store-dialog label {
    display: block;
    color: #24384c;
    font-weight: 650;
}

.store-toolbar select,
.store-dialog input,
.store-dialog select {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #bec9d3;
    border-radius: 6px;
    background: #fff;
    color: #172635;
    font: inherit;
}

.store-toolbar select {
    min-width: 220px;
}

.store-status {
    padding: 18px 0;
    color: #536273;
}

.store-status[data-error="true"] {
    color: #a4262c;
}

.store-checkout-status {
    margin: -12px 0 18px;
    color: #8a4b08;
    font-weight: 650;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 22px;
}

.store-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce3e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(22 43 63 / 7%);
}

.store-card-image,
.store-card-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    place-items: center;
    background: #e8edf2;
    color: #536273;
    object-fit: cover;
}

.store-card-placeholder {
    font-size: 2rem;
}

.store-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.store-card-category {
    margin: 0 0 7px;
    color: #536273;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.store-card h3 {
    margin: 0 0 9px;
    color: #162a3d;
    font-size: 1.2rem;
}

.store-card-description {
    color: #4b5c6e;
    line-height: 1.5;
}

.store-card-details {
    margin: 12px 0;
    padding-left: 18px;
    color: #394b5c;
    font-size: .92rem;
}

.store-card-price {
    margin: auto 0 14px;
    padding-top: 12px;
    color: #142a40;
    font-size: 1.4rem;
    font-weight: 800;
}

.store-primary-button,
.store-secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
}

.store-primary-button {
    width: 100%;
    color: #172638;
    background: #f6c445;
}

.store-primary-button:hover:not(:disabled) {
    background: #eeb323;
}

.store-secondary-button {
    color: #173c5c;
    background: #e7eef5;
}

.store-primary-button:disabled,
.store-secondary-button:disabled {
    cursor: wait;
    opacity: .65;
}

.store-dialog {
    width: min(94vw, 560px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 26px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgb(0 0 0 / 28%);
}

.store-dialog::backdrop {
    background: rgb(9 20 31 / 70%);
}

.store-dialog form {
    display: grid;
    gap: 10px;
}

.store-dialog-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.store-dialog-header h2 {
    margin: 5px 0 0;
    color: #162a3d;
}

.store-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #edf1f4;
    color: #20384d;
    cursor: pointer;
    font-size: 1.5rem;
}

.checkout-price {
    margin: 0 0 5px;
    color: #172b3f;
    font-size: 1.25rem;
    font-weight: 800;
}

.store-build-options {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dce3e9;
    border-radius: 8px;
    background: #f5f7fa;
}

.store-build-options h3,
.store-build-options p {
    margin: 0;
}

.store-build-options h3 {
    color: #162a3d;
    font-size: 1.05rem;
}

.store-build-options p {
    color: #536273;
    font-size: .9rem;
}

.store-build-options label {
    margin-top: 4px;
}

.store-address-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}

.store-check-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.store-check-row input {
    width: auto;
    min-height: auto;
    margin: 0;
}

.store-note,
.store-policy-note {
    margin: 2px 0;
    color: #536273;
    font-size: .9rem;
    line-height: 1.45;
}

.store-quote-result {
    min-height: 20px;
    margin: 0;
    color: #173c5c;
    font-weight: 700;
}

.store-error {
    min-height: 18px;
    margin: 0;
    color: #a4262c;
}

.store-footer {
    padding: 22px 0;
    background: #10243a;
    color: #e4edf5;
}

.store-footer p {
    margin: 0;
}

.store-footer a {
    color: #f6c445;
}

@media (max-width: 640px) {
    .store-hero {
        padding: 52px 18px 40px;
    }

    .store-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .store-address-grid {
        grid-template-columns: 1fr 1fr;
    }

    .store-builder-card {
        padding: 18px;
    }

    .store-builder-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
