/* Storefront styles */
.storefront-page .btn-cta.btn-primary-amber {
    border-color: var(--accent-amber);
    border-radius: 5px;
    background: var(--accent-amber);
    box-shadow: none;
    color: #191a16;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
}

.storefront-page .btn-cta.btn-primary-amber:hover,
.storefront-page .btn-cta.btn-primary-amber:focus-visible {
    border-color: #f0c77f;
    background: #f0c77f;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    color: #191a16;
    transform: translateY(-1px);
}

.storefront-page {
    color: var(--text-main);
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
    padding: 2rem 0 4rem;
}

.shop-hero-copy {
    max-width: 600px;
}

.shop-kicker {
    margin: 0 0 0.85rem;
    color: var(--accent-amber);
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.shop-hero h1 {
    max-width: 12ch;
    margin: 0 0 1.2rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: clamp(2.8rem, 5vw, 4.3rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1.02;
}

.shop-lead {
    max-width: 36rem;
    margin: 0;
    color: var(--text-dim);
    font-size: 1.08rem;
    line-height: 1.75;
}

.shop-hero-note {
    margin: 1.35rem 0 0;
    color: #c2c9bf;
    font-size: 0.82rem;
}

.shop-hero-note span {
    padding: 0 0.35rem;
    color: var(--accent-cyan);
}

.shop-offer {
    width: 100%;
    max-width: 410px;
    justify-self: end;
    padding: 1.5rem 1.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-amber);
    background: #18201b;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.shop-offer-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-dim);
    font-family: var(--font-code);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-offer-heading span:last-child {
    color: var(--accent-cyan);
}

.shop-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0.95rem 0 1.1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.shop-price span {
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1;
}

.shop-inclusions {
    margin: 0 0 1.35rem;
    padding: 0;
    border-top: 1px solid var(--border-color);
    list-style: none;
}

.shop-inclusions li {
    position: relative;
    padding: 0.68rem 0 0.68rem 1.35rem;
    border-bottom: 1px solid var(--border-color);
    color: #d0d4ca;
    font-size: 0.84rem;
    line-height: 1.45;
}

.shop-inclusions li::before {
    position: absolute;
    left: 0.15rem;
    color: var(--accent-cyan);
    content: "✓";
}

.shop-buy-button {
    width: 100%;
    text-decoration: none;
}

.shop-offer-note {
    margin: 0.75rem 0 0;
    color: var(--text-dim);
    font-size: 0.72rem;
    text-align: center;
}

.shop-progress {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: start;
    padding: 2.4rem 0 2.6rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.shop-section-intro {
    max-width: 38rem;
}

.shop-section-intro h2,
.shop-preview h2,
.shop-gift h2,
.shop-close h2 {
    margin: 0 0 0.75rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.18;
}

.shop-section-intro > p:last-child,
.shop-preview-copy > p:not(.shop-kicker),
.shop-gift-copy p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}

.shop-progress-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.shop-progress-options > div {
    padding-left: 1.15rem;
    border-left: 2px solid rgba(131, 205, 188, 0.5);
}

.shop-option-label,
.shop-benefit-index {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--accent-cyan);
    font-family: var(--font-code);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-progress-options strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.shop-progress-options p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.55;
}

.shop-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 3.3rem 0 3.6rem;
    border-bottom: 1px solid var(--border-color);
}

.shop-benefits article {
    min-width: 0;
    padding: 0 1.5rem 1.4rem 0;
}

.shop-benefits article + article {
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

.shop-benefits h2 {
    margin: 0 0 0.45rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1.04rem;
    font-weight: 600;
}

.shop-benefits p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.84rem;
    line-height: 1.6;
}

.shop-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: 0 0 3.8rem;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 6rem;
}

.shop-preview-copy > p:not(.shop-kicker) {
    margin-bottom: 1.2rem;
}

.shop-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shop-topics span {
    padding: 0.34rem 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: #c4cbc2;
    font-size: 0.69rem;
}

.shop-artifact {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(193, 211, 197, 0.18);
    border-radius: 5px;
    background: #0c100e;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.shop-artifact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(193, 211, 197, 0.15);
    background: rgba(255, 255, 255, 0.025);
    color: #a5afa5;
    font-family: var(--font-code);
    font-size: 0.7rem;
}

