/* ============================================================
   Custom Mini Cart – "Your Cart" Style
   child-theme/css/custom-mini-cart.css
   ============================================================ */

/* ── Free-shipping banner ── */
.custom-shipping-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef7ee;
    border: none;
    border-radius: 5px;
    /* justify-content: center; */
    margin: 0 0 14px;
    padding: 10px 14px;
    font-size: 18px;
    color: #000000;
    line-height: 1.4;
    text-align: center!important;
}
.custom-shipping-banner svg { flex-shrink: 0; }
.custom-shipping-banner strong { font-weight: 700; }

/* ── Each cart item <li> ── */
.woocommerce-mini-cart-item.mini_cart_item {
	display: block !important;
	padding: 14px 0 !important;
	border-bottom: 1px solid #efefef !important;
	list-style: none !important;
	position: relative !important;
}

/* ── Top row: [img] [name+price] [line-total] ── */
.custom-item-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Image wrapper */
.custom-item-img-wrap {
	flex-shrink: 0;
}
.custom-item-img-link {
	display: block;
	text-decoration: none;
}
.custom-item-img-wrap img {
    width: 70px !important;
    height: 83px !important;
    object-fit: contain !important;
    /* border: 1px solid #e8e8e8 !important; */
    border-radius: 4px !important;
    /* padding: 4px !important; */
    /* background: #fafafa !important; */
    display: block !important;
}
/* Name + unit price column */
.custom-item-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
}
.custom-item-name {
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
	line-height: 1.3 !important;
	display: block !important;
	white-space: normal !important;
}
.custom-item-name:hover { color: #1a6fb5 !important; }

.custom-item-unit-price {
    font-size: 18px !important;
    color: #000 !important;
    display: block !important;
}
/* Remove any extra WC wrappers inside unit price */
.custom-item-unit-price .woocommerce-Price-amount { font-size: inherit; }

/* Line total – right side */
.custom-item-line-total {
    font-size: 18px!important;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}
.custom-item-line-total .woocommerce-Price-amount { font-size: inherit; }

/* ── Bottom row: [−][qty][+]  [🗑] ── */
.custom-qty-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 9px;
}

/* +/− group */
.custom-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 40px;
    overflow: hidden;
    background: #F3F7FE;
}
.custom-qty-btn {
    background: #F3F7FE!important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    color: #333 !important;
    transition: background 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.custom-qty-btn:hover { background: #f2f2f2 !important; }

.custom-qty-val {
    width: 32px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    border-left: none;
    border-right: none;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trash button */
.custom-remove-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #bbb !important;
	background: none !important;
	border: none !important;
	padding: 4px !important;
	cursor: pointer !important;
	transition: color 0.2s !important;
	text-decoration: none !important;
}
.custom-remove-btn:hover { color: #c0392b !important; }

/* ── Subtotal ── */
.woocommerce-mini-cart__total {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	font-size: 0.95rem !important;
	padding: 14px 0 !important;
	margin: 0 !important;
}
.woocommerce-mini-cart__total strong { font-weight: 700 !important; }
.woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-weight: 700 !important;
}

/* ── Hide default WC buttons ── */
.woocommerce-mini-cart__buttons,
.woocommerce-mini-cart__buttons.buttons {
	display: none !important;
}

/* ── Custom footer ── */
.custom-cart-footer {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 0 4px;
}

/* T&C */
.custom-tnc-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: #000 !important;
    cursor: pointer !important;
    line-height: 1.45 !important;
}
.custom-tnc-row input[type="checkbox"] {
	width: 15px !important;
	height: 15px !important;
	margin-top: 2px !important;
	accent-color: #1a6fb5 !important;
	flex-shrink: 0 !important;
	cursor: pointer !important;
}
.custom-tnc-row a {
	color: #1a6fb5 !important;
	text-decoration: underline !important;
}

/* Shipping note */
.custom-shipping-note {
    font-size: 14px !important;
    color: #000!important;
    margin-top: 0px;
}

/* Check Out button */
a.custom-checkout-btn, a.custom-checkout-btn.button {
    display: block !important;
    width: 100% !important;
    padding: 10px !important;
    background: #1a6fb5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    transition: background 0.2s, opacity 0.2s !important;
    box-shadow: none !important;
    margin: 0 !important;
    cursor: pointer !important;
}
a.custom-checkout-btn:hover {
	background: #155d9a !important;
	color: #fff !important;
}
a.custom-checkout-btn[aria-disabled="true"] {
	opacity: 0.45 !important;
	pointer-events: none !important;
}
#cart-drawer.popup-drawer .drawer-header {
    background: #fff!important;
}
#cart-drawer .kadence-mini-cart-shipping {
    DISPLAY: none;
}
.main_class_btn_section {
    background: #F4F7FB;
    padding: 20px;
}

#cart-drawer h2.side-cart-header {
    font-size: 28px!important;
}