.store-hero {
    position: relative;
    min-height: 710px;
    padding: 168px max(24px, calc((100vw - 1240px) / 2)) 160px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 36%, rgba(213,170,66,.16), transparent 30%),
        linear-gradient(135deg, #031426, #082744 70%, #0c3557);
}

.store-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, black, transparent 82%);
}

.store-hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.store-hero .eyebrow {
    margin-bottom: 26px;
}

.store-hero h1 {
    margin: 0 0 30px;
    font-size: clamp(70px, 9.2vw, 132px);
    line-height: .82;
    letter-spacing: -.07em;
}

.store-hero h1 em {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.store-hero-content > p:last-child {
    max-width: 610px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 19px;
    line-height: 1.7;
}

.store-hero-shape {
    position: absolute;
    top: 50%;
    right: 8vw;
    width: min(34vw, 470px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    transform: translateY(-50%);
}

.store-hero-shape::before,
.store-hero-shape::after,
.store-hero-shape span {
    position: absolute;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}

.store-hero-shape::before { inset: 14%; }
.store-hero-shape::after { inset: 29%; }
.store-hero-shape span { inset: 44%; background: rgba(213,170,66,.16); }

.store-ribbon {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 24px max(24px, calc((100vw - 1240px) / 2));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(3,17,33,.68);
    backdrop-filter: blur(18px);
}

.store-ribbon span {
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.store-ribbon span + span {
    padding-left: 34px;
    border-left: 1px solid rgba(255,255,255,.12);
}

.store-ribbon small {
    margin-bottom: 7px;
    display: block;
    color: rgba(255,255,255,.42);
    font-size: 8px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.store-section {
    padding: 128px 24px;
    background: var(--background);
}

.store-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.store-heading {
    margin-bottom: 56px;
    display: grid;
    grid-template-columns: 1fr .76fr;
    align-items: end;
    gap: 80px;
}

.store-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(52px, 6.6vw, 84px);
    line-height: .9;
    letter-spacing: -.06em;
}

.store-heading-copy > p {
    margin: 0 0 26px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.product-filters button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    background: var(--white);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.product-filters button.is-active {
    border-color: var(--navy);
    color: var(--white);
    background: var(--navy);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.store-status {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-soft);
    background: var(--white);
    text-align: center;
}

.store-status[hidden] {
    display: none;
}

.store-status.error {
    color: #8a1f1f;
    border-color: rgba(138,31,31,.18);
    background: #fff5f5;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 24px 60px rgba(7,29,56,.1);
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(7,29,56,.15);
}

.product-card[hidden] {
    display: none;
}

.product-image-area {
    position: relative;
    min-height: 520px;
    padding: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #eeefed, #e3e6e6);
}

.product-card[data-color="blue"] .product-image-area {
    background: linear-gradient(145deg, #e9f3f5, #dce9ed);
}

.product-image-area::after {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(7,29,56,.07);
    border-radius: 50%;
    content: "";
}

.product-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 430px;
    object-fit: contain;
    /* Blend the source photo's white backdrop into the product panel. */
    mix-blend-mode: multiply;
    transition: transform .4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.035) rotate(-1deg);
}

.product-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.product-details {
    flex: 1;
    padding: 38px 38px 42px;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-label {
    margin: 0;
    color: #9b7626;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.product-swatch {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(7,29,56,.16);
    border-radius: 50%;
    background: #f7f7f5;
}

.product-card[data-color="blue"] .product-swatch {
    background: #b8dfe9;
}

.product-details h2 {
    margin: 13px 0 8px;
    color: var(--navy);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.product-price {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.product-description {
    margin: 0 0 24px;
    color: var(--text-soft);
    line-height: 1.7;
}

.product-features {
    margin: 0 0 28px;
    padding: 22px 0 0;
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--border);
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-soft);
    font-size: 13px;
}

.product-features li::before {
    position: absolute;
    left: 0;
    color: var(--gold);
    content: "✓";
    font-weight: 900;
}

.product-stock {
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(7,29,56,.12);
    border-radius: 999px;
    color: rgba(7,29,56,.56);
    background: var(--background);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.size-section {
    margin-top: auto;
}

.size-section h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.size-option label {
    min-width: 64px;
    min-height: 42px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    background: var(--white);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.size-option input:checked + label {
    color: var(--white);
    border-color: var(--navy);
    background: var(--navy);
}

.size-option input:focus-visible + label {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

.size-option input:disabled + label {
    color: rgba(7,29,56,.38);
    background: linear-gradient(to bottom right, transparent 47%, rgba(7,29,56,.14) 48%, rgba(7,29,56,.14) 52%, transparent 53%), var(--background);
    cursor: not-allowed;
}

.size-option-sold-out {
    display: none;
}

.selected-size-message {
    min-height: 22px;
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 12px;
}

.selected-size-message.error {
    color: #8a1f1f;
}

.store-buy-button,
.product-sold-out {
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--navy);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.store-buy-button:not(:disabled) {
    cursor: pointer;
}

.store-buy-button:disabled {
    opacity: .42;
}

.product-sold-out {
    color: rgba(7,29,56,.56);
    border: 1px solid var(--border);
    background: var(--background);
}

.store-note {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.6;
}

.store-promise {
    padding: 0 24px 110px;
    background: var(--background);
}

.store-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.store-promise-grid > div {
    padding: 34px;
}

.store-promise-grid > div + div {
    border-left: 1px solid var(--border);
}

.store-promise-grid span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.store-promise-grid strong {
    margin: 26px 0 8px;
    display: block;
    color: var(--navy);
    font-size: 20px;
}

.store-promise-grid p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.store-help {
    padding: 110px 24px;
    text-align: center;
    color: var(--white);
    background: var(--navy);
}

.store-help-content {
    width: min(720px, 100%);
    margin: 0 auto;
}

.store-help h2 {
    margin: 0 0 18px;
    font-size: clamp(44px, 5.6vw, 70px);
    line-height: 1;
    letter-spacing: -.05em;
}

.store-help p:not(.section-kicker) {
    margin: 0 auto 32px;
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .store-hero-shape { right: -18vw; width: 60vw; }
    .store-heading { grid-template-columns: 1fr; gap: 34px; }
    .product-image-area { min-height: 440px; }
    .product-image { height: 360px; }
}

@media (max-width: 680px) {
    .store-hero { min-height: 680px; padding: 128px 18px 150px; }
    .store-hero h1 { font-size: clamp(64px, 19vw, 88px); }
    .store-hero-shape { right: -45vw; width: 95vw; }
    .store-ribbon { padding: 18px; grid-template-columns: 1fr 1fr; }
    .store-ribbon span:nth-child(3) { display: none; }
    .store-ribbon span + span { padding-left: 18px; }
    .store-section { padding: 88px 16px; }
    .store-heading h2 { font-size: 56px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-image-area { min-height: 390px; padding: 24px; }
    .product-image { height: 325px; }
    .product-details { padding: 30px 26px 34px; }
    .store-promise { padding: 0 16px 80px; }
    .store-promise-grid { grid-template-columns: 1fr; }
    .store-promise-grid > div + div { border-top: 1px solid var(--border); border-left: 0; }
}
