/* Design Secure Core: forms, booking and products. Uses theme colours when available. */
.dsc-form, .dsc-booking, .dsc-manage, .dsc-shop {
	--c-ink: var(--wp--preset--color--ink, #2B2B28);
	--c-char: var(--wp--preset--color--charcoal, #3A3A3A);
	--c-yel: var(--wp--preset--color--yellow, #FCCC00);
	--c-paper: var(--wp--preset--color--paper, #F7F6F2);
	--c-stone: var(--wp--preset--color--stone, #E9E7E1);
	--c-muted: var(--wp--preset--color--muted, #55534D);
	font-size: 16px;
}
.dsc-form { background: #fff; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.dsc-form--card { border-top: 4px solid var(--c-yel); }
.dsc-form h3 { margin: 0; font-size: 24px; }
.dsc-form > p { margin: 0; }
.dsc-field { display: flex; flex-direction: column; gap: 6px; }
.dsc-field label, .dsc-radios legend { font-weight: 700; }
.dsc-opt { font-weight: 400; color: var(--c-muted); }
.dsc-form input[type=text], .dsc-form input[type=email], .dsc-form input[type=tel], .dsc-form input:not([type]), .dsc-form textarea, .dsc-form select {
	font: inherit; font-size: 16px; padding: 12px; border: 1px solid #8A94A3; border-radius: 4px; background: #fff; color: var(--c-ink); width: 100%; box-sizing: border-box;
}
.dsc-form textarea { resize: vertical; }
.dsc-form input:focus, .dsc-form textarea:focus, .dsc-form select:focus { outline: 3px solid var(--c-yel); outline-offset: 0; border-color: var(--c-ink); }
.dsc-form.was-checked :invalid { border-color: #b32d2e; }
.dsc-radios { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dsc-radios legend { padding: 0; margin-bottom: 6px; width: 100%; }
.dsc-radios label, .dsc-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.dsc-radios input, .dsc-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-ink); }
.dsc-row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dsc-btn { align-self: flex-start; display: inline-block; min-height: 44px; border: 0; padding: 13px 28px; border-radius: 4px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; background: var(--c-char); color: var(--c-paper); text-decoration: none; text-align: center; }
.dsc-btn:hover { background: var(--c-ink); color: var(--c-paper); }
.dsc-btn--yellow { background: var(--c-yel); color: var(--c-ink); }
.dsc-btn--yellow:hover { background: #FFD833; color: var(--c-ink); }
.dsc-btn--dark { background: var(--c-ink); }
.dsc-btn--ghost { background: transparent; color: var(--c-ink); border: 2px solid var(--c-ink); padding: 11px 22px; }
.dsc-btn--ghost:hover { background: var(--c-stone); color: var(--c-ink); }
.dsc-btn[disabled] { opacity: .6; cursor: wait; }
.dsc-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.dsc-small { font-size: 15px; color: var(--c-muted); margin: 0; }
.dsc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dsc-notice { margin: 0; background: var(--c-paper); border-left: 4px solid var(--c-yel); padding: 12px 16px; }
.dsc-notice--ok { border-left-color: #2e7d32; background: #eef6ee; }
.dsc-notice--err, .dsc-error { border-left: 4px solid #b32d2e; background: #fbeaea; padding: 12px 16px; margin: 0; }
.dsc-loading { color: var(--c-muted); }
.dsc-booking [hidden], .dsc-form [hidden], .dsc-shop [hidden] { display: none !important; }

/* Booking */
.dsc-booking { background: #fff; border-radius: 6px; padding: clamp(20px, 4vw, 32px); border-top: 4px solid var(--c-yel); }
.dsc-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 700; }
.dsc-steps span { padding: 6px 12px; border-radius: 999px; background: var(--c-paper); color: var(--c-muted); }
.dsc-steps span.is-on { background: var(--c-ink); color: var(--c-paper); }
.dsc-pane__title { font-size: 24px; margin: 0 0 6px; }
.dsc-pane--details { padding: 0; }
.dsc-cal { margin-top: 18px; }
.dsc-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dsc-cal__title { margin: 0; font-size: 20px; }
.dsc-cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--c-ink); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--c-ink); }
.dsc-cal__nav[disabled] { opacity: .25; cursor: default; }
.dsc-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dsc-cal__dow { text-align: center; font-size: 13px; font-weight: 700; color: var(--c-muted); padding: 4px 0; }
.dsc-cal__day { height: 48px; min-width: 0; border-radius: 6px; border: 1px solid var(--c-stone); background: #fff; font: inherit; font-weight: 700; color: #b6b3ab; cursor: default; }
.dsc-cal__day.is-open { background: var(--c-paper); border-color: var(--c-yel); color: var(--c-ink); cursor: pointer; box-shadow: inset 0 -3px 0 var(--c-yel); }
.dsc-cal__day.is-open:hover { background: #fff6cc; }
.dsc-cal__day.is-picked { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); box-shadow: none; }
.dsc-cal__key { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.dsc-dot { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--c-paper); box-shadow: inset 0 -3px 0 var(--c-yel); border: 1px solid var(--c-yel); }
.dsc-times { margin-top: 20px; }
.dsc-times__title { font-size: 19px; margin: 0 0 10px; }
.dsc-times__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dsc-time { min-height: 44px; border-radius: 4px; border: 2px solid var(--c-ink); background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--c-ink); }
.dsc-time:hover, .dsc-time:focus { background: var(--c-yel); }
.dsc-chosen { background: var(--c-paper); padding: 12px 16px; border-radius: 4px; margin: 0; }
.dsc-summary { background: var(--c-paper); border-radius: 4px; padding: 14px 16px; }
.dsc-summary p { margin: 0; }
.dsc-summary p + p { margin-top: 6px; }
.dsc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.dsc-actions .dsc-btn { align-self: auto; }
.dsc-done__when { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.dsc-pane--done:focus { outline: none; }
.dsc-manage__card { background: #fff; border-radius: 6px; padding: 24px; border-top: 4px solid var(--c-yel); margin-bottom: 24px; }
.dsc-manage__card p { margin: 0 0 6px; }
.dsc-manage__cancel, .dsc-manage__move { background: #fff; border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dsc-manage__move { margin-bottom: 16px; }
.dsc-time.is-picked { background: var(--c-ink); color: #fff; }
.dsc-move .dsc-cal { max-width: 420px; }
.dsc-manage .dsc-notice { margin-bottom: 16px; }
.dsc-manage textarea { font: inherit; padding: 12px; border: 1px solid #8A94A3; border-radius: 4px; width: 100%; box-sizing: border-box; }
.dsc-eyebrow-sm { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--c-muted); }
.dsc-status { padding: 2px 8px; border-radius: 999px; background: var(--c-stone); color: var(--c-ink); }
.dsc-status--confirmed { background: var(--c-yel); }
.dsc-status--cancelled { background: #f0d6d6; color: #8a1f1f; }

/* Products */
.dsc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.dsc-filter { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--c-char); background: #fff; color: var(--c-char); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.dsc-filter.is-on { background: var(--c-char); color: var(--c-paper); }
.dsc-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.dsc-product { background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.dsc-product[hidden] { display: none; }
.dsc-product__img { width: 100%; height: 170px; object-fit: cover; display: block; }
.dsc-product__ph { height: 170px; background: var(--c-stone) linear-gradient(135deg, transparent 46%, rgba(252,204,0,.55) 46%, rgba(252,204,0,.55) 54%, transparent 54%); display: flex; align-items: flex-end; padding: 14px 16px; box-sizing: border-box; color: var(--c-muted); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dsc-product__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dsc-product__cat { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--c-char); text-transform: uppercase; }
.dsc-product__title { margin: 0; font-size: 21px; line-height: 1.25; }
.dsc-product__note { margin: 0; color: var(--c-muted); flex: 1; }
.dsc-product__price { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }
.dsc-product__btn { margin-top: 8px; display: block; text-align: center; background: var(--c-char); color: var(--c-paper) !important; text-decoration: none; font-weight: 700; padding: 12px; border-radius: 4px; }
.dsc-product__btn:hover { background: var(--c-ink); }
.dsc-product__btn.is-disabled { background: var(--c-stone); color: var(--c-muted) !important; }
.dsc-product__ad { font-size: 13px; color: var(--c-muted); text-align: center; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.dsc-types { display: grid; gap: 12px; margin-top: 16px; }
.dsc-type { display: flex; flex-direction: column; gap: 4px; text-align: left; font: inherit; color: var(--c-ink); background: var(--c-paper); border: 2px solid var(--c-stone); border-left: 6px solid var(--c-yel); border-radius: 6px; padding: 16px 18px; cursor: pointer; }
.dsc-type:hover, .dsc-type:focus-visible { border-color: var(--c-ink); border-left-color: var(--c-yel); background: #fff; }
.dsc-type__name { font-weight: 700; font-size: 19px; }
.dsc-type__desc { color: var(--c-muted); }
.dsc-type__meta { font-weight: 700; }
.dsc-chosen-type { margin: 0 0 12px; background: var(--c-paper); padding: 10px 14px; border-radius: 4px; }

/* 1.1: 3D model viewer */
.ds-model { margin: 8px 0 32px; }
.ds-model model-viewer { width: 100%; height: min(70vh, 620px); background: #eeeeee; border-radius: 8px; display: block; --poster-color: #eeeeee; }
.ds-model__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #1f2326; color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.ds-model__load span { font-weight: 400; opacity: .8; }
.ds-model__load:hover, .ds-model__load:focus-visible { background: #000; outline: 3px solid var(--wp--preset--color--yellow, #FCCC00); outline-offset: 2px; }
.ds-model__progress { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--wp--preset--color--yellow, #FCCC00); width: 0; }
.ds-model__help { font-size: 15px; color: #5d6166; margin-top: 8px; }

/* 1.1: featured project and two-column text */
.ds-featured { margin-bottom: 40px !important; align-items: center !important; gap: 32px !important; }
.ds-featured .ds-project__img img { height: 360px; }
.ds-featured h3, .ds-featured h4 { font-size: 30px; margin: 8px 0 12px; }
.ds-two-col { gap: 40px !important; }
.ds-two-col figure img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.ds-two-col figcaption { font-size: 15px; color: #5d6166; }
@media (max-width: 781px) { .ds-featured .ds-project__img img { height: 240px; } .ds-model model-viewer { height: 420px; } }
.ds-model__load[hidden]{display:none}

/* 1.2: Google reviews */
.ds-reviews__summary { font-size: 18px; margin: 0 0 20px; }
.ds-stars { color: #E8A100; letter-spacing: 2px; }
.ds-stars__off { color: #d6d3cc; }
.ds-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ds-review { margin: 0; background: #fff; border: 1px solid #e4e1da; border-radius: 8px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.ds-review blockquote { margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.55; flex: 1; }
.ds-review blockquote p { margin: 0; }
.ds-review blockquote p::before { content: "\201C"; } .ds-review blockquote p::after { content: "\201D"; }
.ds-review figcaption { font-size: 15px; color: #5d6166; }
.ds-reviews__links { margin-top: 20px; font-weight: 700; }

/* FAQ accordions (v1.6) */
.ds-faq { max-width: 860px; }
.ds-faq .ds-faq__item { border-top: 1px solid rgba(0,0,0,.12); padding: 0; margin: 0; }
.ds-faq .ds-faq__item:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.ds-faq .ds-faq__item > summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
.ds-faq .ds-faq__item > summary::-webkit-details-marker { display: none; }
.ds-faq .ds-faq__item > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--c-ink); }
.ds-faq .ds-faq__item[open] > summary::after { content: "\2212"; }
.ds-faq .ds-faq__item > summary:focus-visible { outline: 2px solid var(--c-yel); outline-offset: 2px; }
.ds-faq .ds-faq__item > p { margin: 0 0 14px; padding-right: 40px; }
.ds-faq .ds-faq__item > p:last-child { margin-bottom: 20px; }
.ds-faq > h2 { margin-bottom: 12px; }

/* v1.9: outline buttons on light backgrounds (theme default is light text for the dark hero) */
#what-you-get .wp-block-button.is-style-outline .wp-block-button__link{color:var(--c-ink);border-color:var(--c-ink)}
#what-you-get .wp-block-button.is-style-outline .wp-block-button__link:hover{background:rgba(252,204,0,.25)}

/* v1.10: home page fork – two doors in the hero */
.ds-hero--fork .ds-doors { margin-top: 28px; }
.ds-door { background: rgba(20, 20, 19, 0.72); border: 2px solid var(--c-yel); border-radius: 6px; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.ds-door h2 { color: var(--c-paper); font-size: clamp(24px, 3vw, 30px); margin: 0; }
.ds-door p { color: var(--c-paper); margin: 0; }
.ds-door .wp-block-buttons { margin-top: auto; padding-top: 6px; }
.ds-door__link a { color: var(--c-yel); }
.ds-hero--fork h1 { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; }
.ds-hero .ds-door .ds-door__link a, .ds-hero .ds-hero__lead a, .ds-hero .ds-lead a { color: var(--c-yel); }
/* outline buttons on white sections (business section) */
#business .wp-block-button.is-style-outline .wp-block-button__link { color: var(--c-ink); border-color: var(--c-ink); }
#business .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(252, 204, 0, .25); }
.ds-photo--wide img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 6px; }

/* v1.11: payment choice */
.dsc-pay { flex-direction: column; gap: 10px; }
.dsc-pay .dsc-pay__opt { border: 2px solid var(--c-stone); border-radius: 6px; padding: 12px 14px; background: #fff; }
.dsc-pay .dsc-pay__opt:has(input:checked) { border-color: var(--c-ink); box-shadow: inset 4px 0 0 var(--c-yel); }
.dsc-pay .dsc-small { display: inline; }
.dsc-transfer table { margin: 8px 0; }

/* v1.13: photos and drawings at booking */
.dsc-files input[type=file] { font: inherit; padding: 10px; border: 1px dashed #8A94A3; border-radius: 4px; background: var(--c-paper); width: 100%; box-sizing: border-box; }
.dsc-files__list { margin: 6px 0 0; padding-left: 18px; }
.dsc-files__list:empty { display: none; }

/* v1.14 */
.ds-header .ds-nav .wp-block-navigation-item:nth-last-child(2) a { font-weight: inherit; } /* Specified Products: plain until the shop opens */
.ds-mobile-only { display: none; }
@media (max-width: 781px) {
	.ds-mobile-only { display: block; }
	.ds-hero--fork .ds-door__jump { margin: 0 0 4px; }
	.ds-hero--fork .ds-door__jump a { color: var(--wp--preset--color--yellow, #FCCC00); font-weight: 700; }
}
#dsc-quote .dsc-files input[type=file] { width: 100%; padding: 10px; border: 1px dashed #B9B6AD; border-radius: 6px; background: var(--c-paper); }
.ds-door.is-clickable { cursor: pointer; transition: background .15s, transform .15s; }
.ds-door.is-clickable:hover { background: rgba(20, 20, 19, 0.88); transform: translateY(-2px); }

/* v1.15: supplier spotlight */
.ds-spotlight { margin: 40px 0 8px; background: #fff; border: 2px solid var(--wp--preset--color--yellow, #FCCC00); border-radius: 8px; padding: 24px 26px; }
.ds-spotlight__tag { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #55534D; }
.ds-spotlight__name { margin: 0 0 8px; font-size: 24px; }
.ds-spotlight p { margin: 0 0 8px; max-width: 70ch; }
.ds-spotlight--open { border-style: dashed; background: transparent; }

/* v1.16: analytics notice */
.dsc-ga-note { --c-yel:#FCCC00; --c-ink:#2B2B28; --c-char:#3A3A3A; --c-paper:#F7F6F2; --c-stone:#E9E7E1; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9999; max-width: 560px; margin: 0 auto; background: #2B2B28; color: #F7F6F2; border-top: 4px solid #FCCC00; border-radius: 6px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.dsc-ga-note[hidden] { display: none; }
.dsc-ga-note p { margin: 0; flex: 1 1 260px; }
.dsc-ga-note a { color: #FCCC00; }
.dsc-ga-note__btns { display: flex; gap: 8px; }
.dsc-ga-note .dsc-btn { --c-ink:#2B2B28; min-height: 40px; padding: 8px 18px; font-size: 15px; }
.dsc-ga-note .dsc-btn--ghost { color: #F7F6F2; border-color: #F7F6F2; background: transparent; }

/* v1.17: weekly price-check callout on Specified Products */
.ds-callout.ds-callout--price{border-left:4px solid var(--c-yel);background:color-mix(in srgb,var(--c-yel) 12%,transparent);padding:1rem 1.25rem;border-radius:4px;margin-bottom:1rem}
.ds-callout--price strong::before{content:"✓ ";}
