/* ==========================================================================
   On-demand booking — STEP 2 (Date & Time) redesign.
   Loaded on step 1 and step 2 (see frontend/ondemand/ondemandSection.blade.php).
   Page-level rules (hero, cards, pickers) are scoped under .sd2-page (step 2 only).
   The Booking Summary card rules are scoped under .sdsum, which is on the section for
   steps 1 and 2, so both steps share the same summary design. Step 3 is untouched.

   NOTE: public/assets/css/style.css force-resets `a, button { color: inherit !important }`
   and `h1 { font-family: GLITTEN !important }`, so link/button colours and the hero
   heading font below carry !important on purpose.
   ========================================================================== */

.sd2-page, .sdsum {
    --sd2-navy: #0b3f7a;
    --sd2-navy-2: #0a3466;
    --sd2-blue: #0a63c9;
    --sd2-ink: #0d2a4a;
    --sd2-muted: #6b7a8d;
    --sd2-border: #e3eaf3;
    --sd2-tint: #eaf2fb;
    --sd2-chip: #f4f6f9;
}
.sd2-page {
    background: #fff !important;
    padding: 0 0 56px !important;
    font-family: 'Poppins', sans-serif;
}
.sd2-page *, .sd2-page *::before, .sd2-page *::after { box-sizing: border-box; }
/* the theme adds letter-spacing to headings/buttons; the design uses normal tracking */
.sd2-page * { letter-spacing: normal; }
.sdsum .uc-sidebar-card, .sdsum .uc-sidebar-card * { box-sizing: border-box; letter-spacing: normal; }

/* currency sits after the amount, smaller (the symbol is an RTL Arabic string) */
.sdsum .sd2-cur {
    display: inline-block;
    margin-left: 4px;
    font: 600 .62em/1 system-ui, 'Segoe UI', 'Noto Sans Arabic', Arial, sans-serif;
    unicode-bidi: isolate;
    vertical-align: baseline;
    letter-spacing: 0;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.sd2-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #0a3560 0%, #0c4d85 48%, #2a7bb8 100%);
    color: #fff;
    /* the theme's fixed-top navbar (~104px) overlaps the first ~24px of the page, hence the extra top padding */
    padding: 50px 0 74px;
}
.sd2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(55% 130% at 82% 0%, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 62%);
    pointer-events: none;
}
.sd2-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}
.sd2-hero-left { min-width: 0; }
.sd2-hero .sd2-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 14px;
}
.sd2-hero .sd2-back:hover { color: #fff !important; opacity: .85; }
.sd2-hero h1.sd2-title {
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-transform: none !important;
    letter-spacing: 0;
}
.sd2-hero p.sd2-sub {
    margin: 0;
    max-width: 520px;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .92);
}

/* stepper */
.sd2-steps { display: flex; align-items: flex-start; justify-content: center; }
.sd2-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 112px;
    white-space: nowrap;
    color: rgba(255, 255, 255, .78) !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}
