/* ========================================
   REGISTA STORE PAGE
======================================== */

.store-hero {
    min-height: 430px;
    padding: 150px 24px 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 18, 32, 0.84),
            rgba(7, 18, 32, 0.94)
        );

    color: #ffffff;
}

.store-hero-content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.store-hero .eyebrow {
    margin: 0 0 16px;

    color: #d4b75c;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.store-hero h1 {
    margin: 0 0 22px;

    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -2px;
}

.store-hero-description {
    max-width: 650px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1.05rem;
    line-height: 1.8;
}


/* ========================================
   STORE SECTION
======================================== */

.store-section {
    padding: 95px 24px;
    background: #f5f4ef;
}

.store-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.store-heading {
    max-width: 700px;
    margin-bottom: 46px;
}

.store-heading .section-kicker,
.store-help .section-kicker {
    margin: 0 0 12px;

    color: #a78638;

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.store-heading h2 {
    margin: 0 0 14px;

    color: #0b1a2d;

    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.store-heading p:last-child {
    margin: 0;

    color: #59616b;
    line-height: 1.75;
}

.store-status {
    margin: 0 0 26px;
    padding: 18px 20px;

    color: #59616b;
    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(11, 26, 45, 0.1);
    border-radius: 8px;
}

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

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


/* ========================================
   PRODUCT GRID
======================================== */

.product-grid {
    display: grid;
    gap: 48px;
}

.product-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(11, 26, 45, 0.1);
    border-radius: 8px;

    box-shadow: 0 28px 70px rgba(11, 26, 45, 0.1);
}

.product-image-area {
    min-height: 640px;
    padding: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ececea;
}

.product-image {
    width: 100%;
    max-width: 520px;
    max-height: 550px;

    object-fit: contain;
}

.product-details {
    padding: 68px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-label {
    margin: 0 0 12px;

    color: #a78638;

    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-details h2 {
    margin: 0 0 18px;

    color: #0b1a2d;

    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.04;
}

.product-price {
    margin: 0 0 28px;

    color: #0b1a2d;

    font-size: 1.7rem;
    font-weight: 700;
}

.product-description {
    margin: 0 0 30px;

    color: #59616b;

    font-size: 1rem;
    line-height: 1.8;
}




/* ========================================
   PRODUCT FEATURES
======================================== */

.product-features {
    margin: 0 0 34px;
    padding: 0;

    list-style: none;
}

.product-features li {
    position: relative;

    margin-bottom: 13px;
    padding-left: 28px;

    color: #35404b;

    line-height: 1.6;
}

.product-features li:last-child {
    margin-bottom: 0;
}

.product-features li::before {
    position: absolute;
    top: 0;
    left: 0;

    color: #a78638;

    content: "✓";

    font-weight: 900;
}


/* ========================================
   SIZE SELECTOR
======================================== */

.size-section {
    margin-bottom: 28px;
}

.size-section h3 {
    margin: 0 0 14px;

    color: #0b1a2d;

    font-size: 0.8rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

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

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.size-option label {
    min-width: 68px;
    padding: 12px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #0b1a2d;
    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(11, 26, 45, 0.22);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.size-option label:hover {
    border-color: #a78638;
    transform: translateY(-1px);
}

.size-option input:focus-visible + label {
    outline: 3px solid rgba(167, 134, 56, 0.25);
    outline-offset: 2px;
}

.size-option input:checked + label {
    color: #ffffff;

    background: #0b1a2d;
    border-color: #0b1a2d;
}

.size-option input:disabled + label {
    color: #8a8f94;

    background:
        linear-gradient(
            to bottom right,
            transparent 47%,
            rgba(11, 26, 45, 0.18) 48%,
            rgba(11, 26, 45, 0.18) 52%,
            transparent 53%
        ),
        #f3f3f1;

    border-color: rgba(11, 26, 45, 0.12);

    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
}

.size-option input:disabled + label:hover {
    border-color: rgba(11, 26, 45, 0.12);
    transform: none;
}

.size-option-sold-out {
    display: block;
    margin-top: 5px;

    color: #8a1f1f;

    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.selected-size-message {
    min-height: 24px;
    margin: 14px 0 0;

    color: #59616b;

    font-size: 0.9rem;
    line-height: 1.5;
}

.selected-size-message strong {
    color: #0b1a2d;
}

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

.selected-size-message.success {
    color: #27613c;
}


/* ========================================
   BUTTONS AND NOTES
======================================== */

.store-buy-button {
    width: 100%;
    max-width: 340px;
    padding: 16px 24px;

    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    background: #0b1a2d;

    border: none;
    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.store-buy-button:not(:disabled):hover {
    background: #182d48;
    transform: translateY(-2px);
}

.store-buy-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.store-note {
    max-width: 430px;
    margin: 16px 0 0;

    color: #7a8188;

    font-size: 0.82rem;
    line-height: 1.6;
}

.product-sold-out {
    width: 100%;
    max-width: 340px;
    padding: 16px 24px;

    color: #8a1f1f;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-align: center;
    text-transform: uppercase;

    background: #fff4f4;

    border: 1px solid rgba(138, 31, 31, 0.2);
}


/* ========================================
   HELP SECTION
======================================== */

.store-help {
    padding: 80px 24px;

    text-align: center;
    background: #ffffff;
}

.store-help-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.store-help h2 {
    margin: 0 0 16px;

    color: #0b1a2d;

    font-size: clamp(2rem, 4vw, 3.2rem);
}

.store-help p {
    margin: 0 0 30px;

    color: #59616b;
    line-height: 1.75;
}

.store-contact-button {
    padding: 15px 25px;

    display: inline-block;

    color: #ffffff;
    font-weight: 800;
    text-decoration: none;

    background: #0b1a2d;
}

.store-contact-button:hover {
    background: #182d48;
}


/* ========================================
   EMPTY STATE
======================================== */

.store-empty {
    padding: 48px 30px;

    color: #59616b;
    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(11, 26, 45, 0.1);
    border-radius: 8px;
}

.store-empty h3 {
    margin: 0 0 12px;

    color: #0b1a2d;

    font-size: 1.6rem;
}

.store-empty p {
    margin: 0;

    line-height: 1.7;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {
    .product-card {
        grid-template-columns: 1fr;
    }

    .product-image-area {
        min-height: 480px;
    }

    .product-details {
        padding: 54px 40px;
    }
}

@media (max-width: 640px) {
    .store-hero {
        min-height: 370px;
        padding: 130px 20px 65px;
    }

    .store-section {
        padding: 72px 18px;
    }

    .store-heading {
        margin-bottom: 34px;
    }

    .product-grid {
        gap: 34px;
    }

    .product-image-area {
        min-height: 375px;
        padding: 28px;
    }

    .product-details {
        padding: 42px 25px;
    }

    .size-option label {
        min-width: 62px;
        padding: 11px 12px;
    }

    .store-buy-button,
    .product-sold-out {
        max-width: none;
    }

    .store-help {
        padding: 64px 20px;
    }
}