/* YA MAN Egypt Smart Shipping — scoped checkout styles */
.woocommerce form .form-row.yaman-eg-city-field,
.woocommerce-checkout .form-row.yaman-eg-city-field {
    position: relative;
}

.woocommerce .yaman-eg-city-select,
.woocommerce-checkout .yaman-eg-city-select,
.woocommerce-cart .yaman-eg-city-select,
.woocommerce-account .yaman-eg-city-select {
    width: 100% !important;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background-color: #fff;
    color: #111;
    font: inherit;
    line-height: 1.2;
    box-shadow: none;
}

.woocommerce .yaman-eg-city-select:focus,
.woocommerce-checkout .yaman-eg-city-select:focus,
.woocommerce-cart .yaman-eg-city-select:focus,
.woocommerce-account .yaman-eg-city-select:focus {
    border-color: #111;
    outline: 0;
}

.woocommerce .yaman-eg-city-select:disabled,
.woocommerce-checkout .yaman-eg-city-select:disabled {
    cursor: not-allowed;
    opacity: .58;
    background-color: #f5f5f5;
}

.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 48px;
    border-color: #d9d9d9;
    border-radius: 2px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-inline: 14px 36px;
    line-height: 46px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    inset-inline-end: 8px;
}

.woocommerce ul#shipping_method li label,
.woocommerce-checkout ul#shipping_method li label {
    font-weight: 600;
}

@media (max-width: 767px) {
    .woocommerce .yaman-eg-city-select,
    .woocommerce-checkout .yaman-eg-city-select,
    .woocommerce-cart .yaman-eg-city-select,
    .woocommerce-account .yaman-eg-city-select {
        min-height: 50px;
        font-size: 16px;
    }
}

/* YA MAN v1.1 — remove the theme's misleading free-shipping UI */
.yaman-eg-hidden-free-shipping {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.woocommerce-mini-cart__wrapper .klb-free-shipping,
.woocommerce-mini-cart__wrapper .free-shipping-progress,
.woocommerce-mini-cart__wrapper .free-shipping-bar,
.cart-drawer .klb-free-shipping,
.cart-drawer .free-shipping-progress,
.cart-drawer .free-shipping-bar,
.side-cart .klb-free-shipping,
.side-cart .free-shipping-progress,
.side-cart .free-shipping-bar,
.offcanvas-cart .klb-free-shipping,
.offcanvas-cart .free-shipping-progress,
.offcanvas-cart .free-shipping-bar {
    display: none !important;
}

.yaman-eg-mini-cart-shipping-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 14px 0 12px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    color: #161616;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-align: start;
}

.yaman-eg-mini-cart-shipping-note__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

html[dir="rtl"] .yaman-eg-mini-cart-shipping-note,
.rtl .yaman-eg-mini-cart-shipping-note {
    direction: rtl;
}

@media (max-width: 767px) {
    .yaman-eg-mini-cart-shipping-note {
        margin-block: 12px 10px;
        padding: 11px 12px;
        font-size: 11px;
    }
}
