/* CPOS Gift Card Shop */

.gcshop-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 0 32px;
}

.gcshop-form {
    margin-top: 8px;
}

/* Field */
.gcshop-field {
    margin-bottom: 22px;
}

.gcshop-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.gcshop-field input[type="text"],
.gcshop-field input[type="number"],
.gcshop-field input[type="email"],
.gcshop-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 15px;
    color: #111;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
    -webkit-appearance: none;
    appearance: none;
}

.gcshop-field input:focus,
.gcshop-field textarea:focus {
    border-color: #888;
    outline: none;
}

.gcshop-field textarea {
    resize: vertical;
    min-height: 110px;
}

/* Submit */
.gcshop-submit {
    margin-top: 32px;
}

.gcshop-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
}

.gcshop-btn:hover,
.gcshop-btn:focus {
    background: #e09415;
    outline: none;
}

/* WooCommerce notices inside shortcode */
.gcshop-wrap .woocommerce-error,
.gcshop-wrap .woocommerce-message,
.gcshop-wrap .woocommerce-info {
    margin-bottom: 20px;
}

/* ── Checkout: editable recipient fields ── */
.gcshop-checkout-fields {
    margin: 20px 0 24px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.gcshop-checkout-title {
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
}

.gcshop-checkout-fields .form-row {
    margin-bottom: 12px !important;
    padding: 0 !important;
}

.gcshop-checkout-fields .form-row:last-child {
    margin-bottom: 0 !important;
}

.gcshop-checkout-fields label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.gcshop-checkout-fields .input-text {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.gcshop-checkout-fields textarea.input-text {
    resize: vertical;
    min-height: 80px;
}

/* ── Checkout: gift card redemption field ── */
.gcshop-gc-section {
    margin: 0 0 20px;
    margin-top: 20px;
    padding: 16px 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
        position: relative;
}

.gcshop-gc-title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
}

.gcshop-gc-row {
    display: flex !important;
    gap: 8px;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.gcshop-gc-row .input-text {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gcshop-gc-applied {
    margin: 0 !important;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gcshop-remove-gc {
    padding: 6px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    position: absolute !important;
    top: 0;
    right: 0;
    display: inline-block;
    background: none;
    min-height: unset !important;
    background: none !important;
}
.gcshop-remove-gc svg {
    width: 17px;
}
.gcshop-gc-message {
    margin: 8px 0 0 !important;
    font-size: 13px;
}


@media (max-width: 480px) {
    .gcshop-gc-row {
        flex-direction: column !important;
        gap: 6px;
    }
    .gcshop-gc-row::before {
    display: none!important;
}
}