/**
 * WooCommerce CSS Overrides
 * Contains styles specifically designed to override WooCommerce default styles
 */

/* Override form input styles */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row input[type=text],
.woocommerce form .form-row input[type=tel],
.woocommerce form .form-row input[type=email],
.woocommerce form .form-row select {
    background: #f5f5f5 !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 1rem !important;
    color: #000 !important;
    padding: 14px 0 0 7px !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove border and outline on focus */
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row input[type=text]:focus,
.woocommerce form .form-row input[type=tel]:focus,
.woocommerce form .form-row input[type=email]:focus,
.woocommerce form .form-row select:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Additional specificity for checkout page */
body.woocommerce-checkout .woocommerce form .form-row .input-text,
body.woocommerce-checkout .woocommerce form .form-row input[type=text],
body.woocommerce-checkout .woocommerce form .form-row input[type=tel],
body.woocommerce-checkout .woocommerce form .form-row input[type=email],
body.woocommerce-checkout .woocommerce form .form-row select {
    background: #f5f5f5 !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 1rem !important;
    color: #000 !important;
    padding: 14px 0 0 7px !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove border and outline on focus with higher specificity */
body.woocommerce-checkout .woocommerce form .form-row .input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row input[type=text]:focus,
body.woocommerce-checkout .woocommerce form .form-row input[type=tel]:focus,
body.woocommerce-checkout .woocommerce form .form-row input[type=email]:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Fix for floating labels if they exist */
.woocommerce form .form-row.focus-within {
    position: relative;
}

.woocommerce form .form-row.focus-within label {
    position: absolute;
    top: 4px;
    left: 7px;
    font-size: 0.75rem;
    opacity: 0.7;
} 