:root {
    --product-paper: #f7f3ee;
    --product-ink: #141414;
    --product-muted: #5f5a52;
    --product-card: #ffffff;
    --product-border: rgba(20, 20, 20, 0.1);
    --product-shadow: 0 20px 45px -30px rgba(20, 20, 20, 0.45);
}

body.product-page {
    background-color: var(--product-paper);
    background-image:
        radial-gradient(circle at 12% 12%, rgba(255, 169, 64, 0.12), transparent 40%),
        radial-gradient(circle at 88% 10%, rgba(20, 20, 20, 0.08), transparent 45%),
        repeating-linear-gradient(90deg, rgba(20, 20, 20, 0.035) 0, rgba(20, 20, 20, 0.035) 1px, transparent 1px, transparent 120px),
        repeating-linear-gradient(0deg, rgba(20, 20, 20, 0.03) 0, rgba(20, 20, 20, 0.03) 1px, transparent 1px, transparent 120px);
    color: var(--product-ink);
}

.product-page .nav {
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.product-page .lang-switcher {
    flex-shrink: 0;
}

.hero {
    padding: 4.5rem 1rem 3.5rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--product-muted);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0.75rem 0 1rem;
}

.hero-lede {
    font-size: 1.125rem;
    color: var(--product-muted);
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.meta-pill {
    border: 1px dashed rgba(20, 20, 20, 0.4);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    color: var(--product-ink);
    background: rgba(255, 255, 255, 0.7);
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--product-muted);
}

.kit-contents-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    color: var(--product-ink);
    text-align: left;
}

.kit-contents-link img {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    object-fit: contain;
    border-radius: 0.5rem;
}

.kit-contents-link span {
    font-size: 0.9rem;
    text-decoration: underline;
}

.price-currency {
    font-size: 1rem;
}

.checkout-facts {
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--product-border);
    font-size: 0.875rem;
    color: var(--product-muted);
}

.checkout-facts p {
    margin: 0;
}

.checkout-facts a {
    color: var(--product-ink);
    text-decoration: underline;
}

.kit-preview-card {
    padding: 1.75rem;
    background: var(--product-card);
    border: 1px solid var(--product-border);
    border-radius: 1.25rem;
}

.kit-preview-card img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 1rem auto;
}

.hero-visual {
    position: relative;
}

.frame-card {
    background: #0c0c0c;
    padding: 1.25rem;
    border-radius: 1.25rem;
    box-shadow: var(--product-shadow);
    transform: rotate(-1.5deg);
}

.frame-card img {
    width: 100%;
    border-radius: 0.9rem;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.frame-caption {
    color: #d8d8d8;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.75rem;
}

.hero-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.spec-item {
    background: var(--product-card);
    border: 1px solid var(--product-border);
    border-radius: 0.85rem;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 8px 18px -18px rgba(20, 20, 20, 0.4);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--product-muted);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-weight: 600;
}

.section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--product-muted);
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.section-ink {
    background: rgba(255, 255, 255, 0.65);
    border-top: 1px solid rgba(20, 20, 20, 0.05);
    border-bottom: 1px solid rgba(20, 20, 20, 0.05);
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: var(--product-card);
    border: 1px solid var(--product-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 24px -24px rgba(20, 20, 20, 0.4);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--product-muted);
    font-size: 0.95rem;
}

.kit-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.kit-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.kit-list li {
    padding: 0.65rem 0 0.65rem 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.kit-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0.65rem;
    color: hsl(var(--primary));
    font-weight: 700;
}

.kit-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--product-muted);
}

.kit-image {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--product-shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.kit-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.steps-grid {
    display: grid;
    gap: 1.5rem;
}

.step-card {
    background: var(--product-card);
    border: 1px dashed rgba(20, 20, 20, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 32rem);
    justify-content: center;
}

.pricing-card {
    background: var(--product-card);
    border: 1px solid var(--product-border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 12px 28px -24px rgba(20, 20, 20, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 700;
}

.price-sub {
    font-size: 0.9rem;
    color: var(--product-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: var(--product-muted);
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--product-muted);
    margin-top: 1.5rem;
}

.checkout-status {
    min-height: 1.25rem;
    margin: 0;
    color: var(--product-muted);
    font-size: 0.85rem;
}

.checkout-status[data-state="error"] {
    color: #a3291f;
}

.faq-grid {
    display: grid;
    gap: 1rem;
}

details {
    background: var(--product-card);
    border-radius: 0.9rem;
    border: 1px solid var(--product-border);
    padding: 1rem 1.25rem;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

details p {
    margin-top: 0.75rem;
    color: var(--product-muted);
}

.order-cta {
    padding-bottom: 5rem;
}

.cta-panel {
    background: #0f0f0f;
    color: #f6f1eb;
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--product-shadow);
}

.cta-panel p {
    color: rgba(246, 241, 235, 0.75);
    max-width: 32rem;
}

.cta-panel .btn {
    align-self: flex-start;
}

@media (min-width: 900px) {
    .pricing-grid:has(.kit-preview-card:not(.hidden)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 64rem;
        margin: 0 auto;
    }
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 3.5rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-specs {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frame-card {
        transform: none;
    }
}
