/* Vedang — Side cart (CSS snippet 2 of 3). Site wide. */

.vsc { --m:#772613; --md:#5A1C0E; --gold:#C68A3E; --ink:#2A1A12; --body:#5B4A3D; --muted:#7A6A5C; --line:#E5D9C8; --cream:#F7F1E8; --card:#FFFDF9; --tint:#F2E7D5; --green:#1D7A5A; --green-bg:#E4F1E9;
	position: fixed; inset: 0; z-index: 99990; pointer-events: none; font-family: Lato, system-ui, sans-serif; color: var(--ink); font-size: 14px; line-height: 1.45; }
.vsc * { box-sizing: border-box; }
.vsc a { text-decoration: none; }
.vsc button { font-family: inherit; }
.vsc.is-open { pointer-events: auto; }

.vsc__scrim { position: absolute; inset: 0; background: rgba(42,26,18,.42); opacity: 0; transition: opacity .22s; }
.vsc.is-open .vsc__scrim { opacity: 1; }

.vsc__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%;
	background: var(--cream); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .24s cubic-bezier(.2,.7,.2,1);
	box-shadow: -12px 0 40px rgba(42,26,18,.18);
}
.vsc.is-open .vsc__panel { transform: none; }

/* header */
.vsc__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); flex: none; position: relative; }