.sd2-step-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(255, 255, 255, .55);
}
.sd2-step.is-done .sd2-step-dot {
    background: #fff;
    color: var(--sd2-blue);
    border-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.sd2-step.is-active { color: #fff !important; font-weight: 600; }
.sd2-step.is-active .sd2-step-dot {
    background: var(--sd2-blue);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .22), 0 8px 18px rgba(0, 0, 0, .22);
}
.sd2-step.is-done { color: #fff !important; }
.sd2-step-line {
    flex: 0 0 40px;
    height: 2px;
    margin-top: 24px;
    background: rgba(255, 255, 255, .45);
    position: relative;
}
.sd2-step-line.is-done { background: #fff; }
.sd2-step-line.is-half::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
}

/* illustration */
.sd2-hero-art {
    position: relative;
    height: 110px;
    justify-self: end;
    width: 100%;
    max-width: 470px;
}
.sd2-hero-art svg {
    position: absolute;
    right: -10px;
    top: -34px;
    width: 100%;
    max-width: 470px;
    height: auto;
}

/* ── White sheet that overlaps the hero ───────────────────────────────── */
.sd2-sheet {
    position: relative;
    z-index: 3;
    margin-top: -38px;
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 24px 0 8px;
}

/* ── Cards ────────────────────────────────────────────────────────────── */
/* the theme adds `padding: 10px 20px` to #step-2-ondemand */
.sd2-page #step-2-ondemand { padding: 0 !important; }
.sd2-card {
    background: #fff;
    border: 1px solid var(--sd2-border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(16, 52, 96, .06);
    overflow: hidden;
    margin-bottom: 20px;
}
.sd2-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--sd2-border);
}
.sd2-head-ic {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--sd2-tint);
    color: var(--sd2-navy);
    display: grid;
    place-items: center;
    font-size: 22px;
}
.sd2-head-text { min-width: 0; }
.sd2-head-text h4 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--sd2-ink);
    line-height: 1.3;
}
.sd2-head-text p {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--sd2-muted);
    line-height: 1.45;
}
.sd2-page button.sd2-same-all {
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid #cfd9e6;
    border-radius: 8px;
    background: #fff;
    color: var(--sd2-ink) !important;
    font: 500 13.5px 'Poppins', sans-serif;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.sd2-page button.sd2-same-all:hover { background: var(--sd2-tint); border-color: var(--sd2-navy); color: var(--sd2-navy) !important; }

/* ── Product row ──────────────────────────────────────────────────────── */
.sd2-prod {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    border-bottom: 1px solid var(--sd2-border);
    scroll-margin-top: 90px;
}
.sd2-prod:last-of-type { border-bottom: 0; }
.sd2-prod.is-pulse { animation: sd2pulse 1.4s ease; }
@keyframes sd2pulse { 0%, 100% { background: transparent; } 25% { background: var(--sd2-tint); } }
.sd2-prod-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sd2-prod-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    background: #f1f5fa;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #9db0c6;
    font-size: 30px;
}
.sd2-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: static !important;
}
.sd2-prod-meta { min-width: 0; }
.sd2-prod-name {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--sd2-ink);
    line-height: 1.35;
    word-break: break-word;
}
.sd2-prod-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--sd2-muted); line-height: 1.4; }
.sd2-prod-price {
    margin-top: 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--sd2-blue);
    line-height: 1.1;
}
.sd2-prod-price small { font-size: 12px; font-weight: 600; margin-left: 3px; }
.sd2-prod-qty { font-size: 12px; font-weight: 600; color: var(--sd2-muted); margin-left: 6px; }

.sd2-prod-sched { min-width: 0; }
.sd2-block-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sd2-ink);
}
.sd2-block-title i { color: var(--sd2-navy); font-size: 15px; width: 18px; text-align: center; }
.sd2-block-title.is-time { margin-top: 20px; }

/* date strip */
.sd2-dates { display: flex; align-items: center; gap: 10px; }
.sd2-page button.sd2-nav {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #cfd9e6;
    background: #fff;
    color: var(--sd2-ink) !important;
    display: grid;
    place-items: center;
    font-size: 11px;
    cursor: pointer;
    transition: opacity .15s, border-color .15s;
}
.sd2-page button.sd2-nav:hover { border-color: var(--sd2-navy); color: var(--sd2-navy) !important; }
.sd2-page button.sd2-nav[disabled] { opacity: .35; cursor: default; }
.sd2-date-track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 3px 2px;
}
.sd2-date-track::-webkit-scrollbar { display: none; }
.sd2-dates { --sd2-n: 7; }
.sd2-date-item { flex: 0 0 calc((100% - 9px * (var(--sd2-n) - 1)) / var(--sd2-n)); min-width: 0; position: relative; }

