/* Dynamic Course Manager – frontend. Colours come from Settings via CSS variables. */
.dcm, .dcm *, .dcm *::before, .dcm *::after { box-sizing: border-box; }
.dcm { --dcm-line: #e4e1d8; --dcm-ink: #1f1f1f; --dcm-muted: #6b6a66; --dcm-r: 16px; color: var(--dcm-ink); line-height: 1.55; font-size: 16px; }
.dcm [hidden], .dcm-modal[hidden] { display: none !important; }
.dcm img { max-width: 100%; height: auto; }
.dcm h1, .dcm h2, .dcm h3, .dcm p, .dcm ul, .dcm dl, .dcm dd, .dcm figure, .dcm blockquote { margin: 0; padding: 0; }
.dcm ul { list-style: none; }
.dcm a { text-decoration: none; }
.dcm-ico { flex: none; vertical-align: middle; }
.dcm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }
.dcm-narrow { max-width: 880px; }
.dcm-main { display: block; }

/* ---- Buttons ---- */
.dcm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none; text-transform: none; letter-spacing: 0; transition: background .15s, border-color .15s, transform .15s, filter .15s; }
.dcm-btn--primary { background: var(--dcm-primary); color: #fff; border-color: rgba(0,0,0,.1); }
.dcm-btn--primary:hover { filter: brightness(.93); color: #fff; }
.dcm-btn--ghost { background: #fff; color: var(--dcm-dark); border-color: var(--dcm-line); }
.dcm-btn--ghost:hover { border-color: var(--dcm-dark); color: var(--dcm-dark); }
.dcm-btn--dark { background: var(--dcm-dark); color: #fff; }
.dcm-btn--dark:hover { filter: brightness(1.25); color: #fff; }
.dcm-btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.dcm-btn--light:hover { background: rgba(255,255,255,.1); color: #fff; }
.dcm-btn--block { width: 100%; }
.dcm-btn--lg { padding: 15px 22px; font-size: 16px; }
.dcm-btn--sm { padding: 9px 14px; font-size: 14px; }
.dcm-btn[disabled] { opacity: .55; cursor: not-allowed; filter: none; }
.dcm-btn:focus-visible, .dcm-acc-h:focus-visible, .dcm-chip:focus-visible, .dcm-link:focus-visible { outline: 3px solid var(--dcm-primary); outline-offset: 2px; }
.dcm-link { display: inline-flex; align-items: center; gap: 6px; color: #b34000; font-weight: 600; font-size: 14px; }
.dcm-link:hover { text-decoration: underline; }

/* ---- Badges ---- */
.dcm-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dcm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.4; border: 1px solid transparent; }
.dcm-badge--live { background: #fff1e8; color: #b34000; border-color: #fbd3b8; }
.dcm-badge--soft { background: var(--dcm-soft); color: var(--dcm-dark); border-color: var(--dcm-line); }
.dcm-badge--green { background: #e7f5ee; color: var(--dcm-accent); border-color: #cfe9db; text-transform: none; letter-spacing: 0; }
.dcm-badge--closed { background: #eceae4; color: #555; }
.dcm-badge--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); text-transform: none; letter-spacing: 0; }
.dcm-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5341d; box-shadow: 0 0 0 3px rgba(229,52,29,.2); display: inline-block; }

/* ---- Price ---- */
.dcm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; }
.dcm-price-now { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.dcm-price--big .dcm-price-now { font-size: 36px; }
.dcm-price-old { color: var(--dcm-muted); font-size: 16px; }
.dcm-save { background: #e7f5ee; color: var(--dcm-accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; align-self: center; }

/* ---- Seats ---- */
.dcm-seats { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; margin: 4px 0; }
.dcm-pills { display: inline-flex; gap: 3px; }
.dcm-pills i { width: 9px; height: 17px; border-radius: 3px; background: #e4e1d8; display: block; }
.dcm-pills i.on { background: var(--dcm-primary); }
.dcm-seats-t { display: inline-flex; align-items: center; gap: 5px; }
.dcm-seats.is-fast .dcm-seats-t { color: #b34000; }

/* ---- Date box (reference style) ---- */
.dcm-datebox { display: inline-flex; flex: none; background: var(--dcm-dark); color: #fff; border-radius: 12px; overflow: hidden; align-self: flex-start; }
.dcm-datebox > div { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 14px; min-width: 64px; text-align: center; }
.dcm-datebox > div + div { border-left: 2px solid var(--dcm-bg-split, rgba(255,255,255,.14)); }
.dcm-datebox small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; line-height: 1.2; }
.dcm-datebox b { font-size: 22px; line-height: 1.2; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dcm-db-a b { color: #ffa36c; }

/* ---- Countdown ---- */
.dcm-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dcm-cd-box { background: var(--dcm-dark); color: #fff; border-radius: 12px; padding: 10px 4px 8px; text-align: center; }
.dcm-cd-box b { display: block; font-size: 26px; line-height: 1.1; font-weight: 700; color: #ff8a4d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.dcm-cd-box span { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.dcm-cd--pill { display: inline-block; background: var(--dcm-dark); color: #ff7a35; padding: 7px 13px; border-radius: 9px; font-weight: 600; font-size: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; line-height: 1.2; width: fit-content; }
.dcm-cd.is-ended { display: block; background: var(--dcm-soft); border: 1px dashed var(--dcm-line); color: var(--dcm-dark); border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-family: inherit; font-size: 15px; }
.dcm-cd--pill.is-ended { display: inline-block; padding: 7px 13px; }

/* ---- Cards (grid) ---- */
.dcm-grid { display: grid; grid-template-columns: repeat(var(--dcm-cols, 3), minmax(0, 1fr)); gap: 24px; }
.dcm-card { background: #fff; border: 1px solid var(--dcm-line); border-radius: var(--dcm-r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.dcm-card:hover { box-shadow: 0 14px 34px rgba(31,31,31,.1); transform: translateY(-2px); }
.dcm-card-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--dcm-soft); overflow: hidden; }
.dcm-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcm-card-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b9b5a8; }
.dcm-card-cat { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--dcm-dark); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.dcm-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dcm-card-title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.dcm-card-title a { color: inherit; }
.dcm-card-title a:hover { color: var(--dcm-primary); }
.dcm-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--dcm-muted); font-size: 14px; }
.dcm-card-meta li { display: inline-flex; align-items: center; gap: 6px; }
.dcm-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--dcm-line); display: flex; flex-direction: column; gap: 12px; }
.dcm-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dcm-card-btns .dcm-btn { padding: 11px 10px; }

/* ---- Batch rows (reference style) ---- */
.dcm-list { display: flex; flex-direction: column; gap: 16px; }
.dcm-row-card { display: grid; grid-template-columns: auto minmax(0, 1fr) 270px; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--dcm-line); border-radius: 20px; padding: 18px 20px; }
.dcm-row-card.is-live { border-left: 4px solid var(--dcm-primary); }
.dcm-row-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dcm-row-title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.dcm-row-title a { color: inherit; }
.dcm-row-title a:hover { color: var(--dcm-primary); }
.dcm-row-sub { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 2px; }
.dcm-row-side { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; border-left: 1px dashed var(--dcm-line); }

/* ---- Archive ---- */
.dcm-arch-hero { background: var(--dcm-dark); color: #fff; padding: 56px 0 48px; }
.dcm-arch-body { padding-top: 36px; padding-bottom: 64px; }
.dcm-filters { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.dcm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dcm-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--dcm-line); background: #fff; color: var(--dcm-dark); font-size: 14px; font-weight: 600; }
.dcm-chip:hover { border-color: var(--dcm-dark); }
.dcm-chip.is-on { background: var(--dcm-dark); border-color: var(--dcm-dark); color: #fff; }
.dcm-search { display: flex; gap: 8px; }
.dcm-search input[type=search] { padding: 9px 14px; border: 1px solid var(--dcm-line); border-radius: 10px; font: inherit; font-size: 14px; min-width: 220px; background: #fff; color: var(--dcm-ink); }
.dcm-pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.dcm-pg { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dcm-line); border-radius: 10px; color: var(--dcm-dark); font-weight: 600; background: #fff; }
.dcm-pg.is-on { background: var(--dcm-primary); border-color: var(--dcm-primary); color: #fff; }
.dcm-empty { padding: 28px; text-align: center; background: var(--dcm-soft, #f6f4ee); border-radius: 14px; color: #6b6a66; }

/* ---- Single: hero ---- */
.dcm-hero { position: relative; background: var(--dcm-dark); color: #fff; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.dcm-hero.has-img::before { content: ""; position: absolute; inset: 0; background-image: var(--dcm-hero-img); background-size: cover; background-position: center; opacity: .22; z-index: -1; }
.dcm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dcm-dark) 25%, rgba(0,0,0,0) 100%); z-index: -1; opacity: .85; }
.dcm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
.dcm-hero-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dcm-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.dcm-crumb a { color: rgba(255,255,255,.85); }
.dcm-crumb a:hover { color: #fff; text-decoration: underline; }
.dcm-crumb em { font-style: normal; color: rgba(255,255,255,.55); }
.dcm-h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: inherit; }
.dcm-hero .dcm-h1, .dcm-arch-hero .dcm-h1 { color: #fff; }
.dcm-subtitle { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: #ffb88f; line-height: 1.35; }
.dcm-lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 62ch; }
.dcm-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.dcm-facts li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; }
.dcm-fact-ico { color: #ff9a5c; margin-top: 2px; }
.dcm-facts small { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.dcm-facts b { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; }

/* ---- Enrollment card ---- */
.dcm-ecard { background: #fff; color: var(--dcm-ink); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.dcm-ecard-cd { display: flex; flex-direction: column; gap: 8px; }
.dcm-lbl { font-size: 13px; font-weight: 600; color: var(--dcm-muted); }
.dcm-enroll-wrap .dcm-ecard { box-shadow: 0 10px 30px rgba(31,31,31,.1); border: 1px solid var(--dcm-line); max-width: 420px; }
.dcm-hero-side { position: sticky; top: 24px; }

/* ---- Sections ---- */
.dcm-sec { padding: 64px 0; background: #fff; }
.dcm-sec--alt { background: var(--dcm-soft); }
.dcm-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dcm-sec-title { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.15; font-weight: 800; margin-bottom: 22px; color: var(--dcm-ink); }
.dcm-sec-head .dcm-sec-title { margin-bottom: 0; }
.dcm-sec-title--sm { font-size: 24px; }
.dcm-sec-sub { color: var(--dcm-muted); margin: -10px 0 26px; max-width: 60ch; }
.dcm-sub-title { font-size: 22px; font-weight: 700; margin: 44px 0 18px; }
.dcm-prose > * + * { margin-top: 14px; }
.dcm-prose { font-size: 17px; color: #3a3a37; }
.dcm-prose ul { list-style: disc; padding-left: 22px; }
.dcm-prose ol { padding-left: 22px; }
.dcm-prose a { color: #b34000; text-decoration: underline; }

.dcm-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.dcm-checklist--1 { grid-template-columns: 1fr; }
.dcm-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.dcm-checklist .dcm-ico { color: var(--dcm-accent); margin-top: 3px; }

.dcm-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dcm-benefit { background: #fff; border: 1px solid var(--dcm-line); border-radius: 16px; padding: 22px; }
.dcm-sec:not(.dcm-sec--alt) .dcm-benefit { background: var(--dcm-soft); border-color: transparent; }
.dcm-benefit-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--dcm-dark); color: #ff9a5c; margin-bottom: 14px; }
.dcm-benefit h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.dcm-benefit p { color: var(--dcm-muted); font-size: 15px; }

.dcm-info-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dcm-info { background: #fff; border: 1px solid var(--dcm-line); border-radius: 16px; overflow: hidden; }
.dcm-info > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 20px; border-top: 1px solid var(--dcm-line); }
.dcm-info > div:first-child { border-top: 0; }
.dcm-info dt { color: var(--dcm-muted); font-size: 15px; }
.dcm-info dd { font-weight: 600; text-align: right; }
.dcm-trainer { display: flex; gap: 18px; background: var(--dcm-dark); color: #fff; border-radius: 16px; padding: 24px; }
.dcm-trainer-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.dcm-trainer small { color: #ff9a5c; font-weight: 600; font-size: 13px; }
.dcm-trainer h3 { font-size: 20px; margin: 2px 0 6px; color: #fff; }
.dcm-trainer p { color: rgba(255,255,255,.78); font-size: 15px; }

/* ---- Accordion ---- */
.dcm-accs { display: flex; flex-direction: column; gap: 12px; }
.dcm-acc { border: 1px solid var(--dcm-line); border-radius: 14px; background: #fff; overflow: hidden; }
.dcm-sec--alt .dcm-acc { background: #fff; }
.dcm-acc-h { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; text-transform: none; }
.dcm-acc-n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--dcm-dark); color: #ff9a5c; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.dcm-acc-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dcm-acc-t b { font-size: 17px; font-weight: 700; line-height: 1.35; }
.dcm-acc-t small { color: var(--dcm-muted); font-size: 13px; }
.dcm-acc-i { flex: none; transition: transform .25s; color: var(--dcm-muted); display: inline-flex; }
.dcm-acc.is-open .dcm-acc-i { transform: rotate(180deg); }
.dcm-acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.dcm-acc.is-open .dcm-acc-b { grid-template-rows: 1fr; }
.dcm-acc-in { overflow: hidden; min-height: 0; padding: 0 20px; }
.dcm-acc.is-open .dcm-acc-in { padding-bottom: 20px; }
.dcm-acc-desc { color: var(--dcm-muted); margin-bottom: 12px; }
.dcm-lessons { display: flex; flex-direction: column; gap: 10px; }
.dcm-lessons li { display: flex; gap: 10px; align-items: flex-start; }
.dcm-lessons .dcm-ico { color: var(--dcm-primary); margin-top: 4px; }
.dcm-lessons b { display: block; font-weight: 600; }
.dcm-lessons em { display: block; font-style: normal; color: var(--dcm-muted); font-size: 14px; }

.dcm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dcm-panel { background: #fff; border: 1px solid var(--dcm-line); border-radius: 16px; padding: 26px; }
.dcm-panel .dcm-sec-title { margin-bottom: 16px; }

.dcm-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dcm-story { background: #fff; border: 1px solid var(--dcm-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dcm-story blockquote { font-size: 16px; line-height: 1.6; }
.dcm-story figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.dcm-story figcaption span { color: var(--dcm-muted); }

/* ---- Final CTA ---- */
.dcm-cta { background: var(--dcm-dark); color: #fff; padding: 72px 0; background-image: radial-gradient(circle at 85% 20%, rgba(242,106,33,.35), transparent 45%); }
.dcm-cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.dcm-cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; font-weight: 800; color: #fff; }
.dcm-cta p { color: rgba(255,255,255,.8); max-width: 56ch; font-size: 17px; }
.dcm-cta .dcm-price { justify-content: center; }
.dcm-cta .dcm-price-old { color: rgba(255,255,255,.55); }
.dcm-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.dcm-sticky { display: none; }

/* ---- Modal ---- */
.dcm-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dcm-modal-bg { position: absolute; inset: 0; background: rgba(15,15,15,.62); }
.dcm-modal-box { position: relative; background: #fff; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; border-radius: 20px; padding: 30px 28px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.dcm-modal-box h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; color: var(--dcm-ink); }
.dcm-modal-sub { color: var(--dcm-muted); font-size: 15px; margin-bottom: 18px; }
.dcm-modal-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--dcm-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--dcm-dark); padding: 0; }
.dcm-modal-x:hover { background: #e9e5d8; }
.dcm-lock { overflow: hidden; }
.dcm-form-fields { display: flex; flex-direction: column; gap: 14px; }
.dcm-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.dcm-field input, .dcm-field select, .dcm-field textarea { width: 100%; padding: 11px 13px; border: 1px solid #d8d4c7; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: var(--dcm-ink); max-width: none; margin: 0; }
.dcm-field input:focus, .dcm-field select:focus, .dcm-field textarea:focus { outline: 2px solid var(--dcm-primary); outline-offset: 1px; border-color: transparent; }
.dcm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dcm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dcm-form-msg { font-size: 14px; margin-top: 10px; }
.dcm-form-msg.is-error { color: #b32d2e; font-weight: 600; }
.dcm-form-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0 4px; }
.dcm-form-ok .dcm-ico { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: #e7f5ee; color: var(--dcm-accent); }
.dcm-form-ok p { font-size: 16px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.dcm-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
	.dcm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dcm-benefits, .dcm-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dcm-grid { --dcm-cols: 2 !important; }
	.dcm-row-card { grid-template-columns: auto minmax(0, 1fr); }
	.dcm-row-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 0 0; border-left: 0; border-top: 1px dashed var(--dcm-line); }
	.dcm-row-side .dcm-price { margin-right: auto; }
	.dcm-row-side .dcm-btn--block { width: auto; }
}
@media (max-width: 820px) {
	.dcm-hero-grid { grid-template-columns: 1fr; }
	.dcm-hero-side { position: static; }
	.dcm-info-grid, .dcm-two { grid-template-columns: 1fr; }
	.dcm-sec { padding: 46px 0; }
}
@media (max-width: 640px) {
	.dcm-grid { --dcm-cols: 1 !important; }
	.dcm-benefits, .dcm-stories, .dcm-checklist { grid-template-columns: 1fr; }
	.dcm-facts { grid-template-columns: 1fr; }
	.dcm-row-card { grid-template-columns: 1fr; padding: 16px; }
	.dcm-row-side .dcm-btn--block { width: 100%; }
	.dcm-field-row { grid-template-columns: 1fr; }
	.dcm-modal-box { padding: 26px 18px 20px; }
	.dcm-search { width: 100%; }
	.dcm-search input[type=search] { flex: 1; min-width: 0; }
	.dcm-card-btns { grid-template-columns: 1fr; }
	.dcm-single { padding-bottom: 76px; }
	.dcm-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--dcm-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
	.dcm-sticky .dcm-price-now { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.dcm *, .dcm-card { transition: none !important; }
}
