:root {
    --ink: #121821;
    --muted: #566273;
    --line: #d7dde5;
    --surface: #ffffff;
    --panel: #f4f7fa;
    --blue: #0a64bc;
    --green: #167452;
    --amber: #a95e00;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: #eef3f8;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: var(--blue);
}

.shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}

.shell.narrow {
    width: min(680px, calc(100% - 32px));
}

.masthead {
    max-width: 760px;
    margin: 28px 0 32px;
}

.store-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.store-nav a:first-child {
    color: var(--ink);
    font-weight: 700;
}

.eyebrow,
.sku {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro {
    max-width: 68ch;
    margin: 16px 0 0;
    font-size: 1.08rem;
}

h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.05;
}

h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.3;
}

p {
    color: var(--muted);
    line-height: 1.55;
}

.store-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    background: var(--line);
}

.store-benefits div {
    display: grid;
    gap: 6px;
    padding: 16px;
    background: var(--surface);
}

.store-benefits strong {
    font-size: 0.95rem;
}

.store-benefits span,
.format-note,
.store-contact {
    color: var(--muted);
    font-size: 0.9rem;
}

.catalog {
    display: grid;
    gap: 14px;
}

.product {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) minmax(150px, 180px);
    gap: 24px;
    align-items: start;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(18, 24, 33, 0.06);
}

.product-cover {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    background: #10243e;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(18, 24, 33, 0.16);
}

.product-cover--year {
    background: #0a64bc;
}

.product-cover--bilingual {
    background: #1f5758;
}

.product-cover--month {
    background: #7c4a08;
}

.cover-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 27px;
    font-size: 0.72rem;
    font-weight: 700;
}

.cover-brand img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cover-kicker {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cover-count {
    display: block;
    margin-top: 7px;
    font-size: 1.45rem;
    line-height: 1.12;
}

.cover-language,
.cover-format {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    line-height: 1.35;
}

.cover-language {
    margin-top: auto;
}

.cover-rule {
    display: block;
    width: 42px;
    height: 4px;
    margin: 13px 0 10px;
    background: #f2b632;
}

.cover-format {
    font-size: 0.7rem;
}

.product-copy {
    min-width: 0;
}

.product-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-heading-row .sku {
    margin-bottom: 0;
}

.product-count {
    padding: 5px 8px;
    border: 1px solid #c5d7e7;
    border-radius: 999px;
    color: var(--blue);
    background: #f2f7fb;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-copy h2 {
    margin-top: 12px;
    font-size: 1.3rem;
}

.product-copy > p {
    margin-top: 0;
}

.product-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.product-facts li {
    min-width: 0;
    padding: 10px;
    border-top: 3px solid #dfe8f0;
    background: var(--panel);
}

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

.product-facts strong {
    color: var(--ink);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-facts span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.product-topics,
.product-terms {
    border-top: 1px solid var(--line);
}

.product-topics summary,
.product-terms summary {
    padding: 12px 0;
    cursor: pointer;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
}

.topic-note {
    margin: 0 0 10px;
    font-size: 0.86rem;
}

.topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 20px;
    margin: 0 0 16px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.product-terms p {
    margin: 0 0 10px;
    font-size: 0.84rem;
}

.product-terms p:last-child {
    margin-bottom: 16px;
}

.format-note {
    margin-top: 12px;
}

.product-actions {
    display: grid;
    gap: 12px;
    min-width: 0;
    align-self: stretch;
    align-content: start;
    justify-items: stretch;
    padding-left: 20px;
    border-left: 1px solid var(--line);
    text-align: right;
}

.price-note,
.delivery-note {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.product-actions strong {
    color: var(--ink);
    font-size: 1.45rem;
}

.delivery-note {
    margin-top: -4px;
}

button,
.button-link {
    display: inline-grid;
    place-items: center;
    min-width: 136px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.status {
    min-height: 28px;
    color: var(--amber);
    font-weight: 700;
}

.store-faq {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}

.store-faq h2 {
    margin: 28px 0 8px;
}

.store-faq details {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.store-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.store-faq details p {
    max-width: 72ch;
    margin: 12px 0 0;
}

.store-contact {
    margin-top: 28px;
}

.store-policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.store-policies span { color: var(--ink); font-weight: 700; }
.store-policies a { color: var(--muted); }
.store-policies a:hover { color: var(--blue); }

@media (max-width: 680px) {
    h1 {
        font-size: 2.25rem;
    }

    .shell {
        width: min(100% - 24px, 1040px);
        padding: 28px 0;
    }

    .product {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-cover {
        width: 136px;
        min-height: 182px;
    }

    .product-actions {
        align-self: auto;
        justify-items: stretch;
        padding: 16px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
        text-align: left;
    }

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

    .product-facts,
    .topic-list {
        grid-template-columns: 1fr;
    }

    button,
    .button-link {
        width: 100%;
    }
}
