/* =========================================================
   SHAMÁ STUDIO MASSAGGI
   PAGINA BUONI REGALO
   File: giftcard.css
========================================================= */


/* =========================================================
   VARIABILI LOCALI
========================================================= */

.gift-page {
    --gift-green-dark: #354735;
    --gift-green: #5f745b;
    --gift-green-soft: #879781;
    --gift-sage: #cbd2c5;
    --gift-sage-light: #eef0eb;
    --gift-cream: #faf8f3;
    --gift-beige: #eee7dc;
    --gift-beige-dark: #d7c8b5;
    --gift-gold: #b99a65;
    --gift-text: #2e342f;
    --gift-text-soft: #6c716c;
    --gift-white: #ffffff;
    --gift-border: rgba(53, 71, 53, 0.14);
    --gift-shadow: 0 20px 55px rgba(53, 71, 53, 0.10);
    --gift-shadow-soft: 0 12px 32px rgba(53, 71, 53, 0.07);

    background: var(--gift-cream);
    color: var(--gift-text);
    overflow: hidden;
}

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

.gift-page button,
.gift-page input,
.gift-page textarea {
    font: inherit;
}

.gift-page button {
    cursor: pointer;
}

.gift-page svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.gift-hero {
    position: relative;
    min-height: 610px;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 255, 255, 0.82),
            transparent 36%
        ),
        linear-gradient(
            110deg,
            #f7f2e9 0%,
            #f0eadf 52%,
            #e3e8df 100%
        );
}

.gift-hero::before {
    content: "";
    position: absolute;
    inset: auto auto -180px -150px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(203, 210, 197, 0.28);
    filter: blur(4px);
    pointer-events: none;
}

.gift-hero::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -120px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(53, 71, 53, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.gift-hero__content {
    position: relative;
    z-index: 1;
    width: min(1380px, 100%);
    min-height: 610px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
}

.gift-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 110px 60px 90px max(55px, calc((100vw - 1180px) / 2));
}

.gift-eyebrow {
    display: block;
    margin-bottom: 25px;
    color: var(--gift-green-dark);
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.gift-hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--gift-green-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4rem, 6vw, 6.6rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.gift-title-decoration {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 280px;
    margin: 34px 0 27px;
    color: var(--gift-gold);
}

.gift-title-decoration span {
    height: 1px;
    flex: 1;
    background: currentColor;
    opacity: 0.65;
}

.gift-title-decoration svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.3;
}

.gift-hero__description {
    max-width: 520px;
    margin: 0;
    color: var(--gift-text);
    font-size: 1.17rem;
    line-height: 1.75;
}

.gift-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    margin-top: 40px;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--gift-green);
    color: var(--gift-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 13px 28px rgba(53, 71, 53, 0.18);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.gift-hero__button svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.gift-hero__button:hover {
    transform: translateY(-3px);
    background: var(--gift-green-dark);
    box-shadow: 0 18px 34px rgba(53, 71, 53, 0.24);
}

.gift-hero__visual {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(53, 71, 53, 0.14),
            rgba(255, 255, 255, 0.08)
        ),
        var(--gift-sage);
}

.gift-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247, 242, 233, 0.25),
            transparent 30%
        );
    pointer-events: none;
    z-index: 1;
}

.gift-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    display: block;
}

.gift-hero__placeholder {
    width: 100%;
    min-height: 610px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 19px;
    padding: 40px;
    color: rgba(53, 71, 53, 0.58);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.06)
        ),
        var(--gift-sage);
}

.gift-hero__placeholder svg {
    width: 82px;
    height: 82px;
    stroke-width: 1.25;
}

.gift-hero__placeholder span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* =========================================================
   TITOLI SEZIONE
========================================================= */

