/*
 * Showcase product pages (plugins/DeskManager/Product/templates/Products/showcase.php)
 * and the offer request thank-you page. Scoped under .dm-showcase.
 * Big type, lots of air, one accent (the brand green), pictures large.
 */
.dm-showcase {
    --dsc-green: #9acc2f;
    --dsc-green-ink: #5f8418;
    --dsc-ink: #1d1d1f;
    --dsc-muted: #6e6e73;
    --dsc-line: #e5e5e0;
    --dsc-sand: #f5f5f2;
    --dsc-night: #111312;
    --dsc-radius: 18px;
    font-family: 'Jost', 'Source Sans Pro', Helvetica, Arial, sans-serif;
    color: var(--dsc-ink);
    font-size: 17px;
    line-height: 1.55;
    clear: both;
    /* Below the fixed header (#header, 149px on phones), and its category bar from 992px. */
    padding-top: 149px;
}
@media (min-width: 992px) { .dm-showcase { padding-top: 162px; } }
.dm-showcase h1, .dm-showcase h2, .dm-showcase h3 { font-family: inherit; color: inherit; letter-spacing: -.015em; }
.dm-showcase img { max-width: 100%; height: auto; display: block; }
.dsc-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.dsc-wrap--wide { max-width: 1320px; }
.dsc-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dsc-green-ink); }
.dsc-lead { font-size: clamp(18px, 2vw, 22px); color: var(--dsc-muted); margin: 0 auto 28px; max-width: 720px; }
.dm-showcase .dsc-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; font-weight: 600; margin: 0 0 18px; }
.dm-showcase .dsc-link { color: var(--dsc-green-ink); font-weight: 600; text-decoration: none; }
.dm-showcase .dsc-link:hover { text-decoration: underline; }

