/* The gift card page (IT/EN buono_regalo.aspx) */
.gc-page { max-width: 1040px; margin: 0 auto 60px; padding: 0 16px; box-sizing: border-box; color: #2a2a2a; }
.gc-page *, .gc-page *::before, .gc-page *::after { box-sizing: border-box; }
.gc-lead { max-width: 680px; margin: 0 auto 30px; font-size: 17px; line-height: 1.6; text-align: center; color: #555; }
.gc-grid { display: flex; gap: 40px; align-items: flex-start; }
.gc-grid[hidden] { display: none; }
.gc-side { flex: 1 1 0; position: sticky; top: 20px; }
.gc-form { flex: 1 1 0; }

/* the card */
.gc-card { padding: 28px 22px 22px; border: 2px solid #af903f; border-radius: 14px; background: #faf7ee; text-align: center; box-shadow: 0 10px 30px rgba(80, 60, 10, .12); }
.gc-card-logo { display: block; width: 120px; height: auto; margin: 0 auto 14px; }
.gc-card-title { font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #af903f; }
.gc-card-amount { font-size: 48px; line-height: 1.15; font-weight: 800; padding: 8px 0 6px; }
.gc-card-to { font-size: 18px; font-weight: 700; }
.gc-card-msg { font-size: 15px; line-height: 1.55; font-style: italic; color: #4a4a4a; padding: 10px 8px 0; white-space: pre-line; overflow-wrap: anywhere; }
.gc-card-from { font-size: 14px; color: #6e6e6e; padding-top: 10px; }
.gc-card-line { border-top: 1px solid #e6dcc0; margin: 18px 0 12px; }
.gc-card-caption { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6e6e6e; }
.gc-card-code { font-family: 'Courier New', Courier, monospace; font-size: 22px; font-weight: 700; letter-spacing: 3px; padding: 4px 0 8px; }
.gc-card-valid { font-size: 13px; color: #6e6e6e; }
[data-gc][hidden] { display: none; }

.gc-points { list-style: none; margin: 22px 0 0; padding: 0; }
.gc-points li { position: relative; padding: 0 0 10px 28px; font-size: 15px; line-height: 1.5; text-align: left; }
.gc-points li::before { content: "\2713"; position: absolute; left: 4px; top: 0; font-weight: 800; color: #82bc00; }

/* the form */
.gc-step { margin: 0 0 12px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.gc-step span { font-weight: 400; text-transform: none; color: #888; }
.gc-step:not(:first-child) { margin-top: 26px; }
.gc-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gc-amount { margin: 0; cursor: pointer; }
.gc-amount input { position: absolute; opacity: 0; pointer-events: none; }
.gc-amount span { display: block; padding: 14px 4px; border: 2px solid #ddd; border-radius: 8px; background: #fff; text-align: center; font-size: 18px; font-weight: 800; }
.gc-amount input:checked + span { border-color: #82bc00; background: #f3f9e3; }
.gc-amount input:focus-visible + span { outline: 2px solid #2a2a2a; outline-offset: 2px; }
.gc-field { display: block; margin: 0 0 12px; font-weight: 400; text-align: left; }
.gc-field > span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #555; }
.gc-field em { font-style: normal; font-weight: 400; text-transform: none; color: #888; }
.gc-field input, .gc-field textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font: inherit; font-size: 16px; color: #2a2a2a; background: #fff; }
.gc-field textarea { resize: vertical; min-height: 80px; }
.gc-field input:focus, .gc-field textarea:focus { border-color: #82bc00; outline: none; box-shadow: 0 0 0 3px rgba(130, 188, 0, .2); }
.gc-count { margin: -8px 0 0; font-size: 12px; color: #888; text-align: right; }
.gc-row { display: flex; gap: 12px; }
.gc-row .gc-field { flex: 1 1 0; }
.gc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 14px; padding-top: 14px; border-top: 1px solid #e6e6e6; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.gc-total strong { font-size: 24px; }
.gc-secure { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #888; text-align: center; }

/* after paying */
.gc-done { max-width: 520px; margin: 0 auto 40px; padding: 28px 24px; border: 1px solid #e6e6e6; border-radius: 6px; background: #fafafa; text-align: center; }
.gc-done[hidden] { display: none; }
.gc-done h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.gc-done p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #555; }
.gc-tick { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #82bc00; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.gc-btn { display: inline-block; padding: 14px 28px; border-radius: 4px; background: #82bc00; color: #fff; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.gc-btn[hidden] { display: none; }
.gc-link { display: block; margin-top: 16px; color: #2a2a2a; text-decoration: underline; }

/* how it works */
.gc-faq { max-width: 720px; margin: 50px auto 0; padding-top: 30px; border-top: 1px solid #e6e6e6; text-align: left; }
.gc-faq h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; text-transform: uppercase; text-align: center; }
.gc-faq h3 { margin: 18px 0 4px; font-size: 16px; font-weight: 700; }
.gc-faq p { margin: 0; font-size: 15px; line-height: 1.6; color: #555; }

@media (max-width: 767px) {
    .gc-grid { flex-direction: column; gap: 26px; }
    .gc-side { position: static; width: 100%; }
    .gc-form { width: 100%; }
    .gc-points { margin-top: 18px; }
    .gc-points li { font-size: 14px; padding-bottom: 6px; }
    .gc-amounts { grid-template-columns: repeat(2, 1fr); }
    .gc-card-amount { font-size: 40px; }
    .gc-lead { font-size: 16px; margin-bottom: 20px; }
}
