/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 20 2026 | 10:36:36 */

/* ============================================================
   AVVENTO - VARIABILI E WRAPPER
   ============================================================ */

#advent-space {
    width: 100%;
    box-sizing: border-box;
}

.advent-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 35px;
    box-sizing: border-box;

    --advent-red: #a33d43;
    --advent-red-dark: #823037;
    --advent-gold: #c5a46a;
    --advent-cream: #faf6f0;
}

.advent-wrapper *,
.advent-popup-overlay,
.advent-popup-overlay * {
    box-sizing: border-box;
}


/* ============================================================
   HERO
   ============================================================ */

.advent-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 680px;
    margin: 5px auto 38px;
    padding: 32px 24px 25px;
    text-align: center;
    border: 1px solid #eadbd5;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.95), transparent 65%),
        linear-gradient(145deg, #fffaf6, #f7ece7);
    box-shadow: 0 8px 25px rgba(90, 43, 43, .08);
}

.advent-hero::before,
.advent-hero::after {
    content: "✦";
    position: absolute;
    color: var(--advent-gold);
    font-size: 22px;
    opacity: .55;
}

.advent-hero::before {
    top: 18px;
    left: 20px;
}

.advent-hero::after {
    right: 20px;
    bottom: 20px;
}

.advent-hero-decoration {
    margin-bottom: 8px;
    color: var(--advent-gold);
    font-size: 27px;
}

