/* ==========================================================================
   KISIM.COM — עיצוב עמוד סל קניות  |  גרסה 2
   --------------------------------------------------------------------------
   למה כל סלקטור ארוך כל כך?
   ה-CSS של התבנית משתמש ב:
       .woocommerce-cart #primary .page .entry-content table.shop_table td {...}
   יש שם ID (#primary) — ולכן שום סלקטור מבוסס-מחלקות לא יכול לנצח אותו.
   כאן משתמשים באותו scope בדיוק + מחלקה אחת נוספת, וזה מנצח בלי !important.
   אם תשנה את מבנה העמוד (Elementor Theme Builder ללא #primary) — עדכן את
   הקידומת בכל הקובץ.
   ========================================================================== */

:root {
	--k-ink:        #141414;
	--k-ink-soft:   #6b6b6b;
	--k-accent:     #8a6a55;
	--k-line:       #e7e1dc;
	--k-line-soft:  #f2eeea;
	--k-surface:    #ffffff;
	--k-surface-2:  #faf8f6;
	--k-success:    #2e7d5b;
	--k-radius:     4px;
	--k-radius-lg:  8px;
	--k-shadow:     0 1px 2px rgba(20,20,20,.04), 0 8px 24px rgba(20,20,20,.06);
	--k-sticky-h:   84px;
}

