:root {
    --desh-green: #123f37;
    --desh-green-2: #1d6758;
    --desh-lime: #b8d441;
    --desh-ink: #17201e;
    --desh-muted: #64706d;
    --desh-paper: #f6f4ee;
    --desh-line: #dfe5e1;
    --desh-white: #fff;
}

.desh-shell { width: min(1180px, calc(100% - 40px)); margin: 48px auto; color: var(--desh-ink); }
.desh-hero { width: min(1180px, calc(100% - 40px)); margin: 32px auto; padding: clamp(44px, 7vw, 96px); border-radius: 28px; background: linear-gradient(135deg, var(--desh-green), #0c2924); color: #fff; }
.desh-hero > div { max-width: 760px; }
.desh-hero h1 { margin: 14px 0 18px; color: #fff; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; }
.desh-hero p { max-width: 700px; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.desh-kicker { display: inline-block; color: var(--desh-green-2); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.desh-hero .desh-kicker { color: var(--desh-lime); }
.desh-section-heading { max-width: 780px; margin-bottom: 30px; }
.desh-section-heading h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.desh-section-heading p { color: var(--desh-muted); font-size: 1.05rem; }
.desh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.desh-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--desh-green); border-radius: 9px; background: var(--desh-green); color: #fff !important; font-weight: 750; line-height: 1; text-decoration: none !important; cursor: pointer; }
.desh-button:hover { background: var(--desh-green-2); border-color: var(--desh-green-2); color: #fff !important; }
.desh-button-secondary { background: transparent; color: var(--desh-green) !important; }
.desh-hero .desh-button-secondary { border-color: rgba(255,255,255,.55); color: #fff !important; }
.desh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.desh-card { display: flex; flex-direction: column; min-height: 330px; padding: 24px; border: 1px solid var(--desh-line); border-radius: 18px; background: var(--desh-white); box-shadow: 0 16px 44px rgba(19,45,38,.07); }
.desh-card-image { display: block; margin: -24px -24px 20px; overflow: hidden; border-radius: 18px 18px 0 0; aspect-ratio: 16 / 9; background: var(--desh-paper); }
.desh-card-image img { width: 100%; height: 100%; object-fit: cover; }
.desh-card h3 a { color: inherit; text-decoration: none; }
.desh-card h3 { margin: 20px 0 10px; font-size: 1.35rem; }
.desh-card p { color: var(--desh-muted); }
.desh-card-top { display: flex; flex-wrap: wrap; gap: 7px; }
.desh-badge { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; background: #edf3f0; color: var(--desh-green); font-size: .74rem; font-weight: 800; }
.desh-badge-planned { background: #fff4d9; color: #805d00; }

.desh-product-group { margin: 44px 0; }
.desh-group-heading { margin-bottom: 20px; max-width: 760px; }
.desh-group-heading h3 { margin: 0 0 8px; font-size: 30px; }
.desh-group-heading p { margin: 0; color: #64748b; }
.desh-product-group-foundation { padding: 28px; border: 2px solid #f59e0b; border-radius: 24px; background: #fffbeb; }
.desh-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.desh-product-detail { padding-top: 32px; padding-bottom: 64px; }
.desh-product-hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 36px; align-items: start; padding: 44px; border-radius: 28px; background: #0f172a; color: #fff; }
.desh-product-hero h1 { margin: 8px 0 16px; font-size: clamp(38px,6vw,64px); line-height: 1; }
.desh-product-hero p { color: #cbd5e1; font-size: 18px; line-height: 1.65; }
.desh-product-hero aside { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.08); }
.desh-product-hero aside > strong { display: block; margin-bottom: 18px; font-size: 20px; }
.desh-product-image { width: min(100%, 560px); max-height: 320px; margin: 0 0 24px; border-radius: 18px; object-fit: cover; }
.desh-core-boundary { margin: 28px 0; padding: 24px; border-left: 5px solid #f59e0b; border-radius: 14px; background: #fffbeb; }
.desh-core-boundary strong { display: block; margin-bottom: 6px; font-size: 20px; }
.desh-core-boundary p { margin: 0; }
.desh-detail-section { margin: 36px 0; }
.desh-scope-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }
.desh-scope-list li { padding: 16px 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }

@media (max-width: 800px) {
  .desh-product-hero { grid-template-columns: 1fr; padding: 28px; }
  .desh-scope-list { grid-template-columns: 1fr; }
}
.desh-badge-external { background: #e8efff; color: #26498c; }
.desh-badge-edition { background: #fff4df; color: #9a4f00; }
.desh-badge-required { background: var(--desh-lime); color: #213208; }
.desh-meta { margin-top: auto; font-size: .83rem; }
.desh-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--desh-line); }
.desh-bundle-card { min-height: 440px; }
.desh-bundle-products { flex: 1; margin: 8px 0 22px; padding-left: 19px; color: var(--desh-muted); }
.desh-bundle-products li { margin-bottom: 6px; }
.desh-inline-form { margin: 0; }
.desh-configurator-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 18px; align-items: end; margin-bottom: 26px; padding: 22px; border-radius: 16px; background: var(--desh-paper); }
.desh-configurator-intro label { display: grid; gap: 7px; font-weight: 750; }
.desh-configurator-intro input, .desh-configurator-intro select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #b8c2be; border-radius: 8px; background: #fff; }
.desh-selector-group { margin: 30px 0; }
.desh-selector-group .desh-group-heading { margin-bottom: 14px; }
.desh-selector-group .desh-group-heading h3 { margin: 0 0 5px; font-size: 1.35rem; }
.desh-selector-group .desh-group-heading p { margin: 0; color: var(--desh-muted); }
.desh-selector-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.desh-selector-card { position: relative; display: block; padding: 20px; border: 2px solid var(--desh-line); border-radius: 16px; background: #fff; cursor: pointer; }
.desh-selector-card.is-selected { border-color: var(--desh-green-2); background: #f1f8f5; box-shadow: 0 0 0 3px rgba(29,103,88,.08); }
.desh-selector-card > input { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; }
.desh-selector-card > span { display: flex; flex-direction: column; max-width: calc(100% - 35px); }
.desh-selector-card strong { font-size: 1.05rem; }
.desh-selector-card small { margin-top: 4px; color: var(--desh-green-2); font-weight: 700; }
.desh-selector-card p { margin: 16px 0 0; color: var(--desh-muted); font-size: .9rem; }
.desh-selector-price { display: block; margin-top: 14px; color: var(--desh-green); font-size: .92rem !important; }
.desh-sticky-summary { position: sticky; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding: 18px 22px; border: 1px solid var(--desh-line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 18px 50px rgba(12,41,36,.16); backdrop-filter: blur(10px); }
.desh-sticky-summary .desh-totals { flex: 1; justify-content: flex-end; margin-top: 0; }
.desh-sticky-summary .desh-totals > div { min-width: 125px; padding: 10px 12px; }
.desh-sticky-summary p { margin: 4px 0 0; color: var(--desh-muted); font-size: .85rem; }
.desh-cart-list { border: 1px solid var(--desh-line); border-radius: 18px; overflow: hidden; background: #fff; }
.desh-cart-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px; border-bottom: 1px solid var(--desh-line); }
.desh-cart-row:last-child { border-bottom: 0; }
.desh-cart-row h3 { margin: 0 0 5px; }
.desh-cart-row p { margin: 0; color: var(--desh-muted); }
.desh-cart-row > div:last-child { display: grid; gap: 8px; justify-items: end; }
.desh-selection-context { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--desh-paper); }
.desh-totals { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.desh-totals > div { display: grid; min-width: 170px; padding: 15px 18px; border: 1px solid var(--desh-line); border-radius: 12px; background: #fff; }
.desh-totals > div span { color: var(--desh-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.desh-totals > div strong { color: var(--desh-green); font-size: 1.2rem; }
.desh-totals > p { width: 100%; color: var(--desh-muted); }
.desh-link-button { padding: 0; border: 0; background: none; color: #a43b2c; text-decoration: underline; cursor: pointer; }
.desh-checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 36px; align-items: start; }
.desh-form, .desh-order-summary, .desh-login-box { padding: 26px; border: 1px solid var(--desh-line); border-radius: 18px; background: #fff; }
.desh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.desh-form label { display: grid; gap: 7px; margin-bottom: 16px; font-weight: 700; }
.desh-form input, .desh-form select, .desh-form textarea, .desh-login-box input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #b8c2be; border-radius: 8px; background: #fff; }
.desh-checkbox { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.desh-checkbox input { width: 18px; min-height: 18px; }
.desh-order-summary { position: sticky; top: 30px; }
.desh-order-summary ul { margin: 0; padding: 0; list-style: none; }
.desh-order-summary li { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--desh-line); }
.desh-order-summary li strong { color: var(--desh-green-2); font-size: .82rem; }
.desh-notice { padding: 32px; border-radius: 18px; }
.desh-notice-success { border: 1px solid #a8d5c4; background: #effaf5; }
.desh-login-box { max-width: 540px; margin: auto; }
.desh-portal-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.desh-portal-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.desh-portal-links a { padding: 9px 13px; border-radius: 8px; background: var(--desh-paper); color: var(--desh-green); text-decoration: none; font-weight: 700; }
.desh-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 14px; margin: 24px 0 34px; }
.desh-stat-grid > div { display: grid; padding: 22px; border-radius: 14px; background: var(--desh-green); color: #fff; }
.desh-stat-grid strong { font-size: 2rem; }
.desh-table-wrap { overflow-x: auto; }
.desh-table-wrap table { width: 100%; border-collapse: collapse; }
.desh-table-wrap th, .desh-table-wrap td { padding: 13px; border-bottom: 1px solid var(--desh-line); text-align: left; }
.desh-license-card { margin-bottom: 18px; padding: 24px; border: 1px solid var(--desh-line); border-radius: 16px; background: #fff; }
.desh-license-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.desh-license-card dt { color: var(--desh-muted); font-size: .78rem; text-transform: uppercase; }
.desh-license-card dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.desh-empty { padding: 28px; border: 1px dashed #b8c2be; border-radius: 14px; color: var(--desh-muted); text-align: center; }
.desh-download-list { display: grid; gap: 12px; }
.desh-download-list article { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--desh-line); border-radius: 12px; }
.desh-download-list h3, .desh-download-list p { margin: 0; }
.desh-doc-section { margin-top: 34px; }
.desh-doc-grid { display: grid; gap: 10px; }
.desh-doc-grid details { padding: 16px 18px; border: 1px solid var(--desh-line); border-radius: 12px; background: #fff; }
.desh-doc-grid summary { display: grid; gap: 4px; cursor: pointer; }
.desh-doc-grid summary span { color: var(--desh-muted); font-size: .9rem; }
.desh-doc-grid details > div { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--desh-line); }

@media (max-width: 900px) {
    .desh-grid, .desh-selector-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .desh-checkout { grid-template-columns: 1fr; }
    .desh-order-summary { position: static; }
    .desh-configurator-intro { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .desh-shell, .desh-hero { width: min(100% - 24px, 1180px); }
    .desh-grid, .desh-selector-grid, .desh-form-grid, .desh-license-card dl { grid-template-columns: 1fr; }
    .desh-sticky-summary, .desh-portal-header, .desh-download-list article { align-items: stretch; flex-direction: column; }
    .desh-cart-row { grid-template-columns: 1fr; }
    .desh-cart-row > div:last-child { justify-items: start; }
    .desh-configurator-intro { grid-template-columns: 1fr; }
}

.desh-card-actions > a.desh-link-button {
    padding: 10px 0;
    color: var(--desh-green);
    font-weight: 800;
}
