/* Side cart in the theme — approved sketch "Smoovee Side Cart". Everything sits under #scart (or the header's
   .scart-toggle), so the theme's and Elementor's global button/link rules can't reach in. */

/* ---------- Header button ---------- */
.snh__cart .scart-toggle, .scart-toggle { display: flex !important; align-items: center; height: 44px; padding: 0 10px !important; margin: 0 !important; border: 0 !important; border-radius: 22px !important; background: none !important; color: #fff !important; cursor: pointer; text-decoration: none !important; font-family: 'Rubik', sans-serif !important; box-shadow: none !important; transition: background 0.15s ease; }
.snh__cart .scart-toggle:hover, .snh__cart .scart-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1) !important; }
.snh__cart .scart-toggle:focus-visible { outline: 2px solid #75e1ac; outline-offset: 2px; }
.scart-toggle__in { display: flex; align-items: center; gap: 10px; }
.scart-toggle__sum { font-size: 16px; font-weight: 700; color: #fff; line-height: 1; }
.scart-toggle__icon { position: relative; display: flex; align-items: center; color: #fff; }
.scart-count { position: absolute; top: -9px; left: -11px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #75e1ac; color: #0f0f0f; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; box-sizing: border-box; }
@media (max-width: 767px) {
	.snh__cart .scart-toggle { width: 44px; padding: 0 !important; justify-content: center; }
	.scart-toggle__sum { display: none; }
	.scart-count { top: -8px; left: -10px; min-width: 18px; height: 18px; line-height: 18px; font-size: 11px; }
}

/* ---------- Drawer ---------- */
html.scart-open, html.scart-open body { overflow: hidden !important; }
#scart { --sc-ink: #0f0f0f; --sc-text: #3d3d3d; --sc-muted: #5c5c5c; --sc-faint: #8a8a8a; --sc-line: #ececec; --sc-soft: #f4f4f2; --sc-green: #75e1ac; --sc-green-soft: #e3f8ec; --sc-green-ink: #0b6b3a; --sc-bar: #2fbf71; --sc-red: #b42318;
	position: fixed; inset: 0; z-index: 2147483000; font-family: 'Rubik', sans-serif; color: var(--sc-ink); direction: rtl; }
#scart[hidden] { display: none; }
#scart *, #scart *::before, #scart *::after { box-sizing: border-box; font-family: 'Rubik', sans-serif; }
#scart .scart__overlay { position: absolute; inset: 0; background: rgba(15, 15, 15, 0.45); opacity: 0; transition: opacity 0.25s ease; }
#scart .scart__drawer { position: absolute; top: 0; bottom: 0; left: 0; width: min(440px, 100%); background: #fff; box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18); transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); outline: none; }
#scart.is-open .scart__overlay { opacity: 1; }
#scart.is-open .scart__drawer { transform: none; }
@media (prefers-reduced-motion: reduce) { #scart .scart__overlay, #scart .scart__drawer { transition: none; } }

#scart .scart__panel { height: 100%; display: flex; flex-direction: column; position: relative; }
#scart .scart__panel.is-busy::before { content: ""; position: absolute; inset: 0; z-index: 4; background: rgba(255, 255, 255, 0.55); cursor: progress; }
#scart .scart__panel.is-busy::after { content: ""; position: absolute; top: 50%; left: 50%; z-index: 5; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 3px solid #e2e2e2; border-top-color: var(--sc-ink); border-radius: 50%; animation: scart-spin 0.8s linear infinite; }
@keyframes scart-spin { to { transform: rotate(360deg); } }
#scart button { font-family: 'Rubik', sans-serif !important; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
#scart button:focus-visible, #scart a:focus-visible, #scart input:focus-visible { outline: 2px solid var(--sc-ink) !important; outline-offset: 2px; }
#scart p, #scart h2, #scart h3, #scart ul, #scart dl, #scart dd { margin: 0; padding: 0; }
#scart a { text-decoration: none; }
#scart .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#scart .scart__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; border-bottom: 1px solid var(--sc-line); flex: none; }
#scart .scart__title { font-size: 18px !important; font-weight: 800 !important; line-height: 1.2; color: var(--sc-ink); }
#scart .scart__count { font-size: 16px; font-weight: 500; color: var(--sc-muted); }
#scart .scart__close { flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--sc-soft); color: var(--sc-ink); display: flex; align-items: center; justify-content: center; }
#scart .scart__close:hover { background: #e9e9e6; }

#scart .scart__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }

/* Buttons */
#scart .scart__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; font-size: 15px !important; font-weight: 800 !important; line-height: 1; color: var(--sc-ink) !important; text-decoration: none !important; white-space: nowrap; transition: background 0.15s ease, transform 0.1s ease; }
#scart .scart__btn:active { transform: scale(0.98); }
#scart .scart__btn--green { background: var(--sc-green) !important; }
#scart .scart__btn--green:hover { background: #5fd99b !important; }
#scart .scart__btn--soft { height: 36px; padding: 0 12px; background: var(--sc-green-soft) !important; color: var(--sc-green-ink) !important; font-size: 14px !important; }
#scart .scart__btn--soft:hover { background: #d3f3e2 !important; }
#scart .scart__btn--line { height: 36px; padding: 0 14px; background: #fff !important; border: 1.5px solid var(--sc-ink) !important; font-size: 14px !important; }
#scart .scart__btn--dark { height: 42px; padding: 0 16px; background: var(--sc-ink) !important; color: #fff !important; font-size: 14px !important; }
#scart .scart__btn.loading { pointer-events: none; opacity: 0.6; }

/* Empty */
#scart .scart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
#scart .scart__empty-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--sc-green-soft); color: var(--sc-green-ink); display: flex; align-items: center; justify-content: center; }
#scart .scart__empty-title { font-size: 20px; font-weight: 800; }
#scart .scart__empty-text { font-size: 15px; color: var(--sc-muted); }
#scart .scart__empty .scart__btn { margin-top: 6px; padding: 0 28px; height: 48px; }

/* Free shipping */
#scart .scart-ship { margin: 12px 20px 2px; padding: 10px 14px; border-radius: 12px; background: var(--sc-soft); display: flex; flex-direction: column; gap: 8px; }
#scart .scart-ship.is-done { background: var(--sc-green-soft); }
#scart .scart-ship__text { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--sc-ink); }
#scart .scart-ship.is-done .scart-ship__text { color: var(--sc-green-ink); }
#scart .scart-ship__bar { display: block; height: 6px; border-radius: 99px; background: #fff; overflow: hidden; }
#scart .scart-ship__bar > span { display: block; height: 100%; border-radius: 99px; background: var(--sc-bar); transition: width 0.4s ease; }

/* Lines */
#scart .scart-lines { list-style: none !important; padding: 4px 20px !important; display: flex; flex-direction: column; }
#scart .scart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0f0ee; list-style: none !important; margin: 0 !important; }
#scart .scart-line:last-child { border-bottom: 0; }
#scart .scart-line__media { flex: none; width: 84px; height: 84px; border-radius: 12px; background: #f7f7f5; overflow: hidden; display: block; }
#scart .scart-line__media img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; margin: 0; }
#scart .scart-line__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
#scart .scart-line__top { display: flex; align-items: flex-start; gap: 8px; }
#scart .scart-line__names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#scart .scart-line__name { font-size: 16px; font-weight: 800; color: var(--sc-ink) !important; line-height: 1.3; }
#scart a.scart-line__name:hover { text-decoration: underline; }
#scart .scart-line__sub { font-size: 13px; color: var(--sc-muted); line-height: 1.4; }
#scart .scart-line__remove { flex: none; width: 36px; height: 36px; margin: -6px -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sc-muted); display: flex; align-items: center; justify-content: center; }
#scart .scart-line__remove:hover { background: var(--sc-soft); color: var(--sc-ink); }
#scart .scart-line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#scart .scart-line__price { display: flex; align-items: baseline; gap: 6px; font-size: 17px; font-weight: 800; }
#scart .scart-line__price del { font-size: 13px; font-weight: 400; color: var(--sc-faint); }
#scart .scart-line__price .amount { color: var(--sc-ink); }
#scart .scart-qty { display: flex; align-items: center; height: 36px; border: 1px solid #d9d9d6; border-radius: 10px; overflow: hidden; }
#scart .scart-qty__btn { width: 36px; height: 100%; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--sc-ink); font-size: 18px; line-height: 1; }
#scart .scart-qty__btn:hover { background: var(--sc-soft); }
#scart .scart-qty__btn:disabled { color: #c4c4c0; cursor: default; background: #fff; }
#scart .scart-qty__val { min-width: 28px; text-align: center; font-size: 15px; font-weight: 800; }
#scart .scart-undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: var(--sc-soft); font-size: 14px; color: var(--sc-text); list-style: none !important; }
#scart .scart-undo button { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--sc-ink); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Complementary */
#scart .scart-extras { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
#scart .scart-extras__title { font-size: 16px !important; font-weight: 800 !important; color: var(--sc-ink); }
#scart .scart-extras__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#scart .scart-extra { border: 1px solid #e2e2e2; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
#scart .scart-extra__top { display: flex; align-items: center; gap: 10px; }
#scart .scart-extra__top img { width: 52px; height: 52px; flex: none; border-radius: 10px; background: #f7f7f5; object-fit: contain; }
#scart .scart-extra__name { display: block; font-size: 14px; font-weight: 800; }
#scart .scart-extra__sub { display: block; font-size: 12px; color: var(--sc-muted); }
#scart .scart-extra__price { display: block; font-size: 14px; font-weight: 600; text-align: right; }
#scart .scart-extra__opts { display: flex; gap: 6px; }
#scart .scart-extra__opt { flex: 1 1 0; min-width: 0; height: 30px; padding: 0 4px; border: 1px solid #d9d9d6; border-radius: 8px; background: #fff; color: var(--sc-ink); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scart .scart-extra__opt[aria-pressed="true"] { border: 2px solid var(--sc-ink); }

/* Footer */
#scart .scart__foot { flex: none; border-top: 1px solid var(--sc-line); padding: 10px 20px 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.05); }
#scart .scart-coupon { display: flex; flex-direction: column; gap: 6px; }
#scart .scart-coupon__toggle { align-self: flex-start; height: 26px; padding: 0; border: 0; background: none; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sc-text); }
#scart .scart-coupon[data-open] .scart-coupon__toggle { display: none; }
#scart .scart-coupon__form { display: flex; gap: 8px; }
#scart .scart-coupon__form[hidden] { display: none; }
#scart .scart-coupon__form input { flex: 1; min-width: 0; height: 42px; margin: 0; padding: 0 12px; border: 1px solid #d9d9d6 !important; border-radius: 10px !important; background: #fff; font-size: 16px; color: var(--sc-ink); box-shadow: none; }
#scart .scart-coupon__msg { font-size: 13px; font-weight: 600; }
#scart .scart-coupon__msg[hidden] { display: none; }
#scart .scart-coupon__msg.is-error { color: var(--sc-red); }
#scart .scart-coupon__msg.is-ok { color: var(--sc-green-ink); }
#scart .scart-coupon__chips, #scart .scart-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#scart .scart-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sc-soft); color: var(--sc-text); font-size: 13px; font-weight: 600; line-height: 1.2; }
#scart .scart-chip svg { color: var(--sc-green-ink); flex: none; }
#scart .scart-chip button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sc-muted); display: flex; align-items: center; justify-content: center; }
#scart .scart-chip button svg { width: 14px; height: 14px; color: currentColor; }
#scart .scart-chip--save { background: var(--sc-green-soft); color: var(--sc-green-ink); font-weight: 800; }
#scart .scart-totals { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
#scart .scart-totals > div { display: flex; justify-content: space-between; gap: 12px; }
#scart .scart-totals dt { color: var(--sc-text); font-weight: 400; }
#scart .scart-totals dd { color: var(--sc-ink); }
#scart .scart-totals .is-minus dd, #scart .scart-totals .is-free dd { color: var(--sc-green-ink); font-weight: 700; }
#scart .scart-totals__total { align-items: baseline; margin-top: 3px; padding-top: 5px; border-top: 1px dashed #d9d9d6; }
#scart .scart-totals__total dt { font-size: 16px; font-weight: 800; color: var(--sc-ink); }
#scart .scart-totals__total dd { font-size: 20px; font-weight: 800; }
#scart .scart-totals__note { font-size: 13px; font-weight: 500; color: var(--sc-muted); }
#scart .scart__checkout { height: 50px; font-size: 17px !important; border-radius: 14px; }
#scart .scart__alert { position: absolute; top: 72px; right: 16px; left: 16px; z-index: 3; margin: 0; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: var(--sc-red); font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
#scart .scart__alert[hidden] { display: none; }

@media (max-width: 767px) {
	#scart .scart__drawer { width: 100%; box-shadow: none; }
	#scart .scart__head { padding: 6px 16px; }
	#scart .scart-ship { margin: 10px 16px 2px; }
	#scart .scart-lines { padding: 4px 16px !important; }
	#scart .scart-line__media { width: 72px; height: 72px; }
	#scart .scart-extras { padding: 16px 16px 20px; }
	#scart .scart__foot { padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); }
}

/* Product page: an add-to-cart error from the AJAX form. */
.scart-form-error { flex-basis: 100%; margin: 10px 0 0 !important; color: #b42318; font-size: 14px; font-weight: 600; }

/* While the drawer is open, the floating buttons and the product page's mobile bar step aside. */
html.scart-open .onetap-container-toggle, html.scart-open .onetap-toggle, html.scart-open .snf-whatsapp, html.scart-open chaindesk-chatbox-bubble, html.scart-open .snp-bar { display: none !important; }