/* Buttons */
.dsc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dsc-actions--center { justify-content: center; }
.dm-showcase .dsc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px;
    border: 1.5px solid currentColor; border-radius: 999px; color: inherit; background: transparent;
    font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.dm-showcase .dsc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.dm-showcase .dsc-btn--primary { background: var(--dsc-green); border-color: var(--dsc-green); color: #16210a; }
.dm-showcase .dsc-btn--primary:hover, .dm-showcase .dsc-btn--primary:focus { background: #8bbd22; border-color: #8bbd22; color: #16210a; }
.dm-showcase .dsc-btn--ghost { border-color: transparent; color: var(--dsc-green); }
.dm-showcase .dsc-btn--ghost:hover { color: #fff; }
.dm-showcase .dsc-btn--block { width: 100%; }

/* Hero: dark, centred, the picture large below the words */
.dsc-hero { background: var(--dsc-night); color: #f5f5f7; padding: clamp(48px, 8vw, 110px) 0 clamp(24px, 4vw, 56px); text-align: center; overflow: hidden; }
.dsc-hero .dsc-eyebrow { color: var(--dsc-green); }
.dm-showcase .dsc-hero h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; font-weight: 600; margin: 0 auto 20px; max-width: 980px; }
.dsc-hero .dsc-lead { color: #a1a1a6; }
.dsc-hero__media { margin: clamp(36px, 5vw, 64px) 0 0; }
.dsc-hero__media img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: var(--dsc-radius); }

/* Key figures */
.dsc-figures { background: var(--dsc-night); color: #f5f5f7; padding: 0 0 clamp(56px, 8vw, 110px); }
.dsc-figures ul { list-style: none; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }
.dsc-figures strong { display: block; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 600; background: linear-gradient(90deg, #c8ee6f, var(--dsc-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dsc-figures span { display: block; margin-top: 8px; color: #a1a1a6; font-size: 16px; }

/* Story sections: picture and words side by side, alternating */
.dsc-story { padding: clamp(56px, 8vw, 120px) 0; }
.dsc-story:nth-of-type(even) { background: var(--dsc-sand); }
.dsc-story__inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .dsc-story__inner { grid-template-columns: 1.15fr 1fr; }
    .dsc-story--flip .dsc-story__media { order: 2; }
    .dsc-story--text .dsc-story__inner { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
}
.dsc-story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--dsc-radius); }
.dm-showcase .dsc-story h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; font-weight: 600; margin: 0 0 18px; }
.dsc-story p { font-size: clamp(17px, 1.6vw, 20px); color: var(--dsc-muted); margin: 0; }

/* Gallery: a row that scrolls sideways */
.dsc-gallery { padding: clamp(56px, 8vw, 110px) 0; background: var(--dsc-night); color: #f5f5f7; }
.dsc-gallery__track { list-style: none; margin: 0; padding: 0 16px 8px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 16px; }
@media (min-width: 1132px) { .dsc-gallery__track { padding-left: calc((100vw - 1100px) / 2 + 16px); } }
.dsc-gallery__track li { flex: 0 0 min(78vw, 720px); scroll-snap-align: start; }
.dsc-gallery__track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--dsc-radius); }

/* Details */
.dsc-specs { padding: clamp(56px, 8vw, 110px) 0; }
.dsc-specs__inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dsc-specs__inner { grid-template-columns: 1fr 1.2fr; } }
.dsc-specs__media { margin: 0; background: #fff; border: 1px solid var(--dsc-line); border-radius: var(--dsc-radius); padding: 24px; }
.dsc-specs__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.dm-showcase .dsc-specs__name { font-size: 19px; font-weight: 500; color: var(--dsc-muted); margin: 0 0 20px; line-height: 1.4; }
.dsc-specs__list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 24px; padding: 20px 0; border-top: 1px solid var(--dsc-line); border-bottom: 1px solid var(--dsc-line); }
.dsc-specs__list dt { font-weight: 600; }
.dsc-specs__list dd { margin: 0; color: var(--dsc-muted); overflow-wrap: anywhere; }
.dsc-specs__more { margin: 0 0 20px; }
.dsc-specs__more summary { cursor: pointer; font-weight: 600; color: var(--dsc-green-ink); }
.dsc-specs__more div { margin-top: 12px; color: var(--dsc-muted); font-size: 16px; }

/* Offer request */
.dsc-offer { background: var(--dsc-sand); padding: clamp(56px, 8vw, 110px) 0; scroll-margin-top: 90px; }
.dsc-offer__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.dsc-form { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .dsc-form { grid-template-columns: 1.4fr 1fr; } .dsc-form__contact { position: sticky; top: 100px; } }
.dsc-form__main, .dsc-form__contact { background: #fff; border-radius: var(--dsc-radius); padding: clamp(20px, 3vw, 32px); }
.dsc-form__legend { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.dsc-card--product { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--dsc-line); margin-bottom: 20px; }
.dsc-card--product img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--dsc-line); border-radius: 12px; padding: 6px; background: #fff; }
.dsc-card--product > div { flex: 1; min-width: 160px; }
.dsc-card__title { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.25; }
.dsc-card__ref { margin: 4px 0 0; color: var(--dsc-muted); font-size: 14px; overflow-wrap: anywhere; }
.dsc-qty { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 600; font-size: 14px; }
.dsc-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--dsc-ink); border-radius: 999px; overflow: hidden; height: 48px; }
.dsc-stepper button { width: 46px; border: 0; background: #fff; font-size: 22px; line-height: 1; color: var(--dsc-ink); }
.dsc-stepper button:hover { background: var(--dsc-sand); }
.dsc-stepper input { width: 70px; border: 0; text-align: center; font-size: 18px; font-weight: 600; -moz-appearance: textfield; }
.dsc-stepper input::-webkit-outer-spin-button, .dsc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dsc-upsell { border: 0; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--dsc-line); min-width: 0; }
.dm-showcase .dsc-upsell legend { border: 0; font-size: 18px; font-weight: 600; margin: 0 0 2px; width: auto; color: var(--dsc-ink); }
.dsc-hint { color: var(--dsc-muted); font-size: 15px; margin: 0 0 12px; }
.dsc-upsell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dsc-upsell__item { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--dsc-line); border-radius: 14px; padding: 8px 12px; transition: border-color .15s, background .15s; }
.dsc-upsell__item.is-on { border-color: var(--dsc-green); background: #f7fbef; }
.dm-showcase .dsc-upsell__pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 500; font-size: 15px; cursor: pointer; }
.dsc-upsell__pick input { width: 20px; height: 20px; flex: none; accent-color: var(--dsc-green-ink); margin: 0; }
.dsc-upsell__pick img { width: 56px; height: 56px; flex: none; object-fit: contain; }
.dsc-upsell__pick span { overflow-wrap: anywhere; }
.dsc-upsell__qty { margin: 0; visibility: hidden; }
.dsc-upsell__item.is-on .dsc-upsell__qty { visibility: visible; }
.dsc-upsell__qty input { width: 64px; height: 40px; border: 1.5px solid var(--dsc-line); border-radius: 10px; text-align: center; font-size: 16px; }
.dm-showcase .dsc-upsell__see { font-size: 14px; color: var(--dsc-green-ink); font-weight: 600; }

