/* ==========================================================================
   Veloura Side cart — uitschuifbare winkelwagen (vervangt Rey's cart-panel)
   ========================================================================== */

.vsc, .vsc-overlay, .vsc-trigger {
	--vsc-accent: #6E1230;
	--vsc-wijn: #4E0B21;
	--vsc-blush: #FAF0ED;
	--vsc-lijn: #EDD9D3;
	--vsc-bg: #FFFDFC;
	--vsc-bg-zacht: #FDF8F7;
	--vsc-inkt: #2B141C;
	--vsc-inkt-zacht: #7A5E66;
	--vsc-succes: #2E7D5B;
	--vsc-goud: #C9A15C;
	--vsc-fout: #B3372F;
	--vsc-font: 'Montserrat', sans-serif;
	--vsc-w: 440px;
	--vsc-radius: 12px;
}

/* --- Overlay + paneel --- */
.vsc-overlay {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(43, 20, 28, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	opacity: 0; pointer-events: none; transition: opacity 0.28s;
}
.vsc-overlay--aan { opacity: 1; pointer-events: auto; }

.vsc {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100001;
	width: min(var(--vsc-w), 100vw); max-width: 100vw;
	background: var(--vsc-bg); color: var(--vsc-inkt);
	display: flex; flex-direction: column;
	transform: translateX(105%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.28, 1);
	box-shadow: -16px 0 50px rgba(62, 10, 27, 0.22);
	font-family: var(--vsc-font); font-size: 15px; line-height: 1.5; text-align: left;
	-webkit-font-smoothing: antialiased; visibility: hidden;
}
.vsc--open { transform: none; visibility: visible; }
.vsc, .vsc *, .vsc *::before, .vsc *::after { box-sizing: border-box; font-family: var(--vsc-font) !important; }
.vsc .vsc-inner { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.vsc--laden .vsc-body, .vsc--laden .vsc-voet { opacity: 0.55; pointer-events: none; transition: opacity 0.15s; }
body.vsc-open { overflow: hidden !important; }

.vsc h2, .vsc h3, .vsc p { margin: 0; padding: 0; color: inherit; text-transform: none; letter-spacing: 0; }
.vsc button { font-family: var(--vsc-font) !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
.vsc a { text-decoration: none; }
.vsc img { max-width: 100%; height: auto; display: block; }
.vsc .vsc-icon { flex: none; }

/* --- Kop --- */
.vsc-kop { padding: 20px 22px 0; border-bottom: 1px solid var(--vsc-lijn); flex: none; }
.vsc-kop-rij { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.vsc h2.vsc-titel { font-size: 17px !important; font-weight: 600 !important; line-height: 1.3 !important; margin: 0 !important; color: var(--vsc-inkt) !important; }
.vsc-titel-aantal { color: var(--vsc-inkt-zacht); font-weight: 500; font-size: 14px; }
.vsc button.vsc-sluit {
	border: 0 !important; background: var(--vsc-blush) !important; width: 34px !important; height: 34px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important;
	display: grid; place-items: center; cursor: pointer; color: var(--vsc-inkt) !important; transition: background 0.15s; flex: none; line-height: 1;
}
.vsc button.vsc-sluit:hover { background: var(--vsc-lijn) !important; }
.vsc-tabs { display: flex; gap: 22px; }
.vsc button.vsc-tab {
	border: 0 !important; background: none !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: 0.05em !important; text-transform: uppercase !important;
	color: var(--vsc-inkt-zacht) !important; padding: 0 0 13px !important; margin: 0 !important; min-height: 0 !important; cursor: pointer; position: relative; transition: color 0.15s; border-radius: 0 !important; line-height: 1.3;
}
.vsc button.vsc-tab .vsc-tab-aantal { font-size: 10px; margin-left: 3px; line-height: 1; }
.vsc button.vsc-tab.vsc-tab--actief { color: var(--vsc-accent) !important; }
.vsc button.vsc-tab.vsc-tab--actief::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--vsc-accent); border-radius: 2px; }

/* --- Verzendbalk --- */
.vsc-verzendbalk { padding: 14px 22px; background: var(--vsc-bg-zacht); border-bottom: 1px solid var(--vsc-lijn); flex: none; }
.vsc-verzendregel { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 8px; color: var(--vsc-inkt); }
.vsc-verzendregel svg { color: var(--vsc-succes); }
.vsc-verzendregel b { font-weight: 600; }
.vsc-balk { height: 6px; background: var(--vsc-lijn); border-radius: 99px; overflow: hidden; }
.vsc-balk-vulling { height: 100%; background: linear-gradient(90deg, var(--vsc-accent), #9E2C51); border-radius: 99px; transition: width 0.5s ease; }
.vsc-verzendbalk--vol .vsc-balk-vulling { background: var(--vsc-succes); }

/* --- Scrollgedeelte --- */
.vsc-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.vsc-paneel { display: none; }
.vsc-paneel--actief { display: block; }
.vsc-paneel--recent { padding-top: 16px; }
.vsc-paneel--recent .vsc-suggesties { padding: 0 22px 16px; }

/* --- Product --- */
.vsc-item { display: flex; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--vsc-lijn); position: relative; transition: opacity 0.25s, transform 0.25s; }
.vsc-item--weg { opacity: 0; transform: translateX(20px); }
.vsc-thumb { flex: none; width: 64px; height: 76px; border-radius: 10px; background: linear-gradient(160deg, #FBF2F0, #EAD3CE); display: grid; place-items: center; color: var(--vsc-accent); overflow: hidden; }
.vsc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vsc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vsc .vsc-naam { font-size: 13px; font-weight: 600; line-height: 1.4; padding-right: 26px; color: var(--vsc-inkt); display: block; }
.vsc .vsc-naam:hover { color: var(--vsc-accent); }
.vsc .vsc-naam .woocommerce-mini-cart-item-title { display: inline; margin: 0; padding: 0; font: inherit; color: inherit; }
.vsc dl.variation { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 2px 0 0; font-size: 12px; color: var(--vsc-inkt-zacht); }
.vsc dl.variation dt, .vsc dl.variation dd { display: inline; margin: 0; padding: 0; font-weight: 400; float: none; }
.vsc dl.variation dd p { display: inline; margin: 0; }
.vsc-onder { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 10px; }
.vsc-stuks { font-size: 12px; color: var(--vsc-inkt-zacht); }
.vsc-stepper { display: flex; align-items: center; border: 1.5px solid var(--vsc-lijn); border-radius: 8px; overflow: hidden; background: #fff; }
.vsc button.vsc-qty-btn {
	width: 28px !important; height: 28px !important; min-height: 0 !important; border: 0 !important; background: none !important; color: var(--vsc-accent) !important; cursor: pointer;
	display: grid; place-items: center; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; transition: background 0.12s; line-height: 1;
}
.vsc button.vsc-qty-btn:hover { background: var(--vsc-blush) !important; }
.vsc button.vsc-qty-btn:disabled { color: #D6BFC6 !important; cursor: default; background: none !important; }
.vsc input.vsc-qty {
	width: 34px !important; min-width: 0; height: 28px !important; min-height: 0 !important; text-align: center; font-size: 13px !important; font-weight: 600 !important; color: var(--vsc-inkt) !important;
	border: 0 !important; background: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; -moz-appearance: textfield; appearance: textfield;
}
.vsc input.vsc-qty::-webkit-outer-spin-button, .vsc input.vsc-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vsc input.vsc-qty:focus { outline: none; }
.vsc-prijzen { text-align: right; white-space: nowrap; }
.vsc-prijzen s { font-size: 11.5px; color: var(--vsc-inkt-zacht); display: block; }
.vsc-prijzen .vsc-nieuw { font-size: 14px; font-weight: 700; color: var(--vsc-accent); }
.vsc .woocommerce-Price-amount { font-weight: inherit; color: inherit; }
.vsc button.vsc-verwijder {
	position: absolute; top: 14px; right: 16px; border: 0 !important; background: none !important; color: #B79AA3 !important; cursor: pointer;
	width: 28px !important; height: 28px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 8px !important; display: grid; place-items: center; transition: color 0.15s, background 0.15s; line-height: 1;
}
.vsc button.vsc-verwijder:hover { color: var(--vsc-fout) !important; background: #FBEFED !important; }

/* --- Lege staat --- */
.vsc-leeg { padding: 56px 28px; text-align: center; }
.vsc-leeg--recent { padding: 30px 28px; }
.vsc-leeg-icoon { width: 56px; height: 56px; border-radius: 50%; background: var(--vsc-blush); display: grid; place-items: center; margin: 0 auto 16px; color: var(--vsc-accent); }
.vsc h3.vsc-leeg-titel { font-size: 16px !important; font-weight: 600 !important; margin: 0 0 6px !important; line-height: 1.3 !important; }
.vsc-leeg-tekst { font-size: 13px; color: var(--vsc-inkt-zacht); margin: 0 0 18px !important; }
.vsc a.vsc-leeg-knop { display: inline-block; background: var(--vsc-accent); color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 13.5px; transition: background 0.15s; }
.vsc a.vsc-leeg-knop:hover { background: var(--vsc-wijn); color: #fff; }

/* --- Cross-sell / suggesties --- */
.vsc-cross { padding: 18px 22px; background: var(--vsc-bg-zacht); border-top: 1px solid var(--vsc-lijn); }
.vsc h3.vsc-cross-titel { font-size: 13px !important; font-weight: 600 !important; margin: 0 0 2px !important; line-height: 1.4 !important; }
.vsc-cross-sub { font-size: 11.5px; color: var(--vsc-inkt-zacht); margin: 0 0 12px !important; }
.vsc-suggesties { display: flex; flex-direction: column; gap: 10px; }
.vsc-suggestie { display: flex; gap: 12px; align-items: center; background: var(--vsc-bg); border: 1px solid var(--vsc-lijn); border-radius: var(--vsc-radius); padding: 12px; }
.vsc .vsc-thumb--klein { width: 48px; height: 56px; border-radius: 8px; }
.vsc-suggestie .vsc-info { flex: 1; min-width: 0; display: block; }
.vsc-suggestie .vsc-naam { font-size: 12.5px; padding-right: 0; }
.vsc-prijs { font-size: 12.5px; margin-top: 3px; color: var(--vsc-accent); font-weight: 600; }
.vsc-prijs del { color: var(--vsc-inkt-zacht); font-size: 11px; margin-right: 5px; font-weight: 400; opacity: 1; }
.vsc-prijs ins { text-decoration: none; }
.vsc .vsc-add {
	flex: none; border: 1.5px solid var(--vsc-accent) !important; background: none !important; color: var(--vsc-accent) !important; border-radius: 8px !important;
	width: 32px !important; height: 32px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; cursor: pointer; display: grid; place-items: center; transition: background 0.15s, color 0.15s; line-height: 1;
}
.vsc .vsc-add:hover { background: var(--vsc-accent) !important; color: #fff !important; }
.vsc .vsc-add--bezig { background: var(--vsc-succes) !important; border-color: var(--vsc-succes) !important; color: #fff !important; pointer-events: none; }

/* --- Voet --- */
.vsc-voet { border-top: 1px solid var(--vsc-lijn); padding: 16px 22px 18px; background: var(--vsc-bg); flex: none; }
.vsc-melding:empty { display: none; }
.vsc-melding-item { font-size: 12.5px; border-radius: 8px; padding: 9px 12px; margin: 0 0 10px; background: var(--vsc-blush); color: var(--vsc-inkt); border: 1px solid var(--vsc-lijn); }
.vsc-melding-item--error { color: var(--vsc-fout); border-color: rgba(179, 55, 47, 0.35); background: #FBEFED; }
.vsc-melding-item--success { color: var(--vsc-succes); border-color: rgba(46, 125, 91, 0.35); background: #E9F4EF; }
.vsc-coupon-actief { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; background: #E9F4EF; border: 1px solid rgba(46, 125, 91, 0.3); border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; }
.vsc-coupon-actief b { color: var(--vsc-succes); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.vsc button.vsc-coupon-weg { border: 0 !important; background: none !important; color: var(--vsc-inkt-zacht) !important; text-decoration: underline; font-size: 12px !important; padding: 0 !important; margin: 0 0 0 6px !important; min-height: 0 !important; cursor: pointer; }
.vsc details.vsc-coupon { margin: 0; }
.vsc details.vsc-coupon summary { cursor: pointer; font-size: 12.5px; color: var(--vsc-inkt-zacht); list-style: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; transition: color 0.15s; }
.vsc details.vsc-coupon summary:hover { color: var(--vsc-accent); }
.vsc details.vsc-coupon summary::-webkit-details-marker { display: none; }
.vsc details.vsc-coupon summary::marker { content: ""; }
.vsc-code { display: flex; gap: 8px; margin: 10px 0 6px; }
.vsc input.vsc-code-input { flex: 1; min-width: 0; padding: 10px 12px !important; min-height: 0 !important; height: 40px; border: 1.5px solid var(--vsc-lijn) !important; border-radius: 8px !important; font-size: 13px !important; background: #fff !important; color: var(--vsc-inkt) !important; box-shadow: none !important; margin: 0; }
.vsc input.vsc-code-input:focus { outline: none; border-color: var(--vsc-accent) !important; }
.vsc button.vsc-code-knop { padding: 0 14px !important; height: 40px; min-height: 0 !important; margin: 0 !important; border-radius: 8px !important; border: 0 !important; background: var(--vsc-blush) !important; color: var(--vsc-wijn) !important; font-size: 12.5px !important; font-weight: 600 !important; cursor: pointer; line-height: 1; }
.vsc button.vsc-code-knop:hover { background: var(--vsc-lijn) !important; }
.vsc-totaalrij { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--vsc-inkt-zacht); margin-top: 8px; }
.vsc-totaalrij .vsc-waarde { color: var(--vsc-inkt); font-weight: 600; text-align: right; }
.vsc-totaalrij .vsc-gratis { color: var(--vsc-succes); }
.vsc-totaalrij .vsc-zacht { color: var(--vsc-inkt-zacht); font-weight: 400; font-size: 12.5px; }
.vsc-totaalrij--eind { font-size: 15px; color: var(--vsc-inkt); align-items: baseline; margin-top: 10px; }
.vsc-totaalrij--eind .vsc-label { font-weight: 600; }
.vsc-totaalrij--eind .vsc-waarde { font-size: 20px; font-weight: 700; }
.vsc a.vsc-afrekenen {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px;
	background: var(--vsc-accent); color: #fff; border: 0; border-radius: var(--vsc-radius); padding: 16px;
	font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background 0.15s, transform 0.1s; line-height: 1.2;
}
.vsc a.vsc-afrekenen:hover { background: var(--vsc-wijn); color: #fff; }
.vsc a.vsc-afrekenen:active { transform: scale(0.99); }
.vsc button.vsc-verder {
	display: block; width: 100%; text-align: center; margin: 12px 0 0 !important; font-size: 13px !important; color: var(--vsc-inkt-zacht) !important; text-decoration: underline; text-underline-offset: 3px;
	cursor: pointer; background: none !important; border: 0 !important; padding: 0 !important; min-height: 0 !important; font-weight: 400 !important; transition: color 0.15s; line-height: 1.4;
}
.vsc button.vsc-verder:hover { color: var(--vsc-accent) !important; }
.vsc-trust { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--vsc-inkt-zacht); flex-wrap: wrap; }
.vsc-trust span { display: inline-flex; align-items: center; gap: 5px; }
.vsc-trust svg { color: var(--vsc-succes); }

/* --- Knop (shortcode) --- */
.vsc-trigger { position: relative; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; font-family: var(--vsc-font); }
.vsc-badge { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--vsc-goud); color: #3D081A; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.vsc-badge[data-count="0"] { display: none; }
.vsc-trigger-tekst { font-size: 13px; font-weight: 600; }
.vsc-trigger .vsc-badge { position: static; }

.vsc :focus-visible { outline: 2px solid var(--vsc-accent); outline-offset: 2px; }
.vsc:focus, .vsc:focus-visible { outline: none; }

@media (max-width: 480px) {
	.vsc { width: 100vw; }
	.vsc-kop { padding: 16px 18px 0; }
	.vsc-item { padding: 16px 18px; }
	.vsc-verzendbalk, .vsc-cross, .vsc-voet { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.vsc, .vsc-overlay, .vsc-item, .vsc-balk-vulling { transition: none; }
}

/* ==========================================================================
   Compact (desktop iets rustiger, mobiel duidelijk compacter)
   ========================================================================== */
.vsc-kop { padding: 18px 22px 0; }
.vsc-kop-rij { margin-bottom: 12px; }
.vsc button.vsc-tab { padding: 0 0 11px !important; }
.vsc-verzendbalk { padding: 11px 22px; }
.vsc-verzendregel { margin-bottom: 7px; font-size: 12px; }
.vsc-balk { height: 5px; }
.vsc-item { padding: 14px 22px; }
.vsc-voet { padding: 12px 22px 14px; }
.vsc-totaalrij { margin-top: 5px; font-size: 13px; }
.vsc-totaalrij--eind { margin-top: 8px; font-size: 14px; }
.vsc-totaalrij--eind .vsc-waarde { font-size: 19px; }
.vsc a.vsc-afrekenen { margin-top: 12px; padding: 14px; font-size: 14px; }
.vsc button.vsc-verder { margin: 10px 0 0 !important; font-size: 12.5px !important; }
.vsc-trust { margin-top: 10px; gap: 14px; font-size: 10.5px; }

@media (max-width: 640px) {
	.vsc-kop { padding: 12px 16px 0; }
	.vsc-kop-rij { margin-bottom: 8px; }
	.vsc h2.vsc-titel { font-size: 15px !important; }
	.vsc-titel-aantal { font-size: 12.5px; }
	.vsc button.vsc-sluit { width: 30px !important; height: 30px !important; }
	.vsc-tabs { gap: 16px; }
	.vsc button.vsc-tab { font-size: 11px !important; letter-spacing: 0.04em !important; padding: 0 0 8px !important; }
	.vsc-verzendbalk { padding: 8px 16px; }
	.vsc-verzendregel { font-size: 11.5px; margin-bottom: 5px; gap: 6px; }
	.vsc-balk { height: 4px; }
	.vsc-item { padding: 11px 16px; gap: 11px; }
	.vsc-thumb { width: 54px; height: 64px; border-radius: 8px; }
	.vsc .vsc-naam { font-size: 12.5px; line-height: 1.3; padding-right: 22px; }
	.vsc dl.variation { font-size: 11px; }
	.vsc-onder { padding-top: 6px; }
	.vsc button.vsc-qty-btn { width: 26px !important; height: 26px !important; }
	.vsc input.vsc-qty { width: 30px !important; height: 26px !important; font-size: 12.5px !important; }
	.vsc-prijzen s { font-size: 11px; }
	.vsc-prijzen .vsc-nieuw { font-size: 13px; }
	.vsc button.vsc-verwijder { top: 8px; right: 10px; width: 26px !important; height: 26px !important; }
	.vsc-cross { padding: 12px 16px; }
	.vsc-suggestie { padding: 9px; gap: 10px; }
	.vsc .vsc-thumb--klein { width: 40px; height: 46px; }
	.vsc-suggestie .vsc-naam { font-size: 12px; }
	.vsc-prijs { font-size: 12px; margin-top: 2px; }
	.vsc .vsc-add { width: 28px !important; height: 28px !important; }
	.vsc-paneel--recent .vsc-suggesties { padding: 0 16px 12px; }
	.vsc-voet { padding: 8px 16px 10px; }
	.vsc-melding-item { font-size: 12px; padding: 7px 10px; margin-bottom: 8px; }
	.vsc details.vsc-coupon summary { font-size: 12px; margin-bottom: 0; }
	.vsc-code { margin: 8px 0 4px; }
	.vsc input.vsc-code-input, .vsc button.vsc-code-knop { height: 36px; }
	.vsc-coupon-actief { padding: 6px 10px; margin-bottom: 6px; font-size: 12px; }
	.vsc-totaalrij { margin-top: 3px; font-size: 12.5px; }
	.vsc-totaalrij--eind { margin-top: 5px; font-size: 13.5px; }
	.vsc-totaalrij--eind .vsc-waarde { font-size: 18px; }
	.vsc a.vsc-afrekenen { margin-top: 8px; padding: 12px; font-size: 13.5px; border-radius: 10px; }
	.vsc button.vsc-verder { margin: 7px 0 0 !important; font-size: 12px !important; }
	.vsc-trust { margin-top: 7px; gap: 12px; font-size: 10px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
	.vsc-trust span { gap: 4px; }
	.vsc-trust svg { width: 10px; height: 10px; }
	.vsc-leeg { padding: 36px 20px; }
}