.advent-hero-label {
    margin-bottom: 15px;
    color: var(--advent-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.advent-hero h2 {
    margin: 10px 0 8px;
    color: #77363a;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.advent-hero p {
    max-width: 430px;
    margin: 14px auto 18px;
    color: #6b5b56;
    font-size: 14px;
    line-height: 1.7;
}

.advent-hero-bottom {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid rgba(163, 61, 67, .13);
    color: #92756c;
    font-size: 12px;
    line-height: 1.5;
}


/* ============================================================
   COUNTDOWN
   ============================================================ */

.advent-hero-countdown {
    padding-top: 48px;
}

/* Stellina centrale */
.advent-hero-countdown::before {
    content: "✦";
    top: 13px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    color: var(--advent-gold);
    font-size: 25px;
    opacity: .7;
}

.advent-hero-countdown::after {
    content: none;
}

/* Numero e segno meno centrati */
.advent-countdown-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 10px auto 5px;
    padding: 0;
    border-radius: 50%;
    background: var(--advent-red);
    color: white;
    font-size: 53px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow:
        0 7px 20px rgba(163, 61, 67, .22),
        inset 0 0 0 5px rgba(255,255,255,.15);
}

.advent-countdown-caption {
    color: var(--advent-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}


/* ============================================================
   RIFLESSIONE DEL GIORNO
   ============================================================ */

.advent-hero-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 10px auto 0;
    border-radius: 50%;
    background: var(--advent-red);
    color: white;
    font-size: 45px;
    font-weight: 800;
    box-shadow:
        0 7px 20px rgba(163, 61, 67, .2),
        inset 0 0 0 4px rgba(255,255,255,.18);
}

.advent-hero-month {
    margin-top: 7px;
    color: var(--advent-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.advent-hero-reference {
    color: #a17c56 !important;
    font-size: 13px !important;
    font-weight: 700;
}


/* ============================================================
   PULSANTE PRINCIPALE
   ============================================================ */

.advent-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 47px;
    margin-top: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--advent-red);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(163, 61, 67, .17);
    transition: background .2s ease, transform .2s ease;
}

.advent-main-button:hover {
    background: var(--advent-red-dark);
    transform: translateY(-2px);
}

.advent-main-button span {
    font-size: 19px;
}


/* ============================================================
   INTESTAZIONI SEZIONI
   ============================================================ */

.advent-section-heading,
.advent-downloads-heading {
    max-width: 580px;
    margin: 0 auto 23px;
    text-align: center;
}

.advent-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--advent-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.advent-section-heading h2,
.advent-downloads-heading h2 {
    margin: 0 0 9px;
    color: var(--text-primary, #1F2A33);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.advent-section-heading p,
.advent-downloads-heading p {
    margin: 0;
    color: var(--text-secondary, #6B7280);
    font-size: 14px;
    line-height: 1.6;
}

.advent-heading-divider {
    margin-top: 14px;
    color: var(--advent-gold);
    font-size: 20px;
}


/* ============================================================
   GRIGLIA RIFLESSIONI
   ============================================================ */

.advent-reflections-section {
    margin-bottom: 45px;
}

.advent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}


/* ============================================================
   CARD RIFLESSIONE
   ============================================================ */

.advent-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 91px;
    padding: 12px;
    border: 1px solid var(--border-color, #E6EDF2);
    border-radius: 15px;
    background: var(--card-color, #fff);
    box-shadow: 0 2px 10px var(--shadow-color, rgba(0,0,0,.06));
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.advent-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.09);
    border-color: #d9b6ae;
}

.advent-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #f8eeeb;
    color: var(--advent-red);
    font-size: 18px;
    font-weight: 800;
}

.advent-card-content {
    flex: 1;
    min-width: 0;
}

.advent-card-label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-secondary, #6B7280);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.advent-card h3 {
    margin: 0;
    color: var(--text-primary, #1F2A33);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.advent-card p {
    margin: 4px 0 0;
    color: #a17c56;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.advent-card-arrow {
    flex-shrink: 0;
    color: var(--advent-red);
    font-size: 19px;
    font-weight: 700;
}

.advent-card.is-today {
    border: 1.5px solid var(--advent-red);
    background: #fff8f5;
    box-shadow: 0 4px 15px rgba(163, 61, 67, .12);
}

.advent-card.is-today .advent-card-number {
    background: var(--advent-red);
    color: white;
}

.advent-card.is-today .advent-card-label {
    color: var(--advent-red);
}

.advent-card.is-past .advent-card-number {
    background: #edf2ed;
    color: #62816a;
}


/* ============================================================
   DOWNLOADS
   ============================================================ */

.advent-downloads-section {
    padding: 27px 20px 22px;
    border: 1px solid #eadfd4;
    border-radius: 21px;
    background: linear-gradient(145deg, #faf6f0, #fff);
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

.advent-downloads-heading {
    margin-bottom: 23px;
}

.advent-download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 17px;
    margin-bottom: 13px;
    border: 1px solid #eadfd7;
    border-radius: 16px;
    background: var(--card-color, #fff);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    text-align: center;
}

.advent-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 17px;
    background: #f8eeeb;
    font-size: 27px;
}

.advent-download-content {
    width: 100%;
}

.advent-download-tag {
    display: block;
    margin-bottom: 6px;
    color: var(--advent-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.advent-download-content h3 {
    margin: 0 0 9px;
    color: var(--text-primary, #1F2A33);
    font-size: 18px;
    font-weight: 800;
}

.advent-download-content p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--text-secondary, #6B7280);
    font-size: 13px;
    line-height: 1.7;
}

.advent-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    margin-top: 7px;
    padding: 10px 21px;
    border: 0;
    border-radius: 999px;
    background: var(--advent-red);
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.advent-download-button:hover {
    background: var(--advent-red-dark);
    transform: translateY(-2px);
}

.advent-support-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 19px;
    color: #94786e;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.advent-support-note span {
    color: var(--advent-red);
    font-size: 16px;
}


/* ============================================================
   HEADER ESPANDIBILE DEI MATERIALI
   ============================================================ */

.advent-gifts-summary {
    position: relative;
    display: flex !important;
    align-items: center !important;
    width: 100%;
    gap: 12px;
    list-style: none !important;
    cursor: pointer;
}

.advent-gifts-summary::-webkit-details-marker {
    display: none !important;
}

.advent-gifts-summary::marker {
    content: "" !important;
}

.advent-gifts-summary-icon {
    flex: 0 0 auto;
    order: 1;
}

.advent-gifts-summary-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    order: 2;
    text-align: center !important;
}

.advent-gifts-summary-text strong,
.advent-gifts-summary-text small {
    display: block;
    width: 100%;
    text-align: center;
}

.advent-gifts-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    order: 3;
    font-size: 26px;
    line-height: 1;
    transition: transform .25s ease;
}

.advent-gifts-details[open] .advent-gifts-toggle {
    transform: rotate(90deg);
}


/* ============================================================
   POPUP SOSTENITORI
   ============================================================ */

.advent-popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.48);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity .2s ease, visibility .2s ease;
}

.advent-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.advent-popup-open {
    overflow: hidden;
}

