/* Gift Card Page – built from index shell */

.gift-card-hero-form {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: stretch;
    flex-wrap: wrap;
}

.gift-card-hero-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.gift-card-hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.gift-card-hero-credits {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: Roboto, sans-serif;
}

.gift-card-hero-credits .balance-label {
    margin-right: 4px;
}

.gift-card-hero-credits strong {
    margin: 0;
    font-weight: 700;
}

.gift-card-hero-credits .balance-unit {
    margin-left: 2px;
    color: rgba(255,255,255,0.9);
}

/* Pricing cards – 3 in a row on desktop */
.gift-card-pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    margin: 48px auto;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .gift-card-pricing-cards {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .gift-card-pricing-cards .product-card {
        flex: 1;
        max-width: 350px;
    }
}

.gift-card-btn {
    margin-top: 16px;
    display: inline-block;
}

.pricing-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-on-surface-variant, #49454F);
}

.gift-card-pricing-label {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-on-surface-variant, #49454F);
}

#giftcard-result .result-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gift-card-faq-inline {
    max-width: 560px;
    margin: 24px auto 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.gift-card-faq-inline p {
    margin: 0 0 8px;
}

.gift-card-faq-inline p:last-child {
    margin-bottom: 0;
}

.gift-card-pricing-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* Pricing cards as buttons (gift card page) */
.pricing-section button.pricing-card {
    cursor: pointer;
    font: inherit;
    text-align: center;
    width: 100%;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-section button.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Gift card result – white card, clear contrast on beige/cream background */
#giftcard-result {
    margin-top: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

#giftcard-result.hidden {
    display: none;
}

#giftcard-result .result-inner {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* Dark text on white panel (override page white text) */
#giftcard-result {
    color: #1D1B20;
}

#giftcard-result .result-heading,
#giftcard-result h3 {
    text-align: center;
    margin-bottom: 24px;
    color: #1D1B20;
    font-weight: 700;
}

#giftcard-result .result-center p {
    margin: 24px 0;
    color: #1D1B20;
}

#giftcard-result .result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

#giftcard-result .result-actions .btn-action {
    background: #fff;
    color: #1D1B20;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#giftcard-result .result-actions .btn-action:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#giftcard-result .result-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1D1B20;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

#giftcard-result .result-actions .btn-secondary:hover {
    background: #f5f5f5;
}

#giftcard-code {
    font-size: 24px;
    font-weight: 700;
    color: #5E2CA5;
}

/* Voucher visual (hidden, for download) */
.voucher-container {
    background-image: url('/images/background_giftcard.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.voucher-card {
    background: #ffe70b;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 220px;
    width: 75%;
}

/* Insufficient credits modal */
.giftcard-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.giftcard-modal[style*="display: flex"],
.giftcard-modal.show {
    display: flex;
}

.giftcard-modal .modal-content {
    background-color: #fff;
    border-radius: 28px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 32px;
}

.giftcard-modal h3 {
    margin-bottom: 16px;
}

.giftcard-modal p {
    margin-bottom: 24px;
}

.giftcard-modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Section spacing */
.giftcard-page .index-main-content .section-title {
    margin-top: 48px;
}

.giftcard-cta-section {
    text-align: center;
    margin: 64px 0;
}

.giftcard-cta-section .btn-action {
    padding: 14px 32px;
    font-size: 16px;
}

#giftcard-instructions {
    width: 100%;
    max-width: 600px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    color: #1D1B20;
    font-family: inherit;
    margin: 16px auto;
    display: block;
    min-height: 120px;
}