/* loading bar: shows while the drawer is waiting on the cart */
.vsc__head::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--gold) 35%, var(--m) 50%, var(--gold) 65%, transparent 100%);
	background-size: 45% 100%; background-repeat: no-repeat; background-position: -45% 0;
	opacity: 0; transition: opacity .15s;
}
.vsc.is-busy .vsc__head::after, .vsc.is-adding .vsc__head::after { opacity: 1; animation: vscBar .9s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes vscBar { from { background-position: -45% 0; } to { background-position: 145% 0; } }
.vsc__head h2 { margin: 0; flex: 1; font: 600 20px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc__head h2 span { font: 500 15px Poppins, system-ui, sans-serif; color: var(--muted); }
.vsc__back, .vsc__x { background: transparent !important; border: 0 !important; padding: 4px !important; cursor: pointer; color: var(--ink) !important; font-size: 24px; line-height: 1; box-shadow: none !important; min-height: 0; }
.vsc__back { display: none; }

/* body */
.vsc__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 20px; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
.vsc__body > div:empty { display: none; }
.vsc.is-busy .vsc__body { opacity: .65; pointer-events: none; transition: opacity .15s; }

.vsc-ico { display: inline-flex; flex: none; }
.vsc-ico svg { width: 20px; height: 20px; }
.vsc-green { color: var(--green) !important; }

/* saved banner */
.vsc-banner { display: flex; align-items: center; gap: 9px; background: var(--green-bg); color: #1B4D36; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; }
.vsc-banner .vsc-ico { color: var(--green); }
.vsc-banner .vsc-ico svg { width: 16px; height: 16px; }
.vsc-banner b { font-weight: 900; }

/* shipping */
.vsc-ship { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.vsc-ship__row { display: flex; align-items: center; gap: 9px; }
.vsc-ship .vsc-ico { color: var(--m); }
.vsc-ship b { font-weight: 900; }
.vsc-ship__track { height: 7px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.vsc-ship__track i { display: block; height: 100%; border-radius: 99px; background: var(--gold); transition: width .4s; }
.vsc-ship.is-done .vsc-ship__track i { background: var(--m); }

/* sections */
.vsc-sec { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.vsc-sec__head { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; }
.vsc-sec__head .vsc-ico { color: var(--m); margin-top: 1px; }
.vsc-sec__title { font: 600 15px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-sec__sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }

/* offers */
.vsc-offers__scroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -12px; padding: 4px 12px 2px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.vsc-offers__scroll.is-dragging, .vsc-ups__scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.vsc-offers__scroll.is-dragging *, .vsc-ups__scroll.is-dragging * { pointer-events: none; }
.vsc-offers__scroll::-webkit-scrollbar { display: none; }
.vsc-offer { flex: 0 0 250px; width: 250px; min-width: 250px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.vsc-offer.is-applied { border-color: #B8CDB9; }
.vsc-offer__top { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.vsc-offer__title { font: 600 14px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-offer__hint { font-size: 12px; color: var(--muted); }
.vsc-offer.is-na .vsc-offer__hint { color: #A0522D; }
.vsc-offer__more { align-self: flex-start; background: transparent !important; border: 0 !important; padding: 2px 0 !important; color: var(--m) !important; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none !important; min-height: 0; }
.vsc-offer__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--cream); border-top: 1px dashed var(--line); }
.vsc-offer.is-applied .vsc-offer__bar { background: var(--green-bg); }
.vsc-offer__code { font: 700 13px Poppins, system-ui, sans-serif; letter-spacing: .8px; color: var(--ink); }
.vsc-offer__btn, .vsc-offer__btn:focus { background: #fff !important; color: var(--m) !important; border: 1.5px solid var(--m) !important; border-radius: 6px !important; padding: 6px 14px !important; font: 900 12.5px Lato, system-ui, sans-serif !important; cursor: pointer; box-shadow: none !important; min-height: 0; transition: .15s; }
.vsc-offer__btn:hover { background: var(--m) !important; color: #fff !important; }
.vsc-offer__btn:disabled { border-color: var(--line) !important; color: #B8ABA0 !important; background: #fff !important; cursor: not-allowed; }
.vsc-offer__btn.is-on, .vsc-offer__btn.is-on:hover { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.vsc-offer__btn.is-busy { opacity: .6; pointer-events: none; }

/* items */
.vsc-line { display: grid; grid-template-columns: 62px 1fr auto; gap: 11px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.vsc-line.is-removing { opacity: .35; pointer-events: none; }
.vsc-line__img { width: 62px; height: 62px; border-radius: 8px; background: var(--tint); overflow: hidden; display: block; }
.vsc-line__img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; padding: 3px; }
.vsc-line__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vsc-line__name { font: 500 13.5px/1.25 Poppins, system-ui, sans-serif; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vsc-line__name em { font: 700 10px Lato, system-ui, sans-serif; color: #5E6B4B; font-style: normal; }
.vsc-line__var { font-size: 11.5px; color: var(--muted); }
.vsc-line__price { display: flex; align-items: baseline; gap: 6px; font-size: 12px; }
.vsc-line__price b { font: 700 14px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-line__price s { color: #8B7B6C; }
.vsc-line__price em { font-style: normal; color: #D85A30; font-weight: 700; }
.vsc-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.vsc-line__rm { background: transparent !important; border: 0 !important; padding: 2px !important; color: #8B7B6C !important; cursor: pointer; box-shadow: none !important; min-height: 0; }
.vsc-line__rm:hover { color: var(--m) !important; }
.vsc-line__rm svg { width: 16px; height: 16px; }
.vsc-line__giftq { font-size: 12px; color: var(--muted); font-weight: 700; }

.vsc-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.vsc-qty button { width: 30px; height: 30px; background: #fff !important; border: 0 !important; color: var(--m) !important; font: 700 17px/1 Lato, system-ui, sans-serif; cursor: pointer; padding: 0 !important; box-shadow: none !important; min-height: 0; }
.vsc-qty button:hover { background: var(--cream) !important; }
.vsc-qty button:disabled { opacity: .35; cursor: not-allowed; }
.vsc-qty__n { min-width: 28px; text-align: center; font-size: 13.5px; font-weight: 900; }
.vsc-qty__n.bump { animation: vscBump .2s; }
@keyframes vscBump { 40% { transform: scale(1.25); } }

/* adding into an empty cart: hide the empty state, show a placeholder line */
.vsc.is-adding .vsc-empty { display: none; }
.vsc.is-adding [data-vsc-r="items"]::before {
	content: ""; display: block; height: 82px; border-radius: 10px; background: var(--card); border: 1px solid var(--line);
	background-image: linear-gradient(90deg, transparent 0, rgba(42,26,18,.06) 50%, transparent 100%); background-size: 200% 100%;
	animation: vscShimmer 1s linear infinite;
}
.vsc.is-adding .vsc__foot:empty { display: flex; min-height: 74px; }
.vsc.is-adding .vsc__foot:empty::before { content: "Adding to cart\2026"; font-size: 13px; color: var(--muted); align-self: center; }
@keyframes vscShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.vsc.is-busy .vsc__body { opacity: 1; pointer-events: none; }

/* empty */
.vsc-empty { text-align: center; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vsc-empty__ico { color: var(--gold); }
.vsc-empty__ico svg { width: 40px; height: 40px; }
.vsc-empty h3 { margin: 4px 0 0; font: 600 18px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-empty p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

/* upsells */
.vsc-ups { background: var(--tint); border-color: #E8D9C3; }
.vsc-ups__label { display: inline-block; background: #EFE0C8; color: #5A3A10; font-size: 11.5px; font-weight: 900; padding: 4px 9px; border-radius: 5px; margin-bottom: 8px; }
.vsc-ups__scroll { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.vsc-ups__scroll > * { flex: 0 0 auto; }
.vsc-ups__scroll::-webkit-scrollbar { display: none; }
.vsc-up { flex: 0 0 140px; width: 140px; min-width: 140px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.vsc-up__cat { align-self: center; font-size: 10px; font-weight: 700; color: var(--muted); background: var(--cream); border-radius: 4px; padding: 2px 8px; }
.vsc-up__img { display: block; height: 90px; border-radius: 6px; background: #fff; overflow: hidden; }
.vsc-up__img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; padding: 4px; }
.vsc-up__name { font: 500 12.5px/1.25 Poppins, system-ui, sans-serif; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
.vsc-up__chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.vsc-up__chips::-webkit-scrollbar { display: none; }
.vsc-chip { flex: none; font: 700 10.5px Lato, system-ui, sans-serif; border: 1px solid var(--line) !important; border-radius: 4px; padding: 3px 7px; background: var(--cream) !important; color: var(--ink) !important; cursor: pointer; box-shadow: none !important; min-height: 0; white-space: nowrap; }
.vsc-chip.on { background: var(--m) !important; border-color: var(--m) !important; color: #fff !important; }
.vsc-chip.na { opacity: .45; text-decoration: line-through; }
.vsc-up__price { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.vsc-up__price b { font: 700 14px Poppins, system-ui, sans-serif; color: var(--m); }
.vsc-up__price s { font-size: 11px; color: #8B7B6C; }
.vsc-up__act { position: relative; height: 34px; }
.vsc-up__add, .vsc-qty--up { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .18s, transform .18s; }
.vsc-up__add[hidden], .vsc-qty--up[hidden] { display: flex !important; opacity: 0; pointer-events: none; transform: scale(.96); }
.vsc-up__add { display: flex; align-items: center; justify-content: center; background: #fff !important; color: var(--m) !important; border: 1.5px solid var(--m) !important; border-radius: 6px; font: 900 12.5px Lato, system-ui, sans-serif; cursor: pointer; padding: 0 !important; box-shadow: none !important; min-height: 0; }
.vsc-up__add:hover { background: var(--m) !important; color: #fff !important; }
.vsc-up__add:disabled { border-color: var(--line) !important; color: #B8ABA0 !important; cursor: not-allowed; }
.vsc-qty--up { border-color: var(--m); }
.vsc-qty--up button { flex: 0 0 32px; width: 32px; height: 100%; }
.vsc-qty--up .vsc-qty__n { flex: 1; }

/* footer */
.vsc__foot { flex: none; background: var(--card); border-top: 1px solid var(--line); padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; }
.vsc__foot:empty { display: none; }
.vsc-break { display: flex; flex-direction: column; gap: 5px; padding: 4px 2px 8px; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--body); }
.vsc-break > div { display: flex; justify-content: space-between; }
.vsc-break b { color: var(--ink); font-weight: 700; }
.vsc-break[hidden] { display: none; }
.vsc-foot__row { display: flex; align-items: stretch; gap: 10px; }
.vsc-topay { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; background: transparent !important; border: 0 !important; padding: 0 4px !important; cursor: pointer; box-shadow: none !important; min-height: 0; text-align: left; color: var(--ink) !important; position: relative; }
.vsc-topay span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.vsc-topay b { font: 700 18px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-topay__chev { position: absolute; right: -14px; bottom: 6px; color: var(--muted); }
.vsc-topay__chev svg { width: 14px; height: 14px; transition: transform .2s; }
.vsc-topay.is-open .vsc-topay__chev svg { transform: rotate(180deg); }
.vsc-btn, .vsc-btn:hover { display: flex; align-items: center; justify-content: center; background: var(--m) !important; color: var(--cream) !important; border-radius: 8px; padding: 12px 18px; font: 900 15px Lato, system-ui, sans-serif; transition: background .15s; }
.vsc-btn:hover { background: var(--md) !important; }
.vsc-btn--go { flex: 1; margin-left: 14px; min-height: 50px; }
.vsc-foot__link { text-align: center; font-size: 13px; font-weight: 700; color: var(--m); }

/* toast */
.vsc-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #2A1A12; color: #fff; font: 500 13px Poppins, system-ui, sans-serif; padding: 10px 16px; border-radius: 8px; z-index: 99999; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 90vw; text-align: center; }
.vsc-toast.show { opacity: 1; }
.vsc-toast.is-error { background: #9A2B1E; }

/* offer details sheet */
.vsc-sheet { position: fixed; inset: 0; z-index: 99995; pointer-events: auto; }
.vsc-sheet[hidden] { display: none; }
.vsc-sheet__scrim { position: absolute; inset: 0; background: rgba(42,26,18,.5); }
.vsc-sheet__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(440px, calc(100% - 32px)); background: #fff; border-radius: 16px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px rgba(42,26,18,.3); animation: vscPop .18s ease-out; }
@keyframes vscPop { from { opacity: 0; transform: translate(-50%,-48%); } to { opacity: 1; transform: translate(-50%,-50%); } }
.vsc-sheet__x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--cream) !important; border: 0 !important; font-size: 22px; line-height: 1; color: var(--ink) !important; cursor: pointer; padding: 0 !important; box-shadow: none !important; min-height: 0; }
.vsc-sheet__eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
.vsc-sheet__title { margin: 0; font: 600 20px Poppins, system-ui, sans-serif; color: var(--ink); }
.vsc-sheet__terms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--body); line-height: 1.5; }
.vsc-sheet__terms li { display: flex; gap: 9px; }
.vsc-sheet__terms li::before { content: "✓"; color: var(--green); font-weight: 900; flex: none; }
.vsc-sheet__code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 10px 12px; background: var(--cream); border: 1px dashed var(--line); border-radius: 8px; }
.vsc-sheet__code span { font: 700 15px Poppins, system-ui, sans-serif; letter-spacing: 1px; color: var(--ink); }
.vsc-sheet__hint { font-size: 12.5px; color: var(--muted); }

/* ---------- tablet ---------- */
@media (max-width: 1024px) { .vsc__panel { width: 380px; } }

/* ---------- phone: full-height sheet from the bottom ---------- */
@media (max-width: 767px) {
	.vsc__panel { width: 100%; top: auto; height: 94vh; height: 94dvh; border-radius: 18px 18px 0 0; transform: translateY(100%); box-shadow: 0 -12px 40px rgba(42,26,18,.2); }
	.vsc.is-open .vsc__panel { transform: none; }
	.vsc__head { border-radius: 18px 18px 0 0; }
	.vsc__back { display: inline-flex; }
	.vsc__x { display: none; }
	.vsc__body { padding: 10px 12px 16px; gap: 10px; }
	.vsc-offer { flex-basis: 232px; }
	.vsc-line { grid-template-columns: 58px 1fr auto; gap: 10px; }
	.vsc-line__img { width: 58px; height: 58px; }
	.vsc-btn--go { margin-left: 10px; }
	.vsc-toast { bottom: 100px; }

	/* offer details becomes a bottom sheet */
	.vsc-sheet__panel { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 82vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom, 0px)); animation: vscUp .22s ease-out; }
	.vsc-sheet__panel::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 99px; background: var(--line); }
	@keyframes vscUp { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
}

body.vsc-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .vsc *, .vsc__panel, .vsc__scrim, .vsc-sheet__panel { transition: none !important; animation: none !important; } }