.gift-section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.gift-section-heading__eyebrow,
.gift-info-heading > span,
.gift-form-heading > span {
    display: block;
    margin-bottom: 13px;
    color: var(--gift-green);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.gift-section-heading h2,
.gift-info-heading h2,
.gift-form-heading h2 {
    margin: 0;
    color: var(--gift-green-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    line-height: 1.06;
}

.gift-section-heading h2,
.gift-info-heading h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.gift-form-heading h2 {
    font-size: clamp(2rem, 3vw, 3.1rem);
}

.gift-section-heading h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 20px auto 0;
    background: var(--gift-gold);
}

.gift-section-heading p {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--gift-text-soft);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   SCELTA GIFT CARD
========================================================= */

.gift-selection {
    padding-top: 105px;
    padding-bottom: 105px;
}

.gift-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* =========================================================
   GIFT CARD - STILE PREMIUM
========================================================= */

.gift-value-card {
    position: relative;
    min-height: 345px;
    padding: 36px 24px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid rgba(53, 71, 53, 0.14);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 244, 236, 0.96)
        );

    text-align: center;
    overflow: hidden;

    box-shadow:
        0 14px 34px rgba(53, 71, 53, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.65);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.gift-value-card::before {
    content: "";
    position: absolute;
    inset: 14px;

    border: 1px solid rgba(185, 154, 101, 0.22);
    border-radius: 10px;

    pointer-events: none;
}

.gift-value-card::after {
    content: "";
    position: absolute;
    top: -72px;
    right: -72px;

    width: 150px;
    height: 150px;

    border-radius: 50%;
    background: rgba(203, 210, 197, 0.18);

    transition: transform 0.45s ease;
}

.gift-value-card:hover {
    transform: translateY(-8px);

    border-color: rgba(95, 116, 91, 0.36);

    box-shadow:
        0 24px 48px rgba(53, 71, 53, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.gift-value-card:hover::after {
    transform: scale(1.18);
}

/* CARD SELEZIONATA */

.gift-value-card.is-selected {
    transform: translateY(-5px);

    border-color: var(--gift-green);

    background:
        linear-gradient(
            145deg,
            rgba(238, 249, 235, 0.98),
            rgba(250, 248, 243, 0.98)
        );

    box-shadow:
        0 26px 54px rgba(53, 71, 53, 0.17),
        inset 0 0 0 1px rgba(95, 116, 91, 0.08);
}

.gift-value-card.is-selected::before {
    border-color: rgba(95, 116, 91, 0.34);
}

/* ICONA */

.gift-value-card__icon {
    position: relative;
    z-index: 1;

    width: 58px;
    height: 58px;
    margin: 4px auto 22px;

    display: grid;
    place-items: center;

    color: var(--gift-green-dark);
}

.gift-value-card__icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.15;
}

/* PREZZO */

.gift-value-card__price {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;

    color: var(--gift-green-dark);
}

.gift-value-card__price strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4.1rem;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
}@media (max-width: 1100px) {
    .gift-value-card__price strong {
        font-size: 3.6rem;
    }
}

.gift-value-card__price span {
    font-size: 1.18rem;
    font-weight: 600;
}

/* ETICHETTA */

.gift-value-card__label {
    position: relative;
    z-index: 1;

    display: block;
    margin-top: 12px;

    color: var(--gift-text-soft);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gift-value-card__label::after {
    content: "";
    display: block;

    width: 34px;
    height: 1px;

    margin: 17px auto 22px;

    background: var(--gift-gold);
}

/* PULSANTE */

.gift-select-button {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 12px 16px;

    border: 1px solid var(--gift-green);
    border-radius: 8px;

    background: var(--gift-green);
    color: var(--gift-white);

    font-size: 0.9rem;
    font-weight: 650;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.gift-select-button:hover {
    transform: translateY(-2px);

    background: var(--gift-green-dark);
    border-color: var(--gift-green-dark);

    box-shadow: 0 10px 20px rgba(53, 71, 53, 0.16);
}

.gift-value-card.is-selected .gift-select-button {
    background: var(--gift-green-dark);
    border-color: var(--gift-green-dark);
}

.gift-select-button {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--gift-green);
    border-radius: 7px;
    background: var(--gift-green);
    color: var(--gift-white);
    font-size: 0.88rem;
    font-weight: 650;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.gift-select-button:hover {
    transform: translateY(-2px);
    background: var(--gift-green-dark);
    border-color: var(--gift-green-dark);
}

.gift-value-card.is-selected .gift-select-button {
    background: var(--gift-green-dark);
    border-color: var(--gift-green-dark);
}


/* =========================================================
   COME FUNZIONA
========================================================= */

.gift-process {
    padding-top: 20px;
    padding-bottom: 115px;
}

.gift-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.gift-process-grid::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(95, 116, 91, 0.26) 12%,
            rgba(95, 116, 91, 0.26) 88%,
            transparent
        );
}

