.store-page {
    min-height: 55vh;
    color: #17324d;
}

.store-hero {
    padding: 52px 0 48px;
    background: linear-gradient(135deg, #eaf5fb 0%, #f7fbfd 68%, #fff 100%);
}

.store-hero h1,
.store-page-heading h1,
.store-detail h1,
.store-admin h1 {
    margin: 0 0 12px;
    color: #12314a;
    font-size: clamp(30px, 7vw, 44px);
    font-weight: 700;
    line-height: 1.15;
}

.store-hero p:not(.store-eyebrow) {
    max-width: 620px;
    margin: 0 0 22px;
    color: #415a6c;
    font-size: 18px;
}

.store-eyebrow {
    margin: 0 0 8px;
    color: #16749b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-content {
    padding-top: 24px;
    padding-bottom: 48px;
}

.store-disclosure {
    margin: 0 0 28px;
    padding: 12px 14px;
    border-left: 4px solid #6aa5bd;
    background: #f3f8fa;
    color: #425869;
    font-size: 14px;
}

.store-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 30px 0 16px;
}

.store-section-heading h2,
.store-detail-content h2,
.store-admin h2 {
    margin: 0;
    color: #17324d;
    font-size: 24px;
    font-weight: 700;
}

.store-category-grid,
.store-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.store-category-card {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #dbe6ed;
    border-radius: 10px;
    background: #fff;
    color: #17324d;
    text-decoration: none;
}

.store-category-card:hover,
.store-category-card:focus-visible {
    border-color: #78abc1;
    box-shadow: 0 3px 12px rgba(21, 65, 91, .1);
    color: #12314a;
    text-decoration: none;
}

.store-category-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: #eaf5fb;
    color: #16749b;
    font-size: 20px;
}

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

.store-category-card strong {
    font-size: 16px;
}

.store-category-card small {
    margin-top: 4px;
    color: #5b6f7c;
    line-height: 1.4;
}

.store-chevron {
    margin-left: auto;
    color: #52778a;
    font-size: 26px;
}

.store-product-card {
    overflow: hidden;
    border: 1px solid #dbe6ed;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(21, 65, 91, .05);
}

.store-product-image,
.store-detail-image {
    display: grid;
    min-height: 190px;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    background: #f2f6f8;
}

.store-product-image img,
.store-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 190px;
    place-items: center;
    color: #78a0b3;
    font-size: 44px;
}

.store-product-body {
    padding: 16px;
}

.store-product-category {
    margin: 0 0 6px;
    color: #16749b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.store-product-body h2,
.store-product-body h3 {
    margin: 0 0 8px;
    color: #17324d;
    font-size: 19px;
    line-height: 1.35;
}

.store-product-body h2 a,
.store-product-body h3 a {
    color: inherit;
    text-decoration: none;
}

.store-product-body > p:not(.store-product-category) {
    color: #526878;
}

.store-button,
.store-admin-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid #12658a;
    border-radius: 7px;
    background: #12658a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.store-button:hover,
.store-button:focus-visible,
.store-admin-button:hover,
.store-admin-button:focus-visible {
    background: #0d4f70;
    color: #fff;
    text-decoration: none;
}

.store-button-secondary {
    border-color: #b9cbd5;
    background: #fff;
    color: #17435a;
}

.store-button-secondary:hover,
.store-button-secondary:focus-visible {
    border-color: #12658a;
    background: #f3f8fa;
    color: #12314a;
}

.store-page-heading {
    margin: 14px 0 20px;
}

.store-page-heading > p:last-child {
    max-width: 720px;
    color: #526878;
    font-size: 17px;
}

.store-breadcrumb {
    margin: 0 0 20px;
    padding: 10px 0;
    background: transparent;
}

.store-breadcrumb li {
    line-height: 1.5;
}

.store-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.store-pagination a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #b9cbd5;
    border-radius: 7px;
}