.advent-popup {
    position: relative;
    width: min(92vw, 430px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 25px;
    border-radius: 23px;
    background: var(--card-color, #fff);
    color: var(--text-primary, #222);
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
    transform: translateY(15px) scale(.97);
    transition: transform .22s ease;
}

.advent-popup-overlay.is-visible .advent-popup {
    transform: translateY(0) scale(1);
}

.advent-popup-content {
    text-align: center;
}

.advent-popup-close {
    position: absolute;
    top: 10px;
    right: 13px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary, #333);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.advent-popup-icon {
    margin-bottom: 9px;
    font-size: 39px;
}

.advent-popup h2 {
    margin: 0 0 9px;
    color: var(--text-primary, #222);
    font-size: 23px;
    line-height: 1.2;
}

.advent-popup-subtitle {
    margin: 0 0 22px;
    color: var(--text-secondary, #6B7280);
    font-size: 13px;
    line-height: 1.6;
}

.advent-popup-body h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.advent-popup-body p {
    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   CAMPI EMAIL E VERIFICA
   ============================================================ */

.advent-email-form {
    width: 100%;
}

.advent-email-form label {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    text-align: left;
}

.advent-email-form input,
.advent-popup-body input[type="email"],
.advent-popup-body input[type="text"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    min-height: 49px;
    margin: 0 0 14px;
    padding: 12px 15px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 11px;
    background: var(--card-color, #fff);
    color: var(--text-primary, #222);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box !important;
}

.advent-email-form input:focus,
.advent-popup-body input:focus {
    outline: none;
    border-color: #a33d43;
    box-shadow: 0 0 0 3px rgba(163,61,67,.12);
}


/* ============================================================
   POPUP STATI
   ============================================================ */

.advent-popup-lock {
    margin-bottom: 10px;
    font-size: 43px;
}

.advent-popup-success {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e8f5ed;
    color: #26834a;
    font-size: 29px;
    font-weight: 800;
}

.advent-popup-loading {
    padding: 18px 0;
    color: var(--text-secondary, #6B7280);
    font-size: 14px;
}

.advent-popup-loading span {
    display: block;
    margin-bottom: 8px;
    color: var(--advent-gold);
    font-size: 25px;
}

.advent-popup-error {
    color: #b42318;
}

.advent-popup-small {
    margin-top: 18px;
    color: var(--text-secondary, #6B7280);
    font-size: 11px !important;
}

.advent-popup-thanks {
    margin-top: 20px;
    color: #94786e;
    font-size: 12px !important;
}


/* ============================================================
   DONA
   ============================================================ */

.advent-popup-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    margin-top: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--advent-red);
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.advent-popup-donate:hover {
    background: var(--advent-red-dark);
    transform: translateY(-2px);
}


/* ============================================================
   DOWNLOAD PREMIUM
   ============================================================ */

.advent-premium-download {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin: 10px 0;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 14px;
    background: var(--card-color, #fff);
    text-align: left;
    text-decoration: none !important;
    color: var(--text-primary, #222) !important;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.advent-premium-download:hover {
    border-color: #d9b6ae;
    background: #fffaf7;
    transform: translateY(-2px);
}

.advent-premium-download > span:first-child {
    font-size: 27px;
}

.advent-premium-download > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.advent-premium-download strong {
    font-size: 13px;
}

.advent-premium-download small {
    margin-top: 3px;
    color: var(--text-secondary, #6B7280);
    font-size: 11px;
}

.advent-premium-arrow {
    color: var(--advent-red);
    font-size: 21px;
    font-weight: 800;
}

.advent-popup-retry {
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--advent-red);
    color: white;
    font-weight: 700;
    cursor: pointer;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .advent-wrapper {
        padding: 0 10px 25px;
    }

    .advent-hero {
        padding: 27px 18px 21px;
        margin-bottom: 30px;
        border-radius: 19px;
    }

    .advent-hero-countdown {
        padding-top: 48px;
    }

    .advent-hero h2 {
        font-size: 22px;
    }

    .advent-countdown-number {
        width: 100px;
        height: 100px;
        font-size: 47px;
    }

    .advent-hero-day {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .advent-section-heading h2,
    .advent-downloads-heading h2 {
        font-size: 21px;
    }

    .advent-grid {
        gap: 7px;
    }

    .advent-card {
        gap: 7px;
        min-height: 83px;
        padding: 9px 7px;
        border-radius: 12px;
    }

    .advent-card-number {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 15px;
    }

    .advent-card h3 {
        font-size: 11.5px;
    }

    .advent-card p {
        font-size: 10px;
    }

    .advent-card-label {
        font-size: 8px;
    }

    .advent-card-arrow {
        font-size: 15px;
    }

    .advent-downloads-section {
        padding: 22px 13px 18px;
        border-radius: 17px;
    }

    .advent-download-card {
        padding: 17px 13px;
    }

    .advent-popup {
        width: 100%;
        padding: 28px 19px 22px;
        border-radius: 20px;
    }
}