.gift-process-card {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    text-align: center;
}

.gift-process-card__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(95, 116, 91, 0.22);
    border-radius: 50%;
    background: var(--gift-cream);
    color: var(--gift-green-dark);
    box-shadow: 0 12px 30px rgba(53, 71, 53, 0.07);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.gift-process-card:hover .gift-process-card__icon {
    transform: translateY(-5px);
    background: var(--gift-green);
    color: var(--gift-white);
}

.gift-process-card__icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.4;
}

.gift-process-card h3 {
    margin: 0 0 12px;
    color: var(--gift-green-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.gift-process-card p {
    margin: 0;
    color: var(--gift-text-soft);
    font-size: 0.91rem;
    line-height: 1.68;
}


/* =========================================================
   MODULO
========================================================= */

.gift-form-section {
    padding-bottom: 110px;
}

.gift-form-shell {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    border: 1px solid var(--gift-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    box-shadow: var(--gift-shadow);
}

.gift-summary {
    padding: 42px 32px;
    background:
        linear-gradient(
            165deg,
            rgba(238, 231, 220, 0.95),
            rgba(250, 248, 243, 0.98)
        );
    border-right: 1px solid var(--gift-border);
}

.gift-summary__eyebrow {
    display: block;
    margin-bottom: 24px;
    color: var(--gift-green-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gift-summary__card {
    padding: 28px 24px;
    border: 1px solid rgba(53, 71, 53, 0.13);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 28px rgba(53, 71, 53, 0.05);
}

.gift-summary__label {
    display: block;
    color: var(--gift-text-soft);
    font-size: 0.8rem;
    font-weight: 600;
}

.gift-summary__value,
.gift-summary__total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
    color: var(--gift-green-dark);
}

.gift-summary__value strong,
.gift-summary__total strong {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    line-height: 1;
}

.gift-summary__value strong {
    font-size: 2.7rem;
}

.gift-summary__total strong {
    font-size: 3.3rem;
}

.gift-summary__value span,
.gift-summary__total span {
    font-size: 1.08rem;
}

.gift-summary__divider {
    height: 1px;
    margin: 23px 0;
    background: rgba(53, 71, 53, 0.12);
}

.gift-quantity-control {
    width: 146px;
    height: 48px;
    margin-top: 11px;
    display: grid;
    grid-template-columns: 44px 58px 44px;
    border: 1px solid rgba(53, 71, 53, 0.16);
    border-radius: 7px;
    overflow: hidden;
    background: var(--gift-white);
}

.gift-quantity-control button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gift-green-dark);
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.gift-quantity-control button:hover {
    background: var(--gift-green);
    color: var(--gift-white);
}

.gift-quantity-control button svg {
    width: 18px;
    height: 18px;
}

.gift-quantity-control input {
    width: 100%;
    border: 0;
    border-right: 1px solid rgba(53, 71, 53, 0.12);
    border-left: 1px solid rgba(53, 71, 53, 0.12);
    outline: none;
    background: transparent;
    color: var(--gift-text);
    text-align: center;
    appearance: textfield;
}

.gift-quantity-control input::-webkit-outer-spin-button,
.gift-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.gift-summary__validity {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 28px;
    color: var(--gift-green-dark);
}

.gift-summary__validity svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.gift-summary__validity p {
    margin: 0;
}

.gift-summary__validity strong,
.gift-summary__validity span {
    display: block;
}

.gift-summary__validity strong {
    font-size: 0.88rem;
}

.gift-summary__validity span {
    margin-top: 4px;
    color: var(--gift-text-soft);
    font-size: 0.76rem;
}

.gift-form-area {
    padding: 42px 42px 44px;
}

.gift-form-heading {
    margin-bottom: 34px;
}

.gift-form-heading h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 17px;
    background: var(--gift-gold);
}

.gift-request-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gift-form-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.gift-form-group legend {
    width: 100%;
    margin-bottom: 19px;
    color: var(--gift-green-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gift-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 18px;
}

.gift-field {
    min-width: 0;
}

.gift-field--full {
    grid-column: 1 / -1;
}

.gift-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--gift-text);
    font-size: 0.82rem;
    font-weight: 600;
}

.gift-field label > span[aria-hidden="true"] {
    color: #8f5549;
}

.gift-optional {
    color: var(--gift-text-soft);
    font-size: 0.72rem;
    font-weight: 400;
}

.gift-field input,
.gift-field textarea {
    width: 100%;
    border: 1px solid rgba(53, 71, 53, 0.16);
    border-radius: 7px;
    outline: none;
    background: rgba(255, 255, 255, 0.82);
    color: var(--gift-text);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.gift-field input {
    min-height: 49px;
    padding: 11px 13px;
}

.gift-field textarea {
    min-height: 135px;
    padding: 13px 14px 35px;
    resize: vertical;
    line-height: 1.6;
}

.gift-field input:focus,
.gift-field textarea:focus {
    border-color: var(--gift-green);
    background: var(--gift-white);
    box-shadow: 0 0 0 3px rgba(95, 116, 91, 0.1);
}

.gift-textarea-wrapper {
    position: relative;
}

.gift-character-counter {
    position: absolute;
    right: 13px;
    bottom: 10px;
    color: var(--gift-text-soft);
    font-size: 0.7rem;
}

.gift-payment-intro {
    margin: -6px 0 16px;
    color: var(--gift-text-soft);
    font-size: 0.84rem;
}

.gift-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gift-payment-option {
    position: relative;
    min-height: 92px;
    display: grid;
    grid-template-columns: 22px 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 17px;
    border: 1px solid rgba(53, 71, 53, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gift-payment-option:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 116, 91, 0.45);
    box-shadow: 0 10px 24px rgba(53, 71, 53, 0.08);
}

.gift-payment-option:has(input:checked) {
    border-color: var(--gift-green);
    background: var(--gift-sage-light);
    box-shadow: 0 10px 26px rgba(53, 71, 53, 0.1);
}

.gift-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gift-payment-option__radio {
    width: 19px;
    height: 19px;
    border: 1.5px solid var(--gift-green);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.gift-payment-option__radio::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gift-green);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.gift-payment-option input:checked +
.gift-payment-option__radio::after {
    transform: scale(1);
}

.gift-payment-option__icon {
    color: var(--gift-green-dark);
}

.gift-payment-option__icon svg {
    width: 31px;
    height: 31px;
}

.gift-payment-option__text {
    min-width: 0;
}

.gift-payment-option__text strong,
.gift-payment-option__text small {
    display: block;
}

.gift-payment-option__text strong {
    color: var(--gift-text);
    font-size: 0.9rem;
}

.gift-payment-option__text small {
    margin-top: 4px;
    color: var(--gift-text-soft);
    font-size: 0.7rem;
    line-height: 1.4;
}

.gift-consent {
    padding-top: 3px;
}

.gift-consent label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--gift-text-soft);
    font-size: 0.78rem;
    line-height: 1.55;
    cursor: pointer;
}

