/* giftcards.css — gift cards for sale (Views/GiftCards/Index.cshtml, Thanks.cshtml). */
.wo-gc-page {
    max-width: 640px;
    margin: 2rem auto 0;
    padding: 0 1.25rem;
}

.wo-gc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.wo-gc-title {
    font-family: var(--wo-heading-font);
    font-size: 1.7rem;
    margin: 0 0 0.4rem;
}

.wo-gc-intro {
    color: #4b5563;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

/* Amount buttons: radios drawn as chips. */
.wo-gc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wo-gc-chip {
    position: relative;
    cursor: pointer;
}

    .wo-gc-chip input {
        position: absolute;
        opacity: 0;
        inset: 0;
        cursor: pointer;
    }

    .wo-gc-chip span {
        display: inline-block;
        min-width: 4.5rem;
        padding: 0.6rem 1rem;
        text-align: center;
        border: 1.5px solid #d1d5db;
        border-radius: 10px;
        font-weight: 600;
        color: #111827;
        background: #fff;
        transition: border-color 0.15s, background 0.15s, color 0.15s;
    }

    .wo-gc-chip input:checked + span {
        border-color: var(--wo-primary);
        background: var(--wo-primary);
        color: var(--wo-primary-text);
    }

    .wo-gc-chip input:focus-visible + span {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--wo-primary) 22%, transparent);
    }

.wo-gc-custom {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 16rem;
}

    .wo-gc-custom[hidden] {
        display: none;
    }

.wo-gc-hint {
    color: #6b7280;
    font-size: 0.8rem;
}

/* site.css styles text-like inputs inside .wo-field; the date picker is not in its list. */
.wo-field input[type=date] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: #111827;
}

    .wo-field input[type=date]:focus {
        outline: 0;
        border-color: var(--wo-primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--wo-primary) 22%, transparent);
    }

.wo-gc-sendon {
    max-width: 16rem;
}

.wo-gc-secure {
    margin: 0.25rem 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.8rem;
}

/* Thank-you page */
.wo-gc-thanks p {
    line-height: 1.55;
    color: #374151;
}

.wo-gc-done {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #065f46 !important;
    font-weight: 600;
}

.wo-gc-link {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
}

.wo-gc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

    .wo-gc-actions a {
        color: var(--wo-primary);
        font-weight: 600;
        text-decoration: none;
    }

        .wo-gc-actions a:hover {
            text-decoration: underline;
        }
