/* ═══════════════════════════════════════════════════════════════════
   GIOIELLERIA D'URBANO — Premium Static Pages Styles (Privacy, FAQ, etc.)
   Aesthetic: Warm Italian Luxury · Ivory, Honey Gold & Espresso
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --st-gold:         #d9a84e;
    --st-gold-light:   #edd08a;
    --st-gold-pale:    #f5e5b8;
    --st-gold-deep:    #b8842e;
    --st-gold-glow:    rgba(217, 168, 78, 0.22);
    --st-ink:          #2a1e12;
    --st-espresso:     #3a2916;
    --st-espresso-deep:#261a0c;
    --st-ivory:        #fff9f1;
    --st-cream:        #faf0e2;
    --st-sand:         #f2e0c8;
    --st-muted:        #7d6345;
    --st-soft:         #a6845e;
    --st-border-warm:  rgba(217, 168, 78, 0.35);
    
    --st-serif:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --st-sans:         'Jost', system-ui, -apple-system, sans-serif;
    
    --st-shadow-sm:    0 6px 20px rgba(94, 66, 38, 0.08);
    --st-shadow-md:    0 12px 35px rgba(94, 66, 38, 0.12);
    --st-shadow-lg:    0 20px 50px rgba(94, 66, 38, 0.16);
    
    --st-ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --st-t:            0.3s;
}

/* ── Container Principale e Background ── */
.static-page {
    background: linear-gradient(180deg, var(--st-ivory) 0%, var(--st-cream) 100%);
    font-family: var(--st-sans);
    color: var(--st-ink);
}

/* Header testata */
.static-page .page-header.header-filter {
    background: linear-gradient(180deg, rgba(63, 45, 28, 0.05) 0%, rgba(250, 240, 226, 0.8) 100%) !important;
    height: auto !important;
    min-height: auto !important;
    padding: 4rem 0 2rem 0;
}

/* Titolo "Privacy Policy" sulla testata */
.static-page .page-header .title {
    font-family: var(--st-serif);
    font-size: clamp(2.3rem, 5vw, 3.6rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.15em !important;
    color: var(--st-espresso) !important;
    text-shadow: none !important; /* Rimosso text-shadow nero brutto */
    text-align: center;
    text-transform: uppercase;
    position: relative;
    margin: 0 !important;
}

/* Divider grafico tra testata e corpo */
.static-page .divider-header-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto 0 auto;
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--st-gold), transparent);
}

.static-page .divider-header-2 img {
    display: none !important; /* Nasconde l'svg divider obsoleto */
}

/* ── Contenuto Formattato e Tipografia Editoriale ── */
.static-page .main {
    background: transparent !important;
    box-shadow: none !important;
}

.static-page .container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--st-border-warm);
    border-radius: 16px;
    box-shadow: var(--st-shadow-md);
    padding: 3rem 2.5rem !important;
    margin-top: 1rem;
}

/* Stile per i testi giustificati della Privacy */
.static-page .text-justify {
    text-align: justify;
    line-height: 1.75;
    font-size: 0.92rem;
    color: var(--st-ink);
}

.static-page .text-justify p {
    margin-bottom: 1.25rem;
}

/* Titoli delle sezioni informative */
.static-page .text-justify h3 {
    font-family: var(--st-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--st-espresso);
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(217, 168, 78, 0.25);
    padding-bottom: 0.5rem;
}

.static-page .text-justify h4 {
    font-family: var(--st-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--st-gold-deep);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.03em;
}

/* Liste */
.static-page .text-justify ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.static-page .text-justify li {
    margin-bottom: 0.6rem;
    list-style-type: none;
    position: relative;
    padding-left: 1.2rem;
}

.static-page .text-justify li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--st-gold);
    font-size: 0.7625rem;
    top: 0;
}

/* ── Tabelle Informative Coerenti con la Palette ── */
.static-page .table-responsive {
    border: none;
    margin: 2rem 0;
}

.static-page .table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--st-border-warm) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--st-shadow-sm);
    background: #fff;
}

.static-page .table thead th {
    background: linear-gradient(135deg, var(--st-espresso) 0%, var(--st-espresso-deep) 100%) !important;
    color: #fff !important;
    font-family: var(--st-sans);
    font-size: 0.8625rem !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem !important;
    border: none !important;
    vertical-align: middle;
}

.static-page .table tbody td {
    padding: 1rem !important;
    font-family: var(--st-sans);
    font-size: 0.8825rem;
    line-height: 1.6;
    color: var(--st-ink);
    border-top: 1px solid rgba(217, 168, 78, 0.15) !important;
    border-right: 1px solid rgba(217, 168, 78, 0.15) !important;
    vertical-align: middle;
}

.static-page .table tbody td:last-child {
    border-right: none !important;
}

.static-page .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--st-ivory);
}

.static-page .table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

.static-page .table-hover tbody tr:hover {
    background-color: rgba(217, 168, 78, 0.08);
}

/* Responsività e adattamento schermi piccoli */
@media (max-width: 767px) {
    .static-page .container {
        padding: 1.5rem 1rem !important;
    }
    
    .static-page .text-justify h3 {
        font-size: 1.35rem;
    }
    
    .static-page .text-justify h4 {
        font-size: 1.15rem;
    }
}

/* ── Stili Specifici per le FAQ ── */
#inputFiltraFAQ {
    background: #fff !important;
    border: 1px solid var(--st-border-warm) !important;
    border-radius: 6px !important;
    height: 42px;
    padding: 0.5rem 0.85rem !important;
    font-family: var(--st-sans);
    font-size: 0.9125rem !important;
    color: var(--st-espresso) !important;
    box-shadow: none !important;
    transition: border-color var(--st-t), box-shadow var(--st-t);
}

#inputFiltraFAQ:focus {
    border-color: var(--st-gold-deep) !important;
    box-shadow: 0 0 8px rgba(217, 168, 78, 0.25) !important;
}

/* Card delle FAQ */
.static-page div[data-type="boxFAQ"] {
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.static-page div[data-type="boxFAQ"] .info {
    background: #ffffff;
    border: 1px solid rgba(217, 168, 78, 0.18);
    border-radius: 10px;
    padding: 1.5rem !important;
    box-shadow: var(--st-shadow-sm);
    transition: transform var(--st-t) var(--st-ease), box-shadow var(--st-t) var(--st-ease), border-color var(--st-t);
}

.static-page div[data-type="boxFAQ"] .info:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-md);
    border-color: rgba(217, 168, 78, 0.35);
}

/* Domande delle FAQ */
.static-page div[data-type="boxFAQ"] h4.info-title {
    font-family: var(--st-serif) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--st-espresso) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0 !important;
}

/* Icona della domanda */
.static-page div[data-type="boxFAQ"] h4.info-title i.icon-rose,
.static-page div[data-type="boxFAQ"] h4.info-title i.icon {
    color: var(--st-gold-deep) !important;
    background: none !important;
    box-shadow: none !important;
    padding-right: 0.3rem !important;
    display: inline-block;
}

/* Risposte delle FAQ */
.static-page div[data-type="boxFAQ"] p.description {
    font-family: var(--st-sans) !important;
    font-size: 0.9425rem !important;
    line-height: 1.7 !important;
    color: var(--st-muted) !important;
    margin-top: 0.8rem;
    margin-bottom: 0;
    text-align: justify;
}

/* Highlight parole cercate */
.static-page .highlight {
    background-color: var(--st-gold-pale) !important;
    color: var(--st-espresso) !important;
    border-radius: 3px;
    padding: 0 2px;
    font-weight: 600;
}