.gift-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gift-consent__check {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(53, 71, 53, 0.34);
    border-radius: 4px;
    background: var(--gift-white);
    color: transparent;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.gift-consent__check svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.3;
}

.gift-consent input:checked +
.gift-consent__check {
    border-color: var(--gift-green);
    background: var(--gift-green);
    color: var(--gift-white);
}

.gift-submit-button {
    position: relative;
    width: 100%;
    min-height: 55px;
    padding: 13px 22px;
    border: 1px solid var(--gift-green);
    border-radius: 7px;
    background: var(--gift-green);
    color: var(--gift-white);
    overflow: hidden;
    font-weight: 650;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gift-submit-button:hover {
    transform: translateY(-2px);
    background: var(--gift-green-dark);
    border-color: var(--gift-green-dark);
    box-shadow: 0 14px 28px rgba(53, 71, 53, 0.2);
}

.gift-submit-button:disabled {
    cursor: default;
}

.gift-submit-button__default,
.gift-submit-button__loading,
.gift-submit-button__success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gift-submit-button__default svg,
.gift-submit-button__success svg {
    width: 21px;
    height: 21px;
}

.gift-submit-button__loading,
.gift-submit-button__success {
    display: none;
}

.gift-submit-spinner {
    width: 19px;
    height: 19px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--gift-white);
    border-radius: 50%;
    animation: gift-spin 0.8s linear infinite;
}

.gift-submit-button.is-loading
.gift-submit-button__default {
    display: none;
}

.gift-submit-button.is-loading
.gift-submit-button__loading {
    display: flex;
}

