/* =====================================================================
   Bayt Al Asala — cart UX layer v1.0.0 (admin preview first)
   "Added to cart" toast, PC mini-cart dropdown.
   Benchmark: arawnaqperfume.com, in brand colours (black / gold / white).
   ===================================================================== */

/* ---------- stepper buttons (PC mini-cart dropdown) ------------- */
.bta-stepper .bta-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 30px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #FFFFFF !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .15s;
}
.bta-stepper .bta-step:hover { background: rgba(255, 255, 255, .12) !important; }
.bta-stepper .bta-step svg { width: 15px; height: 15px; }
.bta-stepper .bta-step__qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 26px;
	border-inline: 1px solid rgba(255, 255, 255, .18);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
}
html.bta-cart-busy .bta-stepper { opacity: .6; pointer-events: none; }

/* ---------- toast ---------------------------------------------------- */
.bta-toast {
	position: fixed;
	inset-inline: 16px;
	bottom: 16px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 520px;
	margin-inline: auto;
	padding: 14px 16px;
	border-radius: 6px;
	background: #000;
	color: #FFFFFF;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	font-size: 14.5px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.bta-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.bta-toast__text { flex: 1; }
.bta-toast__link { color: #D3AC5D !important; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bta-toast__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bta-toast__close {
	display: inline-flex;
	padding: 4px !important;
	border: 0 !important;
	background: transparent !important;
	color: rgba(255, 255, 255, .7) !important;
	cursor: pointer;
	box-shadow: none !important;
	min-height: 0 !important;
}
.bta-toast__close svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
	body.bta-has-dock .bta-toast { bottom: 84px; }   /* above the sticky dock on cart/checkout */
}

/* ---------- PC mini-cart dropdown ------------------------------------ */
.bta-mc {
	position: absolute;
	z-index: 99998;
	width: 360px;
	max-height: 70vh;
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
	color: #141414;
	direction: rtl;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.bta-mc.is-on { opacity: 1; visibility: visible; transform: none; }
.bta-mc__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #EFEFEF; }
.bta-mc__head strong { font-size: 16px; }
.bta-mc__head span { font-size: 12.5px; color: #6B6B6B; }
.bta-mc__empty { margin: 0; padding: 28px 18px; text-align: center; color: #6B6B6B; font-size: 14px; }
.bta-mc__list { flex: 1; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.bta-mc__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid #F2F2F2; }
.bta-mc__img { display: block; width: 64px; height: 64px; border-radius: 4px; background: #F3F3F3; overflow: hidden; }
.bta-mc__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bta-mc__name { display: block; margin-bottom: 8px; color: #141414 !important; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.bta-mc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bta-mc .bta-stepper--sm { display: inline-flex; width: 104px; height: 32px; background: #000; border-radius: 4px; overflow: hidden; direction: ltr; }
.bta-mc__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.bta-mc__price small { color: #8A8A8A; font-size: 11.5px; }
.bta-mc__price b { font-size: 14px; }
.bta-mc__total { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #EFEFEF; font-size: 14px; color: #3A3A3A; }
.bta-mc__total b { color: #000; font-size: 16px; }
.bta-mc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px 16px; }
.bta-mc__btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 42px; border: 1px solid #CCCCCC; border-radius: 4px;
	background: #FFFFFF; color: #000 !important; font-size: 14px; font-weight: 700; text-decoration: none !important;
}
.bta-mc__btn:hover { border-color: #000; }
.bta-mc__btn--dark { background: #000; border-color: #000; color: #FFFFFF !important; }
.bta-mc__btn--dark:hover { background: #1F1F1F; }
@media (max-width: 1024px) { .bta-mc { display: none !important; } }
/* bag icon highlighted while its dropdown is open (benchmark) */
.whb-header .wd-header-cart.bta-mc-anchor .wd-tools-icon { background: #F3F3F3; border-radius: 4px; }
.whb-header .wd-header-cart .wd-tools-icon { transition: background-color .15s; }
/* stepper icons: exact vertical centring (no inline-SVG baseline gap) */
.bta-stepper .bta-step { height: auto !important; min-height: 0 !important; line-height: 0 !important; align-self: stretch; }
.bta-stepper .bta-step svg { display: block; flex: none; margin: 0 !important; }
.bta-stepper .bta-step__qty { line-height: 1 !important; }

.bta-stepper .bta-step svg{width:14px!important;height:14px!important;stroke-width:1.6}
.bta-stepper .bta-step__qty{border-inline:1px solid rgba(255,255,255,.22)!important;font-size:15px!important;font-weight:600!important}