/* Hide the native radios; labels are the visual controls. */
.sd2-page .sd2-date-item input[type="radio"],
.sd2-page .sd2-slots input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    pointer-events: none;
}
.sd2-page label.sd2-date-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    height: 66px;
    margin: 0;
    border: 1px solid var(--sd2-border);
    border-radius: 8px;
    background: #fff;
    color: var(--sd2-ink);
    cursor: pointer;
    text-align: center;
    line-height: 1.15;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.sd2-page label.sd2-date-chip span {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.15 !important;
    border-radius: 0 !important;
    display: block !important;
}
.sd2-date-chip .dow, .sd2-date-chip .mon { font-size: 11.5px; font-weight: 500; opacity: .9; }
.sd2-date-chip .day { font-size: 19px !important; font-weight: 700; }
.sd2-page label.sd2-date-chip:hover { border-color: var(--sd2-navy); }
.sd2-page .sd2-date-item input:checked + label.sd2-date-chip {
    background: var(--sd2-navy);
    border-color: var(--sd2-navy);
    color: #fff;
    box-shadow: 0 6px 14px rgba(11, 63, 122, .28);
}
.sd2-page .sd2-date-item input:focus-visible + label.sd2-date-chip,
.sd2-page .sd2-slots input:focus-visible + label .customCheckbox { outline: 2px solid var(--sd2-blue); outline-offset: 2px; }
.sd2-empty-dates { font-size: 13px; color: var(--sd2-muted); margin: 0; }

