/* =============================================================================
   commerce.css — šoninis krepšelis, krepšelio ir apmokėjimo puslapiai,
   įsimintos prekės, gyva paieška. Kraunama po components.css.
   ============================================================================= */

/* ═══ 1. ŠONINIAI SKYDELIAI (krepšelis + įsimintos) ═══════════════════════════ */
.mi-cart-drawer,
.mi-wishlist-drawer { z-index: 10080; }
.mpt-cart__summary .wc-proceed-to-checkout .button::after { margin-left: 10px; }
.mi-cart-overlay,
.mi-wishlist-overlay { background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

.mi-cart-panel { width: min(440px, 100vw); border-left: 0; box-shadow: -24px 0 60px rgba(0,0,0,.18); }
.mi-wishlist-panel { width: min(440px, 100vw); border-right: 0; box-shadow: 24px 0 60px rgba(0,0,0,.18); }

.mi-cart-panel .mi-panel__header,
.mi-wishlist-panel .mi-panel__header {
    background: #fff; color: var(--clr-black);
    padding: 18px 24px; min-height: 72px;
    border-bottom: 1px solid var(--clr-border);
}
.mi-cart-panel .mi-panel__header strong,
.mi-wishlist-panel .mi-panel__header strong { font-size: 17px; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; }
.mi-cart-head__title { display: flex; align-items: center; gap: 10px; }
.mi-cart-head__count {
    min-width: 24px; height: 24px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--clr-red); color: #fff; font-size: 12px; font-weight: 700;
}
.mi-cart-panel .mi-panel__close,
.mi-wishlist-panel .mi-panel__close {
    width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--clr-border); color: var(--clr-black);
    transition: background .15s, color .15s, border-color .15s;
}
.mi-cart-panel .mi-panel__close:hover,
.mi-wishlist-panel .mi-panel__close:hover { background: var(--clr-black); border-color: var(--clr-black); color: #fff; }

/* Turinys: sąrašas slenka, apačia lieka vietoje */
.mi-cart-panel__content { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.mi-cart-body { flex: 1; overflow-y: auto; padding: 0 24px; scrollbar-width: thin; }
.mi-cart-items { list-style: none; margin: 0; padding: 0; }
.mi-cart-items .mi-cart-item {
    position: relative;
    display: grid; grid-template-columns: 88px minmax(0, 1fr) 28px; gap: 16px;
    padding: 20px 0; border-bottom: 1px solid var(--clr-border);
    transition: opacity .2s ease;
}
.mi-cart-items .mi-cart-item:last-child { border-bottom: 0; }
.mi-cart-item.is-busy { opacity: .5; pointer-events: none; }
.mi-cart-item.is-removing { opacity: .2; pointer-events: none; }

.mi-cart-item__img { display: block; width: 88px; height: 88px; padding: 6px; border: 1px solid var(--clr-border); background: #fff; }
.mi-cart-item__img img { width: 100%; height: 100%; object-fit: contain; border: 0; padding: 0; background: none; display: block; }
.mi-cart-item__body { min-width: 0; display: flex; flex-direction: column; }
.mi-cart-item__sku { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: 4px; }
.mi-cart-items .mi-cart-item__title {
    font-size: 12.5px; line-height: 1.4; letter-spacing: .02em; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mi-cart-item__variant { font-size: 12px; color: var(--clr-muted); margin-top: 4px; }
.mi-cart-item__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mi-cart-item__prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.mi-cart-item__unit { font-size: 11px; color: var(--clr-muted); white-space: nowrap; }
.mi-cart-items .mi-cart-item__price { font-size: 15px; font-weight: 700; white-space: nowrap; }

.mi-qty { display: inline-flex; align-items: stretch; height: 34px; border: 1px solid var(--clr-border); background: #fff; }
.mi-qty__btn { width: 32px; border: 0; background: transparent; color: var(--clr-black); font-size: 16px; line-height: 1; cursor: pointer; font-family: inherit; transition: background .15s; }
.mi-qty__btn:hover { background: var(--clr-gray); }
.mi-qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.mi-qty__val { min-width: 34px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border-left: 1px solid var(--clr-border); border-right: 1px solid var(--clr-border); }

.mi-cart-items .mi-cart-remove {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border: 1px solid transparent; background: transparent; color: #b0b0b0; cursor: pointer;
    transition: color .15s, border-color .15s;
}
.mi-cart-items .mi-cart-remove:hover { color: var(--clr-red); border-color: var(--clr-border); }

.mi-cart-foot { flex-shrink: 0; padding: 18px 24px 24px; border-top: 1px solid var(--clr-border); background: #fafafa; }
.mi-cart-note {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; margin-bottom: 14px;
    border: 1px solid var(--clr-border); background: #fff;
    font-size: 12px; line-height: 1.4; color: var(--clr-text);
}
.mi-cart-note svg { flex-shrink: 0; color: var(--clr-red); }
.mi-cart-totals { margin: 0 0 16px; }
.mi-cart-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 13px; }
.mi-cart-totals dt, .mi-cart-totals dd { margin: 0; }
.mi-cart-totals .is-muted { color: var(--clr-muted); font-size: 12px; }
.mi-cart-totals .is-discount dd { color: var(--clr-red); font-weight: 600; }
.mi-cart-totals .is-total { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--clr-black); }
.mi-cart-totals .is-total dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mi-cart-totals .is-total dd { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.mi-cart-actions { display: flex; flex-direction: column; gap: 8px; }
.mi-cart-actions .mi-panel-btn { flex: none; height: 54px; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.mi-cart-actions .mi-panel-btn--red:hover { background: var(--clr-black); border-color: var(--clr-black); }
.mi-cart-link { align-self: center; padding: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-black); text-decoration: underline; text-underline-offset: 4px; }
.mi-cart-link:hover { color: var(--clr-red); }

.mi-cart-panel .mi-cart-empty { margin: auto 0; padding: 48px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mi-cart-empty__ico { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--clr-border); color: var(--clr-black); margin-bottom: 6px; }
.mi-cart-empty strong { font-size: 15px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-black); }
.mi-cart-empty p { margin: 0 0 8px; max-width: 260px; }
.mi-cart-empty .mpt-btn { color: #fff !important; }

/* Įsimintų skydelio apačia */
.mi-wishlist-panel .mi-panel__footer { padding: 16px 24px 24px; background: #fafafa; }
.mi-wishlist-panel .mi-panel-btn { height: 50px; font-weight: 600; letter-spacing: .14em; }
.mi-wishlist-panel__content { padding: 0 24px; }

/* ═══ 2. ĮSIMINTOS PREKĖS (sąrašas — skydelyje ir puslapyje) ══════════════════ */
.mi-wishlist-items .mi-wishlist-item { grid-template-columns: 88px minmax(0, 1fr) 28px; gap: 16px; padding: 20px 0; border-bottom-color: var(--clr-border); }
.mi-wishlist-item__img { display: block; width: 88px; height: 88px; padding: 6px; border: 1px solid var(--clr-border); background: #fff; }
.mi-wishlist-items .mi-wishlist-item__img img { width: 100%; height: 100%; padding: 0; border: 0; object-fit: contain; }
.mi-wishlist-item__body { min-width: 0; display: flex; flex-direction: column; }
.mi-wishlist-item__sku { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: 4px; }
.mi-wishlist-items .mi-wishlist-item__title { font-size: 12.5px; line-height: 1.4; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mi-wishlist-item__stock { font-size: 12px; margin: 2px 0 0; }
.mi-wishlist-item__stock ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.mi-wl-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.mi-wl-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mi-wl-stock--in { color: #1a7f37; }
.mi-wl-stock--low { color: #c2410c; }
.mi-wl-stock--out { color: var(--clr-muted); }
.mi-wl-dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid rgba(0,0,0,.15); vertical-align: -1px; }
.mi-wishlist-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.mi-wishlist-items .mi-wishlist-item__price { margin: 0; font-size: 15px; font-weight: 700; }
.mi-wishlist-item__price del { font-size: 12px; font-weight: 400; color: var(--clr-muted); margin-right: 4px; }
.mi-wishlist-item__price ins { text-decoration: none; color: var(--clr-red); }

.mi-wishlist-item a.mi-wl-cart,
.mi-wishlist-item a.mi-wl-cart.button {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 14px; margin: 0;
    background: var(--clr-black) !important; color: #fff !important; border: 1px solid var(--clr-black) !important;
    border-radius: 0 !important; font-size: 11px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s;
}
.mi-wishlist-item a.mi-wl-cart:hover { background: var(--clr-red) !important; border-color: var(--clr-red) !important; }
.mi-wishlist-item a.mi-wl-cart--ghost { background: #fff !important; color: var(--clr-black) !important; }
.mi-wishlist-item a.mi-wl-cart--ghost:hover { background: var(--clr-black) !important; color: #fff !important; border-color: var(--clr-black) !important; }
.mi-wishlist-item a.mi-wl-cart.loading { opacity: .6; }
.mi-wishlist-item a.mi-wl-cart.added::after { content: " ✓"; margin-left: 4px; }
.mi-wishlist-item .added_to_cart { display: none !important; }

.mi-wishlist-items .mi-wishlist-remove { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; color: #b0b0b0; font-size: 20px; }
.mi-wishlist-items .mi-wishlist-remove:hover { color: var(--clr-red); border-color: var(--clr-border); }

.mi-wishlist-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px; text-align: center; color: var(--clr-muted); }
.mi-wishlist-empty p { margin: 0; }
.mi-wishlist-empty > p:first-of-type { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-black); }
.mi-wishlist-empty__hint { max-width: 300px; font-size: 13px; }
.mi-wishlist-empty__ico { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--clr-border); margin-bottom: 6px; }
.mi-wishlist-empty__ico .mi-heart-svg { width: 26px; height: 26px; fill: none; stroke: var(--clr-red); stroke-width: 1.6; }
.mi-wishlist-empty .mpt-btn { margin-top: 10px; color: #fff !important; }

/* Puslapis — kortelių tinklelis */
.mpt-wl-page { min-width: 0; }
.mpt-wl-page .mi-wishlist-page { margin: 0; padding: 0; max-width: none; }
.mi-wishlist-item .mi-wl-stock { background: none !important; border: 0 !important; padding: 0 !important; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mpt-wl-page .mi-wishlist-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.mpt-wl-page .mi-wishlist-items .mi-wishlist-item {
    position: relative; display: flex; flex-direction: column; gap: 0; padding: 0;
    border: 1px solid var(--clr-border); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.mpt-wl-page .mi-wishlist-items .mi-wishlist-item:last-child { border-bottom: 1px solid var(--clr-border); }
.mpt-wl-page .mi-wishlist-items .mi-wishlist-item:hover { border-color: var(--clr-black); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.mpt-wl-page .mi-wishlist-item__img { width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 28px; border: 0; border-bottom: 1px solid var(--clr-border); }
.mpt-wl-page .mi-wishlist-item__body { flex: 1; padding: 18px 18px 20px; }
.mpt-wl-page .mi-wishlist-items .mi-wishlist-item__title { font-size: 13px; min-height: 3.6em; }
.mpt-wl-page .mi-wishlist-item__foot { margin-top: auto; padding-top: 16px; }
.mpt-wl-page .mi-wishlist-items .mi-wishlist-remove { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: #fff; border-color: var(--clr-border); color: var(--clr-black); z-index: 2; }
.mpt-wl-page .mi-wishlist-items .mi-wishlist-remove:hover { background: var(--clr-red); border-color: var(--clr-red); color: #fff; }
.mpt-wl-page .mi-wishlist-empty { max-width: 560px; margin: 0 auto; padding: 72px 24px; border: 1px solid var(--clr-border); }

/* ═══ 3. KREPŠELIO PUSLAPIS ═══════════════════════════════════════════════════ */
.mpt-cart__layout { grid-template-columns: minmax(0, 1fr) 400px; }
.mpt-cart-item { grid-template-columns: 120px minmax(0, 1fr); padding: 20px; margin-bottom: 12px; }
.mpt-cart-item__image { padding: 8px; background: #fff; align-self: start; }
.mpt-cart-item__title { font-size: 14px; letter-spacing: .02em; }
.mpt-cart-item__remove .remove { width: 34px; height: 34px; background: #fff; border: 1px solid var(--clr-border); font-size: 20px; color: var(--clr-black) !important; }
.mpt-cart-item__remove .remove:hover { background: var(--clr-red); border-color: var(--clr-red); }
.mpt-cart-item__bottom { padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--clr-border); }
.mpt-cart-item__price { font-weight: 500; color: var(--clr-muted); font-size: 14px; }
.mpt-cart-item__subtotal { color: var(--clr-black); font-size: 18px; font-weight: 700; min-width: 110px; text-align: right; }
.mpt-cart__actions { border-top: 1px solid var(--clr-black); align-items: center; }
.mpt-cart__coupon input { height: 46px; }
.mpt-cart__coupon button, .mpt-cart__update { font-weight: 600; letter-spacing: .12em; }
.mpt-cart__update { background: #fff !important; color: var(--clr-black) !important; border: 1px solid var(--clr-black) !important; }
.mpt-cart__update:hover { background: var(--clr-black) !important; color: #fff !important; }
.mpt-cart__update:disabled, .mpt-cart__update[disabled] { opacity: .35; }

.mpt-cart__summary { top: calc(var(--header-h, 80px) + 24px); padding: 0; border: 1px solid var(--clr-border); background: #fff; }
.mpt-cart__summary .cart_totals { padding: 0; }
.mpt-cart__summary .cart_totals h2 { margin: 0; padding: 18px 24px; background: var(--clr-black); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.mpt-cart__summary .shop_table,
.mpt-cart__summary .shop_table tr,
.mpt-cart__summary .shop_table th,
.mpt-cart__summary .shop_table td { border: 0 !important; background: transparent !important; }
.mpt-cart__summary .shop_table { margin: 0; border-collapse: collapse; }
.mpt-cart__summary .shop_table tr { border-bottom: 1px solid var(--clr-border) !important; }
.mpt-cart__summary .shop_table th,
.mpt-cart__summary .shop_table td { padding: 16px 24px !important; vertical-align: top; font-size: 14px; }
.mpt-cart__summary .shop_table th { width: 38%; padding-right: 0 !important; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-muted); }
.mpt-cart__summary .shop_table td { text-align: right; }
.mpt-cart__summary .shop_table td::before { display: none !important; }
.mpt-cart__summary #shipping_method { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mpt-cart__summary #shipping_method li { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 13px; }
.mpt-cart__summary #shipping_method input { accent-color: var(--clr-black); margin: 0; }
.mpt-cart__summary #shipping_method label { margin: 0; }
.mpt-cart__summary .woocommerce-shipping-destination { margin: 6px 0; font-size: 12px; color: var(--clr-muted); line-height: 1.45; }
.mpt-cart__summary .shipping-calculator-button { font-size: 12px; color: var(--clr-black); text-decoration: underline; text-underline-offset: 3px; }
.mpt-cart__summary .shipping-calculator-form { text-align: left; margin-top: 10px; }
.mpt-cart__summary .order-total { border-bottom: 0 !important; }
.mpt-cart__summary .order-total th { color: var(--clr-black); padding-top: 22px !important; }
.mpt-cart__summary .order-total td { font-size: 24px !important; font-weight: 700 !important; padding-top: 18px !important; }
.mpt-cart__summary .order-total td small { display: block; font-size: 11px; font-weight: 400; color: var(--clr-muted); }
.mpt-cart__summary .wc-proceed-to-checkout { padding: 0 24px 24px; }
.mpt-cart__summary .wc-proceed-to-checkout .button {
    /* WooCommerce savo taisykle (.woocommerce-cart .wc-proceed-to-checkout a.checkout-button) uždeda display:block — todėl !important. */
    display: flex !important; align-items: center !important; justify-content: center !important;
    box-sizing: border-box; width: 100%; height: 56px; margin: 0 !important; padding: 0 20px !important; gap: 12px;
    background: var(--clr-red) !important; border: 0 !important; outline: 0; box-shadow: none !important;
    font-size: 13px !important; font-weight: 600; line-height: 1 !important; letter-spacing: .14em; text-decoration: none;
    transition: background .2s ease;
}
.mpt-cart__summary .wc-proceed-to-checkout .button::after {
    content: "→"; margin-left: 0; font-size: 16px; line-height: 1; letter-spacing: 0;
    transition: transform .2s ease;
}
.mpt-cart__summary .wc-proceed-to-checkout .button:hover { background: var(--clr-black) !important; }
.mpt-cart__summary .wc-proceed-to-checkout .button:hover::after { transform: translateX(4px); }
.mpt-cart__summary .wc-proceed-to-checkout .button:focus-visible { outline: 2px solid var(--clr-black); outline-offset: 3px; }

.mpt-cart-trust { list-style: none; margin: 0; padding: 18px 24px; display: flex; flex-direction: column; gap: 12px; background: #fafafa; border-top: 1px solid var(--clr-border); }
.mpt-cart-trust li { display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; line-height: 1.45; color: var(--clr-muted); }
.mpt-cart-trust svg { flex-shrink: 0; color: var(--clr-red); margin-top: 1px; }
.mpt-cart-trust strong { display: block; color: var(--clr-black); font-weight: 600; }
.mpt-cart-continue { display: block; padding: 14px 24px; border-top: 1px solid var(--clr-border); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-black); text-align: center; }
.mpt-cart-continue:hover { color: var(--clr-red); }

/* Tuščias krepšelio puslapis */
.woocommerce-cart .cart-empty.woocommerce-info { display: block !important; max-width: 560px; margin: 24px auto 16px; padding: 56px 24px 8px; border: 0; background: none; text-align: center; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-black); }
.woocommerce-cart .cart-empty.woocommerce-info::before { display: none; }
.woocommerce-cart .return-to-shop { text-align: center; margin-bottom: 64px; }
.woocommerce-cart .return-to-shop .button { height: 52px; padding: 0 28px; display: inline-flex; align-items: center; background: var(--clr-black) !important; color: #fff !important; border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce-cart .return-to-shop .button:hover { background: var(--clr-red) !important; }

@media (max-width: 1100px) {
    .mpt-cart__layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 960px) {
    .mpt-cart__layout { grid-template-columns: 1fr; }
    .mpt-cart__summary { position: static; }
}
@media (max-width: 640px) {
    .mpt-cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px; }
    .mpt-cart-item__title { font-size: 12.5px; }
    .mpt-cart-item__bottom { grid-template-columns: 1fr auto; gap: 10px; }
    .mpt-cart-item__price { display: none; }
    .mpt-cart-item__subtotal { min-width: 0; font-size: 16px; }
    .mpt-cart__actions { flex-direction: column; align-items: stretch; }
    .mpt-cart__coupon { display: grid; grid-template-columns: 1fr auto; }
    .mpt-cart__coupon input { min-width: 0; }
    .mpt-cart__summary .shop_table th,
    .mpt-cart__summary .shop_table td { padding: 14px 16px !important; }
    .mpt-cart__summary .wc-proceed-to-checkout { padding: 0 16px 16px; }
}

/* ═══ 4. APMOKĖJIMAS ══════════════════════════════════════════════════════════ */
/* Puslapio apvalkalas jau turi šoninę paraštę — nuimame dvigubą. */
.mpt-page-wrap--wc .mpt-co-steps { padding: 8px 0 4px; max-width: 880px; margin: 0; }
.mpt-page-wrap--wc .mpt-co-wrap { padding: 24px 0 72px; }
.mpt-co-wrap .mpt-checkout { padding: 0; max-width: none; }
.mpt-co-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 64px); }

.mpt-co-step__num,
.mpt-co-step-badge { border-radius: 0; }
.mpt-co-step__num { width: 32px; height: 32px; border: 1px solid var(--clr-border); background: #fff; font-weight: 600; }
.mpt-co-step__label { font-weight: 500; letter-spacing: .12em; }
.mpt-co-step.is-active .mpt-co-step__label { font-weight: 600; }
.mpt-co-step.is-done .mpt-co-step__num { background: var(--clr-red); border-color: var(--clr-red); color: #fff; }
.mpt-co-step.is-done .mpt-co-step__label { color: var(--clr-black); }
.mpt-co-step__line { height: 1px; margin: 0 14px; }
.mpt-co-step.is-done + .mpt-co-step__line { background: var(--clr-red); }

.mpt-co-section-head { border-bottom-width: 1px; padding-bottom: 16px; }
/* Žingsnio pavadinimas virš kiekvieno skydelio („0 Prisijungimas“, „1 Pirkėjo duomenys“…) kartojo viršutinę
   žingsnių juostą — klientui pakanka juostos, todėl skydelio antraštė nerodoma. */
.mpt-co-panel > .mpt-co-section-head { display: none !important; }
.mpt-co-section-head h2 { font-size: 18px; font-weight: 300; letter-spacing: .12em; }
.mpt-co-step-badge { width: 30px; height: 30px; background: var(--clr-black); font-weight: 600; }

.mpt-co-auth__card { padding: 28px 24px 48px; gap: 10px; }
.mpt-co-auth__card--login { border-top: 1px solid var(--clr-border); box-shadow: inset 0 3px 0 var(--clr-black); }
.mpt-co-auth__card--guest { border-top: 1px solid var(--clr-border); box-shadow: inset 0 3px 0 var(--clr-red); }
.mpt-co-auth__card strong { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mpt-co-auth__card:hover { transform: none; }
.mpt-co-auth__card--guest:hover { box-shadow: inset 0 3px 0 var(--clr-red), 0 6px 24px rgba(0,0,0,.08); }
.mpt-co-auth__card--login:hover { box-shadow: inset 0 3px 0 var(--clr-black), 0 6px 24px rgba(0,0,0,.08); }

.mpt-checkout .form-row label,
.mpt-co-panel .form-row label,
.mpt-co-inv-field label { font-weight: 600; letter-spacing: .1em; color: var(--clr-black); }
.mpt-checkout .form-row input.input-text,
.mpt-checkout .form-row select,
.mpt-co-panel .form-row input.input-text,
.mpt-co-panel .form-row select,
.mpt-co-inv-field input { height: 50px; }
.mpt-checkout .form-row input.input-text:hover,
.mpt-co-inv-field input:hover { border-color: #bdbdbd; }
.mpt-checkout .form-row input.input-text:focus,
.mpt-checkout .form-row textarea:focus,
.mpt-co-inv-field input:focus { border-color: var(--clr-black); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.mpt-checkout .select2-container .select2-selection--single { height: 50px; border: 1px solid var(--clr-border); border-radius: 0; }
.mpt-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 14px; }
.mpt-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; }

.mpt-co-toggle-check { border-width: 1px; }
.mpt-co-toggle-label input:checked ~ .mpt-co-toggle-check { background: var(--clr-red); border-color: var(--clr-red); }
.mpt-co-terms { background: #fafafa; }

.mpt-co-next-btn { height: 56px; font-weight: 600; letter-spacing: .14em; }

/* Pristatymo / mokėjimo būdai — kortelės */
.mpt-checkout #shipping_method,
.mpt-checkout ul.payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mpt-checkout #shipping_method li { margin: 0; }
.mpt-checkout #shipping_method li label,
.mpt-checkout #payment ul.payment_methods li > label { margin: 0; }
.mpt-checkout #payment { background: #fff; padding: 0; border: 0; }
.mpt-checkout #payment ul.payment_methods { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--clr-border); }
.mpt-checkout #payment ul.payment_methods li { margin: 0; padding: 16px 18px; border: 1px solid var(--clr-border); background: #fff; transition: border-color .15s; }
.mpt-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--clr-black); box-shadow: inset 3px 0 0 var(--clr-red); }
.mpt-checkout #payment ul.payment_methods li input[type="radio"] { accent-color: var(--clr-red); }
.mpt-checkout #payment .payment_box { margin: 8px 0 0 28px; padding: 0 !important; background: none !important; font-size: 13px; color: var(--clr-muted); }
.mpt-checkout #payment .payment_box p { margin: 0; }
.mpt-checkout #payment .form-row.place-order { margin: 0; padding: 0 !important; float: none; width: 100%; }
.mpt-checkout #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 13px; }
.mpt-checkout #payment .payment_box::before { display: none; }
.mpt-checkout #payment #place_order { height: 60px; background: var(--clr-red) !important; font-weight: 600; letter-spacing: .14em; }
.mpt-checkout #payment #place_order:hover { background: var(--clr-black) !important; }

/* Pristatymo būdai (2 žingsnis) */
.mpt-co-shipping-methods { margin-bottom: 28px; }
.mpt-co-sub { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clr-black); }
.mpt-co-ship-table, .mpt-co-ship-table tbody, .mpt-co-ship-table tr, .mpt-co-ship-table td { display: block; width: 100%; border: 0 !important; padding: 0 !important; background: none !important; }
.mpt-co-ship-table th { display: none; }
.mpt-co-ship-table td::before { display: none !important; }
.mpt-checkout .mpt-co-ship-table #shipping_method li {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border: 1px solid var(--clr-border); background: #fff; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.mpt-checkout .mpt-co-ship-table #shipping_method li:hover { border-color: #bdbdbd; }
.mpt-checkout .mpt-co-ship-table #shipping_method li:has(input:checked),
.mpt-checkout .mpt-co-ship-table #shipping_method li:only-child { border-color: var(--clr-black); box-shadow: inset 3px 0 0 var(--clr-red); }
.mpt-checkout .mpt-co-ship-table #shipping_method input { width: 18px; height: 18px; margin: 0; accent-color: var(--clr-red); flex-shrink: 0; }
.mpt-checkout .mpt-co-ship-table #shipping_method label { flex: 1; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--clr-black); cursor: pointer; margin: 0; }
.mpt-checkout .mpt-co-ship-table #shipping_method label .amount { font-weight: 700; }
.mpt-co-ship-table .woocommerce-shipping-destination,
.mpt-co-ship-table .woocommerce-shipping-contents { margin: 10px 0 0; font-size: 12px; color: var(--clr-muted); }
.mpt-co-ship-table .shipping-calculator-button { display: none; }
.mpt-co-ship-table p { font-size: 13px; color: var(--clr-muted); }

/* Užsakymo santrauka */
.mpt-co-right { top: calc(var(--header-h, 80px) + 24px); }
.mpt-co-summary__title { padding: 18px 24px; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.mpt-co-summary__items { padding: 18px 24px; gap: 16px; max-height: 340px; }
.mpt-co-summary__item-img img { width: 64px; height: 64px; background: #fff; }
.mpt-co-summary__item-qty { border-radius: 0; background: var(--clr-red); top: -7px; right: -7px; }
.mpt-co-summary__item-name { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.mpt-co-summary__item-price { font-size: 14px; font-weight: 700; }
.mpt-co-summary__divider { margin: 0 24px; }
.mpt-co-summary__totals { padding: 16px 24px 20px; }
.mpt-co-summary__row--total { font-size: 22px; font-weight: 700; border-top-width: 1px; padding-top: 14px; margin-top: 8px; }
.mpt-co-panel .woocommerce-billing-fields > h3 { display: none; }
.mpt-co-panel .woocommerce-additional-fields > h3,
.mpt-co-panel .woocommerce-shipping-fields > h3 { margin: 24px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clr-black); }
.mpt-co-summary__row--total > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mpt-co-summary__trust { padding: 16px 24px; background: #fafafa; }
.mpt-co-trust { color: var(--clr-text); }
.mpt-co-trust svg { color: var(--clr-red); }

@media (max-width: 960px) {
    .mpt-co-layout { grid-template-columns: 1fr; }
    .mpt-co-right { position: static; order: -1; }
    .mpt-co-summary { margin: 0 0 8px; }
    .mpt-co-summary__items { max-height: 200px; }
}

/* ═══ 5. PAIEŠKA ══════════════════════════════════════════════════════════════ */
.mpt-topbar { position: relative; z-index: 10040; }
.mpt-topbar__search { position: relative; }
.mpt-search-field { position: relative; display: flex; align-items: center; width: 100%; max-width: 480px; }
.mpt-topbar__search .mpt-search-field input[type="search"] {
    width: 100%; max-width: none; height: 34px; margin: 0;
    padding: 0 40px 0 38px;
    background: #1d1d1d; color: #fff;
    border: 1px solid #3d3d3d; border-radius: 0;
    font-size: 13.5px; font-family: inherit;
    -webkit-appearance: none; appearance: none;
    transition: background .15s, border-color .15s, color .15s;
}
.mpt-topbar__search .mpt-search-field input[type="search"]::placeholder { color: #a8a8a8; opacity: 1; }
.mpt-topbar__search .mpt-search-field input[type="search"]:hover { border-color: #5a5a5a; background: #242424; }
.mpt-topbar__search .mpt-search-field input[type="search"]:focus { background: #fff; color: var(--clr-black); border-color: #fff; outline: 2px solid var(--clr-red); outline-offset: 0; }
.mpt-topbar__search .mpt-search-field input[type="search"]:focus::placeholder { color: #8a8a8a; }
.mpt-topbar__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.mpt-search-field__ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #c4c4c4; pointer-events: none; transition: color .15s; }
.mpt-search-field:focus-within .mpt-search-field__ico { color: var(--clr-black); }
.mpt-search-field__kbd {
    position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
    min-width: 20px; height: 20px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #4a4a4a; color: #a8a8a8; background: transparent;
    font: 600 11px/1 inherit; font-family: inherit; pointer-events: none;
}
.mpt-search-field:focus-within .mpt-search-field__kbd,
.mpt-search-field input:not(:placeholder-shown) ~ .mpt-search-field__kbd,
.mpt-ls-form.is-loading .mpt-search-field__kbd { display: none; }
.mpt-search-field__spin { position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid rgba(0,0,0,.12); border-top-color: var(--clr-red); border-radius: 50%; display: none; animation: mptSpin .7s linear infinite; }
.mpt-ls-form.is-loading .mpt-search-field__spin { display: block; }
@keyframes mptSpin { to { transform: rotate(360deg); } }

/* Pasiūlymų langas */
.mpt-ls {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    width: min(680px, 94vw); max-height: min(72vh, 660px); overflow-y: auto;
    background: #fff; color: var(--clr-black); text-align: left;
    border: 1px solid var(--clr-black);
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
    z-index: 10050; scrollbar-width: thin;
    animation: mptLsIn .16s ease;
}
@keyframes mptLsIn { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mpt-ls[hidden] { display: none; }
.mpt-ls__section { padding: 16px 20px; border-bottom: 1px solid var(--clr-border); }
.mpt-ls__section:last-child { border-bottom: 0; }
.mpt-ls__label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clr-muted); }
.mpt-ls__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mpt-ls__chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border: 1px solid var(--clr-border); background: #fff;
    font-size: 12.5px; color: var(--clr-black); line-height: 1.2; transition: border-color .12s, background .12s;
}
.mpt-ls__chip:hover, .mpt-ls__chip.is-active { border-color: var(--clr-black); background: var(--clr-gray); color: var(--clr-black); }
.mpt-ls__chip small { font-size: 11px; color: var(--clr-muted); }
.mpt-ls__chip em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clr-red); }
.mpt-ls__chip mark { background: none; color: inherit; font-weight: 700; }
.mpt-ls__list { display: flex; flex-direction: column; margin: 0 -10px; }
.mpt-ls__item {
    display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center;
    padding: 10px; color: var(--clr-black); border-left: 2px solid transparent; transition: background .12s, border-color .12s;
}
.mpt-ls__item:hover, .mpt-ls__item.is-active { background: #f6f6f6; border-left-color: var(--clr-red); color: var(--clr-black); }
.mpt-ls__img { width: 60px; height: 60px; padding: 4px; border: 1px solid var(--clr-border); background: #fff; display: block; }
.mpt-ls__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mpt-ls__info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mpt-ls__meta { display: flex; gap: 10px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mpt-ls__sku { font-weight: 700; color: var(--clr-black); }
.mpt-ls__cat { color: var(--clr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpt-ls__name { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpt-ls__name mark, .mpt-ls__sku mark { background: none; color: var(--clr-red); font-weight: 700; }
.mpt-ls__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--clr-muted); }
.mpt-ls__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mpt-ls__stock--in { color: #1a7f37; }
.mpt-ls__price { font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; display: block; }
.mpt-ls__price del { display: block; font-size: 11px; font-weight: 400; color: var(--clr-muted); }
.mpt-ls__price ins { text-decoration: none; color: var(--clr-red); }
.mpt-ls__price .screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.mpt-ls__all {
    position: sticky; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 0 0 20px; height: 52px;
    background: var(--clr-black); color: #fff;
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.mpt-ls__all i { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--clr-red); font-style: normal; font-size: 16px; }
.mpt-ls__all:hover, .mpt-ls__all.is-active { color: #fff; background: #1f1f1f; }
.mpt-ls__all b { font-weight: 600; color: rgba(255,255,255,.6); }
.mpt-ls__empty { padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--clr-muted); }
.mpt-ls__empty strong { color: var(--clr-black); font-size: 14px; font-weight: 600; }
.mpt-ls__empty em { font-style: normal; color: var(--clr-black); font-weight: 600; }
.mpt-ls__empty .mpt-ls__chips { margin-top: 8px; }

/* Mobili paieška — pasiūlymai po lauku, ne plaukiojantis langas */
.mpt-mobile-search { position: relative; flex-wrap: wrap; }
.mpt-mobile-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.mpt-mobile-search .mpt-ls {
    position: static; transform: none; width: 100%; flex: 0 0 100%;
    max-height: none; border: 0; border-top: 1px solid var(--clr-black); box-shadow: none; animation: none;
}
.mpt-mobile-search .mpt-ls__section { padding: 14px; }
.mpt-mobile-search .mpt-ls__list { margin: 0 -8px; }
.mpt-mobile-search .mpt-ls__item { grid-template-columns: 52px minmax(0, 1fr); padding: 8px; }
.mpt-mobile-search .mpt-ls__img { width: 52px; height: 52px; }
.mpt-mobile-search .mpt-ls__price { grid-column: 2; text-align: left; }
.mpt-mobile-search .mpt-ls__price del { display: inline; margin-right: 6px; }

@media (max-width: 1200px) {
    .mpt-search-field { max-width: 340px; }
}

/* ═══ Krepšelio ir apmokėjimo patogumo pataisos (2026-12-01) ═══════════════ */

/* ── Pristatymo būdai: aiškios eilutės (logotipas · pavadinimas · kaina) ── */
.mpt-co-ship-table, .mpt-co-ship-table tbody, .mpt-co-ship-table tr, .mpt-co-ship-table td { display: block !important; width: 100% !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
.mpt-co-ship-table th { display: none !important; }
.mpt-co-ship-table ul#shipping_method, .mpt-cart__summary ul#shipping_method { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 8px !important; text-align: left !important; }
.mpt-co-ship-table ul#shipping_method li, .mpt-cart__summary ul#shipping_method li {
    position: relative !important; display: block !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--clr-border) !important; background: #fff !important; text-indent: 0 !important;
    transition: border-color .15s, box-shadow .15s !important;
}
.mpt-co-ship-table ul#shipping_method li:hover, .mpt-cart__summary ul#shipping_method li:hover { border-color: #999 !important; }
.mpt-co-ship-table ul#shipping_method li:has(input:checked), .mpt-cart__summary ul#shipping_method li:has(input:checked) { border-color: var(--clr-black) !important; box-shadow: inset 3px 0 0 var(--clr-red) !important; }
.mpt-co-ship-table ul#shipping_method li input[type="radio"], .mpt-cart__summary ul#shipping_method li input[type="radio"] {
    position: absolute !important; left: 16px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; width: 18px !important; height: 18px !important; accent-color: var(--clr-red); cursor: pointer;
}
.mpt-co-ship-table ul#shipping_method li label, .mpt-cart__summary ul#shipping_method li label {
    display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 4px 12px !important; width: 100% !important; margin: 0 !important;
    padding: 14px 16px 14px 48px !important; min-height: 56px !important; box-sizing: border-box !important; cursor: pointer !important;
    font-size: 13px !important; font-weight: 500 !important; line-height: 1.4 !important; text-align: left !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--clr-black) !important;
}
.mpt-co-ship-table ul#shipping_method li label img, .mpt-cart__summary ul#shipping_method li label img { flex: 0 0 auto !important; width: 54px !important; height: auto !important; margin: 0 !important; }
.mpt-co-ship-table ul#shipping_method li label .amount, .mpt-cart__summary ul#shipping_method li label .amount { margin-left: auto !important; font-weight: 700 !important; font-size: 14px !important; white-space: nowrap !important; }

/* Krepšelio santrauka: „Pristatymas“ eilutė per visą plotį, be dešinio lygiavimo */
.mpt-cart__summary .woocommerce-shipping-totals, .mpt-cart__summary .woocommerce-shipping-totals th, .mpt-cart__summary .woocommerce-shipping-totals td { display: block !important; width: 100% !important; text-align: left !important; box-sizing: border-box !important; }
.mpt-cart__summary .cart_totals table.shop_table, .mpt-cart__summary .cart_totals table.shop_table tbody { display: block !important; width: 100% !important; }
.mpt-cart__summary .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) { display: flex !important; align-items: baseline !important; justify-content: space-between !important; gap: 12px !important; width: 100% !important; box-sizing: border-box !important; }
.mpt-cart__summary .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) > td { text-align: right !important; }
.mpt-cart__summary .cart_totals .order-total .includes_tax { white-space: nowrap; }
.mpt-cart__summary .woocommerce-shipping-totals th { padding-bottom: 8px !important; }
.mpt-cart__summary .woocommerce-shipping-totals td { padding-top: 0 !important; }
.mpt-cart__summary ul#shipping_method li label { padding: 10px 12px 10px 40px !important; min-height: 48px !important; font-size: 12px !important; }
.mpt-cart__summary ul#shipping_method li input[type="radio"] { left: 12px !important; }
.mpt-cart__summary ul#shipping_method li label img { width: 44px !important; }
.mpt-cart__summary .woocommerce-shipping-destination { margin: 10px 0 0 !important; text-align: left !important; font-size: 12px !important; color: var(--clr-muted) !important; }

/* Venipak paštomato pasirinkimas — per visą plotį, kairėje */
.mpt-co-ship-table tr.wc-venipak-shipping-terminals, .mpt-co-shipping-methods .wc-venipak-shipping-terminals { display: block !important; width: 100% !important; margin-top: 12px !important; padding: 14px 16px !important; border: 1px solid var(--clr-border) !important; background: var(--clr-gray) !important; box-sizing: border-box !important; text-align: left !important; }
.mpt-co-shipping-methods .wc-venipak-shipping-terminals th, .mpt-co-shipping-methods .wc-venipak-shipping-terminals td { display: block !important; width: 100% !important; padding: 0 !important; border: 0 !important; text-align: left !important; background: transparent !important; }
.mpt-co-shipping-methods .wc-venipak-shipping-terminals th, .mpt-co-shipping-methods .wc-venipak-shipping-terminals label { font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .08em !important; margin: 0 0 8px !important; }
.mpt-co-shipping-methods .wc-venipak-shipping-terminals select, .mpt-co-shipping-methods .wc-venipak-shipping-terminals .select2-container { width: 100% !important; max-width: 100% !important; }
.mpt-co-shipping-methods .wc-venipak-shipping-terminals select { min-height: 48px !important; padding: 0 12px !important; border: 1px solid var(--clr-black) !important; border-radius: 0 !important; background-color: #fff !important; font-size: 14px !important; }
.mpt-co-shipping-methods .wc-venipak-shipping-terminals .select2-selection { min-height: 48px !important; border: 1px solid var(--clr-black) !important; border-radius: 0 !important; display: flex !important; align-items: center !important; }
.mpt-co-shipping-methods #venipak-map, .mpt-co-shipping-methods .wc-venipak-shipping-map { width: 100% !important; margin-top: 10px !important; }
.mpt-co-shipping-methods .venipak-pickup-wrapper, .mpt-co-shipping-methods .venipak-pickup-wrapper > div { display: block !important; float: none !important; width: 100% !important; max-width: 100% !important; text-align: left !important; box-sizing: border-box !important; }
.mpt-co-shipping-methods .venipak-pickup-wrapper label { display: block !important; text-align: left !important; }
.mpt-co-shipping-methods #selected-pickup-info { text-align: left !important; padding-top: 10px !important; font-size: 13px !important; }
.mpt-co-shipping-methods #selected-pickup-info:empty { display: none !important; }
/* Venipak žemėlapio Google raktas nebegalioja („Oops! Something went wrong“) — kol raktas neatnaujintas,
   klaidos langas nerodomas; paštomatas pasirenkamas iš sąrašo su paieška. */
#venipak-map:has(.gm-err-container) { display: none !important; }

/* ── Mokėjimo būdai: kortelės ── */
#payment.woocommerce-checkout-payment { background: transparent !important; border-radius: 0 !important; }
#payment ul.wc_payment_methods { list-style: none !important; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; display: grid !important; gap: 8px !important; }
#payment ul.wc_payment_methods > li.wc_payment_method { position: relative !important; display: block !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--clr-border) !important; background: #fff !important; box-shadow: none !important; }
#payment ul.wc_payment_methods > li.wc_payment_method:has(> input:checked) { border-color: var(--clr-black) !important; box-shadow: inset 3px 0 0 var(--clr-red) !important; }
#payment ul.wc_payment_methods > li.wc_payment_method > input[type="radio"] { position: absolute !important; left: 16px !important; top: 19px !important; margin: 0 !important; width: 18px !important; height: 18px !important; accent-color: var(--clr-red); cursor: pointer; }
#payment ul.wc_payment_methods > li.wc_payment_method > label { display: flex !important; align-items: center !important; gap: 12px !important; margin: 0 !important; padding: 16px 16px 16px 48px !important; min-height: 56px !important; box-sizing: border-box !important; cursor: pointer !important; font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
#payment ul.wc_payment_methods > li.wc_payment_method > label img { margin: 0 0 0 auto !important; max-height: 22px !important; width: auto !important; float: none !important; }
#payment div.payment_box { margin: 0 !important; padding: 4px 16px 16px 48px !important; background: transparent !important; border-radius: 0 !important; color: #555 !important; font-size: 13px !important; line-height: 1.6 !important; }
#payment div.payment_box::before { display: none !important; }
#payment div.payment_box p { margin: 0 !important; }

/* Paysera: bankai — logotipų tinklelis */
#payment .payment_box.payment_method_paysera { padding-left: 16px !important; }
#payment .payment_box.payment_method_paysera br { display: none !important; }
#payment #paysera_country { display: block !important; width: auto !important; max-width: 100% !important; min-height: 38px !important; margin: 0 0 14px !important; padding: 0 34px 0 12px !important; border: 1px solid var(--clr-border) !important; border-radius: 0 !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .06em; background-color: #fff !important; }
#payment .paysera-payments .payment-group-wrapper { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; margin: 0 0 14px !important; }
#payment .paysera-payments .payment-group-title { grid-column: 1 / -1 !important; margin: 0 0 2px !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .1em !important; color: var(--clr-muted) !important; }
#payment .paysera-payments .paysera-payment-method { margin: 0 !important; padding: 0 !important; border: 1px solid var(--clr-border) !important; background: #fff !important; float: none !important; width: auto !important; transition: border-color .15s !important; }
#payment .paysera-payments .paysera-payment-method:hover { border-color: #999 !important; }
#payment .paysera-payments .paysera-payment-method:has(input:checked) { border-color: var(--clr-black) !important; box-shadow: inset 0 0 0 1px var(--clr-black), inset 0 -3px 0 var(--clr-red) !important; }
#payment .paysera-payments .paysera-payment-method-label { display: flex !important; flex-direction: column-reverse !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100% !important; height: 100% !important; min-height: 92px !important; margin: 0 !important; padding: 12px 10px !important; box-sizing: border-box !important; cursor: pointer !important; }
#payment .paysera-payments .paysera-payment-method-label > div:first-child { display: flex !important; align-items: center !important; gap: 6px !important; }
#payment .paysera-payments .paysera-payment-method-label input[type="radio"] { position: static !important; margin: 0 !important; width: 14px !important; height: 14px !important; accent-color: var(--clr-red); }
#payment .paysera-payments .paysera-text { font-size: 11px !important; line-height: 1.25 !important; color: #555 !important; text-align: center !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; }
#payment .paysera-payments .paysera-image { display: flex !important; align-items: center !important; justify-content: center !important; height: 34px !important; width: 100% !important; margin: 0 !important; }
#payment .paysera-payments .paysera-image img { max-height: 34px !important; max-width: 110px !important; width: auto !important; height: auto !important; object-fit: contain !important; margin: 0 !important; float: none !important; }
#payment .payment_box.payment_method_paysera > p, #payment .payment_box.payment_method_paysera .paysera-buyer-consent { font-size: 11px !important; line-height: 1.55 !important; color: var(--clr-muted) !important; }

/* Sutikimai ir mygtukas */
.mpt-co-terms { margin-bottom: 14px !important; }
#payment .place-order { padding: 0 !important; margin: 0 !important; }
#payment #place_order { width: 100% !important; min-height: 58px !important; font-size: 14px !important; letter-spacing: .12em !important; }
#payment .woocommerce-privacy-policy-text { font-size: 11px !important; color: var(--clr-muted) !important; margin: 0 0 12px !important; }

/* ── Laukų tikrinimo klaidos apmokėjimo žingsniuose ── */
.mpt-co-err { display: block; width: 100%; margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; color: #c8321f; text-transform: none; letter-spacing: 0; }
.mpt-co-invalid input:not([type="checkbox"]):not([type="radio"]), .mpt-co-invalid textarea, .mpt-co-invalid select,
.mpt-co-invalid .select2-selection { border-color: #e8412e !important; box-shadow: inset 0 0 0 1px #e8412e !important; }
.mpt-co-terms.mpt-co-invalid { border-color: #e8412e !important; }
.mpt-co-terms .mpt-co-err, .mpt-co-shipping-methods > .mpt-co-err { margin-top: 10px; }

/* „Siųsti kitu adresu?“ — toks pat stilius kaip kitų varnelių */
#ship-to-different-address { margin: 4px 0 0; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
#ship-to-different-address input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: #0a0a0a; flex: none; }

/* ── Planšetė ir telefonas: kompaktiška užsakymo santrauka virš formos ──
   Anksčiau visa santrauka (antraštė, prekės, pasitikėjimo ženklai, ~420px) stumdavo formą žemyn. */
@media (max-width: 960px) {
    .mpt-co-summary { margin-bottom: 18px !important; }
    .mpt-co-summary__title, .mpt-co-summary__items, .mpt-co-summary__divider, .mpt-co-summary__trust { display: none !important; }
    .mpt-co-summary__totals { padding: 12px 16px !important; display: grid !important; gap: 4px !important; }
    .mpt-co-summary__row { font-size: 13px !important; margin: 0 !important; padding: 0 !important; }
    .mpt-co-summary__row--total { margin-top: 6px !important; padding-top: 8px !important; border-top: 1px solid var(--clr-border) !important; align-items: baseline !important; }
    .mpt-co-summary__row--total span:last-child { font-size: 22px !important; }
    /* Aktyvaus žingsnio pavadinimas rodomas ir telefone */
    .mpt-co-step.is-active .mpt-co-step__label { display: inline !important; font-size: 11px !important; }
}

/* ── Mobilus ── */
@media (max-width: 640px) {
    /* Krepšelio sumos: etiketės („Suma su PVM“, „Viso su PVM“) matomos ir telefone */
    .mpt-cart__summary .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) > th { display: block !important; }
    .mpt-cart__summary .cart_totals table.shop_table tr > td::before { display: none !important; content: none !important; }
    #payment .paysera-payments .payment-group-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    #payment .paysera-payments .paysera-payment-method-label { min-height: 84px !important; padding: 10px 8px !important; }
    #payment ul.wc_payment_methods > li.wc_payment_method > label { font-size: 13px !important; padding: 14px 12px 14px 44px !important; }
    #payment ul.wc_payment_methods > li.wc_payment_method > input[type="radio"] { left: 14px !important; top: 17px !important; }
    #payment .payment_box.payment_method_paysera { padding: 4px 12px 14px !important; }
    .mpt-co-ship-table ul#shipping_method li label { padding: 12px 12px 12px 44px !important; font-size: 13px !important; }
    .mpt-co-ship-table ul#shipping_method li input[type="radio"] { left: 14px !important; }
    .mpt-co-ship-table ul#shipping_method li label img { width: 46px !important; }
    /* 16px laukuose — iPhone nepriartina puslapio rašant */
    .mpt-checkout input[type="text"], .mpt-checkout input[type="tel"], .mpt-checkout input[type="email"], .mpt-checkout input[type="password"], .mpt-checkout select, .mpt-checkout textarea,
    .mpt-cart input[type="text"], .mpt-cart input[type="number"], .mpt-auth-form input { font-size: 16px !important; }
}
