/* =========================================================
   Termini e Condizioni di Vendita - Sauton
   Usa le variabili globali già presenti in common.css
   ========================================================= */

.sauton-termini-page {
    background: var(--cream);
    color: var(--black);
    font-family: var(--font-body);
    overflow: visible;
}

.sauton-termini-page *,
.sauton-termini-page *::before,
.sauton-termini-page *::after {
    box-sizing: border-box;
}

.sauton-termini-page section {
    float: none !important;
    width: 100%;
    clear: both;
    background: transparent;
}

.sauton-termini-page h1,
.sauton-termini-page h2,
.sauton-termini-page h3,
.sauton-termini-page h4 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: 1.12;
    color: var(--black);
}

.sauton-termini-page em {
    font-style: italic;
    color: var(--brown);
}

.terms-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brown-lt);
}

.terms-lead {
    margin: 22px 0 0;
    max-width: 54ch;
    font-size: 18px;
    line-height: 1.7;
    color: var(--brown);
}

.terms-updated {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--brown-lt);
}

.terms-hero {
    padding: 78px 0 56px;
    background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}

.terms-hero h1 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(36px, 5.4vw, 56px);
}

.terms-section {
    padding: 68px 0;
}

.terms-section-head {
    max-width: 62ch;
    margin-bottom: 32px;
}

.terms-practical-head {
    margin-top: 30px;
}

.terms-section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 38px);
}

.terms-prose p, .terms-prose li {
    max-width: 72ch;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--brown-dk);
}

.terms-prose p:last-child {
    margin-bottom: 0;
}

.terms-prose strong {
    color: var(--black);
    font-weight: 600;
}

.terms-prose a {
    color: var(--brown-dk);
    border-bottom: 1px solid var(--brown-lt);
    text-decoration: none;
}

.terms-prose a:hover {
    color: var(--black);
    border-color: var(--black);
}

.terms-legal-note {
    padding: 16px 18px;
    border: 1px dashed var(--yellow-dk);
    border-left: 4px solid var(--yellow-dk);
    border-radius: 8px;
    background: #FFF8E1;
    color: #6b5d2e;
    font-size: 13.5px;
    line-height: 1.6;
}

.terms-legal-note span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--yellow);
    color: var(--black);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.terms-legal-note p {
    margin: 0;
}

.terms-index {
    margin: 42px 0 46px;
    padding: 26px 30px;
    border-radius: 16px;
    background: var(--sand);
}

.terms-index h4 {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brown-lt);
}

.terms-index ol {
    columns: 2;
    column-gap: 30px;
    margin: 0 0 0 18px;
    padding: 0;
}

.terms-index li {
    margin-bottom: 9px;
    break-inside: avoid;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--brown-dk);
}

.terms-index a {
    color: var(--brown-dk);
    text-decoration: none;
}

.terms-index a:hover {
    color: var(--black);
    text-decoration: underline;
}

.terms-legal-section {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    scroll-margin-top: 100px;
}

.terms-legal-section h3 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 22px;
}

.terms-legal-section h3 span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brown-lt);
}

.terms-placeholder {
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px dashed var(--yellow-dk);
    border-radius: 8px;
    background: #FFF8E1;
    color: #6b5d2e;
    font-size: 13.5px;
    line-height: 1.6;
}

.terms-placeholder strong {
    color: #8a6d00;
    font-weight: 700;
}

@media only screen and (max-width: 880px) {
    .terms-hero {
        padding: 58px 0 44px;
    }

    .terms-section {
        padding: 52px 0;
    }

    .terms-index {
        padding: 24px 22px;
    }

    .terms-index ol {
        columns: 1;
    }

    .terms-legal-section h3 {
        align-items: flex-start;
        font-size: 20px;
        line-height: 1.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}