/* time slots (markup comes from time-slots-for-date / dispatcher_agent_slots partials) */
.sd2-page .sd2-prod-sched .booking-time-wrapper,
.sd2-page .sd2-prod-sched .uc-time-slots-wrapper {
    padding: 0 !important;
    border: 0 !important;
    margin: 0;
}
.sd2-page .sd2-prod-sched .uc-time-slots-wrapper > h4,
.sd2-page .sd2-prod-sched .uc-time-slots-wrapper > p[id^="message_of_time"] { display: none !important; }
/* exactly two rows of chips (2 x 36px + 10px gap + 4px padding); any further slots scroll */
.sd2-page .sd2-slots-scroll { max-height: 86px; overflow-y: auto; padding: 2px 4px 2px 2px; margin: -2px; scrollbar-width: thin; scrollbar-color: #c3d0e0 transparent; }
.sd2-page .sd2-slots-scroll::-webkit-scrollbar { width: 6px; }
.sd2-page .sd2-slots-scroll::-webkit-scrollbar-thumb { background: #c3d0e0; border-radius: 6px; }
.sd2-page .sd2-prod-sched .radio-btns { margin: 0; }
.sd2-page .sd2-prod-sched .alCustomHomeServiceRadio.SlotItems {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    overflow: visible !important;
    white-space: normal !important;
    width: 100%;
}
.sd2-page .sd2-prod-sched .SlotItems .item {
    display: block !important;
    margin: 0 !important;
    min-width: 0;
    position: relative;
}
.sd2-page .sd2-prod-sched .SlotItems .radios { text-align: left; }
.sd2-page .sd2-prod-sched .SlotItems label { display: block; margin: 0 !important; width: 100%; cursor: pointer; }
.sd2-page .sd2-prod-sched .SlotItems label .customCheckbox,
.sd2-page .sd2-prod-sched .SlotItems label span.customCheckbox {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 1px solid var(--sd2-border) !important;
    border-radius: 7px !important;
    background: var(--sd2-chip) !important;
    color: #2a3b52 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px !important;
    font-weight: 500;
    line-height: 1.3 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .15s, color .15s, border-color .15s;
}
.sd2-page .sd2-prod-sched .SlotItems label:hover .customCheckbox { border-color: var(--sd2-navy) !important; }
.sd2-page .sd2-prod-sched .SlotItems input[type="radio"]:checked + label .customCheckbox,
.sd2-page .sd2-prod-sched .SlotItems input[type="radio"].ondemand_checked + label .customCheckbox,
.sd2-page .sd2-prod-sched .SlotItems .checked_item input[type="radio"] + label .customCheckbox {
    background: var(--sd2-navy) !important;
    border-color: var(--sd2-navy) !important;
    color: #fff !important;
}
.sd2-page .sd2-prod-sched .SlotItems h5 { font-size: 13px; color: var(--sd2-muted); margin: 0; grid-column: 1 / -1; }

/* ── Booking Summary (right card) ─────────────────────────────────────── */
.sdsum .uc-sidebar-card {
    border: 1px solid var(--sd2-border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(16, 52, 96, .06);
    top: 124px; /* stay below the ~104px fixed navbar while sticky */
}
.sd2-sum-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--sd2-border); }
.sd2-sum-head .sd2-head-ic { width: 42px; height: 42px; font-size: 18px; border-radius: 10px; }
.sd2-sum-head h5 {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: var(--sd2-ink) !important;
    text-transform: none !important;
}
.sdsum .uc-cart-body { min-height: 0; }
.sdsum #header_cart_main_ul_ondemand.sd2-sum-list { padding: 4px 22px 16px; margin: 0; list-style: none; }
.sdsum #header_cart_main_ul_ondemand .sd2-sum-item {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    column-gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--sd2-border);
    list-style: none;
}
.sd2-sum-thumb {
    width: 66px;
    height: 66px;
    border-radius: 10px;
    background: #f1f5fa;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #9db0c6;
    font-size: 24px;
}
.sd2-sum-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd2-sum-main { min-width: 0; }
.sd2-sum-name { font-size: 14.5px; font-weight: 600; color: var(--sd2-ink); line-height: 1.35; word-break: break-word; }
.sd2-sum-vsub { font-size: 12.5px; color: var(--sd2-muted); line-height: 1.35; margin-top: 1px; }
.sd2-sum-when { display: flex; align-items: center; gap: 9px; margin-top: 7px; font-size: 13px; color: #2a3b52; line-height: 1.3; }
.sd2-sum-when i { width: 15px; text-align: center; color: var(--sd2-muted); font-size: 13.5px; }
.sd2-sum-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.sdsum #header_cart_main_ul_ondemand a.sd2-sum-edit {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--sd2-blue) !important;
    font-size: 14px;
    text-decoration: none !important;
}
.sdsum #header_cart_main_ul_ondemand a.sd2-sum-edit:hover { background: var(--sd2-tint); color: var(--sd2-navy) !important; }
.sd2-sum-price { font-size: 16px; font-weight: 700; color: var(--sd2-ink); white-space: nowrap; }
.sd2-sum-addons { grid-column: 2 / -1; margin-top: 8px; font-size: 12px; color: var(--sd2-muted); }
.sd2-sum-addons div { display: flex; justify-content: space-between; gap: 8px; padding: 1px 0; }
.sdsum #header_cart_main_ul_ondemand li.sd2-sum-warn {
    padding: 12px 0 0;
    font-size: 12px;
    color: #c0392b;
    border: 0;
    list-style: none;
}
.sdsum #header_cart_main_ul_ondemand li.sd2-price-title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 18px 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sd2-ink);
    list-style: none;
    border: 0;
}
.sd2-price-title i { color: var(--sd2-navy); font-size: 16px; width: 18px; text-align: center; }
.sdsum #header_cart_main_ul_ondemand li.sd2-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--sd2-muted);
    list-style: none;
    border: 0;
}
.sd2-price-row span:last-child { color: var(--sd2-ink); font-weight: 500; }
.sdsum #header_cart_main_ul_ondemand li.sd2-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 12px 0 4px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #e8f1fb;
    list-style: none;
}
.sd2-total span:first-child { font-size: 15px; font-weight: 700; color: var(--sd2-ink); }
.sd2-total span:last-child { font-size: 22px; font-weight: 700; color: var(--sd2-blue); white-space: nowrap; }

