/* Skip Digital Booking — front end.
 * Fonts are inherited from the theme. Colours are variables so each site can rebrand:
 * set them on :root or .sd in the theme (e.g. --sd-accent: #0057b8).
 */
.sd {
	--sd-ink: #15211b;
	--sd-body: #2f3d35;
	--sd-muted: #4b5a52;
	--sd-line: #dce3de;
	--sd-soft: #f4f6f3;
	--sd-accent: #1e6b47;
	--sd-accent-dark: #14503a;
	--sd-accent-soft: #eaf4ee;
	--sd-yellow: #ffc93c;
	--sd-dark: #15211b;
	--sd-radius: 16px;
	--sd-wrap: 1240px;
	color: var(--sd-ink);
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5;
}
.sd .sd-wrap { margin-left: auto; margin-right: auto; }
.sd *, .sd *::before, .sd *::after { box-sizing: border-box; }
.sd a { color: var(--sd-accent); }
.sd a:hover { color: var(--sd-accent-dark); }
.sd h1, .sd h2, .sd h3, .sd p, .sd ul, .sd dl, .sd dd, .sd figure { margin: 0; }

.sd-wrap { max-width: var(--sd-wrap); margin: 0 auto; padding: 0 24px; }
.sd-stack { display: flex; flex-direction: column; gap: 16px; }
.sd-stack--tight { gap: 8px; }
.sd-narrow { max-width: 640px; }
.sd-split { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.sd-split > * { flex: 1 1 400px; min-width: 0; }
.sd-split--end { align-items: flex-end; }
.sd-split--start { align-items: flex-start; }
.sd-cols-2, .sd-cols-3 { display: grid; gap: 16px; }
.sd-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sd-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sd-row { display: flex; gap: 8px; }

.sd-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-accent); }
.sd-h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; }
.sd-h3 { font-size: 22px; line-height: 1.2; }
.sd-h4 { font-size: 18px; line-height: 1.3; }
.sd-lead { font-size: 17px; line-height: 1.7; color: var(--sd-body); }
.sd-muted { color: var(--sd-muted); font-size: 15px; }
.sd-small { font-size: 13px; color: var(--sd-muted); }
.sd-ok { color: var(--sd-accent-dark); }
.sd-bad { color: #8a1c12 !important; }
.sd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sd-notice { padding: 12px 16px; background: #fff4d6; border-radius: 8px; color: #5c4300; }

.sd-section { padding: 80px 0; }
.sd-section--tint { background: var(--sd-soft); }
.sd-section--line { border-top: 1px solid var(--sd-line); }

.sd-box { border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.sd-box p { font-size: 15px; line-height: 1.6; color: var(--sd-body); }
.sd-box--warn { background: #fff4d6; border-color: transparent; color: #5c4300; }
.sd-box--warn p, .sd-box--warn a, .sd-box--warn h3 { color: #5c4300; }
.sd-box--warn a { margin-top: auto; font-weight: 600; }
.sd-box--bad { background: #fef6f5; border-color: #f1c8c3; }
.sd-ticks, .sd-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--sd-body); }
.sd-ticks li { display: flex; gap: 10px; }
.sd-ticks li::before { content: "✓"; color: var(--sd-accent); font-weight: 700; }
.sd-crosses li::before { content: "✕"; color: #b42318; }
.sd-ticks--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.sd-btn--dark { background: var(--sd-dark); color: #fff !important; }
.sd-btn--primary { background: var(--sd-accent); color: #fff !important; }
.sd-btn--yellow { background: var(--sd-yellow); color: var(--sd-ink) !important; min-height: 52px; padding: 0 28px; font-size: 17px; }
.sd-btn--ghost { border-color: #5f6e66; color: #fff !important; min-height: 52px; padding: 0 28px; font-size: 17px; }
.sd-btn--line { background: #fff; border-color: var(--sd-accent); color: var(--sd-accent) !important; }

/* Hero */
.sd-hero { padding: 24px 0 56px; }
.sd-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.sd-hero__col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sd-hero__col:last-child { gap: 14px; }
.sd-hero__head { display: flex; flex-direction: column; gap: 6px; }
.sd-hero__title { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.sd-hero__fits { display: flex; flex-direction: column; gap: 12px; }
.sd-hero__intro { font-size: 16px; line-height: 1.5; color: var(--sd-body); }
.sd-fits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sd-fit { background: var(--sd-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; color: var(--sd-ink); }
.sd-fit svg { color: var(--sd-accent); }

.sd-slider { position: relative; background: var(--sd-soft); border-radius: var(--sd-radius); aspect-ratio: 4 / 3; overflow: hidden; }
.sd-slide { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.sd-slide.is-on { display: flex; }
.sd-slide img { width: 100%; height: 100%; object-fit: cover; }
.sd-slide .sd-drawing { width: 88%; height: auto; max-height: 88%; }
.sd-drawing text { font-family: inherit; }
.sd-slider__pill { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.sd-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--sd-ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(21, 33, 27, .2); }
.sd-slider__arrow--prev { left: 12px; }
.sd-slider__arrow--next { right: 12px; }
.sd-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.sd-slider__dots button { width: 28px; height: 28px; padding: 9px; border: 0; border-radius: 50%; background-clip: content-box; background-color: #b9c4bd; cursor: pointer; }
.sd-slider__dots button[aria-current="true"] { background-color: var(--sd-ink); }

/* Specs */
.sd-specs { background: var(--sd-dark); color: #fff; }
.sd-specs__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.sd-specs dt { font-size: 13px; color: #b9c7bf; }
.sd.sd .sd-specs dd { font-size: 22px; font-weight: 600; margin: 4px 0 0; padding: 0; }
.sd.sd .sd-specs dt { margin: 0; padding: 0; }

.sd-figure { background: #fff; border-radius: var(--sd-radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.sd-figure .sd-drawing { width: 100%; height: auto; }
.sd-figure figcaption { font-size: 13px; color: var(--sd-muted); }

.sd-example { background: var(--sd-soft); border-radius: var(--sd-radius); overflow: hidden; }
.sd-example__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.sd-example__body p { font-size: 15px; line-height: 1.6; color: var(--sd-body); }

.sd-price-box { background: #fff; border-radius: var(--sd-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.sd-price-box strong { font-size: 40px; line-height: 1.1; }
.sd-price-box span { font-size: 15px; }

.sd-wrong-size { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; }
.sd.sd.sd .sd-chip-link { display: inline-flex; gap: 12px; align-items: baseline; border: 1px solid var(--sd-line); border-radius: 999px; padding: 10px 18px; text-decoration: none; color: var(--sd-ink) !important; }
.sd-chip-link span { font-size: 14px; font-weight: 400; color: var(--sd-muted); }

.sd-faqs__head { flex-basis: 300px; }
.sd-faqs { flex: 2 1 520px; }
.sd-faq { border-bottom: 1px solid var(--sd-line); padding: 18px 0; }
.sd-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.sd-faq p { margin-top: 10px; line-height: 1.7; color: var(--sd-body); }

.sd-cta { background: var(--sd-dark); color: #fff; }
.sd-cta__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.sd-cta p { color: #c9d4cd; font-size: 17px; }
.sd-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sizes grid */
.sd-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sd-size { border: 1px solid var(--sd-line); border-radius: var(--sd-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.sd-size__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--sd-soft); }
.sd-size__img img { width: 100%; height: 100%; object-fit: cover; }
.sd-size__img .sd-drawing { width: 86%; height: auto; }
.sd-size__img .sd-drawing text { display: none; }
.sd-size__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sd-size__body h2 a { color: var(--sd-ink); text-decoration: none; }
.sd-size__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--sd-muted); }
.sd-size__price { font-size: 20px; font-weight: 700; margin-top: auto !important; }

/* Postcode search */
.sd-pcsearch { padding: 32px 0; }
.sd-pcsearch input, .sd-card input, .sd-shadow input { flex: 1; min-width: 0; height: 44px; border: 1px solid #9fadA5; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--sd-ink); background: #fff; }
.sd-pcsearch__result { font-size: 15px; }

/* Light-DOM controls: beat theme rules such as `.site button:not(:hover)…` (specificity 0,4,1). */
.sd.sd.sd.sd.sd button, .sd.sd.sd.sd.sd input { font: inherit; letter-spacing: normal; text-transform: none; margin: 0; box-shadow: none; text-decoration: none; }
.sd.sd.sd.sd.sd .sd-slider__arrow { background: #fff; color: var(--sd-ink); border: 0; padding: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 22px; line-height: 1; }
.sd.sd.sd.sd.sd .sd-slider__dots button { background-color: #b9c4bd; border: 0; padding: 9px; width: 28px; height: 28px; border-radius: 50%; background-clip: content-box; }
.sd.sd.sd.sd.sd .sd-slider__dots button[aria-current="true"] { background-color: var(--sd-ink); }
.sd.sd.sd.sd.sd .sd-btn--dark { background: var(--sd-dark); color: #fff; border: 0; padding: 0 18px; border-radius: 10px; }
.sd.sd.sd.sd.sd input { border: 1px solid #9fada5; border-radius: 10px; background: #fff; color: var(--sd-ink); padding: 0 12px; height: 44px; font-size: 16px; }

/* Booking card (rendered in a shadow root; the host element keeps the card frame) */
.sd-shadow { position: relative; display: flex; flex-direction: column; gap: 14px; color: var(--sd-ink); font-family: inherit; font-size: 15px; line-height: 1.4; }
.sd-shadow .sd-modal { inset: -21px; }
.sd-shadow p, .sd-shadow h3 { margin: 0; }

.sd-card { position: relative; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
:where(.sd-card, .sd-shadow) button { font-family: inherit; }
.sd-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sd-card__total { font-size: 34px; font-weight: 700; line-height: 1; }
.sd-card__vat { font-size: 14px; color: var(--sd-muted); }
.sd-card__pc { display: flex; gap: 6px; }
.sd-card__pc input { text-transform: uppercase; }
.sd-klarna { background: #ffa8cd; color: #17120f; font-weight: 600; border-radius: 4px; padding: 1px 6px; }
.sd-ok-line { font-size: 13px; color: var(--sd-accent-dark); }
.sd-warn { font-size: 14px; line-height: 1.5; color: #5c4300; background: #fff4d6; border-radius: 8px; padding: 8px 10px; }
.sd-seg { display: grid; grid-template-columns: 1fr 1fr; background: #f1f3f1; border-radius: 10px; padding: 3px; gap: 3px; }
.sd-seg button { min-height: 52px; line-height: 1.25; padding: 6px; border-radius: 8px; border: 0; cursor: pointer; background: transparent; color: var(--sd-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 14px; }
.sd-seg button b { font-weight: 600; }
.sd-seg button small { font-size: 12px; }
.sd-seg button[aria-pressed="true"] { background: #fff; color: var(--sd-ink); box-shadow: 0 1px 2px rgba(21, 33, 27, .18); }
.sd-seg button:disabled { cursor: not-allowed; opacity: .55; }
.sd-linkbtn { background: none; border: 0; padding: 0; color: var(--sd-accent); font-weight: 500; cursor: pointer; min-height: 24px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.sd-permit-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.sd-permit-row .sd-linkbtn { justify-self: center; }
.sd-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--sd-dark); color: #fff; border-radius: 10px; padding: 14px; font-size: 14px; line-height: 1.5; box-shadow: 0 8px 24px rgba(21, 33, 27, .25); }
.sd-pop p + p { margin-top: 6px; }
.sd-pop .sd-linkbtn { color: var(--sd-yellow); font-weight: 600; margin-top: 8px; }
.sd-label { font-size: 14px; font-weight: 600; }
.sd-dates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sd-dchip { height: 48px; border-radius: 8px; padding: 0; text-align: center; background: #fff; border: 1px solid #b9c4bd; color: var(--sd-ink); cursor: pointer; }
.sd-dchip small { display: block; font-size: 11px; }
.sd-dchip b { display: block; font-size: 15px; }
.sd-dchip[aria-pressed="true"] { background: var(--sd-dark); border-color: var(--sd-dark); color: #fff; }
.sd-dchip:disabled { background: #f1f3f1; border: 1px dashed #c4cdc7; color: #8a958e; cursor: not-allowed; }
.sd-extras { display: flex; flex-direction: column; border: 1px solid var(--sd-line); border-radius: 10px; }
.sd-extras > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; font-size: 14px; }
.sd-extras > div + div { border-top: 1px solid var(--sd-line); }
.sd-tog { font-weight: 600; font-size: 13px; min-width: 76px; height: 36px; border-radius: 8px; cursor: pointer; background: #fff; border: 1px solid var(--sd-accent); color: var(--sd-accent); }
.sd-tog[aria-pressed="true"] { background: var(--sd-accent); color: #fff; }
.sd-step { font-size: 18px; width: 44px; height: 44px; border: 0; background: none; color: var(--sd-ink); cursor: pointer; }
.sd-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sd-apple { font-weight: 600; font-size: 17px; height: 50px; border-radius: 10px; border: 0; background: #000; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; }
.sd-gpay { font-weight: 600; font-size: 17px; height: 50px; border-radius: 10px; border: 1px solid #747775; background: #fff; color: #1f1f1f; cursor: pointer; }
.sd-trust { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--sd-line); padding-top: 14px; }
.sd-trust__g { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sd-line); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #4285f4; flex: none; }
.sd-trust div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.sd-trust div span { font-size: 13px; color: var(--sd-muted); }
.sd-terms { font-size: 12px; line-height: 1.5; color: var(--sd-muted); text-align: center; }
.sd-modal { position: absolute; inset: 0; z-index: 10; background: rgba(21, 33, 27, .4); border-radius: var(--sd-radius); display: flex; align-items: flex-start; justify-content: center; padding: 120px 12px 12px; }
.sd-cal { width: 100%; max-width: 380px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 12px 32px rgba(21, 33, 27, .3); display: flex; flex-direction: column; gap: 10px; }
.sd-cal__head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.sd-cal__nav { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--sd-line); background: #fff; cursor: pointer; color: var(--sd-ink); }
.sd-cal__wk, .sd-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.sd-cal__wk { font-size: 12px; color: var(--sd-muted); }
.sd-cal__d { height: 40px; border-radius: 8px; padding: 0; font-size: 14px; background: #fff; border: 1px solid var(--sd-line); color: var(--sd-ink); cursor: pointer; }
.sd-cal__d[aria-pressed="true"] { background: var(--sd-dark); border-color: var(--sd-dark); color: #fff; font-weight: 600; }
.sd-cal__d:disabled { background: transparent; border: 0; color: #a6b0aa; text-decoration: line-through; cursor: not-allowed; }
.sd-cal__d--blank { visibility: hidden; }
.sd-loading { opacity: .6; pointer-events: none; }

/* Checkout: details, address finder, payment, confirmation */
.sd-checkout { display: flex; flex-direction: column; gap: 10px; }
.sd-label { font-size: 13px; font-weight: 600; color: var(--sd-ink); }
.sd-checkout .sd-label { margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.sd-pcbadge { font-weight: 600; font-size: 12px; background: var(--sd-accent-soft); color: var(--sd-accent-dark); border-radius: 6px; padding: 1px 7px; }
.sd-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
.sd-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--sd-muted); }
.sd-field--full { grid-column: 1 / -1; }
.sd-shadow .sd-field input { flex: none; width: 100%; }
.sd-shadow input[aria-invalid="true"] { border-color: #b32d2e; box-shadow: 0 0 0 1px #b32d2e; }
.sd-shadow input:focus-visible, .sd-shadow button:focus-visible { outline: 2px solid var(--sd-accent); outline-offset: 2px; }
.sd-shadow input[readonly] { background: var(--sd-soft); }
.sd-ferr { color: #b32d2e; font-size: 12px; font-weight: 500; }
.sd-addr { position: relative; }
.sd-sugg { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 4px; background: #fff; border: 1px solid var(--sd-line); border-radius: 10px; box-shadow: 0 10px 28px rgba(21, 33, 27, .16); }
.sd-sugg button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; color: var(--sd-ink); line-height: 1.35; }
.sd-sugg button:hover, .sd-sugg button:focus { background: var(--sd-soft); }
.sd-sugg button span { color: var(--sd-muted); font-size: 13px; }
.sd-ece { min-height: 50px; }
.sd-pe { min-height: 44px; }
.sd-paybtn { min-height: 50px; font-size: 16px; }
.sd-paybtn:disabled { opacity: .7; cursor: progress; }
.sd-done { display: flex; flex-direction: column; gap: 10px; outline: none; }
.sd-done__tick { width: 44px; height: 44px; border-radius: 50%; background: var(--sd-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.sd-done .sd-h3 { font-size: 22px; font-weight: 700; }
.sd-done dl { margin: 4px 0 0; border-top: 1px solid var(--sd-line); }
.sd-done dl div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--sd-line); font-size: 14px; }
.sd-done dt { color: var(--sd-muted); }
.sd-done dd { margin: 0; font-weight: 500; }
@media (max-width: 380px) { .sd-fields { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
	.sd-specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-cols-3 { grid-template-columns: 1fr; }
	.sd-section { padding: 56px 0; }
	.sd-fits { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Booking first on mobile: title, small gallery, booking card, then what fits. */
	.sd-hero { padding-top: 12px; }
	.sd-hero__grid { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
	.sd-hero__col { display: contents; }
	.sd-hero__head { order: 1; gap: 2px; }
	.sd-slider { order: 2; aspect-ratio: auto; height: 160px; border-radius: 12px; }
	.sd-slide .sd-drawing { width: auto; height: 130px; }
	.sd-slider__arrow { width: 36px; height: 36px; font-size: 18px; }
	.sd-slider__pill, .sd-slider__dots { display: none; }
	.sd-hero .sd-card { order: 3; }
	.sd-hero__fits { order: 4; margin-top: 20px; }
	.sd-fit { padding: 10px 12px; font-size: 14px; flex-direction: row; align-items: center; }
	.sd-fit svg { width: 20px; height: 20px; flex: none; }
	.sd-scroll-mobile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -24px; padding: 0 24px 4px; }
	.sd-scroll-mobile > * { flex: none; width: 78%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
	.sd-wrap { padding: 0 16px; }
	.sd-cols-2, .sd-ticks--2 { grid-template-columns: 1fr; }
	.sd-scroll-mobile { margin: 0 -16px; padding: 0 16px 4px; }
}