.gift-submit-button.is-success {
    background: #496849;
    border-color: #496849;
    animation: gift-success-pulse 0.55s ease;
}

.gift-submit-button.is-success
.gift-submit-button__default,
.gift-submit-button.is-success
.gift-submit-button__loading {
    display: none;
}

.gift-submit-button.is-success
.gift-submit-button__success {
    display: flex;
}

.gift-form-message {
    display: none;
    margin-top: -14px;
    padding: 14px 16px;
    border: 1px solid rgba(73, 104, 73, 0.18);
    border-radius: 7px;
    background: rgba(73, 104, 73, 0.08);
    color: var(--gift-green-dark);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.5;
}

.gift-form-message.is-visible {
    display: block;
    animation: gift-message-in 0.45s ease both;
}


/* =========================================================
   INFORMAZIONI IMPORTANTI
========================================================= */

.gift-info {
    padding-bottom: 105px;
}

.gift-info-heading {
    margin-bottom: 45px;
    text-align: center;
}

.gift-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--gift-border);
    border-bottom: 1px solid var(--gift-border);
}

.gift-info-card {
    padding: 38px 28px;
    text-align: center;
}

.gift-info-card + .gift-info-card {
    border-left: 1px solid var(--gift-border);
}

.gift-info-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(95, 116, 91, 0.25);
    border-radius: 50%;
    color: var(--gift-green-dark);
}

.gift-info-card__icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.45;
}

.gift-info-card h3 {
    margin: 0 0 12px;
    color: var(--gift-green-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gift-info-card p {
    margin: 0 auto;
    color: var(--gift-text-soft);
    font-size: 0.83rem;
    line-height: 1.65;
}


/* =========================================================
   FAQ
========================================================= */

.gift-faq {
    padding-bottom: 120px;
}

.gift-faq-list {
    max-width: 900px;
    margin-inline: auto;
    border-top: 1px solid var(--gift-border);
}

.gift-faq-item {
    border-bottom: 1px solid var(--gift-border);
}

.gift-faq-question {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 4px;
    border: 0;
    background: transparent;
    color: var(--gift-text);
    text-align: left;
    font-size: 0.96rem;
    font-weight: 600;
}

.gift-faq-question svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--gift-green);
    transition: transform 0.3s ease;
}

.gift-faq-question[aria-expanded="true"] svg {
    transform: rotate(45deg);
}

.gift-faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gift-faq-item.is-open .gift-faq-answer {
    max-height: 220px;
    opacity: 1;
    visibility: visible;
}

.gift-faq-answer p {
    margin: 0;
    padding: 0 45px 23px 4px;
    color: var(--gift-text-soft);
    font-size: 0.89rem;
    line-height: 1.7;
}


/* =========================================================
   ANIMAZIONI
========================================================= */

@keyframes gift-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gift-success-pulse {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.025);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes gift-message-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .gift-hero__content {
        grid-template-columns: 1fr 0.9fr;
    }

    .gift-hero__text {
        padding-left: 45px;
        padding-right: 45px;
    }

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

    .gift-value-card {
        min-height: 325px;
    }

    .gift-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 50px;
    }

    .gift-process-grid::before {
        display: none;
    }

    .gift-form-shell {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .gift-summary {
        padding: 38px 25px;
    }

    .gift-form-area {
        padding: 38px 32px 40px;
    }
}


/* =========================================================
   TABLET PICCOLO
========================================================= */

