.shop-page {
    min-height: 100vh;
}

.shop-main {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 72px;
}

.shop-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(231,190,94,.2);
}

.shop-eyebrow,
.shop-count {
    color: #d6b66c;
    font: 10px var(--mono);
    letter-spacing: 1.2px;
}

.shop-heading h1 {
    margin: 10px 0 6px;
    color: var(--paper);
    font-size: 34px;
    line-height: 1.15;
}

.shop-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.shop-count {
    padding: 9px 11px;
    border: 1px solid rgba(231,190,94,.24);
    border-radius: 4px;
    white-space: nowrap;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 20px;
}

.shop-filters {
    display: inline-flex;
    gap: 3px;
    margin-top: 18px;
    padding: 4px;
    border: 1px solid rgba(231,190,94,.2);
    border-radius: 5px;
    background: rgba(12,10,7,.62);
}

.shop-filters button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.shop-filters button[aria-pressed="true"] {
    border-color: rgba(231,190,94,.28);
    background: rgba(231,190,94,.12);
    color: var(--gold-bright);
}

.shop-filters button span {
    color: #d6b66c;
    font: 9px var(--mono);
}

.shop-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(231,190,94,.2);
    border-radius: 6px;
    background: linear-gradient(150deg, rgba(39,31,21,.94), rgba(18,15,11,.98));
}

.shop-item[hidden] {
    display: none;
}

.shop-item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #282116;
}

.shop-item-image::after {
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, transparent, rgba(14,11,7,.62));
    content: "";
    pointer-events: none;
}

.shop-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.shop-gallery {
    min-width: 0;
    background: rgba(7,6,4,.35);
}

.shop-item:hover .shop-item-image img {
    transform: scale(1.035);
}

.shop-image-mid img {
    object-position: 58% center;
}

.shop-image-close img {
    object-position: 72% center;
}

.shop-item-kind {
    position: absolute;
    z-index: 1;
    left: 12px;
    bottom: 12px;
    color: #fff0c7;
    font: 9px var(--mono);
    letter-spacing: 1px;
}

.shop-item-image .shop-coming-soon {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    padding: 5px 7px;
    border: 1px solid rgba(255,239,185,.4);
    border-radius: 3px;
    background: rgba(15,12,8,.72);
    color: #e7d29b;
}

.shop-gallery-thumbs {
    display: flex;
    gap: 5px;
    padding: 7px 9px;
    border-bottom: 1px solid rgba(231,190,94,.12);
}

.shop-gallery-thumbs button {
    width: 40px;
    height: 30px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(231,190,94,.22);
    border-radius: 3px;
    background: #211b11;
    cursor: pointer;
}

.shop-gallery-thumbs button[aria-pressed="true"] {
    border-color: #dfbd70;
    box-shadow: 0 0 0 1px rgba(223,189,112,.22);
}

.shop-gallery-thumbs button:focus-visible,
.shop-filters button:focus-visible,
.shop-notify-button:focus-visible,
.shop-notify-close:focus-visible,
.shop-notify-submit:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

.shop-gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-item-info {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 15px;
}

.shop-item-info h2 {
    margin: 0;
    color: var(--paper);
    font-size: 15px;
    line-height: 1.35;
}

.shop-item-info p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.shop-item-details {
    border-top: 1px solid rgba(231,190,94,.14);
    border-bottom: 1px solid rgba(231,190,94,.14);
}

.shop-item-details summary {
    padding: 10px 0;
    color: #ddc483;
    font-size: 11px;
    cursor: pointer;
}

.shop-item-details dl {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 0 11px;
}

.shop-item-details dl div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
}

.shop-item-details dt {
    color: var(--muted);
}

.shop-item-details dd {
    margin: 0;
    color: var(--paper);
    text-align: right;
}

.shop-coming-soon {
    justify-self: start;
    padding: 6px 8px;
    border: 1px solid rgba(168,202,137,.34);
    border-radius: 3px;
    color: #c9dfaa;
    font: 9px var(--mono);
    letter-spacing: .8px;
}

.shop-notify-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(231,190,94,.36);
    border-radius: 4px;
    background: rgba(231,190,94,.1);
    color: var(--gold-bright);
    font-size: 11px;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}

.shop-notify-button:hover {
    border-color: rgba(231,190,94,.7);
    background: rgba(231,190,94,.18);
}

.shop-empty {
    padding: 28px 0;
    color: var(--muted);
    font-size: 13px;
}

.shop-notify-dialog {
    width: min(440px, calc(100% - 32px));
    max-height: min(90vh, 680px);
    overflow: auto;
    padding: 0;
    border: 1px solid rgba(231,190,94,.35);
    border-radius: 7px;
    background: linear-gradient(145deg, #211b11, #12100c);
    color: var(--paper);
    box-shadow: 0 24px 80px rgba(0,0,0,.58);
}

.shop-notify-dialog::backdrop {
    background: rgba(7,6,4,.78);
    backdrop-filter: blur(4px);
}

.shop-notify-dialog form {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 26px;
}

.shop-notify-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(231,190,94,.24);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-size: 19px;
}

.shop-notify-dialog h2 {
    margin: 0;
    padding-right: 25px;
    font-size: 21px;
    line-height: 1.35;
}

.shop-notify-dialog form > p:not(.shop-notify-status) {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.shop-email-label {
    color: #ddc483;
    font-size: 11px;
}

.shop-email-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(231,190,94,.25);
    border-radius: 4px;
    background: #100e0a;
    color: var(--paper);
    font-size: 13px;
}

.shop-email-input:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

.shop-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.shop-consent input {
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: #c9a755;
}

.shop-honeypot {
    position: absolute;
    left: -9999px;
}

.shop-notify-submit {
    min-height: 42px;
    border: 1px solid #d4b466;
    border-radius: 4px;
    background: linear-gradient(115deg, #9b6e22, #c69638 48%, #805916);
    color: #211809;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.shop-notify-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.shop-notify-status {
    min-height: 18px;
    margin: 0;
    color: #d8c88f;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-main {
        width: min(100% - 32px, 440px);
        padding: 28px 0 48px;
    }

    .shop-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
    }

    .shop-heading h1 {
        font-size: 29px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-item {
        display: grid;
        grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
    }

    .shop-item-image {
        aspect-ratio: 1 / 1;
    }

    .shop-item-info {
        align-content: center;
        padding: 13px;
    }

    .shop-gallery-thumbs {
        justify-content: center;
        padding: 6px 5px;
    }

    .shop-gallery-thumbs button {
        width: 32px;
        height: 25px;
    }

    .shop-notify-dialog form {
        padding: 24px 20px;
    }
}