/* footer buttons */
.sdsum .uc-sidebar-footer {
    border-top: 0;
    padding: 12px 22px 22px;
    gap: 12px;
}
.sdsum .uc-sidebar-footer .btn-uc-nav {
    height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0;
    justify-content: center;
    gap: 10px;
}
.sdsum .uc-sidebar-footer .btn-uc-nav.back {
    background: #fff;
    border: 1px solid #cfd9e6;
    color: var(--sd2-ink) !important;
    box-shadow: 0 2px 6px rgba(16, 52, 96, .06);
}
.sdsum .uc-sidebar-footer .btn-uc-nav.back:hover { background: var(--sd2-tint); border-color: var(--sd2-navy); }
.sdsum .uc-sidebar-footer .btn-uc-nav.next {
    flex: 1 1 auto;
    margin-left: 0;
    background: var(--sd2-navy);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(11, 63, 122, .28);
}
.sdsum .uc-sidebar-footer .btn-uc-nav.next:hover { background: var(--sd2-navy-2); opacity: 1; }
.sdsum .uc-sidebar-footer .btn-uc-nav i { font-size: 13px !important; }

/* ── Step 1 summary extras (services list without date/time) ─────────── */
.sdsum #header_cart_main_ul_ondemand li.sd1-sum-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 2px;
    font-size: 13px;
    color: var(--sd2-muted);
    list-style: none;
    border: 0;
}
.sd1-sum-count b {
    min-width: 26px;
    text-align: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--sd2-tint);
    color: var(--sd2-navy);
    font-weight: 600;
}
.sdsum #header_cart_main_ul_ondemand a.sd1-sum-remove {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #7d8ea3 !important;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.sdsum #header_cart_main_ul_ondemand a.sd1-sum-remove:hover { background: #fdecea; color: #c0392b !important; }
.sd1-sum-qty { font-size: 12px; font-weight: 600; color: var(--sd2-muted); margin-left: 6px; }
.sdsum #header_cart_main_ul_ondemand .sd1-sum-item .sd2-sum-side { gap: 10px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1399px) { .sd2-dates { --sd2-n: 6; } }
@media (max-width: 1199px) { .sd2-dates { --sd2-n: 7; } }
@media (max-width: 575px) {
    .sd2-dates { --sd2-n: 4; }
    .sdsum .uc-sidebar-footer { padding: 12px 16px 18px; gap: 10px; }
    .sdsum .uc-sidebar-footer .btn-uc-nav { padding: 0 14px; font-size: 13.5px; white-space: nowrap; }
    .sdsum #header_cart_main_ul_ondemand.sd2-sum-list { padding-left: 16px; padding-right: 16px; }
    .sd2-sum-head, .sd2-card-head { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1199px) {
    .sd2-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .sd2-hero-art { display: none; }
    .sd2-steps { justify-content: flex-start; }
    .sd2-prod { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 991px) {
    .sdsum .uc-sidebar-card { position: static; margin-top: 4px; }
    .sd2-hero h1.sd2-title { font-size: 30px; }
}
@media (max-width: 767px) {
    .sd2-hero { padding: 20px 0 66px; }
    .sd2-hero-inner { padding: 0 16px; }
    .sd2-hero h1.sd2-title { font-size: 25px; }
    .sd2-step { width: 78px; font-size: 12px; white-space: normal; }
    .sd2-step-dot { width: 42px; height: 42px; font-size: 16px; }
    .sd2-step-line { flex-basis: 30px; margin-top: 20px; }
    .sd2-card-head { flex-wrap: wrap; padding: 16px; }
    .sd2-page button.sd2-same-all { margin-left: 0; }
    .sd2-prod { padding: 18px 16px; }
    .sd2-page .sd2-prod-sched .alCustomHomeServiceRadio.SlotItems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