/* --------------------------------------------------------------------------
   1. כותרת + הודעות
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .page-header .page-title,
body.woocommerce-cart #primary .page .entry-content .elementor-widget-heading .elementor-heading-title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.3;
}

body.woocommerce-cart #primary .page .entry-content .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart #primary .page .entry-content .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-cart #primary .page .entry-content .woocommerce-notices-wrapper .woocommerce-error {
	border: 1px solid var(--k-line);
	border-top: 2px solid var(--k-ink);
	background: var(--k-surface-2);
	border-radius: var(--k-radius);
	padding: 14px 18px;
	font-size: 14px;
	color: var(--k-ink);
}

body.woocommerce-cart #primary .page .entry-content .e-cart__container {
	gap: clamp(20px, 3vw, 48px);
}

/* --------------------------------------------------------------------------
   2. טבלת המוצרים — דסקטופ
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart {
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--k-surface);
	margin: 0;
	width: 100%;
}

body.woocommerce-cart #primary .page .entry-content table.shop_table.cart thead th {
	background: var(--k-surface-2);
	border: 0;
	border-bottom: 1px solid var(--k-line);
	padding: 14px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--k-ink-soft);
	text-align: start;
	white-space: nowrap;
}

body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody td {
	border: 0;
	border-bottom: 1px solid var(--k-line-soft);
	padding: 18px 16px;
	vertical-align: middle;
	text-align: start;
}

body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item:last-of-type td {
	border-bottom: 1px solid var(--k-line);
}

body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item {
	transition: background .18s ease;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item:hover {
	background: var(--k-surface-2);
}


body.woocommerce-cart .woocommerce-shipping-totals {
	display:none !important;
}

body.woocommerce-cart .page-header .page-title {
	display:none !important;
}

/* תמונה */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-thumbnail {
	width: 104px;
	padding-inline-end: 0;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-thumbnail img {
	width: 88px;
	height: 110px;
	object-fit: cover;
	border-radius: var(--k-radius);
	background: var(--k-surface-2);
	display: block;
	transition: transform .3s ease;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item:hover td.product-thumbnail img {
	transform: scale(1.03);
}

/* שם מוצר */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-name a {
	color: var(--k-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .18s ease, border-color .18s ease;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-name a:hover {
	color: var(--k-accent);
	border-bottom-color: var(--k-accent);
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-name .variation {
	font-size: 12px;
	color: var(--k-ink-soft);
	margin: 6px 0 0;
	letter-spacing: 0;
	text-transform: none;
}

/* מחירים */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-price .amount {
	color: var(--k-ink-soft);
	font-size: 14px;
	white-space: nowrap;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-subtotal .amount {
	color: var(--k-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
body.woocommerce-cart #primary .page .entry-content .woocommerce-Price-currencySymbol {
	font-size: .9em;
	margin-inline-start: 1px;
}

/* כפתור הסרה */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-remove {
	width: 48px;
	text-align: center;
	padding-inline: 8px;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	top: 0;
	line-height: 1;
	border-radius: 50%;
	font-size: 18px;
	color: var(--k-ink-soft) !important;
	background: transparent;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-remove a.remove:hover {
	background: #f5eceb;
	color: #b4362e !important;
	transform: rotate(90deg);
}

/* בורר כמות */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--k-line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--k-surface);
	height: 42px;
	width: auto;
	float: none;
	margin: 0;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity input.qty {
	width: 44px;
	height: 40px;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: var(--k-ink);
	box-shadow: none;
	padding: 0;
	border-radius: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity input.qty:focus {
	outline: none;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-quantity .quantity:focus-within {
	border-color: var(--k-ink);
}

/* כפתורי +/− (נבנים ע"י ה-JS) */
body.woocommerce-cart #primary .page .entry-content .quantity button.k-qty-btn {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--k-ink);
	font-size: 18px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
	padding: 0;
	border-radius: 0;
}
body.woocommerce-cart #primary .page .entry-content .quantity button.k-qty-btn:hover:not(:disabled) {
	background: var(--k-surface-2);
	color: var(--k-ink);
}
body.woocommerce-cart #primary .page .entry-content .quantity button.k-qty-btn:disabled {
	color: #cfcac5;
	cursor: not-allowed;
	background: transparent;
}

/* --------------------------------------------------------------------------
   3. שורת "עדכון סל"
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions {
	padding: 16px;
	background: var(--k-surface-2);
	border-bottom: 0;
	text-align: start;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions button[name="update_cart"] {
	background: transparent;
	color: var(--k-ink);
	border: 1px solid var(--k-line);
	border-radius: 999px;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
	transition: all .2s ease;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled) {
	border-color: var(--k-ink);
	background: var(--k-ink);
	color: #fff;
}
body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions button[name="update_cart"]:disabled {
	opacity: .35;
	cursor: default;
	background: transparent;
	color: var(--k-ink);
}

/* --------------------------------------------------------------------------
   4. קופון
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content .woocommerce .coupon.e-cart-section {
	margin-top: 16px;
	border: 1px dashed var(--k-line);
	border-radius: var(--k-radius-lg);
	background: var(--k-surface);
	padding: 14px 16px;
	width: auto;
}
body.woocommerce-cart #primary .page .entry-content .coupon .form-row.coupon-col {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin: 0;
	padding: 0;
}
body.woocommerce-cart #primary .page .entry-content .coupon .coupon-col-start {
	flex: 1;
}
body.woocommerce-cart #primary .page .entry-content .coupon input#coupon_code.input-text {
	width: 100% !important; /* התבנית מכריחה width — משאירים */
	height: 46px;
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius);
	padding: 0 14px;
	margin: 0;
	font-size: 14px;
	background: var(--k-surface-2);
	color: var(--k-ink);
	transition: border-color .18s ease, background .18s ease;
}
body.woocommerce-cart #primary .page .entry-content .coupon input#coupon_code.input-text::placeholder {
	color: #b3aca6;
}
body.woocommerce-cart #primary .page .entry-content .coupon input#coupon_code.input-text:focus {
	outline: none;
	border-color: var(--k-ink);
	background: var(--k-surface);
}
body.woocommerce-cart #primary .page .entry-content .coupon button.e-apply-coupon,
body.woocommerce-cart #primary .page .entry-content .coupon button[name="apply_coupon"] {
	height: 46px;
	min-width: 130px;
	background: transparent;
	color: var(--k-ink);
	border: 1px solid var(--k-ink);
	border-radius: var(--k-radius);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
	padding: 0 18px;
	transition: all .2s ease;
}
body.woocommerce-cart #primary .page .entry-content .coupon button.e-apply-coupon:hover,
body.woocommerce-cart #primary .page .entry-content .coupon button[name="apply_coupon"]:hover {
	background: var(--k-ink);
	color: #fff;
}