.shop-artifact-mark {
    display: flex;
    gap: 0.35rem;
}

.shop-artifact-mark i {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #728078;
}

.shop-artifact-mark i:first-child {
    background: #ca8970;
}

.shop-artifact-mark i:nth-child(2) {
    background: #d3ad68;
}

.shop-artifact-mark i:last-child {
    background: #7b9d7f;
}

.shop-artifact pre {
    max-width: 100%;
    margin: 0;
    padding: 1.15rem;
    overflow-x: auto;
    border: 0;
    background: transparent;
    color: #d6d9cf;
    font-size: clamp(0.61rem, 0.9vw, 0.76rem);
    line-height: 1.75;
}

.shop-code-muted {
    color: #879188;
}

.shop-code-amber {
    color: #e2b46b;
}

.shop-code-green {
    color: #83cdbc;
}

.shop-faq {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 3.5rem;
    align-items: start;
    padding: 3.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.shop-faq-intro {
    position: sticky;
    top: 6rem;
}

.shop-faq-list {
    display: flex;
    flex-direction: column;
}

.shop-faq .faq-item {
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
}

.shop-faq .faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.shop-faq .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}

.shop-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.shop-faq .faq-item summary::after {
    flex: 0 0 auto;
    color: var(--accent-cyan);
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
}

.shop-faq .faq-item[open] summary::after {
    content: "−";
}

.shop-faq .faq-item summary:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
}

.shop-faq .faq-item p {
    margin: 0.75rem 2rem 0 0;
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.7;
}

.shop-gift {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 3.5rem;
    align-items: start;
    padding: 2.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.shop-gift-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.shop-text-link,
.shop-demo-invitation a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.shop-text-link span,
.shop-demo-invitation span {
    color: var(--accent-cyan);
    transition: transform 0.2s ease;
}

.shop-text-link:hover span,
.shop-demo-invitation a:hover span {
    transform: translateX(3px);
}

.shop-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 1.6rem 1.8rem;
    border-left: 3px solid var(--accent-amber);
    background: rgba(226, 180, 107, 0.055);
}

.shop-close h2 {
    margin-bottom: 0.35rem;
}

.shop-close > div > p:last-child {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.shop-close .btn-cta {
    flex: 0 0 auto;
    text-decoration: none;
}

.shop-demo-invitation {
    padding: 1.15rem 0 0.25rem;
    text-align: center;
}

.shop-demo-invitation a {
    color: var(--text-dim);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .shop-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.25rem;
        padding-top: 1.25rem;
    }

    .shop-hero-copy {
        max-width: 44rem;
    }

    .shop-offer {
        max-width: 100%;
        justify-self: stretch;
    }

    .shop-progress,
    .shop-faq,
    .shop-gift {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .shop-faq-intro {
        position: static;
    }

    .shop-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .shop-hero {
        gap: 1.75rem;
        padding: 0.75rem 0 3rem;
    }

    .shop-hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.7rem);
    }

    .shop-lead {
        font-size: 1rem;
    }

    .shop-offer {
        padding: 1.25rem 1rem 1rem;
    }

    .shop-progress {
        padding: 1.8rem 0;
    }

    .shop-progress-options {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .shop-benefits {
        grid-template-columns: 1fr;
        margin: 2.4rem 0;
    }

    .shop-benefits article,
    .shop-benefits article + article {
        padding: 1rem 0;
        border-left: 0;
    }

    .shop-benefits article + article {
        border-top: 1px solid var(--border-color);
    }

    .shop-preview {
        padding-bottom: 2.5rem;
    }

    .shop-artifact pre {
        padding: 0.9rem;
        font-size: 0.64rem;
    }

    .shop-faq {
        gap: 1.2rem;
        padding: 2.6rem 0;
    }

    .shop-gift {
        gap: 0.8rem;
        padding: 2rem 0;
    }

    .shop-close {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.15rem;
        padding: 1.35rem 1.1rem;
    }

    .shop-close .btn-cta {
        width: 100%;
    }
}
