/* Ha-Yanshuf fixes 2026-11-05 */

/* ---------- Header cart counter ---------- */
.site-header .cart-wrapper.mini-cart-toggle {
	position: relative;
	cursor: pointer;
}

.bt-cart-count {
	position: absolute;
	top: -0.7rem;
	left: -0.9rem;
	min-width: 1.9rem;
	height: 1.9rem;
	padding: 0 0.5rem;
	border-radius: 99px;
	background: var(--color-red, #D2242A);
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 2px #fff;
	pointer-events: none;
}

.bt-cart-count.is-empty {
	display: none;
}

.bt-cart-count.bump {
	animation: bt-cart-bump .45s ease;
}

@keyframes bt-cart-bump {
	0% { transform: scale(1); }
	35% { transform: scale(1.45); }
	100% { transform: scale(1); }
}

/* ---------- Mini cart ---------- */
.mini-cart-wrapper.active .minicart-container {
	position: relative;
	padding-top: 6rem;
}

.mini-cart-wrapper.active .minicart-container .close-button {
	position: absolute;
	top: 1.6rem;
	left: 1.6rem;
	margin: 0;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 50%;
	background: #F2F2F2;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}

.mini-cart-wrapper.active .minicart-container .close-button:hover {
	background: #E2E2E2;
}

.mini-cart-wrapper.active .minicart-container .close-button img,
.mini-cart-wrapper.active .minicart-container .close-button svg {
	width: 1.2rem;
	height: 1.2rem;
	filter: brightness(0) opacity(.55);
}

.mini-cart-wrapper.active .minicart-container .woocommerce-mini-cart__total {
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid #DBDBDB;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper {
	margin-top: 4rem;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .seperator {
	height: 3px;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .title-wrapper {
	font-size: 2.6rem;
	line-height: 3rem;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .products-wrapper .single-product {
	display: flex;
	flex-direction: column;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .products-wrapper .single-product a.image-wrapper {
	background: none;
	padding: .8rem;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .upsell-name {
	font-size: 1.4rem;
	line-height: 1.8rem;
	text-align: center;
	padding: 0 .8rem;
	min-height: 3.6rem;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .upsell-price {
	font-size: 1.4rem;
	font-weight: 600;
	text-align: center;
	margin: .4rem 0 .8rem;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .upsell-price bdi {
	direction: rtl;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .products-wrapper .single-product a.button {
	margin-top: auto;
}

.mini-cart-wrapper.active .minicart-container .more-products-wrapper .products-wrapper .single-product a.added_to_cart {
	display: none !important;
}

/* ---------- Cart page ---------- */
.woocommerce-cart-form .cart-update {
	display: none !important;
}

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message:empty {
	display: none;
}

/* ---------- Confirm dialog ---------- */
.bt-confirm {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(0, 0, 0, .45);
	opacity: 0;
	transition: opacity .2s ease;
}

.bt-confirm.is-open {
	opacity: 1;
}

.bt-confirm__box {
	width: 100%;
	max-width: 42rem;
	background: #fff;
	border-radius: 10px;
	border-top: 6px solid var(--color-red, #D2242A);
	padding: 3.2rem 3rem 2.6rem;
	text-align: center;
	box-shadow: 0 2rem 5rem rgba(0, 0, 0, .25);
	transform: translateY(1rem);
	transition: transform .2s ease;
}

.bt-confirm.is-open .bt-confirm__box {
	transform: none;
}

.bt-confirm__title {
	font-size: 2.4rem;
	line-height: 3rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.bt-confirm__text {
	font-size: 1.7rem;
	line-height: 2.3rem;
	color: #4B4A4A;
	margin: 0 0 2.6rem;
	white-space: pre-line;
}

.bt-confirm__actions {
	display: flex;
	gap: 1.2rem;
	justify-content: center;
}

.bt-confirm__actions button {
	min-width: 14rem;
	height: 4.3rem;
	padding: 0 2.4rem;
	border-radius: 26px;
	font-size: 1.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.bt-confirm__ok {
	background: var(--color-red, #D2242A);
	color: #fff;
	border: 1px solid var(--color-red, #D2242A);
}

.bt-confirm__ok:hover {
	background: #000;
	border-color: #000;
}

.bt-confirm__cancel {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

.bt-confirm__cancel:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 500px) {
	.bt-confirm__actions {
		flex-direction: column-reverse;
	}

	.bt-confirm__actions button {
		width: 100%;
	}
}
/* ---------- Checkout: city dropdown readability ---------- */
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	font-size: 15px;
}

.select2-dropdown {
	border-color: #DBDBDB;
	border-radius: 5px;
}

.select2-container--default .select2-results__option {
	font-size: 15px;
	line-height: 1.4;
	padding: 9px 16px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	font-size: 15px;
	height: 4rem;
	padding: 0 12px;
	border-color: #DBDBDB;
	border-radius: 5px;
}

.select2-container--default .select2-results > .select2-results__options {
	max-height: 30rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: var(--color-red, #D2242A);
}

/* ---------- Checkout: two steps, light progress bar ---------- */
.site-main .checkout-progress-bar {
	height: auto;
	background: transparent;
}

.site-main .checkout-progress-bar .container {
	height: 5.6rem;
	gap: 4rem;
	border-bottom: 1px solid #DBDBDB;
}

.bt-single-gateway .site-main .checkout-progress-bar .progress-step[data-step="2"] {
	display: none;
}

.site-main .checkout-progress-bar .container .progress-step {
	border-bottom-width: 3px;
	margin-bottom: -1px;
	align-items: center;
}

.site-main .checkout-progress-bar .container .progress-step button {
	font-size: 1.9rem;
	line-height: 2.2rem;
	color: #ADABAB;
}

.site-main .checkout-progress-bar .container .progress-step.active button,
.site-main .checkout-progress-bar .container .progress-step.completed button,
.site-main .checkout-progress-bar .container .progress-step:hover button {
	color: #000;
}

.site-main .checkout-progress-bar .container .progress-step.completed button::before {
	content: "✓ ";
	color: var(--color-red, #D2242A);
}

/* Payment method shown already in step 1 */
.bt-pay-chip {
	display: none;
	margin: 3rem 0 2rem;
}

.bt-single-gateway.bt-step-1 .bt-pay-chip {
	display: block;
}

.bt-pay-chip__title {
	font-size: 2.2rem;
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.bt-pay-chip__box {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1.4rem 1.8rem;
	border: 1px solid var(--color-red, #D2242A);
	border-radius: 5px;
	background: #fffdfd;
	font-size: 15px;
	font-weight: 600;
}

.bt-pay-chip__dot {
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	border: 2px solid var(--color-red, #D2242A);
	position: relative;
	flex-shrink: 0;
}

.bt-pay-chip__dot::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--color-red, #D2242A);
}
/* One-step checkout: no step bar, details stay on screen while the order is placed */
.bt-single-gateway .site-main .checkout-progress-bar {
	height: 0;
	overflow: hidden;
	visibility: hidden;
	margin: 0;
	padding: 0;
}

.bt-single-gateway.bt-submitting .woocommerce-billing-fields,
.bt-single-gateway.bt-submitting .woocommerce-shipping-fields,
.bt-single-gateway.bt-submitting .woocommerce-additional-fields,
.bt-single-gateway.bt-submitting .bt-pay-chip {
	display: block !important;
}

.bt-single-gateway.bt-submitting #order_review .woocommerce-checkout-payment {
	display: none !important;
}

.bt-single-gateway.bt-submitting .multistep-navigation .button {
	opacity: .6;
	pointer-events: none;
}

.bt-pay-chip__privacy {
	margin-top: 1.4rem;
	font-size: 1.4rem;
	line-height: 2rem;
	color: #4B4A4A;
}

.bt-pay-chip__privacy p {
	margin: 0;
}

.bt-pay-chip__privacy a {
	text-decoration: underline;
}
/* ---------- 2026-11-19: pre-launch fixes ---------- */

/* Prices: always "4,600 ₪" (shekel sign after the number, reading right to left) */
.woocommerce-Price-amount bdi {
	direction: rtl !important;
	unicode-bidi: isolate;
}

/* Bullet points in product texts */
.bt-product-tabs .inner-wrapper ul,
.site-main .product .warranty-shipping .content ul,
ul.bt-bullets {
	list-style: disc;
	padding-inline-start: 2.2rem;
	margin: 0;
}

.bt-product-tabs .inner-wrapper ul li,
ul.bt-bullets li {
	display: list-item;
	list-style: inherit;
	margin-bottom: .6rem;
}

ul.bt-bullets li::marker,
.bt-product-tabs .inner-wrapper ul li::marker {
	color: var(--color-red, #D2242A);
}

.bt-nowrap {
	white-space: nowrap;
}

/* PayPlus: taller payment iframe (no inner scroll) */
.pp_iframe iframe#pp_iframe,
iframe#pp_iframe {
	min-height: 860px;
}

@media (max-width: 600px) {
	.pp_iframe iframe#pp_iframe,
	iframe#pp_iframe {
		min-height: 1000px;
	}
}

/* PayPlus loaders in the site's style */
#pp-redirect-loader,
#pp-processing-overlay {
	gap: 2.4rem !important;
}

#pp-redirect-loader > div,
#pp-processing-overlay > div {
	width: 7.2rem !important;
	height: 7.2rem !important;
	border-width: 6px !important;
	border-color: #EEEEEE !important;
	border-top-color: var(--color-red, #D2242A) !important;
	box-shadow: none !important;
}

#pp-redirect-loader p,
#pp-processing-overlay p {
	font-family: inherit !important;
	font-size: 2.2rem !important;
	line-height: 3rem !important;
	font-weight: 600 !important;
	color: #000 !important;
	background: none !important;
	direction: rtl;
}

#pp-processing-overlay {
	background: rgba(255, 255, 255, .92) !important;
}
/* Loader while PayPlus moves the page to the thank-you page */
#bt-pay-redirect {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	background: rgba(255, 255, 255, .96);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	text-align: center;
	padding: 2rem;
	direction: rtl;
}

#bt-pay-redirect .bt-pay-redirect__spin {
	width: 7.2rem;
	height: 7.2rem;
	border: 6px solid #EEEEEE;
	border-top-color: var(--color-red, #D2242A);
	border-radius: 50%;
	animation: bt-pay-spin .8s linear infinite;
	margin-bottom: 1.2rem;
}

#bt-pay-redirect .bt-pay-redirect__title {
	font-size: 2.8rem;
	line-height: 3.4rem;
	font-weight: 700;
	margin: 0;
}

#bt-pay-redirect .bt-pay-redirect__text {
	font-size: 1.9rem;
	line-height: 2.6rem;
	margin: 0;
	color: #4B4A4A;
}

@keyframes bt-pay-spin {
	to { transform: rotate(360deg); }
}