/*
 * Neutral checkout presentation.
 * Browser-facing selectors use numeric data attributes.
 */

/* Shared classic and Blocks container */
[data-4061827359] {
    display: block;
    margin-top: 12px;
    max-width: 420px;
}

/* Classic WooCommerce checkout */
[data-4061827359] .form-row {
    margin-bottom: 12px;
}

[data-4061827359] .form-row label {
    display: block;
    margin-bottom: 5px;
    color: #515151;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

[data-4061827359] input.input-text,
[data-2857041936] input,
[data-2857041936] input[type="tel"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    color: #111827 !important;
    background: #fff !important;
    border: 1px solid #d8d1d6 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

[data-4061827359] input.input-text::placeholder,
[data-2857041936] input::placeholder {
    color: #94a3b8 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    opacity: .95 !important;
}

[data-4061827359] input.input-text:hover:not(:disabled),
[data-2857041936] input:hover:not(:disabled) {
    border-color: #b9c1ca !important;
}

[data-4061827359] input.input-text:focus,
[data-4061827359] input.input-text:focus-visible,
[data-2857041936] input:focus,
[data-2857041936] input:focus-visible {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14) !important;
}

/* Payment heading */
[data-3094758162] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

[data-1047382956] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

[data-1047382956] strong {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

[data-1047382956] span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

/* Gateway label and card logos */
[data-8241673059] {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

[data-7319054826] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

[data-7319054826] img {
    display: inline-block;
    width: auto;
    height: 22px;
    max-width: 52px;
    max-height: 22px;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: none;
    vertical-align: middle;
}

/* Blocks card form */
[data-8951204376] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 10px;
    grid-auto-rows: min-content;
    margin: 0 0 8px !important;
}

[data-4829501736] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 !important;
}

[data-4829501736="full"] {
    grid-column: 1 / -1;
}

[data-4829501736="half"] {
    grid-column: auto;
}

[data-4829501736] label {
    display: block !important;
    margin: 0 0 0 2px !important;
    color: #515151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

[data-2857041936] {
    position: relative;
}

[data-4829501736="full"] [data-2857041936] input {
    padding-right: 56px !important;
    letter-spacing: .04em;
}

/* Detected card icon */
[data-5608172943] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 22px;
    max-width: 36px;
    pointer-events: none;
}

/* Processing state */
[data-4061827359="1"] input {
    opacity: .72 !important;
    cursor: not-allowed !important;
}

/* Information and error messages */
[data-9513062847] {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
}

[data-9513062847="info"] {
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

[data-9513062847="error"],
[data-4061827359] > [data-9513062847]:not([data-9513062847="info"]) {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

@media (prefers-reduced-motion: reduce) {
    [data-4061827359] input.input-text,
    [data-2857041936] input {
        transition: none !important;
    }
}

@media (max-width: 560px) {
    [data-8951204376] {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    [data-4829501736="full"],
    [data-4829501736="half"] {
        grid-column: auto;
    }

    [data-7319054826] img {
        height: 20px;
        max-height: 20px;
    }
}