.store-empty {
    padding: 22px;
    border: 1px dashed #b9cbd5;
    border-radius: 8px;
    color: #526878;
}

.store-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.store-detail-image {
    align-self: start;
    max-height: 560px;
    border-radius: 10px;
}

.store-detail-content {
    min-width: 0;
}

.store-detail-content h1 {
    font-size: clamp(28px, 6vw, 38px);
}

.store-brand,
.store-description {
    color: #415a6c;
    font-size: 16px;
    line-height: 1.65;
}

.store-offers {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #dbe6ed;
    border-radius: 10px;
    background: #f8fbfc;
}

.store-offers h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.store-offers > p {
    color: #526878;
}

.store-offer-button {
    display: flex;
    width: 100%;
    margin-top: 12px;
}

.store-admin {
    padding-top: 26px;
    padding-bottom: 48px;
}

.store-admin-heading {
    margin-bottom: 22px;
}

.store-admin-heading > p:last-child {
    color: #526878;
}

.store-admin-marketplace,
.store-admin-panel {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #dbe6ed;
    border-radius: 10px;
    background: #fff;
}

.store-admin-marketplace-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
}

.store-admin-marketplace-row p {
    margin: 5px 0 0;
    color: #526878;
}

.store-admin-warning {
    margin: 12px 0 0;
    padding: 12px;
    border-left: 4px solid #d69e2e;
    background: #fffaf0;
    color: #674d16;
}

.store-admin-section {
    margin: 24px 0;
}

.store-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 16px 0 22px;
}

.store-admin-card {
    display: grid;
    min-height: 118px;
    gap: 4px;
    padding: 16px;
    border: 1px solid #dbe6ed;
    border-radius: 10px;
    color: #17324d;
}

.store-admin-card span {
    color: #12658a;
    font-size: 27px;
    font-weight: 700;
}

.store-admin-card small {
    color: #526878;
}

.store-admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.store-admin-nav a,
.store-admin-cancel {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    color: #17435a;
    text-decoration: none;
}

.store-admin-nav a[aria-current="page"] {
    background: #eaf5fb;
    font-weight: 700;
}

.store-admin-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.store-admin-form label {
    display: grid;
    gap: 6px;
    color: #304c60;
    font-weight: 700;
}

.store-admin-form input:not([type="checkbox"]),
.store-admin-form select,
.store-admin-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #b9cbd5;
    border-radius: 6px;
    background: #fff;
    color: #17324d;
    font-weight: 400;
}

.store-admin-form textarea {
    min-height: 90px;
}

.store-admin-form input:focus,
.store-admin-form select:focus,
.store-admin-form textarea:focus,
.store-admin-nav a:focus-visible,
.store-admin-button:focus-visible,
.store-button:focus-visible,
.store-pagination a:focus-visible {
    outline: 3px solid #8ac7e0;
    outline-offset: 2px;
}

.store-admin-form .store-admin-checkbox {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
}

.store-admin-checkbox input {
    width: 20px;
    height: 20px;
}

.store-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.store-admin-list {
    display: grid;
    gap: 10px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.store-admin-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe6ed;
    border-radius: 8px;
    background: #fff;
}

.store-admin-list-item > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.store-admin-list-item small {
    overflow-wrap: anywhere;
    color: #526878;
}

.store-status {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 20px;
    background: #eef2f5;
    color: #425869;
    font-size: 12px;
    font-weight: 700;
}

.store-admin-edit {
    flex: 0 0 auto;
}

@media (min-width: 600px) {
    .store-category-grid,
    .store-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .store-admin-form > label:has(textarea),
    .store-admin-actions,
    .store-admin-warning {
        grid-column: 1 / -1;
    }

    .store-admin-marketplace-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 900px) {
    .store-hero {
        padding: 70px 0 64px;
    }

    .store-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .store-detail {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
        gap: 38px;
    }
}

@media (min-width: 1200px) {
    .store-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .store-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