.dm-showcase .dsc-field { display: block; margin: 0 0 16px; font-weight: 600; font-size: 15px; }
.dsc-field small { font-weight: 400; color: var(--dsc-muted); }
.dsc-field input, .dsc-field textarea, .dsc-field select { display: block; width: 100%; margin-top: 6px; border: 1.5px solid var(--dsc-line); border-radius: 12px; padding: 12px 14px; font-size: 16px; font-weight: 400; background: #fff; color: var(--dsc-ink); }
.dsc-field input, .dsc-field select { height: 50px; }
.dsc-field input:focus, .dsc-field textarea:focus, .dsc-field select:focus { outline: 0; border-color: var(--dsc-green-ink); box-shadow: 0 0 0 4px rgb(154 204 47 / .25); }
.dsc-row { display: grid; gap: 4px 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .dsc-row { grid-template-columns: 1fr 1fr; } }
.dm-showcase .dsc-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-weight: 500; font-size: 15px; cursor: pointer; }
.dsc-check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--dsc-green-ink); }
.dsc-reassure { list-style: none; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--dsc-muted); }
.dsc-reassure li { margin: 6px 0; }
.dsc-reassure .fa { color: var(--dsc-green-ink); margin-right: 6px; }
.dsc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sticky call to action */
.dsc-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: rgb(255 255 255 / .92); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--dsc-line); }
.dsc-bar[hidden] { display: none; }
.dsc-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.dsc-bar__name { font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-showcase .dsc-bar .dsc-btn { min-height: 44px; padding: 0 22px; font-size: 16px; flex: none; }

/* Reveal on scroll (only once the script runs, never with reduced motion) */
.dsc-animate .dsc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.dsc-animate .dsc-reveal.is-in { opacity: 1; transform: none; }

/* Thank-you page */
.dsc-thanks { padding: clamp(56px, 9vw, 120px) 0; text-align: center; background: var(--dsc-sand); }
.dsc-thanks__inner { max-width: 760px; }
.dsc-thanks__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--dsc-green); color: #16210a; font-size: 30px; margin-bottom: 20px; }
.dm-showcase .dsc-thanks h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; font-weight: 600; margin: 0 0 16px; }
.dsc-thanks__lines { list-style: none; margin: 0 auto 28px; padding: 8px 20px; max-width: 560px; background: #fff; border-radius: 14px; text-align: left; }
.dsc-thanks__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--dsc-line); }
.dsc-thanks__lines li:last-child { border-bottom: 0; }
.dsc-steps { margin: 0 auto 32px; padding: 0; max-width: 560px; text-align: left; counter-reset: step; list-style: none; }
.dsc-steps li { position: relative; padding: 0 0 14px 44px; color: var(--dsc-muted); }
.dsc-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--dsc-ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.dsc-steps strong { color: var(--dsc-ink); }
.dsc-thanks .dsc-actions { justify-content: center; }
.dsc-note { margin-top: 20px; color: var(--dsc-muted); font-size: 15px; }

@media (max-width: 639px) {
    .dm-showcase .dsc-actions .dsc-btn { width: 100%; }
    .dsc-upsell__see { display: none; }
    .dsc-upsell__qty { display: none; }
    .dsc-upsell__item.is-on .dsc-upsell__qty { display: block; }
}
