/* ─── Lift Keys — Checkout styles ──────────────────── */

/* Hide residents field by default — shown via JS */
#billing_projivaut_field {
    transition: opacity .2s;
}

/* ─── Verification popup ─────────────────────────────── */
.lk-verify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lk-verify-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.lk-verify-icon  { font-size: 48px; margin-bottom: 16px; }
.lk-verify-title { font-size: 22px; margin: 0 0 12px; color: #1e293b; }
.lk-verify-text  { font-size: 15px; color: #374151; margin-bottom: 8px; line-height: 1.5; }
.lk-verify-sub   { font-size: 14px; color: #6b7280; margin-bottom: 24px; }
.lk-verify-btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.lk-verify-btn:hover { background: #1d4ed8; }
.lk-verify-hint { font-size: 12px; color: #9ca3af; margin-top: 16px; }

/* ─── Two-button popup actions (residents confirm) ───── */
.lk-verify-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}
.lk-verify-btn-secondary {
    background: #f1f5f9;
    color: #1e293b;
}
.lk-verify-btn-secondary:hover { background: #e2e8f0; }

#billing_projivaut_field .optional {
    display: none;
}



/* Поля, заповнені автоматично з /lift/ */
.no-input {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    pointer-events: none !important;
    cursor: default !important;
    box-shadow: none !important;
}

/* Прибираємо стрілки у number полях */
.no-input[type="number"]::-webkit-inner-spin-button,
.no-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.no-input[type="number"] {
    -moz-appearance: textfield;
}

/* Додаємо легкий візуальний ефект "неактивне поле" */
.no-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

#billing__adressa_user_field,
#billing_phone_field{
  width: 100%;
}

#billing__adressa_user {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
}
#billing_phone{
   padding-left:37px; 
}
#billing_phone_field .woocommerce-input-wrapper{
    position: relative;
}
#billing_phone_field .woocommerce-input-wrapper:before{
    content:"+38";
    display: block;
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 9;
}

#billing_country_field, #shipping_country_field{
    display: none!important;
}

/**
 * WooCommerce Checkout: Додавання фото, кнопок плюс/мінус та видалення товару в правому кутку (з CSS) 
 */

/* Убираем стрелки в Chrome, Safari, Edge и Opera */
.lk-checkout-qty-custom .lk-qty-input::-webkit-outer-spin-button,
.lk-checkout-qty-custom .lk-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  border: none;
}

/* Убираем стрелки в Firefox */
.lk-checkout-qty-custom .lk-qty-input[type=number] {
  -moz-appearance: textfield;
  border: none;
}
.lk-qty-btn {
  padding: 10px 10px;
}

.lk-checkout-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.lk-checkout-qty-wrapper {
    order:3;
}
.lk-checkout-thumb {
    flex-shrink: 0;
    border-radius: 4px;
}
.lk-checkout-product-title {
    flex: 1;
}
.shop_table.woocommerce-checkout-review-order-table .cart_item .lk-remove-checkout-item {
    color: #e2401c;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    margin-left: auto;
    text-decoration: none;
}
.shop_table.woocommerce-checkout-review-order-table .cart_item .lk-checkout-qty-custom{
    margin-left: auto;
}
.lk-remove-checkout-item:hover {
    color: #c00;
    transform: scale(1.15);
}

.lk-checkout-qty-custom {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}
.lk-qty-input {
    width: 48px;
    text-align: center;
    border: none;
    font-size: 15px;
}
.lk-qty-buttons {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
}
.lk-qty-btn {
    width: 22px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    background: #f8f8f8;
    user-select: none;
}
.lk-qty-btn:hover { background: #eee; }

.shop_table.woocommerce-checkout-review-order-table .cart_item .product-name{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}
      