/* VORIO — custom CSS overrides */

/* Atrybucja CC BY/CC0 — mniejsza, stonowana */
.attribution {
    font-size: 0.85em;
    color: var(--theme-palette-color-4, #A8A29A);
    border-top: 1px solid var(--theme-palette-color-4, #A8A29A);
    margin-top: 2em;
    padding-top: 1em;
    font-style: italic;
}
.attribution strong { font-style: normal; }
.attribution a { color: inherit; text-decoration: underline; }

/* Sticky CTA mobile na PDP (poniżej 768px) */
@media (max-width: 768px) {
    .single-product .summary form.cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        z-index: 100;
        margin: 0;
    }
    .single-product .summary form.cart .button {
        width: 100%;
        background: #1F4D3A !important;
        color: #F2E8D5 !important;
        font-size: 16px;
        padding: 14px;
        border-radius: 6px;
    }
    .single-product .summary form.cart .button:hover {
        background: #163A2C !important;
    }
    /* Padding bottom dla body żeby sticky nie zakrywało stopki */
    .single-product main { padding-bottom: 90px; }
}

/* Cena Fraunces 36px (UX decision) */
.single-product .price {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 36px;
    font-weight: 500;
    color: #1F4D3A;
}
.single-product .price ins,
.single-product .price > span { color: inherit; }

/* Footer Charcoal z pełnymi danymi spółki */
.site-footer {
    background-color: #2A2A2A;
    color: #F2E8D5;
}
.site-footer a { color: #C2683A; }
.site-footer a:hover { color: #F2E8D5; }
.footer-spolka-info {
    font-size: 0.85em;
    line-height: 1.6;
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid #A8A29A;
    opacity: 0.85;
}

/* Hero sekcja na homepage */
.vorio-hero {
    min-height: 600px;
    display: grid;
    grid-template-columns: 60% 40%;
    background: #F2E8D5;
    gap: 0;
}
.vorio-hero__copy {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vorio-hero__copy h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    color: #1F4D3A;
    margin-bottom: 24px;
    font-weight: 500;
}
.vorio-hero__copy p {
    font-size: 18px;
    line-height: 1.6;
    color: #2A2A2A;
    margin-bottom: 32px;
    max-width: 480px;
}
.vorio-hero__cta {
    display: inline-block;
    background: #1F4D3A;
    color: #F2E8D5;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.vorio-hero__cta:hover { background: #163A2C; color: #F2E8D5; }
.vorio-hero__photo {
    background-size: cover;
    background-position: center;
    background-color: #C2683A; /* placeholder */
}
@media (max-width: 768px) {
    .vorio-hero { grid-template-columns: 1fr; }
    .vorio-hero__copy { padding: 40px 24px; }
    .vorio-hero__photo { min-height: 300px; }
}

/* Value prop 3 columns */
.vorio-valueprop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 80px 60px;
    background: #fff;
}
.vorio-valueprop__item h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    color: #1F4D3A;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .vorio-valueprop { grid-template-columns: 1fr; padding: 48px 24px; }
}

/* Personalizacja checkbox — disabled CTA dopóki nie zaznaczone (klasa dodawana przez JS Flexible Product Fields) */
.fpf-personalization-required:not(.fpf-checked) ~ .single_add_to_cart_button {
    opacity: 0.4;
    pointer-events: none;
}
