/* „Допълни поръчката“ rows (mini cart, cart, checkout) */
.ibn-sug { margin: 24px 0 0; }
.ibn-sug__title { margin: 0 0 12px; font: 400 20px/1.25 var(--ibn-serif); color: var(--ibn-ink); }
.ibn-sug__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ibn-sug__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 10px; background: var(--ibn-surface-2); border: 0; }
.ibn-sug__img { display: block; width: 56px; height: 56px; overflow: hidden; background: var(--ibn-cover); }
.ibn-sug__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ibn-sug__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ibn-sug__name { color: var(--ibn-ink); font-size: 14px; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ibn-sug__name:hover { color: var(--ibn-gold); }
.ibn-sug__price { color: var(--ibn-ink-2); font-size: 14px; font-weight: 600; }
.ibn-sug__price del { color: var(--ibn-muted); font-weight: 400; margin-left: 4px; }
.ibn-sug__add {
	min-height: 44px; padding: 0 14px; white-space: nowrap; cursor: pointer;
	background: transparent; border: 1px solid var(--ibn-gold); border-radius: var(--ibn-radius); color: var(--ibn-gold); font: 600 14px var(--ibn-sans);
}
.ibn-sug__add:hover { background: var(--ibn-gold); color: var(--ibn-on-gold); }
.ibn-sug__add:disabled { cursor: default; opacity: .8; }
.ibn-sug__add.is-added { border-color: transparent; background: transparent; color: var(--ibn-ink-2); }

/* Cart: cards side by side on wider screens */
@media (min-width: 690px) {
	.ibn-sug--cart .ibn-sug__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ibn-sug--cart { margin-top: 32px; }

/* Mini cart drawer: tight */
.ibn-sug--mini { margin: 16px 0; }
.ibn-sug--mini .ibn-sug__title { font-size: 17px; margin-bottom: 8px; }
.ibn-sug--mini .ibn-sug__item { padding: 8px; gap: 10px; }

/* Checkout: above the order summary */
.ibn-sug--checkout { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--ibn-line); }
.ibn-sug--checkout .ibn-sug__title { font-size: 18px; }

/* Cart drawer (header icon) — WooCommerce's mini cart in the shop's look */
.ibn-drawer--right .ibn-drawer__panel { inset: 0 0 0 auto; width: min(92vw, 420px); border-right: 0; border-left: 1px solid var(--ibn-line); transform: translateX(100%); }
.ibn-drawer--right.is-open .ibn-drawer__panel { transform: none; }
.ibn-minicart__title { font: 400 24px/1.2 var(--ibn-serif); color: var(--ibn-ink); }
.ibn-minicart .ibn-minicart__body { padding: 8px 20px 24px; flex: 1; }
.ibn-minicart .ibn-drawer__head { padding-left: 20px; }
/* Logged-in admins: keep the drawer below the WordPress toolbar */
body.admin-bar .ibn-drawer { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ibn-drawer { top: 46px; } }
.ibn-minicart__loading, .ibn-minicart .woocommerce-mini-cart__empty-message { padding: 24px 0; color: var(--ibn-muted); }
.ibn-minicart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.ibn-minicart .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 36px 14px 0; border-bottom: 1px solid var(--ibn-line); }
.ibn-minicart .woocommerce-mini-cart-item > a:not(.remove) { grid-row: 1 / span 2; display: contents; color: var(--ibn-ink); text-decoration: none; font-size: 14px; line-height: 1.35; }
.ibn-minicart .woocommerce-mini-cart-item img { grid-row: 1 / span 2; width: 64px; height: 80px; object-fit: cover; background: var(--ibn-cover); margin: 0; }
.ibn-minicart .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--ibn-muted); font-size: 13px; }
.ibn-minicart .woocommerce-mini-cart-item .quantity .amount { color: var(--ibn-ink); font-weight: 600; }
.ibn-minicart .woocommerce-mini-cart-item a.remove { position: absolute; top: 12px; right: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--ibn-muted) !important; font-size: 20px; text-decoration: none; background: none; }
.ibn-minicart .woocommerce-mini-cart-item a.remove:hover { color: #E9A9A0 !important; }
.ibn-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 16px 0 0; padding-top: 4px; color: var(--ibn-ink); font-size: 16px; }
.ibn-minicart .woocommerce-mini-cart__total .amount { font-weight: 700; }
.ibn-minicart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 14px 0 0; }
.ibn-minicart .woocommerce-mini-cart__buttons .button {
	display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; border-radius: var(--ibn-radius);
	background: transparent; border: 1px solid rgba(243, 234, 226, .35); color: var(--ibn-ink); font: 600 15px var(--ibn-sans); text-decoration: none;
}
.ibn-minicart .woocommerce-mini-cart__buttons .button.checkout { order: -1; background: var(--ibn-gold); border-color: var(--ibn-gold); color: var(--ibn-on-gold); }
.ibn-minicart .ibn-sug--mini { margin: 18px 0 0; }
.ibn-minicart__added { margin: 0; padding: 12px 20px; background: var(--ibn-surface-2); border-bottom: 1px solid var(--ibn-line); color: var(--ibn-ink); font-size: 15px; font-weight: 600; }
.ibn-minicart__added[hidden] { display: none; }
/* Checkout button always in reach, however long the cart */
.ibn-minicart .woocommerce-mini-cart__buttons { position: sticky; bottom: 0; z-index: 2; margin-left: -20px; margin-right: -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--ibn-bg); border-top: 1px solid var(--ibn-line); }
/* Empty drawer: WooCommerce prints the cart page's empty notice here (light info box with a bell) */
.ibn-minicart .wc-empty-cart-message { margin: 0; }
.ibn-minicart .wc-empty-cart-message .cart-empty { background: none; border: 0; box-shadow: none; margin: 0; padding: 28px 0 6px; color: var(--ibn-ink); font-family: var(--ibn-serif); font-size: 22px; line-height: 1.25; }
.ibn-minicart .wc-empty-cart-message .cart-empty::before { content: none; display: none; }
.ibn-minicart .wc-empty-cart-message + .return-to-shop::before { content: "Разгледай новите модели — доставка до 48 ч, преглед и тест преди плащане."; display: block; margin: 0 0 20px; color: var(--ibn-muted); font-size: 14px; line-height: 1.5; }
.ibn-minicart .return-to-shop { margin: 0; }
.ibn-minicart .return-to-shop .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; }