@media (max-width: 850px) {

    .section-container {
        width: min(100% - 30px, 720px);
    }

    .gift-hero,
    .gift-hero__content {
        min-height: auto;
    }

    .gift-hero__content {
        grid-template-columns: 1fr;
    }

    .gift-hero__text {
        min-height: 560px;
        padding: 80px 35px 70px;
        align-items: center;
        text-align: center;
    }

    .gift-title-decoration {
        width: 250px;
    }

    .gift-hero__visual,
    .gift-hero__visual img,
    .gift-hero__placeholder {
        min-height: 430px;
    }

    .gift-form-shell {
        grid-template-columns: 1fr;
    }

    .gift-summary {
        border-right: 0;
        border-bottom: 1px solid var(--gift-border);
    }

    .gift-summary__card {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
        gap: 24px;
    }

    .gift-summary__divider {
        display: none;
    }

    .gift-summary__validity {
        margin-top: 22px;
    }

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

    .gift-info-card + .gift-info-card {
        border-left: 0;
    }

    .gift-info-card:nth-child(even) {
        border-left: 1px solid var(--gift-border);
    }

    .gift-info-card:nth-child(n + 3) {
        border-top: 1px solid var(--gift-border);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .section-container {
        width: calc(100% - 24px);
    }

    .gift-hero__text {
        min-height: 515px;
        padding: 68px 22px 60px;
    }

    .gift-eyebrow {
        margin-bottom: 20px;
        font-size: 0.66rem;
        letter-spacing: 0.2em;
    }

    .gift-hero h1 {
        font-size: clamp(3.4rem, 18vw, 4.8rem);
    }

    .gift-title-decoration {
        width: 220px;
        margin: 27px 0 23px;
    }

    .gift-hero__description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .gift-hero__button {
        width: 100%;
        max-width: 330px;
        justify-content: center;
        margin-top: 27px;
    }

    .gift-hero__visual,
    .gift-hero__visual img,
    .gift-hero__placeholder {
        min-height: 330px;
    }

    .gift-selection {
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .gift-section-heading {
        margin-bottom: 38px;
    }

    .gift-section-heading h2,
    .gift-info-heading h2 {
        font-size: 2.55rem;
    }

    .gift-section-heading p {
        margin-top: 18px;
        font-size: 0.91rem;
    }

    .gift-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gift-value-card {
        min-height: auto;
        padding: 30px 23px 23px;
    }

    .gift-value-card__price strong {
        font-size: 3.5rem;
    }

    .gift-process {
        padding-bottom: 88px;
    }

    .gift-process-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .gift-process-card {
        padding: 0 25px;
    }

    .gift-process-card__icon {
        width: 74px;
        height: 74px;
        margin-bottom: 20px;
    }

    .gift-form-section {
        padding-bottom: 85px;
    }

    .gift-form-shell {
        border-radius: 11px;
    }

    .gift-summary {
        padding: 30px 21px;
    }

    .gift-summary__card {
        display: block;
        padding: 24px 21px;
    }

    .gift-summary__divider {
        display: block;
    }

    .gift-form-area {
        padding: 31px 20px 32px;
    }

    .gift-form-heading {
        margin-bottom: 28px;
    }

    .gift-form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .gift-field--full {
        grid-column: auto;
    }

    .gift-payment-options {
        grid-template-columns: 1fr;
    }

    .gift-payment-option {
        min-height: 87px;
        padding: 15px;
    }

    .gift-submit-button {
        min-height: 53px;
    }

    .gift-info {
        padding-bottom: 80px;
    }

    .gift-info-heading {
        margin-bottom: 34px;
    }

    .gift-info-grid {
        grid-template-columns: 1fr;
    }

    .gift-info-card {
        padding: 32px 22px;
    }

    .gift-info-card:nth-child(even),
    .gift-info-card + .gift-info-card {
        border-left: 0;
    }

    .gift-info-card:nth-child(n + 2) {
        border-top: 1px solid var(--gift-border);
    }

    .gift-faq {
        padding-bottom: 90px;
    }

    .gift-faq-question {
        min-height: 67px;
        padding: 16px 2px;
        font-size: 0.88rem;
    }

    .gift-faq-answer p {
        padding: 0 32px 21px 2px;
        font-size: 0.83rem;
    }
}


/* =========================================================
   ACCESSIBILITÀ E RIDUZIONE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .gift-page *,
    .gift-page *::before,
    .gift-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* =========================================================
   CORREZIONE DEFINITIVA HERO BUONI REGALO
========================================================= */

.gift-hero {
    width: 100%;
    min-height: 650px;
    background: #f7f3eb;
    overflow: hidden;
}

.gift-hero__content {
    width: 100%;
    max-width: none;
    min-height: 650px;
    margin: 0;
    display: grid;
    grid-template-columns: 46% 54%;
}

/* COLONNA TESTO */

.gift-hero__text {
    min-height: 650px;
    padding:
        75px
        clamp(45px, 6vw, 105px)
        75px
        max(50px, calc((100vw - 1400px) / 2 + 65px));

    justify-content: center;
}

.gift-eyebrow {
    margin-bottom: 25px;
}

.gift-hero h1 {
    max-width: 540px;
    font-size: clamp(4.6rem, 6.2vw, 7rem);
    line-height: 0.92;
}

.gift-hero__description {
    max-width: 430px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.gift-hero__button {
    margin-top: 30px;
}

/* COLONNA FOTO */

.gift-hero__visual {
    position: relative;
    width: 100%;
    height: 650px;
    min-height: 650px;
    overflow: hidden;
    background: var(--gift-sage);
}

.gift-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
}

/* SFUMATURA TRA TESTO E FOTO */

.gift-hero__visual::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 75px;
    background: linear-gradient(
        90deg,
        rgba(247, 243, 235, 0.55),
        transparent
    );
    pointer-events: none;
}

/* ELIMINA LE DECORAZIONI CHE CREANO SPAZI STRANI */

.gift-hero::after {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .gift-hero__content {
        grid-template-columns: 48% 52%;
    }

    .gift-hero__text {
        padding: 65px 40px;
    }

    .gift-hero h1 {
        font-size: clamp(4rem, 7vw, 5.6rem);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .gift-hero {
        min-height: auto;
    }

    .gift-hero__content {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .gift-hero__text {
        min-height: auto;
        padding: 75px 25px 65px;
        align-items: center;
        text-align: center;
    }

    .gift-hero h1 {
        max-width: 100%;
        font-size: clamp(3.8rem, 17vw, 5.2rem);
    }

    .gift-hero__description {
        max-width: 460px;
    }

    .gift-hero__visual {
        width: 100%;
        height: 420px;
        min-height: 420px;
    }

    .gift-hero__visual::before {
        display: none;
    }
}


@media (max-width: 520px) {

    .gift-hero__visual {
        height: 330px;
        min-height: 330px;
    }

    .gift-hero__visual img {
        object-position: center;
    }
}/* =========================================================
   CONSENSI MODULO GIFT CARD
========================================================= */

.gift-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gift-consent a {
    color: var(--gift-green-dark, #354735);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.gift-consent a:hover {
    color: var(--gift-gold, #b99a65);
}

.gift-consent a:focus-visible {
    outline: 3px solid rgba(95, 116, 91, 0.25);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Rifiniture finali form e FAQ */
.gift-inline-choice{display:inline-flex;align-items:center;gap:12px;line-height:1.35;cursor:pointer}.gift-inline-choice input[type="checkbox"]{width:20px;height:20px;margin:0;flex:0 0 20px;align-self:center}.gift-inline-choice>span{display:block}.gift-faq-list{max-width:980px;margin-inline:auto;border-top:0}.gift-faq .faq-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.gift-inline-choice{align-items:flex-start}.gift-inline-choice input[type="checkbox"]{margin-top:2px}.gift-faq .faq-list{grid-template-columns:1fr}}

/* =========================================================
   CORREZIONE ALLINEAMENTO CHECKBOX INVIO DESTINATARIO
========================================================= */
.gift-field label.gift-inline-choice {
    width: 100%;
    margin-bottom: 8px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 12px;
    cursor: pointer;
}

.gift-field label.gift-inline-choice input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    margin: 0 !important;
    padding: 0;
    flex: 0 0 20px;
}

.gift-field label.gift-inline-choice > span {
    display: inline-block;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .gift-field label.gift-inline-choice {
        align-items: flex-start !important;
    }

    .gift-field label.gift-inline-choice input[type="checkbox"] {
        margin-top: 2px !important;
    }
}


/* =========================================================
   TABLET — GIFT CARD
   ========================================================= */

/* FAQ: ogni card mantiene la propria altezza */
@media (min-width: 621px) and (max-width: 1120px) {
    .gift-faq .faq-list,
    .gift-faq-list {
        align-items: start !important;
    }

    .gift-faq .faq-list > *,
    .gift-faq-list > * {
        align-self: start !important;
    }

    .gift-faq .faq-item {
        height: auto !important;
        min-height: 0 !important;
    }
}

/* iPad Mini / Air: tre colonne realmente allineate */
@media (min-width: 621px) and (max-width: 880px) {
    .gift-summary__card {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto !important;
        column-gap: 28px !important;
        row-gap: 10px !important;
        align-items: center !important;
        padding: 28px !important;
    }

    .gift-summary__divider {
        display: none !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(7) {
        grid-row: 1 !important;
        justify-self: center !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(2) { grid-column: 1 !important; }

    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(5) { grid-column: 2 !important; }

    .gift-summary__card > :nth-child(7),
    .gift-summary__card > :nth-child(8) { grid-column: 3 !important; }

    .gift-summary__card > :nth-child(2),
    .gift-summary__card > :nth-child(5),
    .gift-summary__card > :nth-child(8) {
        grid-row: 2 !important;
        justify-self: center !important;
        margin: 0 !important;
    }
}

/* iPad Pro: il riepilogo non resta compresso in una colonna stretta */
@media (min-width: 881px) and (max-width: 1120px) {
    .gift-form-shell {
        grid-template-columns: 1fr !important;
    }

    .gift-summary {
        border-right: 0 !important;
        border-bottom: 1px solid var(--gift-border) !important;
        padding: 32px 34px !important;
    }

    .gift-summary__eyebrow {
        margin-bottom: 18px !important;
    }

    .gift-summary__card {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto !important;
        column-gap: 42px !important;
        row-gap: 12px !important;
        align-items: center !important;
        padding: 28px 34px !important;
    }

    .gift-summary__divider {
        display: none !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(7) {
        grid-row: 1 !important;
        justify-self: center !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(2) { grid-column: 1 !important; }

    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(5) { grid-column: 2 !important; }

    .gift-summary__card > :nth-child(7),
    .gift-summary__card > :nth-child(8) { grid-column: 3 !important; }

    .gift-summary__card > :nth-child(2),
    .gift-summary__card > :nth-child(5),
    .gift-summary__card > :nth-child(8) {
        grid-row: 2 !important;
        justify-self: center !important;
        margin: 0 !important;
    }

    .gift-summary__value,
    .gift-summary__total {
        justify-content: center !important;
    }

    .gift-summary__validity {
        margin-top: 18px !important;
    }

    .gift-form-area {
        padding: 45px 42px 50px !important;
    }
}


/* =========================================================
   TABLET STRETTO — BUONI REGALO
   ========================================================= */
@media (min-width: 651px) and (max-width: 880px) {

    .gift-page img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .gift-hero__text {
        min-height: auto !important;
        padding: 58px 32px 54px !important;
    }

    .gift-hero__visual,
    .gift-hero__visual img {
        min-height: 330px !important;
        height: 330px !important;
    }

    .gift-selection {
        padding-top: 68px !important;
        padding-bottom: 72px !important;
    }

    .gift-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .gift-value-card {
        min-height: 250px !important;
        padding: 28px 20px 20px !important;
    }

    .gift-process {
        padding-top: 64px !important;
        padding-bottom: 68px !important;
    }

    .gift-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 20px !important;
    }

    .gift-process-card {
        min-height: 190px !important;
        padding: 0 22px !important;
    }

    .gift-form-section {
        padding-top: 50px !important;
        padding-bottom: 68px !important;
    }

    .gift-summary {
        padding: 26px 24px !important;
    }

    .gift-summary__card {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto !important;
        gap: 10px 22px !important;
        align-items: center !important;
        padding: 24px !important;
    }

    .gift-summary__divider {
        display: none !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(7) {
        grid-row: 1 !important;
        justify-self: center !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .gift-summary__card > :nth-child(1),
    .gift-summary__card > :nth-child(2) { grid-column: 1 !important; }

    .gift-summary__card > :nth-child(4),
    .gift-summary__card > :nth-child(5) { grid-column: 2 !important; }

    .gift-summary__card > :nth-child(7),
    .gift-summary__card > :nth-child(8) { grid-column: 3 !important; }

    .gift-summary__card > :nth-child(2),
    .gift-summary__card > :nth-child(5),
    .gift-summary__card > :nth-child(8) {
        grid-row: 2 !important;
        justify-self: center !important;
        margin: 0 !important;
    }

    .gift-form-area {
        padding: 34px 28px 38px !important;
    }

    .gift-info {
        padding-top: 64px !important;
        padding-bottom: 66px !important;
    }

    .gift-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gift-faq {
        padding-top: 60px !important;
        padding-bottom: 64px !important;
    }

    .gift-faq .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 12px !important;
    }

    .gift-faq .faq-item {
        align-self: start !important;
        height: auto !important;
    }
}
