.masthead .store-trigger { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: #f7f9fc; box-shadow: none; flex-shrink: 0; color: #141c2c; margin-left: auto; }
.masthead .store-trigger:hover { color: #141c2c; }
.store-disclosure { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #f5f8fd; margin: 24px 0; font-size: 13px; line-height: 1.9; }
.store-disclosure p { margin: 8px 0 0; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.store-card { border: 1px solid var(--line); border-radius: 10px; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.store-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: 9px 9px 0 0; }
.store-card h2 { font-size: 20px; margin: 18px 18px 10px; overflow-wrap: anywhere; }
.store-card p { font-size: 14px; line-height: 1.9; margin: 0 18px 18px; overflow-wrap: anywhere; }
.store-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 18px 18px; }
.store-product { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); align-items: start; gap: 40px; margin: 30px 0; }
.store-product-image { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border: 1px solid var(--line); border-radius: 10px; }
.store-product h1 { font-size: 30px; overflow-wrap: anywhere; }
.store-product-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2; margin: 24px 0; }
.store-product .muted { font-size: 12px; margin-top: 14px; }
@media (max-width: 767px) {
    .masthead .store-trigger { position: absolute; right: 62px; top: 29px; width: 40px; height: 40px; }
    .masthead .brand { max-width: calc(100% - 160px); }
    .masthead .site-brand-logo { max-width: 100%; height: auto; max-height: 90px; }
    .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .store-card h2 { font-size: 16px; margin: 12px 12px 10px; }
    .store-card p { margin: 0 12px 12px; }
    .store-card-actions { flex-wrap: wrap; margin: auto 12px 12px; }
    .store-product { grid-template-columns: 1fr; gap: 24px; }
}

.store-card > a { display: block; }
.store-card-actions .store-buy-button { width: 100%; }
.store-buy-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid #e68a00; border-radius: 8px; background: #ff9900; color: #111827; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; line-height: 20px; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.store-buy-button:hover { background: #f08c00; border-color: #d77d00; color: #111827; }
.store-buy-button:focus-visible { outline: 3px solid #b86e00; outline-offset: 3px; }
.store-buy-button > span { display: block; line-height: 20px; }
.store-buy-button .icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; align-self: center; vertical-align: initial; }
.store-product .store-buy-button { min-width: 180px; }
@media (max-width: 767px) { .store-product .store-buy-button { width: 100%; } }

@media (max-width: 767px) { .store-card-actions .store-buy-button { padding: 12px 8px; gap: 6px; font-size: 13px; } }

@media (max-width: 767px) {
    .masthead { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px 40px; column-gap: 8px; row-gap: 0; align-items: center; padding: 10px 14px 0; }
    .masthead .menu-button { position: static; grid-column: 1; grid-row: 1; width: 40px; height: 40px; margin: 0; }
    .masthead .brand { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; max-width: none; height: 82px; margin: 0; padding: 0; }
    .masthead .site-brand-logo { width: 100%; max-width: 200px; height: auto; max-height: 82px; object-fit: contain; }
    .masthead .store-trigger { position: static; grid-column: 3; grid-row: 1; margin: 0; }
    .masthead .search-trigger { position: static; grid-column: 4; grid-row: 1; margin: 0; }
    .masthead .category-nav { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
}