/* --------------------------------------------------------------------------
   5. קופסת הסיכום
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content .e-cart__column-end .e-cart-totals {
	background: var(--k-surface-2);
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius-lg);
	box-shadow: var(--k-shadow);
	overflow: hidden;
}
body.woocommerce-cart #primary .page .entry-content .e-cart-totals .cart_totals {
	background: transparent;
	padding: 22px;
	box-shadow: none;
	border: 0;
}
body.woocommerce-cart #primary .page .entry-content .e-cart__column-inner.e-sticky-right-column {
	position: sticky;
	top: 110px; /* התאם לגובה ההדר הדביק */
}

body.woocommerce-cart #primary .page .entry-content .e-cart-totals .cart_totals h2 {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .02em;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--k-line);
	color: var(--k-ink);
	line-height: 1.3;
}

body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table {
	border: 0;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
	background: transparent;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table th,
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table td {
	border: 0;
	padding: 10px 0;
	font-size: 14px;
	vertical-align: top;
	background: transparent;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table th {
	font-weight: 400;
	color: var(--k-ink-soft);
	width: 38%;
	text-align: start;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table td {
	text-align: end;
	color: var(--k-ink);
}

/* שיטות משלוח — כרטיסי בחירה */
body.woocommerce-cart #primary .page .entry-content .cart_totals tr.woocommerce-shipping-totals th,
body.woocommerce-cart #primary .page .entry-content .cart_totals tr.woocommerce-shipping-totals td {
	padding-top: 16px;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals tr.woocommerce-shipping-totals td {
	text-align: start;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li {
	margin: 0;
	padding: 0;
	background: none;
	text-transform: none;
	font-size: inherit;
	letter-spacing: 0;
	font-weight: 400;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li input.shipping_method {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid var(--k-line);
	background: var(--k-surface);
	border-radius: var(--k-radius);
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--k-ink);
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease;
	margin: 0;
	width: 100%;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li label::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	border: 1px solid #c9c2bc;
	border-radius: 50%;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li label:hover {
	border-color: #cfc7c0;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li input.shipping_method:checked + label {
	border-color: var(--k-ink);
	box-shadow: inset 0 0 0 1px var(--k-ink);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li input.shipping_method:checked + label::before {
	border-color: var(--k-ink);
	box-shadow: inset 0 0 0 4px var(--k-ink);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li label .amount {
	margin-inline-start: auto;
	font-weight: 600;
	white-space: nowrap;
	color: var(--k-ink);
}
/* משלוח חינם — הדגשה ירוקה */
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li input[value^="free_shipping"]:checked + label {
	border-color: var(--k-success);
	box-shadow: inset 0 0 0 1px var(--k-success);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals ul#shipping_method li input[value^="free_shipping"]:checked + label::before {
	border-color: var(--k-success);
	box-shadow: inset 0 0 0 4px var(--k-success);
}

body.woocommerce-cart #primary .page .entry-content .cart_totals p.woocommerce-shipping-destination {
	font-size: 12px;
	color: var(--k-ink-soft);
	margin: 0 0 6px;
	line-height: 1.6;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals p.woocommerce-shipping-destination strong {
	font-weight: 500;
	color: var(--k-ink);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals a.shipping-calculator-button {
	font-size: 12px;
	color: var(--k-accent);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	display: inline-block;
	padding-bottom: 1px;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals a.shipping-calculator-button:hover {
	color: var(--k-ink);
}

/* טופס חישוב משלוח */
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form {
	margin-top: 12px;
	padding: 14px;
	background: var(--k-surface);
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form .form-row {
	margin: 0 0 10px;
	padding: 0;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form input.input-text,
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form select,
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form .select2-container .select2-selection {
	width: 100% !important;
	height: 44px !important;
	border: 1px solid var(--k-line);
	border-radius: var(--k-radius);
	padding: 0 12px;
	font-size: 13px;
	background: var(--k-surface);
	color: var(--k-ink);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 42px !important;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .shipping-calculator-form button[name="calc_shipping"] {
	width: 100%;
	height: 44px;
	background: var(--k-ink);
	color: #fff;
	border: 0;
	border-radius: var(--k-radius);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: .02em;
	padding: 0;
}

/* סה"כ */
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table tr.order-total th,
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table tr.order-total td {
	padding-top: 16px;
	border-top: 1px solid var(--k-line);
	font-size: 17px;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table tr.order-total th {
	color: var(--k-ink);
	font-weight: 600;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals table.shop_table tr.order-total td strong .amount {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.01em;
}

/* --------------------------------------------------------------------------
   6. כפתור "המשך לקופה"
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout {
	padding: 18px 0 0;
	margin: 0;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 20px;
	background: var(--k-ink);
	color: #fff;
	border: 0;
	border-radius: var(--k-radius);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: none;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
	background: #000;
	color: #fff;
	opacity: 1;
	box-shadow: 0 8px 20px rgba(20,20,20,.22);
	transform: translateY(-1px);
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout a.checkout-button::after {
	content: "←";
	font-size: 17px;
	line-height: 1;
	opacity: 1;
	position: static;
	border: 0;
	background: none;
	transition: transform .22s ease;
}
body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout a.checkout-button:hover::after {
	transform: translateX(-4px);
}

body.woocommerce-cart #primary .page .entry-content .cart_totals .k-trust-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 12px;
	color: var(--k-ink-soft);
	line-height: 1.4;
	text-align: center;
}
body.woocommerce-cart #primary .page .entry-content .ppcp-messages:empty {
	display: none;
}

/* --------------------------------------------------------------------------
   7. סל ריק
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary .page .entry-content .cart-empty {
	font-size: 18px;
	color: var(--k-ink);
	text-align: center;
	padding: 40px 0 10px;
}
body.woocommerce-cart #primary .page .entry-content .return-to-shop {
	text-align: center;
	padding-bottom: 40px;
}
body.woocommerce-cart #primary .page .entry-content .return-to-shop a.button {
	background: var(--k-ink);
	color: #fff;
	border-radius: var(--k-radius);
	padding: 15px 34px;
	font-size: 14px;
	text-transform: none;
	letter-spacing: .02em;
}

/* ==========================================================================
   8. הבר הסטיקי התחתון (נבנה ע"י ה-JS כילד ישיר של body)
   ========================================================================== */
#k-sticky-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 9998;
	display: none;              /* מוצג רק במובייל */
	align-items: center;
	gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-top: 1px solid var(--k-line);
	box-shadow: 0 -6px 24px rgba(20,20,20,.10);
	direction: rtl;
}
#k-sticky-bar .k-sticky-total {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	flex: 0 0 auto;
	min-width: 82px;
}
#k-sticky-bar .k-sticky-total__label {
	font-size: 11px;
	color: var(--k-ink-soft);
	letter-spacing: .02em;
}
#k-sticky-bar .k-sticky-total__value {
	font-size: 18px;
	font-weight: 700;
	color: var(--k-ink);
	white-space: nowrap;
}
#k-sticky-bar a.k-sticky-cta {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 18px;
	background: var(--k-ink);
	color: #fff;
	border-radius: var(--k-radius);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .18s ease;
}
#k-sticky-bar a.k-sticky-cta:hover,
#k-sticky-bar a.k-sticky-cta:focus {
	background: #000;
	color: #fff;
}
#k-sticky-bar a.k-sticky-cta::after {
	content: "←";
	font-size: 16px;
	line-height: 1;
}

/* ==========================================================================
   9. מובייל — עד 767px
   ========================================================================== */
@media (max-width: 767px) {

	#k-sticky-bar {
		display: flex;
		animation: kSlideUp .28s ease both;
	}

	body.woocommerce-cart {
		padding-bottom: calc(var(--k-sticky-h) + env(safe-area-inset-bottom, 0px));
	}

	/* מסתירים את הכפתור המקורי — הוא חי עכשיו בבר התחתון */
	body.woocommerce-cart #primary .page .entry-content .cart_totals .wc-proceed-to-checkout {
		display: none;
	}

	body.woocommerce-cart #primary .page .entry-content .e-cart__container {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	/* --- טבלה → כרטיסים --- */
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart {
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
		display: block;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart thead {
		display: none;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody {
		display: block;
		width: 100%;
	}

	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item {
		display: grid;
		grid-template-columns: 92px 1fr auto;
		grid-template-areas:
			"thumb name  remove"
			"thumb price price"
			"thumb qty   subtotal";
		column-gap: 14px;
		row-gap: 8px;
		align-items: center;
		background: var(--k-surface);
		border: 1px solid var(--k-line);
		border-radius: var(--k-radius-lg);
		padding: 14px;
		margin-bottom: 12px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item:hover {
		background: var(--k-surface);
	}

	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item td {
		display: block;
		border: 0;
		padding: 0;
		text-align: start;
		width: auto;
	}
	/* מנטרל את תוויות data-title של ווקומרס */
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr.cart_item td::before {
		display: none;
		content: none;
	}

	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-thumbnail {
		grid-area: thumb;
		align-self: start;
		width: auto;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-thumbnail img {
		width: 92px;
		height: 112px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-name {
		grid-area: name;
		align-self: start;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-name a {
		font-size: 14px;
		display: block;
		padding-inline-end: 6px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-price {
		grid-area: price;
		align-self: start;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-price .amount {
		font-size: 13px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-quantity {
		grid-area: qty;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-quantity .quantity {
		height: 40px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-quantity input.qty,
	body.woocommerce-cart #primary .page .entry-content .quantity button.k-qty-btn {
		height: 38px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-subtotal {
		grid-area: subtotal;
		text-align: end;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-subtotal .amount {
		font-size: 16px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tr.cart_item td.product-remove {
		grid-area: remove;
		align-self: start;
		width: auto;
		padding: 0;
	}

	/* שורת עדכון סל */
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody tr:not(.cart_item) {
		display: block;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions {
		display: block;
		background: transparent;
		padding: 0 0 4px;
		text-align: center;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.actions button[name="update_cart"] {
		width: 100%;
	}

	/* קופון */
	body.woocommerce-cart #primary .page .entry-content .coupon .form-row.coupon-col {
		flex-direction: column;
	}
	body.woocommerce-cart #primary .page .entry-content .coupon button.e-apply-coupon,
	body.woocommerce-cart #primary .page .entry-content .coupon button[name="apply_coupon"] {
		width: 100%;
	}

	/* סיכום */
	body.woocommerce-cart #primary .page .entry-content .e-cart-totals .cart_totals {
		padding: 18px;
	}
	body.woocommerce-cart #primary .page .entry-content .e-cart__column-inner.e-sticky-right-column {
		position: static;
	}

	/* מרים את כפתור הוואטסאפ הצף מעל הבר */
	body.woocommerce-cart .wa__floating_button,
	body.woocommerce-cart .wa__btn_popup,
	body.woocommerce-cart .joinchat,
	body.woocommerce-cart .ht-ctc-chat {
		bottom: calc(var(--k-sticky-h) + 8px) !important;
		z-index: 9997 !important;
	}
}

@keyframes kSlideUp {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-cart *,
	#k-sticky-bar * {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}

/* --------------------------------------------------------------------------
   10. טאבלט
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
	body.woocommerce-cart #primary .page .entry-content .e-cart__container {
		gap: 20px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart tbody td {
		padding: 14px 10px;
	}
	body.woocommerce-cart #primary .page .entry-content table.shop_table.cart td.product-thumbnail img {
		width: 72px;
		height: 90px;
	}
}

/* --------------------------------------------------------------------------
   11. נגישות
   -------------------------------------------------------------------------- */
body.woocommerce-cart #primary a:focus-visible,
body.woocommerce-cart #primary button:focus-visible,
body.woocommerce-cart #primary input:focus-visible,
#k-sticky-bar a:focus-visible {
	outline: 2px solid var(--k-accent);
	outline-offset: 2px;
}