/* Rosewood checkout — Shopify-maten zoals gemeten op Rose & Mabel (docs/02-analyse-checkouts.md). */
:root {
	--sc-text: #000406; --sc-subdued: #707070; --sc-summary-subdued: #666666; --sc-border: #dedede;
	--sc-alt: #f5f5f5; --sc-primary: #111111; --sc-error: #d91c1c; --sc-selected: #f6f6f7;
	--sc-ease: cubic-bezier(0.3, 0.5, 0.5, 1);
	--sc-font: -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
html, body { margin: 0; padding: 0; background: #ffffff; }
#sc { position: relative; min-height: 100vh; background: #ffffff; color: var(--sc-text); font: 400 14px/1.35 var(--sc-font); overflow-wrap: break-word; -webkit-font-smoothing: subpixel-antialiased; }
#sc *, #sc *::before, #sc *::after { box-sizing: border-box; }
#sc h1, #sc h2, #sc h3, #sc p, #sc ul, #sc li, #sc label, #sc small, #sc strong, #sc form { margin: 0; padding: 0; font: inherit; color: inherit; }
#sc strong { font-weight: 600; }
#sc ul { list-style: none; }
#sc label { display: block; cursor: default; }
#sc a { color: inherit; text-decoration: none; }
#sc button, #sc input, #sc select { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; box-shadow: none; outline: none; }
#sc button { cursor: pointer; }
#sc button:disabled { cursor: default; }
#sc [hidden] { display: none !important; }
#sc .vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#sc .ic { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2px; }

/* header */
#sc .sc-header { border-bottom: 1px solid var(--sc-border); }
#sc .sc-header-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 86.2px; padding: 18px 14px; }
#sc .sc-logo img { display: block; width: min(260px, calc(100vw - 100px)); height: auto; }
#sc .sc-cart { position: absolute; top: 50%; right: calc(50% - 490px); margin-top: -12px; }

/* banden */
#sc .sc-body { display: flex; min-height: calc(100vh - 87.2px); }
#sc .sc-main-band { width: calc(50% + 50px); padding: 40px 41px 0 40px; }
#sc .sc-main { width: 100%; max-width: 499px; margin-left: auto; padding-bottom: 58px; }
#sc .sc-side-band { flex: 1; min-width: 0; padding: 40px; background: var(--sc-alt); border-left: 1px solid var(--sc-border); margin-left: -1px; }
#sc .sc-side { position: sticky; top: 40px; max-width: 400px; }

/* secties */
#sc .sc-express { padding-top: 20px; }
#sc .sc-express.is-pending { display: none; }
#sc .sc-express-title { color: var(--sc-subdued); text-align: center; }
#sc .sc-express-buttons { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
#sc .sc-express-buttons > * { flex: 1 1 0; max-width: 244.5px; height: 48px; border-radius: 12px; overflow: hidden; }
#sc .sc-or { display: flex; align-items: center; gap: 14px; margin-top: 20px; color: var(--sc-subdued); line-height: 17px; }
#sc .sc-or::before, #sc .sc-or::after { content: ""; flex: 1; height: 1px; background: var(--sc-border); }
#sc .sc-wallet { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 48px; border-radius: 12px; background: #000; color: #fff; font: 500 19px/1 var(--sc-font); }
#sc .sc-wallet:hover { background: #262626; }
#sc .sc-wallet svg { display: block; flex: none; }
@supports (-webkit-appearance: -apple-pay-button) {
	#sc .sc-wallet-apple { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; }
	#sc .sc-wallet-apple > * { display: none; }
}
#sc .sc-contact { margin-top: 22px; }
#sc .sc-express.is-pending + .sc-contact { margin-top: 0; }
#sc .sc-h2 { font-size: 20px; font-weight: 600; line-height: 24px; }
#sc .sc-h3 { font-size: 16px; font-weight: 600; line-height: 19.2px; }
#sc .sc-section { margin-top: 32px; }
#sc .sc-h2 + *, #sc .sc-h3 + * { margin-top: 14px; }
#sc .sc-shipping { margin-top: 24px; }
#sc .sc-h2 + .sc-subtitle { margin-top: 4px; color: var(--sc-subdued); }
#sc .sc-subtitle + * { margin-top: 14px; }
#sc .sc-stack { display: flex; flex-direction: column; gap: 10px; }
#sc .sc-row { display: flex; gap: 10px; }
#sc .sc-row > * { flex: 1 1 0; min-width: 0; }

/* veld met zwevend label */
#sc .sc-field { position: relative; min-width: 0; }
#sc .sc-box { position: relative; display: flex; align-items: center; height: 49px; background: #fff; border: 1px solid var(--sc-border); border-radius: 12px; outline: 0 solid rgba(0, 4, 6, 0.3); transition: border-color .1333s var(--sc-ease), box-shadow .1333s var(--sc-ease), outline-width .1333s var(--sc-ease); }
#sc .sc-box.is-focused, #sc .sc-box:focus-within { border-color: var(--sc-text); box-shadow: 0 0 0 .5px var(--sc-text); outline-width: 3px; }
#sc .has-error .sc-box { border-color: var(--sc-error); box-shadow: 0 0 0 .5px var(--sc-error); }
#sc .has-error .sc-box:focus-within { outline: 3px solid rgba(217, 28, 28, .3); }
#sc .sc-label { position: absolute; top: 5.9px; left: 10px; right: 10px; z-index: 1; pointer-events: none; color: var(--sc-subdued); font-size: 12px; line-height: 16.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(3px); transition: opacity .2s ease-in-out, transform .2s ease-in-out; }
#sc .is-filled .sc-label, #sc .is-select .sc-label { opacity: 1; transform: none; }
#sc .sc-input { display: block; width: 100%; height: 47px; padding: 13.55px 10px; border-radius: 12px; color: var(--sc-text); font-size: 14px; line-height: 18.9px; transition: padding .2s ease-in-out; }
#sc .sc-input::placeholder { color: var(--sc-subdued); opacity: 1; }
#sc .is-filled .sc-input { padding-top: 21.05px; padding-bottom: 6.05px; }
#sc .has-icon .sc-input { padding-right: 32px; }
#sc .sc-icon { position: absolute; top: 50%; right: 11px; margin-top: -9px; color: var(--sc-subdued); }
#sc .sc-error { margin-top: 4px; color: var(--sc-error); line-height: 18.9px; }
#sc .sc-select { display: block; width: 100%; height: 47px; padding: 21.05px 30px 6.05px 10px; border-radius: 12px; color: var(--sc-text); font-size: 14px; line-height: 18.9px; cursor: pointer; }
#sc .is-empty .sc-select { color: transparent; }
#sc .is-empty .sc-label { top: 50%; margin-top: -9.45px; font-size: 14px; line-height: 18.9px; }
#sc .sc-chev { position: absolute; top: 50%; right: 16px; margin-top: -5px; color: var(--sc-subdued); pointer-events: none; }

/* adressuggesties */
#sc .sc-suggest-wrap { position: relative; }
#sc .sc-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin-top: 4px; background: #fff; border: 1px solid var(--sc-border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 4, 6, .12); overflow: hidden; }
#sc .sc-suggest li { padding: 11px 12px; cursor: pointer; line-height: 18.9px; }
#sc .sc-suggest li.is-active, #sc .sc-suggest li:hover { background: var(--sc-text); color: #fff; }
#sc .sc-suggest p { padding: 4px 12px 8px; color: var(--sc-subdued); font-size: 11px; text-align: right; }

/* checkbox */
#sc .sc-check { display: flex; align-items: flex-start; margin-top: 9px; }
#sc .sc-check input { flex: none; width: 18px; height: 18px; margin-top: .45px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--sc-border); cursor: pointer; background: #fff center/10px no-repeat; transition: box-shadow .1333s var(--sc-ease); }
#sc .sc-check input:checked { box-shadow: none; background-color: var(--sc-text); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.5l2.2 2.2L8.5 2.5' fill='none' stroke='%23fff' stroke-width='1.7'/%3E%3C/svg%3E"); }
#sc .sc-check input:focus-visible { outline: 3px solid rgba(0, 4, 6, .3); }
#sc .sc-check label { padding-left: 10px; line-height: 18.9px; cursor: pointer; }

/* verzendmethode */
#sc .sc-notice { padding: 16px; background: var(--sc-alt); border-radius: 12px; color: var(--sc-subdued); text-align: center; }
#sc .sc-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: var(--sc-selected); border: 1px solid var(--sc-text); border-radius: 12px; line-height: 18.9px; }
#sc .ship-known { display: none !important; }
#sc.is-ship-known .ship-known { display: flex !important; }
#sc.is-ship-known span.ship-known { display: inline !important; }
#sc.is-ship-known .ship-unknown { display: none !important; }

/* betaling */
#sc .sc-pay-box { background: #fff; border: 1px solid var(--sc-border); border-radius: 12px; }
#sc .sc-pay-head { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 14px; background: var(--sc-selected); border-radius: 11px 11px 0 0; }
#sc .sc-pay-head::after { content: ""; position: absolute; inset: -1px -1px 0 -1px; border: 1px solid var(--sc-text); border-radius: 12px 12px 0 0; pointer-events: none; }
#sc .sc-radio { flex: none; width: 18px; height: 18px; background: #fff; border: 6px solid var(--sc-text); border-radius: 50%; }
#sc .sc-pay-name { flex: 1; font-weight: 600; line-height: 18.9px; }
#sc .sc-brands { display: flex; align-items: center; gap: 4px; }
#sc .sc-brands img { display: block; width: 38px; height: 24px; }
#sc .sc-more { display: flex; align-items: center; height: 24px; padding: 0 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 3px; font-size: 10px; }
#sc .sc-pay-panel { padding: 14px; background: rgba(0, 0, 0, .043); border-top: 1px solid var(--sc-border); border-radius: 0 0 11px 11px; }
#sc .sc-pay-panel .sc-box { height: 48px; }
#sc .sc-pay-panel .sc-check { margin-top: 14px; }
#sc .sc-slot { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; }
#sc .sc-slot iframe { display: block; }
/* Tot het eerste gebruik dekt het label Whops voorbeeldtekst af; daarna krimpt het naar 12px. */
#sc .sc-card-label { position: absolute; inset: 0; z-index: 1; padding: 13.55px 40px 0 10px; pointer-events: none; background: #fff; border-radius: 11px; transition: background-color .2s ease-in-out; }
#sc .sc-card-label span { display: block; color: var(--sc-subdued); font-size: 14px; line-height: 18.9px; white-space: nowrap; transform-origin: left top; transition: transform .2s ease-in-out; }
#sc .is-floated .sc-card-label { background-color: transparent; }
#sc .is-floated .sc-card-label span { transform: translateY(-7.65px) scale(.857143); }
#sc .sc-card-cover { position: absolute; top: 0; right: 0; bottom: 0; width: 72px; z-index: 1; background: #fff; border-radius: 0 11px 11px 0; pointer-events: none; }
#sc .sc-card .sc-icon { z-index: 2; }
#sc .sc-card-loading .sc-card-label span::after { content: ""; }
#sc .sc-billing { overflow: hidden; }
#sc .sc-billing > div { padding-top: 14px; }
#sc .sc-pay-error { margin-bottom: 10px; color: var(--sc-error); }

/* betaalknop */
#sc .sc-pay-section { margin-top: 32px; }
#sc .sc-primary { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 49.6px; padding: 14px; background: var(--sc-primary); border-radius: 12px; color: #fff; font-weight: 600; transition: background-color .1333s var(--sc-ease), opacity .1333s; }
#sc .sc-primary:hover:not(:disabled) { background: #2a2a2a; }
#sc .sc-primary:disabled { opacity: .85; }
#sc .sc-primary-label { font-size: 16px; line-height: 21.6px; }
#sc .sc-primary.is-busy .sc-primary-label { opacity: 0; }
#sc .sc-spinner { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: sc-spin .8s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
#sc .sc-form-error { margin-top: 14px; color: var(--sc-error); }
#sc .sc-merchant { margin-top: 14px; min-height: 20px; }

#sc .sc-footer { margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--sc-border); }
#sc .sc-footer ul { display: flex; flex-wrap: wrap; gap: 4px 14px; }
#sc .sc-footer a { text-decoration: underline; }

/* overzicht */
#sc .sc-line { display: flex; align-items: center; gap: 14px; }
#sc .sc-line + .sc-line { margin-top: 14px; }
#sc .sc-thumb { position: relative; flex: none; width: 64px; height: 64px; margin: 1px 0; background: #ededed; border-radius: 16px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .05), 0 1px 3px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .06); }
#sc .sc-thumb img { display: block; width: 64px; height: 64px; border: 2px solid #fff; border-radius: 16px; object-fit: contain; background: #fff; }
#sc .sc-badge { position: absolute; top: -4px; right: -4px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px; background: #000; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; }
#sc .sc-line-body { flex: 1; min-width: 0; line-height: 18.9px; }
#sc .sc-line-variant { color: var(--sc-summary-subdued); font-size: 12px; line-height: 16.2px; }
#sc .sc-line-price { flex: none; align-self: flex-start; margin-top: 13.4px; text-align: right; line-height: 18.9px; }
#sc .sc-line-compare { display: block; color: var(--sc-summary-subdued); font-size: 12px; line-height: 16.2px; text-decoration: line-through; }
#sc .sc-discount { margin-top: 20px; }
#sc .sc-discount .sc-input { padding-right: 76px; }
#sc .sc-apply { position: absolute; top: 6px; right: 6px; height: 35px; padding: 0 10px; background: var(--sc-alt); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--sc-border); font-weight: 600; opacity: .5; }
#sc .sc-apply.is-ready { background: var(--sc-primary); box-shadow: none; color: #fff; opacity: 1; }
#sc .sc-costs { margin-top: 20px; }
#sc .sc-side .sc-costs { margin-top: 34px; }
#sc .sc-cost { display: flex; justify-content: space-between; gap: 14px; line-height: 18.9px; }
#sc .sc-cost + .sc-cost { margin-top: 6.1px; }
#sc .sc-muted { color: var(--sc-summary-subdued); }
#sc .sc-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 17px; }
#sc .sc-total strong { font-size: 18px; line-height: 24.3px; }
#sc .sc-currency { margin-right: 7.2px; color: var(--sc-summary-subdued); font-size: 12px; }
#sc .sc-savings { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; }
#sc .sc-savings strong:first-of-type { flex: 1; }
/* verzekering-upsell en kortingscode, 1-op-1 Rose & Mabel */
#sc .sc-ins { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 10px; background: #fff; border: 1px solid var(--sc-border); border-radius: 12px; cursor: pointer; }
#sc .sc-ins.is-on { background: var(--sc-selected); border-color: var(--sc-text); }
#sc .sc-ins .sc-check { margin-top: 0; }
#sc .sc-ins img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
#sc .sc-ins-body { flex: 1; min-width: 0; line-height: 18.9px; }
#sc .sc-ins-body small { display: block; color: var(--sc-subdued); font-size: 12px; line-height: 16.2px; }
#sc .sc-ins strong { flex: none; line-height: 18.9px; }
#sc .sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#sc .sc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: rgba(0, 0, 0, .06); border-radius: 6px; font-size: 13px; line-height: 16px; }
#sc .sc-tag-x { display: grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: var(--sc-summary-subdued); cursor: pointer; }
#sc .sc-tag-plain { display: inline-flex; align-items: center; gap: 6px; color: var(--sc-summary-subdued); }
#sc .sc-cost-disc { margin-top: 2px !important; }

/* mobiel */
#sc .sc-m-summary, #sc .sc-m-bottom { display: none; }
@media (max-width: 599px) { #sc .sc-row.sc-wrap { flex-direction: column; } }
@media (max-width: 999px) {
	#sc .sc-cart { right: max(14px, calc(50% - 276px)); }
	#sc .sc-body { display: block; min-height: 0; }
	#sc .sc-side-band { display: none; }
	#sc .sc-main-band { width: 100%; padding: 20px 14px 0; }
	#sc .sc-main { max-width: 552px; margin: 0 auto; padding-bottom: 40px; }
	#sc .sc-express-buttons > * { max-width: none; }
	#sc .sc-m-summary { display: block; }
	#sc .sc-m-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 64px; padding: 0 max(14px, calc(50% - 276px)); background: var(--sc-alt); border-bottom: 1px solid var(--sc-border); text-align: left; }
	#sc .sc-m-toggle span { display: flex; align-items: center; gap: 8px; }
	#sc .sc-m-toggle strong { font-size: 18px; line-height: 24.3px; }
	#sc .sc-m-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
	#sc .sc-m-panel { overflow: hidden; background: var(--sc-alt); transition: height .3s var(--sc-ease); }
	#sc .sc-m-panel > div { padding: 16px max(14px, calc(50% - 276px)); border-bottom: 1px solid var(--sc-border); }
	#sc .sc-m-bottom { display: block; margin-top: 32px; }
	#sc .sc-m-bottom + .sc-pay-section { margin-top: 14px; }
	#sc .sc-m-bottom .sc-discount, #sc .sc-m-bottom .sc-costs { margin-top: 10px; }
}
