/* =========================================================================
   CONTENTS
   ---------------------------------------------------------------------
   1.  TOKENS
   2.  RADIUS AND SHADOW UTILITIES
   3.  TYPOGRAPHY
   4.  MARGIN AND PADDING UTILITIES
   5.  BUTTONS AND BADGES
   6.  CARDS / VISUAL BLOCKS
   7.  OTHER STYLES (hero, cta, section-green, stat-grid, grid-icons,
       media/image-text block, blur-decor, contact-card)
   8.  FORMS
   9.  PAGE-SPECIFIC: CONTACT
   10. ACCORDION
   11. PAGE-SPECIFIC: PRICING
   12. TIMELINE
   13. BLOG
   14. PAGE-SPECIFIC: CAREER
   15. PAGE-SPECIFIC: NOT FOUND (404)
   16. PAGE-SPECIFIC: OUR PRODUCTS / PORTAL
   17. PAGE-SPECIFIC: HOMEPAGE (Default.aspx)
   18. PAGE-SPECIFIC: COURSES / INDIVIDUAL (Courses/Individual.aspx)
   19. DATA GRID (GridControl lists, opt-in via CssClass="ds-grid") + FILTER PANEL
   20. PAGE-SPECIFIC: PARTNER MARGIN (Partner/PartnerMargin.aspx) + general ds-savebar
   21. PAGE-SPECIFIC: PARTNER OFFER TEMPLATES (Partner/PartnerOfferTemplates.aspx)
   ---------------------------------------------------------------------
   Sections 1-8, 10, 12, 13 and 19 are general/reusable across any page.
   Sections 9, 11, 14, 15, 16, 17, 18, 20 and 21 are page-specific but still live here (not
   in Main.css) per project convention - reuse general components first
   before adding a new page-specific class.
   ========================================================================= */

/* =========================================================================
   1. TOKENS
   ========================================================================= */

:root {
    --ds-color-primary: #2FA15E;
    --ds-color-primary-light: #3DBE73;
    --ds-color-primary-hover: #21884D;
    --ds-color-text: #252525;
    --ds-color-text-muted: #464d5e;
    --ds-color-white: #FFFFFF;
    --ds-color-border: #E8E8E8;
    --ds-color-badge: #FDBD2C;
}

[class^="ds-"],
[class*=" ds-"] {
    font-family: 'Poppins', sans-serif;
}

/* =========================================================================
   2. RADIUS AND SHADOW UTILITIES
   ========================================================================= */

.ds-radius-sm { border-radius: 15px; }
.ds-radius-md { border-radius: 20px; }
.ds-radius-lg { border-radius: 25px; }
.ds-radius-pill { border-radius: 999px; }

.ds-shadow { box-shadow: 0 0 25px rgba(0, 0, 0, 0.12); }

/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */

.ds-title-1 {
    font-weight: 800;
    font-size: 42px;
    line-height: 1.3;
    color: var(--ds-color-text);
    text-align: center;
    margin: 0;
}

.ds-title-2 {
    font-weight: 800;
    font-size: 36px;
    line-height: 1.3;
    color: var(--ds-color-text);
    text-align: center;
    margin: 0;
}

.ds-title-3 {
    font-weight: 800;
    font-size: 26px;
    line-height: 1.3;
    color: var(--ds-color-text);
    text-align: center;
    margin: 0;
}

@media (max-width: 767px) {
    .ds-title-1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .ds-title-2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .ds-title-3 {
        font-size: 20px;
        line-height: 1.2;
    }

    .ds-eyebrow {
        font-size: 15px;
    }
}

.ds-title-1.ds-align-left,
.ds-title-2.ds-align-left,
.ds-title-3.ds-align-left {
    text-align: left;
}

.ds-title-1--primary {
    color: var(--ds-color-primary);
}

.ds-subtitle.ds-align-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.ds-break-desktop {
    display: inline;
}

@media (max-width: 767px) {
    .ds-break-desktop {
        display: none;
    }
}

.ds-eyebrow {
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--ds-color-primary);
    margin-bottom: 7px;
}

.ds-subtitle {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ds-color-text);
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.ds-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ds-color-text);
}

.ds-text.ds-align-center {
    text-align: center;
}

/* Highlighted word or line inside a title (e.g. the second line of a two-line heading). */
.ds-text-primary {
    color: var(--ds-color-primary);
}

/* Bold inside light (300) body text: the browser's "bolder" only reaches 400,
   which reads as regular. */
.ds-text strong,
.ds-card-text strong {
    font-weight: 600;
}

/* =========================================================================
   4. MARGIN AND PADDING UTILITIES
   ========================================================================= */

.ds-mt-5 { margin-top: 5px; }
.ds-mt-10 { margin-top: 10px; }
.ds-mt-20 { margin-top: 20px; }
.ds-mt-30 { margin-top: 30px; }
.ds-mt-40 { margin-top: 40px; }
.ds-mt-50 { margin-top: 50px; }
.ds-mt-60 { margin-top: 60px; }
.ds-mt-70 { margin-top: 70px; }
.ds-mt-80 { margin-top: 80px; }
.ds-mt-90 { margin-top: 90px; }
.ds-mt-100 { margin-top: 100px; }

.ds-mb-5 { margin-bottom: 5px; }
.ds-mb-10 { margin-bottom: 10px; }
.ds-mb-20 { margin-bottom: 20px; }
.ds-mb-30 { margin-bottom: 30px; }
.ds-mb-40 { margin-bottom: 40px; }
.ds-mb-50 { margin-bottom: 50px; }
.ds-mb-60 { margin-bottom: 60px; }
.ds-mb-70 { margin-bottom: 70px; }
.ds-mb-80 { margin-bottom: 80px; }
.ds-mb-90 { margin-bottom: 90px; }
.ds-mb-100 { margin-bottom: 100px; }

.ds-ml-5 { margin-left: 5px; }
.ds-ml-10 { margin-left: 10px; }
.ds-ml-20 { margin-left: 20px; }
.ds-ml-30 { margin-left: 30px; }
.ds-ml-40 { margin-left: 40px; }
.ds-ml-50 { margin-left: 50px; }
.ds-ml-60 { margin-left: 60px; }
.ds-ml-70 { margin-left: 70px; }
.ds-ml-80 { margin-left: 80px; }
.ds-ml-90 { margin-left: 90px; }
.ds-ml-100 { margin-left: 100px; }

.ds-mr-5 { margin-right: 5px; }
.ds-mr-10 { margin-right: 10px; }
.ds-mr-20 { margin-right: 20px; }
.ds-mr-30 { margin-right: 30px; }
.ds-mr-40 { margin-right: 40px; }
.ds-mr-50 { margin-right: 50px; }
.ds-mr-60 { margin-right: 60px; }
.ds-mr-70 { margin-right: 70px; }
.ds-mr-80 { margin-right: 80px; }
.ds-mr-90 { margin-right: 90px; }
.ds-mr-100 { margin-right: 100px; }

.ds-pt-5 { padding-top: 5px; }
.ds-pt-10 { padding-top: 10px; }
.ds-pt-20 { padding-top: 20px; }
.ds-pt-30 { padding-top: 30px; }
.ds-pt-40 { padding-top: 40px; }
.ds-pt-50 { padding-top: 50px; }
.ds-pt-60 { padding-top: 60px; }
.ds-pt-70 { padding-top: 70px; }
.ds-pt-80 { padding-top: 80px; }
.ds-pt-90 { padding-top: 90px; }
.ds-pt-100 { padding-top: 100px; }

.ds-pb-5 { padding-bottom: 5px; }
.ds-pb-10 { padding-bottom: 10px; }
.ds-pb-20 { padding-bottom: 20px; }
.ds-pb-30 { padding-bottom: 30px; }
.ds-pb-40 { padding-bottom: 40px; }
.ds-pb-50 { padding-bottom: 50px; }
.ds-pb-60 { padding-bottom: 60px; }
.ds-pb-70 { padding-bottom: 70px; }
.ds-pb-80 { padding-bottom: 80px; }
.ds-pb-90 { padding-bottom: 90px; }
.ds-pb-100 { padding-bottom: 100px; }

.ds-pl-5 { padding-left: 5px; }
.ds-pl-10 { padding-left: 10px; }
.ds-pl-20 { padding-left: 20px; }
.ds-pl-30 { padding-left: 30px; }
.ds-pl-40 { padding-left: 40px; }
.ds-pl-50 { padding-left: 50px; }
.ds-pl-60 { padding-left: 60px; }
.ds-pl-70 { padding-left: 70px; }
.ds-pl-80 { padding-left: 80px; }
.ds-pl-90 { padding-left: 90px; }
.ds-pl-100 { padding-left: 100px; }

.ds-pr-5 { padding-right: 5px; }
.ds-pr-10 { padding-right: 10px; }
.ds-pr-20 { padding-right: 20px; }
.ds-pr-30 { padding-right: 30px; }
.ds-pr-40 { padding-right: 40px; }
.ds-pr-50 { padding-right: 50px; }
.ds-pr-60 { padding-right: 60px; }
.ds-pr-70 { padding-right: 70px; }
.ds-pr-80 { padding-right: 80px; }
.ds-pr-90 { padding-right: 90px; }
.ds-pr-100 { padding-right: 100px; }

/* =========================================================================
   5. BUTTONS AND BADGES
   ========================================================================= */

.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 20px;
    border-radius: 15px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    background-size: 200% 100%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.5s ease, color 0.3s ease;
}

    .ds-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .ds-btn:focus {
        outline: none;
        text-decoration: none;
    }

/* compact button for tight places (grid cells, e.g. Fakturace "Zaplatit") */
.ds-btn-sm {
    height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 14px;
    gap: 6px;
}

.ds-btn-lg {
    height: 64px;
    padding: 0 40px;
    border-radius: 20px;
    font-size: 18px;
    gap: 12px;
}

.ds-btn-primary {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(90deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 50%, var(--ds-color-primary-hover) 100%);
    background-size: 100% 100%, 200% 100%;
    background-position: 0 0, 0% 0%;
    background-repeat: no-repeat, no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px rgba(47, 161, 94, 0.25);
    color: var(--ds-color-white);
}

    .ds-btn-primary:hover,
    .ds-btn-primary:focus {
        background-position: 0 0, 98% 0%;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px rgba(47, 161, 94, 0.32);
        color: var(--ds-color-white);
    }

.ds-btn-lg.ds-btn-primary {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 28px rgba(47, 161, 94, 0.30);
}

    .ds-btn-lg.ds-btn-primary:hover,
    .ds-btn-lg.ds-btn-primary:focus {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 32px rgba(47, 161, 94, 0.40);
    }

.ds-btn-black {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(47, 161, 94, 0.12);
    color: var(--ds-color-text);
}

    .ds-btn-black:hover,
    .ds-btn-black:focus {
        background: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(47, 161, 94, 0.18);
        color: var(--ds-color-text);
    }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-btn-black {
        background: rgba(255, 255, 255, 0.95);
    }
}

.ds-btn-white {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 3px rgba(0, 0, 0, 0.03);
    color: var(--ds-color-text);
}

    .ds-btn-white:hover,
    .ds-btn-white:focus {
        background: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        box-shadow: inset 0 1px 0 #fff, inset 0 -1px 3px rgba(0, 0, 0, 0.05);
        color: #000000;
    }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-btn-white {
        background: rgba(255, 255, 255, 0.97);
    }
}

/* outline button for light surfaces (cards, panels) where ds-btn-white has no visible edge;
   --danger for destructive actions (Smazat obrazek) */
.ds-btn-outline {
    border: 1.5px solid rgba(47, 161, 94, 0.55);
    background: var(--ds-color-white);
    box-shadow: none;
    color: var(--ds-color-primary-hover);
}

    .ds-btn-outline:hover,
    .ds-btn-outline:focus {
        border-color: var(--ds-color-primary);
        background: rgba(47, 161, 94, 0.07);
        color: var(--ds-color-primary-hover);
    }

.ds-btn-outline--danger {
    border-color: rgba(229, 72, 77, 0.5);
    color: #C9363B;
}

    .ds-btn-outline--danger:hover,
    .ds-btn-outline--danger:focus {
        border-color: #E5484D;
        background: rgba(229, 72, 77, 0.07);
        color: #C9363B;
    }

.ds-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 12px 25px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(255, 207, 82, 0.95), rgba(253, 189, 44, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 400;
}

.ds-badge-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(255, 207, 82, 0.95), rgba(253, 189, 44, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.ds-badge-sm--white {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-badge-sm--white {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* =========================================================================
   6. CARDS / VISUAL BLOCKS
   ========================================================================= */

.ds-card {
    background: var(--ds-color-white);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
    padding: 35px 45px;
    color: var(--ds-color-text);
}

.ds-card--lg {
    border-radius: 25px;
    padding: 50px 45px;
}

/* Card whose last child (usually a button wrapper) sits at the bottom, so cards of
   different text length in one grid row line their buttons up. Its margin-top is auto, so
   put the gap on that last child as padding (e.g. <div class="ds-pt-30">). Margins on the
   previous ds-card-text/ds-card-title don't work: those classes reset their own margins. */
.ds-card--stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ds-card--stack > :last-child {
    margin-top: auto;
}

.ds-card--glass {
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(20, 60, 35, 0.04);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-card--glass {
        background: rgba(255, 255, 255, 0.88);
    }
}

.ds-card--highlighted {
    position: relative;
    overflow: hidden;
    padding-top: 55px;
    background: rgba(255, 210, 90, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(253, 189, 44, 0.25);
}

.ds-card--highlighted-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255, 207, 82, 0.95), rgba(253, 189, 44, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ds-card-title {
    font-weight: 700;
    font-size: 23px;
    line-height: 1.3;
    color: var(--ds-color-text);
    margin-top: 0;
    margin-bottom: 12px;
}

.ds-card-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ds-color-text);
    margin-bottom: 0;
}

/* Link card: the whole card is one <a> with an icon tile + ds-card-title/ds-card-text.
   Surface comes from "ds-card ds-glass" in markup. Used by the TechSupport hub
   (inside ds-link-list). */
.ds-link-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

a.ds-link-card {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--ds-color-text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

    a.ds-link-card:hover,
    a.ds-link-card:focus {
        color: var(--ds-color-text);
        text-decoration: none;
    }

    a.ds-link-card:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 30px rgba(20, 60, 35, 0.1);
    }

    a.ds-link-card:focus-visible {
        outline: 3px solid rgba(47, 161, 94, 0.45);
        outline-offset: 3px;
    }

.ds-link-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 136, 77, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(47, 161, 94, 0.25);
    color: var(--ds-color-white);
    transition: background-color .2s ease;
}

    .ds-link-card-icon svg {
        width: 30px;
        height: 30px;
    }

    a.ds-link-card:hover .ds-link-card-icon {
        background: var(--ds-color-primary);
    }

.ds-link-card-body {
    flex: 1 1 auto;
    min-width: 0;
}

a.ds-link-card .ds-card-title {
    margin-bottom: 6px;
    transition: color .2s ease;
}

    a.ds-link-card:hover .ds-card-title {
        color: var(--ds-color-primary-hover);
    }

/* small "opens in a new window" mark after the title */
.ds-link-card-external {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    color: var(--ds-color-text-muted);
    vertical-align: baseline;
}

@media (max-width: 767px) {
    a.ds-link-card {
        align-items: flex-start;
        gap: 18px;
    }

    a.ds-link-card.ds-card {
        padding: 22px 20px;
    }

    .ds-link-card-icon {
        width: 48px;
        height: 48px;
    }

        .ds-link-card-icon svg {
            width: 24px;
            height: 24px;
        }

    a.ds-link-card .ds-card-title {
        font-size: 19px;
    }

    a.ds-link-card .ds-card-text {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    a.ds-link-card,
    a.ds-link-card:hover {
        transition: none;
        transform: none;
    }
}

/* =========================================================================
   7. OTHER STYLES
   ========================================================================= */

.ds-blur-decor {
    position: relative;
    overflow: hidden;
    contain: paint;
    z-index: 0;
    background: linear-gradient(0deg, #E8E8E8 0%, #FFFFFF 100%);
}

.ds-blur-decor-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 350px;
    z-index: -1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0s;
}

.ds-blur-decor-2 {
    position: absolute;
    bottom: 380px;
    max-width: 290px;
    left: -50px;
    z-index: -1;
    opacity: 0;
    transform: translateY(40px) rotate(94deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.1s;
}

.ds-blur-decor-3 {
    position: absolute;
    bottom: 400px;
    max-width: 250px;
    right: 5%;
    z-index: -1;
    opacity: 0;
    transform: translateY(40px) rotate(282deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.15s;
}

.ds-blur-decor-4 {
    position: absolute;
    bottom: 0;
    right: -71px;
    max-width: 350px;
    z-index: -1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.ds-blur-decor.ds-blur-decor-visible .ds-blur-decor-1 {
    opacity: 1;
    transform: translateY(0);
}

.ds-blur-decor.ds-blur-decor-visible .ds-blur-decor-2 {
    opacity: 1;
    transform: translateY(0) rotate(94deg);
}

.ds-blur-decor.ds-blur-decor-visible .ds-blur-decor-3 {
    opacity: 1;
    transform: translateY(0) rotate(282deg);
}

.ds-blur-decor.ds-blur-decor-visible .ds-blur-decor-4 {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1599px) {
    .ds-blur-decor-1 {
        max-width: 250px;
    }

    .ds-blur-decor-2 {
        max-width: 240px;
    }

    .ds-blur-decor-3 {
        max-width: 200px;
        right: 1%;
    }

    .ds-blur-decor-4 {
        max-width: 250px;
    }
}

@media (max-width: 1399px) {
    .ds-blur-decor-1 {
        max-width: 250px;
        left: -100px;
    }

    .ds-blur-decor-2 {
        max-width: 220px;
        left: -100px;
    }

    .ds-blur-decor-3 {
        max-width: 200px;
        right: -90px;
    }

    .ds-blur-decor-4 {
        max-width: 250px;
    }
}

@media (max-width: 999px) {
    .ds-blur-decor-1 {
        max-width: 200px;
        left: -100px;
    }

    .ds-blur-decor-2 {
        max-width: 180px;
        left: -100px;
    }

    .ds-blur-decor-3 {
        max-width: 160px;
        right: -90px;
    }

    .ds-blur-decor-4 {
        max-width: 200px;
    }
}

@media (max-width: 899px) {
    .ds-blur-decor-1,
    .ds-blur-decor-2,
    .ds-blur-decor-3,
    .ds-blur-decor-4 {
        display: none;
    }
}

.ds-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(20, 60, 35, 0.04);
}

.ds-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-glass > * {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-glass {
        background: rgba(255, 255, 255, 0.88);
    }
}

.ds-glass-field {
    position: relative;
    background:
        radial-gradient(620px 460px at 10% 40px, rgba(61, 190, 115, 0.34), transparent 70%),
        radial-gradient(580px 440px at 92% 160px, rgba(253, 189, 44, 0.36), transparent 70%),
        radial-gradient(760px 440px at 50% 400px, rgba(47, 161, 94, 0.22), transparent 70%),
        radial-gradient(520px 380px at 94% 55%, rgba(61, 190, 115, 0.16), transparent 70%),
        radial-gradient(560px 400px at 4% 78%, rgba(253, 189, 44, 0.16), transparent 70%),
        linear-gradient(to bottom, #EEF4F0 0%, #F3F7F4 500px);
}

/* Calmer variant for the inner (logged-in) pages: same blobs at about half strength. */
.ds-glass-field--soft {
    background:
        radial-gradient(620px 460px at 10% 40px, rgba(61, 190, 115, 0.17), transparent 70%),
        radial-gradient(580px 440px at 92% 160px, rgba(253, 189, 44, 0.16), transparent 70%),
        radial-gradient(760px 440px at 50% 400px, rgba(47, 161, 94, 0.1), transparent 70%),
        radial-gradient(520px 380px at 94% 55%, rgba(61, 190, 115, 0.08), transparent 70%),
        radial-gradient(560px 400px at 4% 78%, rgba(253, 189, 44, 0.08), transparent 70%),
        linear-gradient(to bottom, #F2F6F3 0%, #F6F8F7 500px);
}

.ds-section-hero {
    padding-top: 120px;
    overflow-x: hidden;
}

.ds-section-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ds-hero-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    color: var(--ds-color-text);
    text-align: center;
    margin-bottom: 45px;
}

.ds-hero-hint {
    font-size: 14px;
    font-weight: 300;
    color: var(--ds-color-text-muted);
    text-align: center;
}

.ds-hero-collage {
    position: relative;
    width: 100%;
}

.ds-hero-collage-shot {
    display: block;
    object-fit: cover;
}

.ds-hero-collage-shot--search {
    position: relative;
    z-index: 1;
    left: 12%;
    top: 0;
    width: 58%;
}

.ds-hero-collage-shot--orders {
    position: absolute;
    z-index: 2;
    right: 10%;
    bottom: 3%;
    width: 48%;
}

.ds-hero-collage-shot--cart {
    position: absolute;
    z-index: 3;
    right: 15%;
    top: -4%;
    width: 28%;
}

@media (max-width: 599px) {
    .ds-hero-collage-shot {
        border-radius: 12px;
    }
}

.ds-media-group {
    background: linear-gradient(to bottom, #f7f7f7, #FFFFFF);
    padding-top: 60px;
}

.ds-media-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ds-media--reverse .ds-media-inner {
    flex-direction: row-reverse;
}

.ds-media-inner > * {
    width: 50%;
}

.ds-media-title {
    text-align: left;
}

.ds-media-title::after {
    content: "";
    display: block;
    width: 95px;
    height: 6px;
    background-color: var(--ds-color-primary);
    margin-top: 15px;
}

/* Media title without the green underline bar (keeps the left/centered alignment). */
.ds-media-title--plain::after {
    display: none;
}

.ds-media-description {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ds-color-text);
}

@media (max-width: 767px) {
    .ds-media-inner,
    .ds-media--reverse .ds-media-inner {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .ds-media-inner > * {
        width: 100%;
        text-align: center;
    }

    .ds-media-title {
        text-align: center;
    }

    .ds-media-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}

.ds-section-cta {
    position: relative;
    z-index: 1;
    background: var(--ds-color-primary);
}

.ds-section-green {
    background: linear-gradient(135deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 50%, var(--ds-color-primary-hover) 100%);
}

    .ds-section-green .ds-eyebrow,
    .ds-section-green .ds-title-2 {
        color: var(--ds-color-white);
    }

.ds-stat-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.ds-stat-item {
    background: var(--ds-color-white);
    padding: 50px 15px 40px 15px;
    text-align: center;
    flex: 1 1 calc(25% - 35px);
}

.ds-stat-value {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--ds-color-text);
}

.ds-stat-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--ds-color-text);
}

@media (max-width: 991px) {
    .ds-stat-item {
        flex: 1 1 calc(50% - 35px);
    }
}

@media (max-width: 499px) {
    .ds-stat-grid {
        gap: 15px;
    }

    .ds-stat-item {
        flex: 1 1 calc(50% - 15px);
        padding: 20px 5px 16px 5px;
    }

    .ds-stat-value {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .ds-stat-label {
        font-size: 14px;
    }
}

@media (max-width: 319px) {
    .ds-stat-grid {
        gap: 10px;
    }

    .ds-stat-item {
        flex: 1 1 calc(50% - 10px);
    }

    .ds-stat-value {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .ds-stat-label {
        font-size: 12px;
    }
}

.ds-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: -50px auto 0;
    background: var(--ds-color-white);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
    border-radius: 999px;
}

.ds-cta-icon img {
    width: 50px;
}

.ds-cta-icon--pulse {
    animation: ds-pulse 2s infinite;
}

@keyframes ds-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.ds-section-cta .ds-cta-title {
    color: var(--ds-color-white);
}

.ds-cta-description {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ds-color-white);
    text-align: center;
}

.ds-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 767px) {
    .ds-btn-group {
        flex-direction: column;
    }

    .ds-btn-group .ds-btn {
        width: 100%;
    }
}

.ds-cta-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 48px 52px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 55%, var(--ds-color-primary-hover) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.ds-cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 40%);
}

.ds-cta-panel > * {
    position: relative;
    z-index: 1;
}

.ds-cta-panel .ds-cta-icon {
    margin: 0;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(47, 161, 94, 0.12);
}

/* .ds-cta-icon img sizes a plain <img> icon to 50px for the 100px circle; the panel's circle is 88px. */
.ds-cta-panel .ds-cta-icon img {
    width: 38px;
}

.ds-cta-panel-text {
    flex: 1 1 auto;
}

.ds-cta-panel-text .ds-title-3 {
    color: var(--ds-color-white);
    text-align: left;
    margin-bottom: 8px;
}

.ds-cta-panel-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ds-color-white);
}

.ds-cta-panel .ds-btn {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .ds-cta-panel {
        flex-direction: column;
        text-align: center;
        padding: 36px 20px;
        gap: 20px;
    }

    .ds-cta-panel .ds-cta-icon {
        width: 72px;
        height: 72px;
    }

    .ds-cta-panel-text .ds-title-3 {
        text-align: center;
    }

    .ds-cta-panel .ds-btn {
        width: 100%;
    }
}

.ds-grid-icons {
    margin-bottom: 80px;
}

.ds-grid-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 65px;
    padding: 0 18px;
    margin-bottom: 18px;
    background: var(--ds-color-white);
    border-radius: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
}

.ds-grid-icon-item img {
    width: auto;
}

.ds-grid-icon-item-icon {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: center;
}

.ds-grid-icon-item-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ds-benefit {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    flex: 1 1 45%;
}

.ds-benefit-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 136, 77, 0.95);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: var(--ds-color-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.ds-benefit:hover .ds-benefit-icon {
    transform: scale(1.08);
    background: var(--ds-color-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(47, 161, 94, 0.35);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-benefit-icon {
        background: rgba(33, 136, 77, 0.97);
    }
}

.ds-benefit-icon img {
    max-width: 60px;
}

.ds-benefit-title {
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--ds-color-text);
}

.ds-benefit-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--ds-color-text);
}

@media (max-width: 767px) {
    .ds-benefit {
        flex: 1 1 100%;
    }
}

@media (max-width: 499px) {
    .ds-benefit {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .ds-benefit-icon {
        width: 90px;
        height: 90px;
    }

    .ds-benefit-icon img {
        max-width: 45px;
    }
}

.ds-contact-grid {
    display: flex;
    gap: 30px;
}

.ds-contact-grid--stacked {
    flex-direction: column;
    align-items: center;
}

    .ds-contact-grid--stacked .ds-contact-card {
        width: 50%;
    }

    @media (max-width: 767px) {
        .ds-contact-grid--stacked .ds-contact-card {
            width: 100%;
        }
    }

.ds-contact-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 25px;
    background: var(--ds-color-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .ds-contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    }

.ds-contact-card-photo {
    width: 170px;
}

@media (max-width: 1199px) {
    .ds-contact-card-photo {
        width: 100px;
    }
}

@media (max-width: 999px) {
    .ds-contact-card {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .ds-contact-card-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .ds-contact-grid {
        flex-direction: column;
    }

    .ds-contact-card {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .ds-contact-card-photo {
        width: 140px;
    }
}

@media (max-width: 499px) {
    .ds-contact-card {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .ds-contact-card-photo {
        width: 100px;
        height: 100px;
    }
}

.ds-contact-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-contact-card-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--ds-color-text);
    line-height: 1.5;
}

.ds-contact-card-role {
    font-size: 13px;
    font-weight: 400;
    color: var(--ds-color-text);
}

.ds-contact-card-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: var(--ds-color-primary);
    border-radius: 999px;
}

.ds-contact-card-value {
    color: var(--ds-color-text);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.ds-contact-card-value:hover {
    color: var(--ds-color-text);
    text-decoration: underline;
}

/* =========================================================================
   8. FORMS
   ========================================================================= */

.ds-form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ds-form-label {
    display: inline-block;
    color: var(--ds-color-text);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0px;
}

.ds-form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-radius: 15px;
    border: 1px solid var(--ds-color-border);
    background: var(--ds-color-white);
    box-shadow: none;
    font-size: 16px;
    color: var(--ds-color-text);
    margin-bottom: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.ds-form-control,
select.ds-form-control {
    height: 50px;
}

.ds-form-control:focus {
    outline: none;
    border-color: var(--ds-color-primary);
    box-shadow: 0 0 0 3px rgba(47, 161, 94, 0.15);
}

.ds-form-error {
    position: absolute;
    right: 26px;
    top: 9px;
    color: #FF0000;
    display: block;
    float: right;
    font-size: 18px;
    height: 16px;
    width: 16px;
    text-indent: -9999px;
    background-image: url(../Images/close_16.png);
}

@media (max-width: 991px) {
    .ds-form-control {
        margin-bottom: 5px;
    }
}

.ds-glass-field .ds-form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.ds-glass-field .ds-form-control:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--ds-color-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(47, 161, 94, 0.15);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-glass-field .ds-form-control {
        background: rgba(255, 255, 255, 0.92);
    }
}

.career-contact-form .ds-form-label {
    color: var(--ds-color-white);
}

.career-contact-form .ds-btn-primary {
    background-image: linear-gradient(90deg, var(--ds-color-text) 0%, #000000 100%);
}

.career-contact-form .ds-form .button-file {
    margin-top: 0;
}

/* =========================================================================
   9. PAGE-SPECIFIC: CONTACT
   ========================================================================= */

.ds-scroll-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.ds-scroll-nav-item {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    color: var(--ds-color-text);
}

    .ds-scroll-nav-item:hover,
    .ds-scroll-nav-item:focus {
        background: rgba(232, 246, 237, 0.85);
        border-color: rgba(47, 161, 94, 0.35);
        color: var(--ds-color-primary-hover);
    }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-scroll-nav-item {
        background: rgba(255, 255, 255, 0.92);
    }
}

@media (max-width: 499px) {
    .ds-scroll-nav {
        gap: 12px;
    }

    .ds-scroll-nav-item {
        padding: 0 12px;
    }
}

.ds-customer-care {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    max-width: 1050px;
    margin: 20px auto 35px auto;
    padding: 25px;
    border: 3px solid var(--ds-color-primary);
    background: var(--ds-color-white);
    position: relative;
    z-index: 1;
}

.ds-customer-care-countries {
    display: flex;
    align-items: center;
    gap: 25px;
}

.ds-customer-care-country {
    display: block;
}

.ds-flag-with-name {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ds-flag-with-name img {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.ds-flag-with-name div {
    font-size: 24px;
    font-weight: 800;
    color: var(--ds-color-text);
}

a.ds-customer-care-phone,
a.ds-customer-care-phone:focus,
a.ds-customer-care-phone:visited {
    display: flex;
    text-decoration: none;
    color: var(--ds-color-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 7px;
}

a.ds-customer-care-email,
a.ds-customer-care-email:focus,
a.ds-customer-care-email:visited {
    display: flex;
    text-decoration: none;
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 400;
}

a.ds-customer-care-phone:hover,
a.ds-customer-care-email:hover {
    text-decoration: underline;
    color: var(--ds-color-text);
}

.ds-customer-care-badge {
    background: #EAEAEA;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: var(--ds-color-text);
    font-weight: 600;
    font-size: 14px;
}

.ds-customer-care-heads {
    display: flex;
    gap: 25px;
}

.ds-customer-care-head {
    position: relative;
    display: flex;
    justify-content: center;
    width: 170px;
    transition: transform 0.25s ease;
}

    .ds-customer-care-head:hover {
        transform: translateY(-4px);
    }

.ds-customer-care-head img {
    display: block;
    align-self: flex-start;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 17px;
    transition: box-shadow 0.25s ease;
}

.ds-customer-care-head:hover img {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.ds-customer-care-head-name {
    position: absolute;
    background: var(--ds-color-white);
    border-radius: 12px;
    bottom: 16px;
    height: 26px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--ds-color-text);
}

@media (max-width: 991px) {
    .ds-customer-care {
        flex-direction: column;
    }

    /* Equal share of the row for every photo. A plain width:auto let flexbox split the
       width by whichever image loaded first, so a random photo came out narrower and,
       stretched to the row height, squashed. The img keeps 1:1 (see above). */
    .ds-customer-care-head {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: 170px;
    }
}

@media (max-width: 599px) and (min-width: 390px) {
    .ds-customer-care-head-name {
        font-size: 12px;
        background: transparent;
        color: var(--ds-color-white);
        line-height: 14px;
        text-shadow: 0 0 10px #0000008c;
        bottom: 8px;
        height: 26px;
    }
}

@media (max-width: 499px) {
    .ds-flag-with-name {
        flex-direction: column;
        align-items: flex-start;
    }

    .ds-customer-care-badge {
        height: max-content;
        padding: 8px 12px;
        line-height: 1.5em;
        border-radius: 13px;
        text-align: center;
    }

    a.ds-customer-care-phone,
    a.ds-customer-care-phone:focus,
    a.ds-customer-care-phone:visited {
        font-size: 16px;
    }

    .ds-customer-care-head-name {
        font-size: 13px;
    }

    .ds-customer-care-heads {
        gap: 15px;
    }
}

@media (max-width: 389px) {
    .ds-customer-care-countries {
        flex-direction: column;
    }

    .ds-customer-care-country {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ds-flag-with-name img {
        display: none;
    }

    .ds-customer-care-heads {
        flex-direction: column;
    }

    .ds-customer-care-head {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .ds-customer-care-badge {
        align-items: center;
    }
}

.ds-ticket-reminder {
    max-width: 1050px;
    margin: 20px auto 45px auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 28px 28px 32px;
    background: #FFF6DC;
}

.ds-ticket-reminder-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--ds-color-badge);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-ticket-reminder-icon img {
    width: 26px;
}

.ds-ticket-reminder-text {
    flex: 1 1 auto;
}

.ds-ticket-reminder-title {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ds-color-text);
}

.ds-ticket-reminder-desc {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--ds-color-text);
    margin-bottom: 0;
}

.ds-ticket-reminder .ds-btn-primary {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(90deg, var(--ds-color-badge) 0%, #EFB32B 100%);
    background-size: 100% 100%, 200% 100%;
    background-position: 0 0, 0% 0%;
    background-repeat: no-repeat, no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 20px rgba(253, 189, 44, 0.3);
    color: var(--ds-color-text);
    flex-shrink: 0;
}

    .ds-ticket-reminder .ds-btn-primary:hover,
    .ds-ticket-reminder .ds-btn-primary:focus {
        background-position: 0 0, 98% 0%;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(253, 189, 44, 0.4);
        color: var(--ds-color-text);
    }

.ds-ticket-reminder .ds-btn img {
    width: 15px;
}

@media (max-width: 767px) {
    .ds-ticket-reminder {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .ds-ticket-reminder .ds-btn {
        width: 100%;
    }
}

.ds-company-info {
    display: flex;
    width: 100%;
    background: var(--ds-color-white);
}

.ds-company-info-texts {
    padding: 35px;
    width: 40%;
}

.ds-company-info-label {
    font-size: 24px;
    font-weight: 800;
    color: var(--ds-color-text);
    line-height: 1.5;
}

.ds-company-info-value {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--ds-color-text);
    margin-bottom: 25px;
}

.ds-company-info-value:last-child {
    margin-bottom: 0;
}

.ds-company-info-map {
    width: 60%;
}

.ds-company-info-map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

@media (max-width: 991px) {
    .ds-company-info-texts {
        padding: 25px;
        width: 50%;
    }

    .ds-company-info-map {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .ds-company-info {
        flex-direction: column;
    }

    .ds-company-info-texts {
        width: 100%;
    }

    .ds-company-info-map {
        width: 100%;
        height: 400px;
    }

    .ds-company-info-map iframe {
        border-top-right-radius: 0;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }
}

.ds-modal-dialog {
    max-width: 100%;
    margin: 30px auto;
}

#videoModal .ds-modal-dialog {
    width: 1500px;
}

.ds-modal-content {
    overflow: hidden;
    padding: 30px;
    margin: 0 15px;
}

.ds-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1051;
}

.ds-modal-video {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
    .ds-modal-content {
        padding: 15px;
    }

    .ds-modal-close {
        top: 4px;
        right: 8px;
    }
}

.ds-glass-field .ds-customer-care {
    border: 1px solid rgba(47, 161, 94, 0.35);
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.ds-glass-field .ds-customer-care::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-glass-field .ds-customer-care > * {
    position: relative;
    z-index: 1;
}

.ds-glass-field .ds-ticket-reminder {
    position: relative;
    overflow: hidden;
    background: rgba(255, 210, 90, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(253, 189, 44, 0.25);
}

.ds-glass-field .ds-ticket-reminder::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-glass-field .ds-ticket-reminder > * {
    position: relative;
    z-index: 1;
}

.ds-glass-field .ds-contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.ds-glass-field .ds-contact-card:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 16px 32px rgba(0, 0, 0, 0.12);
}

.ds-glass-field .ds-contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-glass-field .ds-contact-card > * {
    position: relative;
    z-index: 1;
}

.ds-glass-field .ds-company-info {
    position: relative;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.ds-glass-field .ds-company-info::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-glass-field .ds-company-info > * {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-glass-field .ds-customer-care,
    .ds-glass-field .ds-ticket-reminder,
    .ds-glass-field .ds-contact-card,
    .ds-glass-field .ds-company-info {
        background: rgba(255, 255, 255, 0.88);
    }
}

/* =========================================================================
   10. ACCORDION
   ========================================================================= */

.ds-accordion {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ds-accordion-columns {
    display: flex;
    gap: 30px;
}

.ds-accordion-columns > .ds-accordion {
    flex: 1 1 0;
}

.ds-accordion-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
    padding: 4px 22px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ds-accordion-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-accordion-item > * {
    position: relative;
    z-index: 1;
}

.ds-accordion-item:hover {
    background: rgba(232, 246, 237, 0.72);
    border-color: rgba(47, 161, 94, 0.22);
}

.ds-accordion-item--open {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(47, 161, 94, 0.55);
    box-shadow: inset 0 1px 0 #fff, 0 0 0 4px rgba(47, 161, 94, 0.07);
}

.ds-accordion-item--open:hover {
    background: rgba(255, 255, 255, 0.86);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-accordion-item {
        background: rgba(255, 255, 255, 0.88);
    }
}

.ds-accordion-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    padding: 16px 0;
    margin: 0;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ds-color-text);
}

.ds-accordion-question:hover {
    text-decoration: none;
}

.ds-accordion-question:focus-visible {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: 4px;
    border-radius: 8px;
}

.ds-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
    transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}

.ds-accordion-item:hover .ds-accordion-icon,
.ds-accordion-item--open .ds-accordion-icon {
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
}

.ds-accordion-item--open .ds-accordion-icon {
    transform: rotate(180deg);
}

.ds-accordion-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.ds-accordion-item--open .ds-accordion-answer {
    grid-template-rows: 1fr;
}

.ds-accordion-answer-inner {
    overflow: hidden;
}

.ds-accordion-answer-inner p {
    margin: 0 0 18px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ds-color-text);
}

@media (max-width: 767px) {
    .ds-accordion-columns {
        flex-direction: column;
    }
}

/* =========================================================================
   11. PAGE-SPECIFIC: PRICING
   ========================================================================= */

.ds-price-hero {
    padding-top: 96px;
}

.ds-price-stage {
    position: relative;
    margin-top: 56px;
    padding-bottom: 72px;
}

.ds-price-cmp {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 0 24px;
}

.ds-price-cmp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-price-cmp {
        background: rgba(255, 255, 255, 0.88);
    }
}

.ds-price-cmp-featured {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: -20px 0 12px;
    background: rgba(255, 210, 90, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.85);
    z-index: 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(253, 189, 44, 0.25), 0 10px 30px rgba(253, 189, 44, 0.18);
}

.ds-price-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255, 207, 82, 0.95), rgba(253, 189, 44, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ds-price-cmp > div:not(.ds-price-cmp-featured) {
    position: relative;
    z-index: 1;
}

.ds-price-head {
    margin-bottom: 12px;
    padding: 34px 16px 20px;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ds-price-plan {
    font-size: 22px;
    font-weight: 700;
    color: var(--ds-color-text);
}

.ds-price-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 16px 22px 20px;
    border-top: 1px solid rgba(20, 60, 35, 0.08);
    font-size: 15px;
    font-weight: 500;
    color: var(--ds-color-text-muted);
}

.ds-price-label strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--ds-color-text);
}

.ds-price-label small {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-color-text-muted);
    margin-top: 2px;
}

.ds-price-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    border-top: 1px solid rgba(20, 60, 35, 0.08);
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    color: var(--ds-color-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ds-price-cell--hero {
    font-size: 28px;
    font-weight: 700;
}

.ds-price-yes {
    width: 30px;
    height: 30px;
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-price-no {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(20, 60, 35, 0.08);
    color: #8A8F8B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-price-last {
    padding-bottom: 34px;
}

.ds-price-cmp > * {
    min-width: 0;
}

.ds-price-cmp [data-c="l"] { grid-column: 1; }
.ds-price-cmp [data-c="a"] { grid-column: 2; }
.ds-price-cmp [data-c="h"] { grid-column: 3; }
.ds-price-cmp [data-r="1"] { grid-row: 1; }
.ds-price-cmp [data-r="2"] { grid-row: 2; }
.ds-price-cmp [data-r="3"] { grid-row: 3; }
.ds-price-cmp [data-r="4"] { grid-row: 4; }
.ds-price-cmp [data-r="5"] { grid-row: 5; }
.ds-price-cmp [data-r="6"] { grid-row: 6; }

.ds-price-note {
    margin: 16px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--ds-color-text-muted);
}

.ds-price-signup {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 28px 28px 32px;
    background: rgba(225, 244, 232, 0.68);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.ds-price-signup::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-price-signup > * {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-price-signup {
        background: rgba(255, 255, 255, 0.88);
    }
}

.ds-price-signup-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff;
    color: var(--ds-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* White variant (homepage pricing teaser): near-opaque white strip, light green icon circle. */
.ds-price-signup--white {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.95);
}

.ds-price-signup--white .ds-price-signup-icon {
    background: rgba(47, 161, 94, 0.12);
    border-color: rgba(47, 161, 94, 0.15);
    box-shadow: none;
}

.ds-price-signup-note {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--ds-color-text-muted);
}

.ds-price-signup-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-color-text);
    margin-bottom: 4px;
}

.ds-price-signup-btn {
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px rgba(47, 161, 94, 0.35);
}

.ds-price-signup-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 36px rgba(47, 161, 94, 0.45);
}

@media (max-width: 860px) {
    .ds-price-cmp {
        padding: 0 12px;
    }

    .ds-price-label {
        padding-left: 8px;
    }

    .ds-price-cell {
        padding: 22px 8px;
    }
}

@media (max-width: 767px) {
    .ds-price-hero {
        padding-top: 64px;
    }

    .ds-price-stage {
        margin-top: 44px;
        padding-bottom: 48px;
    }

    .ds-price-cmp {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 0 8px;
        border-radius: 20px;
    }

    .ds-price-cmp-featured {
        grid-column: 1;
        margin: -20px 0 8px;
        border-radius: 16px;
    }

    .ds-price-ribbon {
        height: 32px;
        font-size: 11px;
        letter-spacing: .6px;
    }

    .ds-price-cmp [data-c="a"] { grid-column: 1; }
    .ds-price-cmp [data-c="h"] { grid-column: 2; }
    .ds-price-cmp .ds-price-head[data-c="l"] { display: none; }

    .ds-price-head {
        padding: 30px 8px 14px;
    }

    .ds-price-plan {
        font-size: 16px;
        line-height: 1.3;
    }

    .ds-price-label {
        grid-column: 1 / -1 !important;
        align-items: center;
        text-align: center;
        padding: 14px 8px 2px;
        font-size: 13px;
    }

    .ds-price-label strong { font-size: 14px; }
    .ds-price-label small { font-size: 12px; }

    .ds-price-cell {
        border-top: none;
        padding: 6px 8px 14px;
        font-size: 16px;
    }

    .ds-price-cell--hero { font-size: 22px; }
    .ds-price-yes, .ds-price-no { width: 26px; height: 26px; }
    .ds-price-last { padding-bottom: 20px; }

    .ds-price-cmp .ds-price-label[data-r="2"] { grid-row: 2; } .ds-price-cmp .ds-price-cell[data-r="2"] { grid-row: 3; }
    .ds-price-cmp .ds-price-label[data-r="3"] { grid-row: 4; } .ds-price-cmp .ds-price-cell[data-r="3"] { grid-row: 5; }
    .ds-price-cmp .ds-price-label[data-r="4"] { grid-row: 6; } .ds-price-cmp .ds-price-cell[data-r="4"] { grid-row: 7; }
    .ds-price-cmp .ds-price-label[data-r="5"] { grid-row: 8; } .ds-price-cmp .ds-price-cell[data-r="5"] { grid-row: 9; }
    .ds-price-cmp .ds-price-label[data-r="6"] { grid-row: 10; } .ds-price-cmp .ds-price-cell[data-r="6"] { grid-row: 11; }

    .ds-price-signup {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        gap: 16px;
        margin-top: 36px;
    }

    .ds-price-signup-btn {
        width: 100%;
        height: 58px;
        padding: 0 20px;
        font-size: 17px;
    }
}

/* =========================================================================
   12. TIMELINE
   ========================================================================= */

.ds-timeline-page {
    min-height: 100vh;
}

.ds-timeline {
    position: relative;
}

.ds-timeline-line {
    position: absolute;
    left: 27px;
    top: 52px;
    bottom: 150px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ds-color-primary) 0%, var(--ds-color-border) 35%, var(--ds-color-border) 100%);
}

.ds-timeline-groups {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.ds-timeline-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ds-timeline-group-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ds-timeline-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(33, 136, 77, 0.85);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--ds-color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 8px #F3F7F4;
}

.ds-timeline-badge--current {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 8px #F3F7F4, 0 0 0 10px rgba(47, 161, 94, 0.25);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-timeline-badge {
        background: rgba(33, 136, 77, 0.97);
    }
}

.ds-timeline-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ds-timeline-group-title .ds-title-3 {
    text-align: left;
}

.ds-timeline-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    background: linear-gradient(to bottom, rgba(255, 207, 82, 0.95), rgba(253, 189, 44, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ds-timeline-count {
    font-size: 14px;
    color: var(--ds-color-text-muted);
}

.ds-timeline-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.ds-timeline-item-icon {
    flex-shrink: 0;
    width: 56px;
    display: flex;
    justify-content: center;
    padding-top: 22px;
}

.ds-timeline-item-dot {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 9, 0.7);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 6px #F3F7F4;
    color: var(--ds-color-white);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-timeline-item-dot {
        background: rgba(8, 10, 9, 0.92);
    }
}

.ds-timeline-item-dot--new {
    background: var(--ds-color-primary-hover);
    color: var(--ds-color-white);
}

.ds-timeline-item-dot--fixed {
    background: var(--ds-color-badge);
    color: var(--ds-color-text);
}

.ds-timeline-card {
    position: relative;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 0 25px rgba(0, 0, 0, 0.05);
    padding: 22px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ds-timeline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-timeline-card > * {
    position: relative;
    z-index: 1;
}

.ds-timeline-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px rgba(0, 0, 0, 0.08);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-timeline-card {
        background: rgba(255, 255, 255, 0.9);
    }
}

.ds-timeline-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ds-color-text);
}

.ds-timeline-card-label--new {
    color: var(--ds-color-primary-hover);
}

.ds-timeline-card-label--fixed {
    color: #8A5A00;
}

.ds-timeline-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ds-color-text);
    margin-bottom: 6px;
}

.ds-timeline-card-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ds-color-text-muted);
}

.ds-timeline-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-primary-hover);
    text-decoration: none;
}

.ds-timeline-card-link svg {
    transition: transform 0.2s ease;
}

.ds-timeline-card-link:hover {
    color: var(--ds-color-primary);
}

.ds-timeline-card-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 599px) {
    .ds-timeline-line {
        left: 21px;
    }

    .ds-timeline-badge {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .ds-timeline-item-icon {
        width: 44px;
    }

    .ds-timeline-card {
        padding: 18px 20px;
    }
}

/* =========================================================================
   13. BLOG
   ========================================================================= */

.ds-blog-hero {
    background: #F7F7F7;
}

.ds-blog-category {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ds-color-primary);
    margin-bottom: 8px;
}

.ds-blog-byline {
    display: inline-block;
    font-size: 14px;
    color: var(--ds-color-text-muted);
}

.ds-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ds-blog-filter {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ds-color-white);
    border: 1px solid var(--ds-color-border);
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-blog-filter:hover {
    border-color: var(--ds-color-primary);
    color: var(--ds-color-primary);
}

.ds-blog-filter.is-active {
    background: var(--ds-color-primary);
    border-color: var(--ds-color-primary);
    color: var(--ds-color-white);
}

.ds-blog-featured {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
    margin-top: -80px;
    background: var(--ds-color-white);
    overflow: hidden;
    text-decoration: none;
    color: var(--ds-color-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-blog-featured:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.ds-blog-featured-image {
    position: relative;
    flex: 0 0 45%;
    background-size: cover;
    background-position: center;
    background-color: var(--ds-color-border);
    min-height: 320px;
}

.ds-blog-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    background: var(--ds-color-white);
    color: var(--ds-color-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.ds-blog-featured-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
}

.ds-blog-featured-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.ds-blog-featured-byline {
    margin-bottom: 18px;
}

.ds-blog-featured-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ds-color-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-blog-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-primary-hover);
}

.ds-blog-featured-link svg {
    transition: transform 0.2s ease;
}

.ds-blog-featured:hover .ds-blog-featured-link {
    color: var(--ds-color-primary);
}

.ds-blog-featured:hover .ds-blog-featured-link svg {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .ds-blog-featured {
        flex-direction: column;
        margin-top: -50px;
    }

    .ds-blog-featured-image {
        min-height: 220px;
    }

    .ds-blog-featured-body {
        padding: 28px;
    }

    .ds-blog-featured-title {
        font-size: 22px;
    }
}

.ds-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.ds-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--ds-color-white);
    overflow: hidden;
    text-decoration: none;
    color: var(--ds-color-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.ds-blog-card-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: var(--ds-color-border);
}

.ds-blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 25px 28px 28px 28px;
}

.ds-blog-card-title {
    flex: 1 1 auto;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-primary-hover);
}

.ds-blog-card-link svg {
    transition: transform 0.2s ease;
}

.ds-blog-card:hover .ds-blog-card-link {
    color: var(--ds-color-primary);
}

.ds-blog-card:hover .ds-blog-card-link svg {
    transform: translateX(4px);
}

/* Optional card variant with an excerpt (homepage's latest-articles block; /blog's own grid
   deliberately has none). The excerpt takes over the title's flex-grow so "read more" + author
   still sit on the card's bottom edge across a row of uneven cards. */
.ds-blog-card--excerpt .ds-blog-card-title {
    flex: 0 0 auto;
}

.ds-blog-card-excerpt {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ds-color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ds-blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
}

.ds-blog-card-foot .ds-blog-card-link {
    flex-shrink: 0;
    margin-top: 0;
}

.ds-blog-card-foot .ds-blog-byline {
    min-width: 0;
    text-align: right;
}

.ds-blog-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ds-blog-back:hover {
    color: var(--ds-color-primary);
}

.ds-blog-detail-header {
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.ds-blog-detail-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ds-blog-detail-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ds-blog-detail-cover {
    flex: 1 1 50%;
    aspect-ratio: 4 / 2;
    overflow: hidden;
}

.ds-blog-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .ds-blog-detail-header {
        flex-direction: column;
    }

    .ds-blog-detail-cover {
        width: 100%;
    }
}

.ds-blog-article-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ds-color-text);
}

.ds-blog-article-body > * + * {
    margin-top: 24px;
}

.ds-blog-article-body > h2 + *,
.ds-blog-article-body > h3 + * {
    margin-top: 10px;
}

.ds-blog-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ds-blog-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ds-blog-gallery-item {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ds-blog-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.2s ease;
}

.ds-blog-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .ds-blog-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ds-blog-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 599px) {
    .ds-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   14. PAGE-SPECIFIC: CAREER
   ========================================================================= */

.ds-job-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.ds-job-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-job-card > * {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-job-card {
        background: rgba(255, 255, 255, 0.9);
    }
}

.ds-job-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ds-job-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ds-color-text);
    margin-bottom: 15px;
}

.ds-job-card-subtitle {
    font-size: 16px;
    line-height: 1.4;
    color: var(--ds-color-text);
}

.ds-job-card .ds-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 999px) {
    .ds-job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ds-job-card .ds-btn {
        width: 100%;
        justify-content: center;
    }
}

.ds-quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 0 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ds-quiz-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    text-align: left;
    cursor: pointer;
}

.ds-quiz-checkbox {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-quiz-checkbox {
        background: rgba(255, 255, 255, 0.92);
    }
}

.ds-quiz-checkbox::before {
    content: "";
    width: 21px;
    height: 16px;
    background-color: var(--ds-color-white);
    mask-image: url('../Images/career-check.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ds-quiz-item:hover .ds-quiz-checkbox,
.ds-quiz-item--checked .ds-quiz-checkbox {
    background: rgba(33, 136, 77, 0.95);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.1);
}

.ds-quiz-item:hover .ds-quiz-checkbox::before,
.ds-quiz-item--checked .ds-quiz-checkbox::before {
    opacity: 1;
}

.ds-quiz-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-quiz-success {
    display: none;
    max-width: 700px;
    margin: 30px auto 0;
    padding: 25px 30px;
    background: var(--ds-color-white);
}

.ds-quiz-success--visible {
    display: block;
}

.ds-quiz-success-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--ds-color-text);
    margin-bottom: 8px;
}

.ds-quiz-success-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ds-color-text);
}

@media (max-width: 767px) {
    .ds-quiz-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

.ds-day-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 40px 25px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 0 25px rgba(0, 0, 0, 0.05);
}

.ds-day-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-day-card > * {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-day-card {
        background: rgba(255, 255, 255, 0.9);
    }
}

.ds-day-card-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.ds-day-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-day-group-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--ds-color-text);
}

.ds-day-group {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 20px;
}

.ds-day-group .ds-day-item {
    font-size: 15px;
    margin-bottom: 15px;
}

.ds-day-group .ds-day-item:last-child {
    margin-bottom: 0;
}

.ds-day-group .ds-day-icon {
    width: 40px;
    height: 40px;
}

.ds-day-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(33, 136, 77, 0.95);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 20px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-day-icon::before {
    content: "";
    width: 21px;
    height: 16px;
    background-color: var(--ds-color-white);
    mask-image: url('../Images/career-check.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
}

.ds-day-icon--cross {
    background: rgba(241, 98, 88, 0.95);
}

.ds-day-icon--cross::before {
    width: 16px;
    height: 16px;
    mask-image: url('../Images/close.svg');
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-day-icon {
        background: rgba(33, 136, 77, 0.97);
    }

    .ds-day-icon--cross {
        background: rgba(241, 98, 88, 0.97);
    }
}

.ds-day-photo {
    flex-shrink: 0;
    margin-top: -92px;
    max-width: 500px;
    width: 100%;
}

@media (max-width: 999px) {
    .ds-day-card {
        padding: 40px 25px 0;
        text-align: center;
    }

    .ds-day-card-row {
        flex-direction: column;
        align-items: center;
    }

    .ds-day-item {
        text-align: left;
    }

    .ds-day-photo {
        margin-top: 30px;
        max-width: 320px;
    }
}

/* =========================================================================
   15. PAGE-SPECIFIC: NOT FOUND (404)
   ========================================================================= */

.ds-404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 176px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -4px;
    color: var(--ds-color-text);
    margin-bottom: 36px;
}

.ds-404-tyre {
    width: 168px;
    height: 168px;
    flex-shrink: 0;
    filter: drop-shadow(0 14px 18px rgba(20, 60, 35, 0.18));
    animation: ds-404-roll 9s linear infinite;
}

@keyframes ds-404-roll {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-404-tyre {
        animation: none;
    }
}

.ds-404-lead {
    margin: 0 auto;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--ds-color-text);
    text-align: center;
}

.ds-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

.ds-404-links {
    position: relative;
    margin-top: 56px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(20, 60, 35, 0.04);
}

.ds-404-links::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%);
}

.ds-404-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    text-decoration: none;
    text-align: left;
    color: var(--ds-color-text);
    transition: background-color 0.2s ease;
}

.ds-404-link + .ds-404-link {
    border-left: 1px solid rgba(20, 60, 35, 0.08);
}

.ds-404-link:hover {
    background: rgba(232, 246, 237, 0.72);
}

.ds-404-link:focus-visible {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: -4px;
    border-radius: 20px;
}

.ds-404-link-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ds-404-link:hover .ds-404-link-icon {
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
}

.ds-404-link-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ds-color-text);
}

.ds-404-link-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--ds-color-text-muted);
    margin-top: 2px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-404-links {
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 640px) {
    .ds-404-code {
        font-size: 96px;
        letter-spacing: -2px;
        gap: 8px;
        margin-bottom: 28px;
    }

    .ds-404-tyre {
        width: 92px;
        height: 92px;
    }

    .ds-404-actions {
        flex-direction: column;
        align-self: stretch;
    }

    .ds-404-actions .ds-btn {
        width: 100%;
    }

    .ds-404-links {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 40px;
    }

    .ds-404-link + .ds-404-link {
        border-left: none;
        border-top: 1px solid rgba(20, 60, 35, 0.08);
    }
}

/* =========================================================================
   16. PAGE-SPECIFIC: OUR PRODUCTS / PORTAL
   ---------------------------------------------------------------------
   OurProducts/Portal.aspx's "Jste pro nás na prvním místě" customer-care
   panel: badge + title + description + two country contact blocks, with a
   photo bleeding flush to the card's own edge (negative margin pulled back
   into the card's own padding, cropped to the rounded corner by the card's
   overflow:hidden - not a page-level overlap). Previously a Main.css
   boxed-action-block-customer-care clone whose own overlap was two separate
   JS-computed effects (the whole card shifted up to overlap the *section
   above* it, and the photo separately poked above its own row inside the
   card) - deliberately simplified to this single, self-contained bleed
   effect; the card no longer overlaps the section above it.
   ========================================================================= */

#CustomerCare {
    position: relative;
}

.ds-care-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(61, 190, 115, 0.55) 0%, rgba(61, 190, 115, 0) 100%);
    opacity: 0.7;
}

.ds-care-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.16) 100%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 50px rgba(33, 136, 77, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    padding: 50px;
}

@media (max-width: 799px) {
    .ds-care-glow {
        width: 100%;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-care-card {
        background: rgba(255, 255, 255, 0.92);
    }
}

.ds-care-card-inner {
    flex: 1 1 55%;
}

.ds-care-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.ds-care-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 #fff;
}

.ds-care-contact-flag {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.ds-care-contact-phone {
    font-weight: 700;
    color: var(--ds-color-text);
}

.ds-care-contact-email a {
    color: var(--ds-color-text-muted);
    text-decoration: none;
}

.ds-care-photo {
    flex: 0 0 auto;
    max-width: 320px;
    margin: -120px -50px -50px 0;
}

@media (max-width: 999px) {
    .ds-care-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px 0px 30px;
    }

    #CustomerCare .ds-title-2.ds-align-left {
        text-align: center;
    }

    .ds-care-contacts {
        justify-content: center;
    }

    .ds-care-photo {
        max-width: 240px;
        margin: 0;
    }
}

.ds-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 22px;
}

.ds-bento-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.36) 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 50px rgba(33, 136, 77, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ds-bento-tile:hover {
    transform: translateY(-6px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.46) 100%);
    box-shadow: 0 28px 60px rgba(33, 136, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.ds-bento-tile:hover .ds-bento-tile-icon {
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(33, 136, 77, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ds-bento-tile--soon:hover .ds-bento-tile-icon {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ds-bento-tile--xl {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    padding: 34px;
}

.ds-bento-tile--lg {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.ds-bento-tile-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    justify-content: center;
    background: linear-gradient(140deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 55%, var(--ds-color-primary-hover) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 22px rgba(33, 136, 77, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ds-bento-tile-icon svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
}

.ds-bento-tile-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--ds-color-text);
}

.ds-bento-tile-foot {
    margin-top: auto;
    padding-top: 18px;
}

.ds-bento-tile-head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ds-bento-tile-head .ds-bento-tile-icon {
    margin-bottom: 0;
}

.ds-bento-tile--xl .ds-bento-tile-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
}

.ds-bento-tile--xl .ds-bento-tile-icon svg {
    width: 34px;
    height: 34px;
}

.ds-bento-tile--xl .ds-bento-tile-title {
    font-size: 34px;
}

.ds-bento-tile--lg .ds-bento-tile-title {
    font-size: 28px;
}

.ds-bento-subs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-end;
    gap: 10px;
}

.ds-bento-sub {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-height: 46px;
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ds-color-text);
    box-sizing: border-box;
}

.ds-bento-tile--soon .ds-bento-tile-icon {
    background: linear-gradient(140deg, #c4c4c4, #8d8d8d);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ds-bento-soon-pill {
    position: absolute;
    top: 26px;
    right: 22px;
}

@media (max-width: 1000px) {
    .ds-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .ds-bento-tile--xl,
    .ds-bento-tile--lg {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    .ds-bento {
        grid-template-columns: 1fr;
    }

    .ds-bento-tile--xl,
    .ds-bento-tile--lg {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .ds-bento-tile-title {
        font-size: 18px;
    }

    .ds-bento-tile--xl .ds-bento-tile-title {
        font-size: 24px;
    }

    .ds-bento-tile--lg .ds-bento-tile-title {
        font-size: 22px;
    }
}

.ds-portal-collage-row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.ds-portal-collage-row > .ds-portal-collage {
    flex: 1 1 56%;
    min-width: 0;
}

.ds-portal-collage-row > .ds-portal-collage-copy {
    flex: 1 1 44%;
    min-width: 0;
}

.ds-portal-collage {
    position: relative;
    aspect-ratio: 5 / 4;
}

.ds-portal-collage-glow {
    position: absolute;
    inset: 4% -6% -8% -6%;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(61, 190, 115, 0.7) 0%, rgba(61, 190, 115, 0.38) 45%, rgba(61, 190, 115, 0) 100%);
}

@media (max-width: 799px) {
    .ds-portal-collage-glow {
        inset: 0;
    }
}

.ds-portal-collage-glow--yellow {
    background: radial-gradient(closest-side, rgba(253, 189, 44, 0.7) 0%, rgba(253, 189, 44, 0.38) 45%, rgba(253, 189, 44, 0) 100%);
}

.ds-portal-shot {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    background: var(--ds-color-white);
}

.ds-portal-shot--table {
    left: 0;
    top: 6%;
    width: 96%;
    height: auto;
    aspect-ratio: 2560 / 1996;
}

.ds-portal-shot--modal {
    left: 62%;
    top: -1%;
    width: 40%;
    height: auto;
    aspect-ratio: 880 / 772;
}

@media (max-width: 767px) {
    .ds-portal-shot--table {
        width: 90%;
    }

    .ds-portal-shot--modal {
        left: 59%;
    }
}

.ds-portal-shot--form {
    left: 0;
    top: 0;
    width: 72%;
    height: auto;
    aspect-ratio: 2200 / 2108;
}

.ds-portal-shot--pdf {
    left: auto;
    bottom: auto;
    right: 13%;
    top: 22%;
    width: 57%;
    height: auto;
    aspect-ratio: 2382 / 1683;
}

.ds-portal-collage-icon {
    position: absolute;
    z-index: 3;
    left: 47%;
    top: 15%;
    width: 15%;
    aspect-ratio: 1 / 1;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

@media (max-width: 499px) {
    .ds-portal-shot--form {
        left: 7%;
    }

    .ds-portal-shot--pdf {
        right: 4%;
    }
}

.ds-portal-collage-icon img,
.ds-portal-collage-icon svg {
    width: 54%;
    height: 54%;
}

.ds-portal-collage-icon--yellow {
    background: linear-gradient(140deg, #ffcf6e 0%, var(--ds-color-badge) 55%, #e6a000 100%);
    box-shadow: 0 24px 50px rgba(253, 189, 44, 0.45), 0 6px 14px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ds-portal-collage-icon--pdf-edge {
    left: 34.5%;
    top: 12.1%;
}

.ds-portal-collage-title {
    text-align: left;
}

.ds-portal-collage-question {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 700;
    color: var(--ds-color-text);
}

.ds-portal-collage-body {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 300;
    color: var(--ds-color-text-muted);
    max-width: 520px;
}

@media (max-width: 900px) {
    .ds-portal-collage-row {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .ds-portal-collage-row > .ds-portal-collage,
    .ds-portal-collage-row > .ds-portal-collage-copy {
        flex: 1 1 100%;
        width: 100%;
    }

    .ds-portal-collage-title,
    .ds-portal-collage-question {
        text-align: center;
    }

    .ds-portal-collage-body {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

.ds-portal-payment-collage {
    position: relative;
}

.ds-portal-payment-shot {
    position: relative;
    z-index: 1;
    display: block;
    width: 88%;
    margin-left: auto;
    overflow: hidden;
}

.ds-portal-payment-pill {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    white-space: nowrap;
}

.ds-portal-payment-pill-option {
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: var(--ds-color-text-muted);
}

.ds-portal-payment-pill-option--active {
    background: linear-gradient(90deg, #ffcf6e 0%, var(--ds-color-badge) 55%, #e6a000 100%);
    color: var(--ds-color-text);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(253, 189, 44, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    .ds-portal-payment-pill {
        left: 0;
        padding: 8px;
        gap: 6px;
    }

    .ds-portal-payment-pill-option {
        padding: 11px 18px;
        font-size: 14px;
    }
}

.ds-portal-bonus-collage {
    position: relative;
}

.ds-portal-bonus-shot {
    position: relative;
    z-index: 1;
    display: block;
    width: 92%;
}

.ds-portal-bonus-card {
    position: absolute;
    z-index: 2;
    right: 0;
    top: -30px;
    width: 250px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-portal-bonus-card {
        background: rgba(255, 255, 255, 0.95);
    }
}

.ds-portal-bonus-card-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ds-color-text-muted);
}

.ds-portal-bonus-card-value {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ds-portal-bonus-card-value strong {
    font-size: 30px;
    font-weight: 800;
    color: var(--ds-color-text);
}

.ds-portal-bonus-card-value span {
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-text-muted);
}

.ds-portal-bonus-progress {
    margin-top: 14px;
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ds-portal-bonus-progress-fill {
    width: 93%;
    height: 100%;
    background: linear-gradient(90deg, #ffcf6e 0%, var(--ds-color-badge) 55%, #e6a000 100%);
}

.ds-portal-bonus-card-hint {
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-color-primary-hover);
}

@media (max-width: 767px) {
    .ds-portal-bonus-card {
        width: auto;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
    }

    #BonusClub .ds-portal-bonus-collage {
        margin-top: 90px;
    }
}

@media (max-width: 599px) {
    .ds-portal-shot,
    .ds-portal-payment-shot,
    .ds-portal-bonus-shot {
        border-radius: 12px;
    }
}

/* =========================================================================
   17. PAGE-SPECIFIC: HOMEPAGE (Default.aspx)
   ---------------------------------------------------------------------
   Full-bleed video hero with rotating title/points (design-system markup,
   the rotation itself is the page's own jQuery), the "campaign" question
   modal (?campaign=1) and the PneuB2B vs. traditional-method comparison
   panel. Everything else on the homepage reuses general components and the
   Portal section (bento sortiment, Bonus klub collage, CTA band).
   ========================================================================= */

.ds-home-hero {
    position: relative;
    height: 800px;
    max-width: 2560px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--ds-color-text);
}

.ds-home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-home-hero .container {
    position: relative;
    z-index: 1;
    height: 100%;
}

.ds-home-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.ds-home-hero-title,
.ds-home-hero-points {
    color: var(--ds-color-white);
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.79);
}

.ds-home-hero-points {
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
}

/* All four rotating variants are a <ul> (resx title_*Points). Bullet = green glass check circle. */
.ds-home-hero-points ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-home-hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.ds-home-hero-points li::before {
    content: "";
    flex: 0 0 24px;
    height: 24px;
    margin-top: 3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat,
        linear-gradient(140deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 55%, var(--ds-color-primary-hover) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ds-home-hero-actions {
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .ds-home-hero {
        height: 560px;
    }

    .ds-home-hero-content {
        padding-bottom: 35px;
    }

    .ds-home-hero-points {
        font-size: 16px;
    }
}

/* Campaign question modal - hidden until the page's JS sets display:flex. */
.ds-home-campaign {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ds-home-campaign-content {
    width: 100%;
    max-width: 600px;
    padding: 40px 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ds-home-campaign-actions .ds-btn {
    min-width: 140px;
}

/* Comparison panel: text + compare card on the left, illustration on the right.
   The card reaches 140px into the image column so it overlaps the illustration. */
.ds-home-compare-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.ds-home-compare-row > * {
    flex: 1 1 50%;
    min-width: 0;
}

.ds-home-compare-media {
    text-align: center;
}

.ds-home-compare-img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.ds-home-compare {
    position: relative;
    z-index: 2;
    display: flex;
    margin-right: -140px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-home-compare {
        background: rgba(255, 255, 255, 0.96);
    }
}

.ds-home-compare-col {
    flex: 1 1 50%;
    min-width: 0;
    padding: 35px 30px;
}

.ds-home-compare-col--highlight {
    background: linear-gradient(140deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 55%, var(--ds-color-primary-hover) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ds-home-compare-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #B2B2B2;
}

.ds-home-compare-label {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: var(--ds-color-text);
}

.ds-home-compare-value {
    font-weight: 700;
    font-size: 38px;
    line-height: 1;
    color: #B2B2B2;
}

.ds-home-compare-col--highlight .ds-home-compare-title,
.ds-home-compare-col--highlight .ds-home-compare-label,
.ds-home-compare-col--highlight .ds-home-compare-value {
    color: var(--ds-color-white);
}

@media (max-width: 999px) {
    .ds-home-compare {
        margin-right: -60px;
    }
}

@media (max-width: 767px) {
    .ds-home-compare-row {
        flex-direction: column;
        gap: 40px;
    }

    .ds-home-compare-row > * {
        flex-basis: auto;
        width: 100%;
    }

    .ds-home-compare {
        margin-right: 0;
    }

    .ds-home-compare-value {
        font-size: 28px;
    }
}

@media (max-width: 570px) {
    .ds-home-compare {
        flex-direction: column;
    }
}

/* SmartServis collage: desktop calendar at the back, the phone booking screen in front
   overlapping its right edge. Fixed box ratio (3/2): the phone fills the full height
   (~35% of the width at its 600x1158 ratio), the calendar (78% wide) sits vertically centred. */
.ds-home-ss-collage {
    position: relative;
    aspect-ratio: 3 / 2;
}

.ds-home-ss-shot {
    position: absolute;
    z-index: 1;
    display: block;
}

.ds-home-ss-shot--calendar {
    left: 0;
    top: 50%;
    width: 78%;
    transform: translateY(-50%);
}

.ds-home-ss-shot--booking {
    z-index: 2;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 599px) {
    .ds-home-ss-shot {
        border-radius: 12px;
    }
}

/* Blog block header: title + subtitle on the left, "All articles" button on the right. */
.ds-home-blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.ds-home-blog-head > .ds-btn {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .ds-home-blog-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* The page-wide glass field holds glows and the overlapping compare card; clip
   them horizontally so narrow viewports don't get a page-wide scrollbar. */
.ds-home-field {
    overflow-x: hidden;
    overflow-x: clip;
}

/* =========================================================================
   18. PAGE-SPECIFIC: COURSES / INDIVIDUAL (Courses/Individual.aspx)
   ========================================================================= */

/* Day + evening cards: two glass cards (ds-card--glass ds-radius-lg in markup).
   On desktop they overlap like the original page: the evening card sits 80px lower,
   slides 50px under the day card, and its text is padded clear of the overlap. */
.ds-indiv-days {
    display: flex;
    align-items: flex-start;
}

.ds-indiv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    overflow: hidden;
    color: var(--ds-color-text);
}

.ds-indiv-days > :first-child {
    z-index: 2;
}

.ds-indiv-days > :last-child {
    z-index: 1;
    margin-top: 80px;
    margin-left: -50px;
}

.ds-indiv-days > :last-child .ds-indiv-card-body {
    padding-left: 90px;
}

.ds-indiv-card-body {
    flex: 1 1 auto;
    padding: 40px;
}

.ds-indiv-card-head {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ds-indiv-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.ds-indiv-card-img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* The three highlighted topics. */
.ds-indiv-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Stay: info card + 2x2 grid of square photos. The card's text is sized to about
   the photos' height; the default grid stretch evens out any small difference. */
.ds-indiv-gift {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ds-indiv-gift-item-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--ds-color-text);
}

.ds-indiv-gift-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.ds-indiv-gift-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .ds-indiv-gift {
        grid-template-columns: 1fr;
    }

    .ds-indiv-gift-photos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 999px) {
    .ds-indiv-topics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 849px) {
    .ds-indiv-days {
        flex-direction: column;
        gap: 30px;
    }

    .ds-indiv-card {
        width: 100%;
    }

    .ds-indiv-days > :last-child {
        margin-top: 0;
        margin-left: 0;
    }

    .ds-indiv-days > :last-child .ds-indiv-card-body {
        padding-left: 40px;
    }
}

@media (max-width: 767px) {
    .ds-indiv-card-body,
    .ds-indiv-days > :last-child .ds-indiv-card-body {
        padding: 30px 25px;
    }

    .ds-indiv-card-img {
        height: 240px;
    }
}

@media (max-width: 699px) {
    .ds-indiv-gift-photos {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================================
   BONUS KLUB (BonusClub.aspx)
   ========================================================================= */

/* Hero: glass pill with the participation condition */
.ds-bonus-condition {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px 8px 8px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--ds-color-text);
    text-align: left;
}

.ds-bonus-condition-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-color-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Three ways to earn points */
.ds-bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ds-bonus-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ds-bonus-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 136, 77, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(47, 161, 94, 0.25);
}

.ds-bonus-value {
    text-align: right;
}

    .ds-bonus-value strong {
        display: block;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.1;
        color: var(--ds-color-primary-hover);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .ds-bonus-value span {
        display: block;
        margin-top: 4px;
        font-size: 13px;
        font-weight: 500;
        color: var(--ds-color-text-muted);
    }

.ds-bonus-note {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ds-color-text);
    background: rgba(255, 210, 90, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(253, 189, 44, 0.25);
}

    .ds-bonus-note img {
        flex-shrink: 0;
    }

/* Redeeming: text + points meter */
.ds-bonus-redeem {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.ds-bonus-meter-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ds-color-text);
}

    .ds-bonus-meter-total strong {
        font-size: 52px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -1px;
        font-variant-numeric: tabular-nums;
    }

.ds-bonus-meter-reward strong {
    color: var(--ds-color-primary-hover);
}

.ds-bonus-meter-bar {
    display: flex;
    gap: 3px;
    height: 14px;
    overflow: hidden;
    background: rgba(20, 60, 35, 0.08);
}

.ds-bonus-meter-refer {
    background: var(--ds-color-primary-hover);
}

.ds-bonus-meter-orders {
    background: var(--ds-color-primary-light);
}

.ds-bonus-meter-scale {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ds-color-text-muted);
    font-variant-numeric: tabular-nums;
}

.ds-bonus-meter-legend {
    list-style: none;
    margin-bottom: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(20, 60, 35, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .ds-bonus-meter-legend li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--ds-color-text);
    }

        .ds-bonus-meter-legend li span:last-child {
            margin-left: auto;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

.ds-bonus-meter-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

/* Bonus statement (Partner/BonusSystemTransactions.aspx): balance card (points +
   progress to the free licence, reuses ds-bonus-meter-*) next to the "how it works"
   card with a button. Both are "ds-card ds-glass". */
.ds-bonus-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 24px;
}

    .ds-bonus-summary > .ds-card {
        padding: 30px;
    }

.ds-bonus-balance-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
}

.ds-bonus-progress {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(20, 60, 35, 0.08);
}

.ds-bonus-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-text);
    font-variant-numeric: tabular-nums;
}

.ds-bonus-progress .ds-bonus-meter-scale {
    flex-wrap: wrap;
    gap: 4px 16px;
}

.ds-bonus-howto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .ds-bonus-howto .ds-card-title {
        margin-bottom: 6px;
    }

    .ds-bonus-howto .ds-btn {
        margin-top: auto;
    }

    .ds-bonus-howto .ds-card-text {
        margin-bottom: 20px;
    }

@media (max-width: 991px) {
    .ds-bonus-grid,
    .ds-bonus-redeem {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ds-bonus-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .ds-bonus-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

        .ds-bonus-summary > .ds-card {
            padding: 22px 20px;
        }

    .ds-bonus-howto .ds-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ds-bonus-redeem,
    .ds-bonus-redeem .ds-card {
        padding: 28px 20px;
    }

    .ds-bonus-meter-total strong {
        font-size: 40px;
    }
}
/* =========================================================================
   19. DATA GRID (GridControl lists)
   -------------------------------------------------------------------------
   Opt-in skin for Fw.Web's GridControl. Add CssClass="ds-grid" to the
   <b2b:GridControl>; a grid without the class keeps its legacy Main.css look.
   Don't combine it with "responsive-grid" - Main.css has stronger
   .table.responsive-grid:not(...) rules that would beat these.

   What GridControl renders (it can't be changed from here, the control lives
   in the shared Fw.Web library):
     <div>
       <div class="table ds-grid" style="width:...">
         <div class="row header">
           <div class="column column-N [sortable] [last]" style="width:N%">
             Caption | <span class="header-text"><a class="[selected ascending|descending]">Caption</a></span>
         <div class="responsive-body">
           <div class="row odd|even"> <div class="column {CellCssClass} column-N" style="width:N%">...
       <div class="pager"> <a class="arrow first|prev|next|last"> <a class="selected"> <span class="dots">
   The pager is a sibling of the table, so it's styled via ".ds-grid + .pager".
   Column widths come from the GridColumn Width attribute (inline style).
   Don't set VerticallyCenteredText on ds-grid columns - rows are flex and
   already centered; that option wraps the cell in a legacy <table>.

   Desktop (>=1024px, the same breakpoint Main.css uses) = glass table.
   Below 1024px every row becomes its own card. Per-column mobile layout is set
   with ds-grid-m-* classes in the column's CellCssClass:
     ds-grid-m-hide      hide the column on mobile
     ds-grid-m-grow      share a line with the next column(s), take the rest
     ds-grid-m-auto      share a line, only as wide as the content
     ds-grid-m-half      half of the card width
     ds-grid-m-end       move to the end of the card (e.g. dates)
     ds-grid-m-end-lead  move to the end too, but before the ds-grid-m-end ones
     ds-grid-m-avatar-only  ds-grid-person cell shows just the avatar
     ds-grid-m-collapse  hide when the cell is empty or only holds the
                         ds-grid-empty-value dash
   Default = full card width. Inside templates, ds-grid-m-label is a small
   caption shown only on mobile (the header row is hidden there) and
   ds-grid-m-only is any inline bit shown only on mobile.
   ========================================================================= */

/* --- toolbar above the grid: title + search ------------------------------ */

.ds-grid-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 30px;
}

.ds-grid-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 400px;
    max-width: 100%;
    height: 60px;
    padding: 0 8px 0 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .ds-grid-search:focus-within {
        border-color: var(--ds-color-primary);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 3px rgba(47, 161, 94, 0.15);
    }

    .ds-grid-search > svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        color: var(--ds-color-text-muted);
    }

input.ds-grid-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-size: 16px;
    color: var(--ds-color-text);
}

    input.ds-grid-search-input::placeholder {
        color: #8A909C;
    }

/* Compact variant (search-as-you-type, no button): same size as the ds-filter-panel
   inputs (48px, radius 12, 14px text). Used by the CT dictionary (CatCTFilterControl). */
.ds-grid-search--sm {
    width: 320px;
    height: 48px;
    gap: 10px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--ds-color-white);
    border: 1px solid rgba(37, 37, 37, 0.12);
    box-shadow: none;
}

    .ds-grid-search--sm:focus-within {
        border-color: var(--ds-color-primary);
        box-shadow: 0 0 0 3px rgba(47, 161, 94, 0.15);
    }

    .ds-grid-search--sm > svg {
        width: 18px;
        height: 18px;
    }

    .ds-grid-search--sm input.ds-grid-search-input {
        font-size: 14px;
    }

/* iOS Safari zooms into fields with text under 16px */
@media (max-width: 991px) {
    .ds-grid-search--sm input.ds-grid-search-input {
        font-size: 16px;
    }
}

.ds-grid-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 9px 0 16px;
    border-radius: 14px;
    background: rgba(37, 37, 37, 0.06);
    color: var(--ds-color-text);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

    .ds-grid-search-btn:hover,
    .ds-grid-search-btn:focus {
        background: rgba(47, 161, 94, 0.12);
        color: var(--ds-color-primary-hover);
        text-decoration: none;
    }

.ds-grid-search-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

    .ds-grid-search-kbd svg {
        width: 14px;
        height: 14px;
    }

/* --- the grid itself (desktop) ------------------------------------------- */

.table.ds-grid {
    display: block;
    position: relative;
    /* backdrop-filter makes the grid its own stacking context, so the image preview .popup's
       z-index only counts inside it; lift the whole grid above the pager after it (its links have
       backdrop-filter too and would otherwise paint over the popup) */
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--ds-color-text);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 25px rgba(0, 0, 0, 0.12);
}

    /* Bootstrap's .row clearfix pseudo-elements would become flex items */
    .table.ds-grid .row::before,
    .table.ds-grid .row::after {
        display: none;
    }

    .table.ds-grid a {
        color: var(--ds-color-primary-hover);
    }

    .table.ds-grid > .row.header {
        display: flex;
        align-items: center;
        float: none;
        width: auto !important;
        height: auto;
        min-height: 0;
        margin: 0 !important;
        padding: 0 10px;
        background: rgba(240, 244, 241, 0.7);
        border: 0;
        border-bottom: 1px solid rgba(37, 37, 37, 0.07);
        border-radius: 20px 20px 0 0;
        color: var(--ds-color-text-muted);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

        .table.ds-grid > .row.header > .column {
            display: block;
            float: none;
            flex: 0 1 auto;
            min-width: 0;
            height: auto;
            min-height: 0;
            margin: 0;
            padding: 14px 16px;
            border: 0;
            box-sizing: border-box;
            font-size: 13px;
            text-align: left;
        }

            .table.ds-grid > .row.header > .column a {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                height: auto;
                padding: 0;
                background: none;
                color: inherit;
                font-size: inherit;
                text-decoration: none;
            }

                .table.ds-grid > .row.header > .column a::after {
                    content: '';
                    width: 8px;
                    height: 12px;
                    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M4 0l4 5H0zM4 12L0 7h8z' fill='%23A3A9B4'/%3E%3C/svg%3E") no-repeat center / contain;
                }

                .table.ds-grid > .row.header > .column a:hover {
                    color: var(--ds-color-text);
                    background: none;
                }

                .table.ds-grid > .row.header > .column a.selected.ascending,
                .table.ds-grid > .row.header > .column a.selected.descending {
                    color: var(--ds-color-primary-hover);
                    background: none;
                }

                    .table.ds-grid > .row.header > .column a.selected.ascending::after {
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M4 0l4 5H0z' fill='%2321884D'/%3E%3Cpath d='M4 12L0 7h8z' fill='%23A3A9B4'/%3E%3C/svg%3E");
                    }

                    .table.ds-grid > .row.header > .column a.selected.descending::after {
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M4 0l4 5H0z' fill='%23A3A9B4'/%3E%3Cpath d='M4 12L0 7h8z' fill='%2321884D'/%3E%3C/svg%3E");
                    }

    .table.ds-grid > .responsive-body {
        display: block;
        width: auto;
        overflow: visible;
        white-space: normal;
        border: 0;
        border-radius: 0;
    }

        .table.ds-grid > .responsive-body > .row {
            display: flex;
            align-items: center;
            float: none;
            height: auto;
            min-height: 0;
            margin: 0 !important;
            padding: 0 10px;
            background: var(--ds-color-white);
            border: 0;
            border-bottom: 1px solid rgba(37, 37, 37, 0.06);
            border-radius: 0;
            transition: background-color .2s ease;
        }

            .table.ds-grid > .responsive-body > .row:last-child {
                border-bottom: 0;
                border-radius: 0 0 20px 20px;
            }

            /* rows are plain white, hover tints them light green */
            .table.ds-grid > .responsive-body > .row:hover {
                background: #F2F8F4;
            }

            /* a row holding a .ds-grid-row-danger marker (Fakturace: overdue state pill) gets a very
               light red tint, desktop rows and mobile cards alike; :not(.header) only lifts specificity
               above the mobile card rule */
            .table.ds-grid > .responsive-body > .row:not(.header):has(.ds-grid-row-danger) {
                background: #FFFAF9;
            }

                .table.ds-grid > .responsive-body > .row:not(.header):has(.ds-grid-row-danger):hover {
                    background: #FDF2F0;
                }

            .table.ds-grid > .responsive-body > .row > .column {
                display: block;
                float: none;
                flex: 0 1 auto;
                min-width: 0;
                height: auto;
                min-height: 0;
                margin: 0;
                padding: 12px 16px;
                border: 0;
                box-sizing: border-box;
                font-size: 14px;
                line-height: 1.35;
                text-align: left;
            }

/* full selectors on purpose: the plain ".table.ds-grid .column.ds-grid-right" lost to the
   "> .row.header > .column" / "> .responsive-body > .row > .column" text-align: left above */
.table.ds-grid > .row.header > .column.ds-grid-right,
.table.ds-grid > .responsive-body > .row > .column.ds-grid-right { text-align: right; }
.table.ds-grid > .row.header > .column.ds-grid-center,
.table.ds-grid > .responsive-body > .row > .column.ds-grid-center { text-align: center; }

/* --- cell content helpers ------------------------------------------------- */

.ds-grid-strong {
    font-weight: 600;
}

.ds-grid-muted {
    color: var(--ds-color-text-muted);
    font-size: 13px;
}

.ds-grid-ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* longer multi-line text (ticket description): first 2 lines, full text in a ds-tooltip */
.ds-grid-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

/* ds tooltip bubble: <el data-ds-tooltip="text"> (logic in design-system.js); light glass, appended to body */
.ds-tooltip {
    position: absolute;
    z-index: 1100;
    max-width: min(380px, calc(100vw - 16px));
    padding: 12px 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--ds-color-text);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: pre-line;
    overflow-wrap: anywhere;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

    .ds-tooltip--visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
    }

    .ds-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: var(--ds-tooltip-arrow-x, 50%);
        margin-left: -7px;
        border: 7px solid transparent;
        border-top-color: rgba(255, 255, 255, 0.94);
    }

    .ds-tooltip--below::after {
        top: auto;
        bottom: 100%;
        border-top-color: transparent;
        border-bottom-color: rgba(255, 255, 255, 0.94);
    }

[data-ds-tooltip] {
    cursor: default;
}

    [data-ds-tooltip]:focus {
        outline: none;
    }

    [data-ds-tooltip]:focus-visible {
        outline: 2px solid var(--ds-color-primary);
        outline-offset: 2px;
        border-radius: 4px;
    }

.ds-grid-empty-value {
    color: #A3A9B4;
}

/* date on the first line, time smaller and muted under it */
.ds-grid-datetime {
    display: inline-block;
    white-space: nowrap;
}

    .ds-grid-datetime small {
        display: block;
        font-size: 13px;
        color: var(--ds-color-text-muted);
    }

/* small grey tag (order reference, TL/M+S/3PMSF ...) */
.ds-grid-chip {
    display: inline-block;
    max-width: 100%;
    padding: 1px 8px;
    border-radius: 7px;
    background: rgba(37, 37, 37, 0.06);
    color: var(--ds-color-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* row of ds-btn-sm buttons in one cell (Fakturace: PF / VF / XLS tiles) */
.ds-grid-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* state pill */
.ds-grid-status {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ds-grid-status--success { background: rgba(47, 161, 94, 0.14); color: var(--ds-color-primary-hover); }
.ds-grid-status--warning { background: rgba(253, 189, 44, 0.24); color: #8A5A00; }
.ds-grid-status--danger { background: rgba(226, 9, 0, 0.1); color: #B3261E; }
.ds-grid-status--neutral { background: rgba(37, 37, 37, 0.07); color: var(--ds-color-text-muted); }

/* avatar + name */
.ds-grid-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ds-grid-person-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(47, 161, 94, 0.14);
    color: var(--ds-color-primary-hover);
}

    .ds-grid-person-avatar svg {
        width: 18px;
        height: 18px;
    }

.ds-grid-person-name {
    min-width: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* product code under the name (SteelRims) */
/* small tags under the product name (SteelRims: code, "Schváleno pro ČR a SK") */
.ds-grid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.ds-grid-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ds-grid-tag-label {
    color: var(--ds-color-text-muted);
    font-weight: 500;
}

.ds-grid-tag--ok {
    border-color: rgba(47, 161, 94, 0.3);
    background: rgba(47, 161, 94, 0.1);
    color: var(--ds-color-primary-hover);
}

    .ds-grid-tag--ok svg {
        width: 12px;
        height: 12px;
    }

/* "nothing found" panel shown instead of an empty grid */
.ds-grid-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 60px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 25px rgba(0, 0, 0, 0.12);
    color: var(--ds-color-text-muted);
    font-size: 16px;
    text-align: center;
}

    /* the legacy .items-not-found (Main.css) makes it bold */
    .ds-grid-empty.items-not-found {
        font-weight: 400;
    }

.ds-grid-m-label,
.ds-grid-m-only {
    display: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .table.ds-grid,
    .ds-grid-search,
    .ds-grid-empty {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* --- pager ---------------------------------------------------------------- */

.table.ds-grid + .pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: auto !important;
    margin: 30px 0 0;
}

    .table.ds-grid + .pager > a {
        float: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.85);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 14px rgba(0, 0, 0, 0.06);
        color: var(--ds-color-text);
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        transition: transform .2s ease, color .2s ease, background-color .2s ease;
    }

        .table.ds-grid + .pager > a:hover {
            background: rgba(255, 255, 255, 0.9);
            color: var(--ds-color-primary-hover);
            transform: translateY(-2px);
        }

        .table.ds-grid + .pager > a.selected {
            background: linear-gradient(to bottom, var(--ds-color-primary-light), var(--ds-color-primary));
            border-color: rgba(255, 255, 255, 0.35);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 16px rgba(47, 161, 94, 0.35);
            color: var(--ds-color-white);
            cursor: default;
            transform: none;
        }

        /* The control writes "<<", "<", ">", ">>" - hide the text and draw rounded chevrons
           instead. They're masks filled with currentColor, so they follow the hover colour. */
        .table.ds-grid + .pager > a.arrow {
            font-size: 0;
        }

            .table.ds-grid + .pager > a.arrow::before {
                content: '';
                width: 20px;
                height: 20px;
                background-color: currentColor;
                -webkit-mask: var(--ds-pager-icon) no-repeat center / contain;
                mask: var(--ds-pager-icon) no-repeat center / contain;
            }

            .table.ds-grid + .pager > a.first { --ds-pager-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 6.5L12 12l5.5 5.5M11.5 6.5L6 12l5.5 5.5'/%3E%3C/svg%3E"); }
            .table.ds-grid + .pager > a.prev { --ds-pager-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6L8.5 12l6 6'/%3E%3C/svg%3E"); }
            .table.ds-grid + .pager > a.next { --ds-pager-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E"); }
            .table.ds-grid + .pager > a.last { --ds-pager-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5L12 12l-5.5 5.5M12.5 6.5L18 12l-5.5 5.5'/%3E%3C/svg%3E"); }

    .table.ds-grid + .pager > .dots {
        float: none;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0 4px;
        color: var(--ds-color-text-muted);
        font-weight: 700;
    }

/* --- mobile: one card per row -------------------------------------------- */

@media (max-width: 1023px) {
    .ds-grid-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ds-grid-search {
        width: 100%;
    }

    .table.ds-grid {
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

        .table.ds-grid > .row.header {
            display: none !important;
        }

        .table.ds-grid > .responsive-body {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

            .table.ds-grid > .responsive-body > .row,
            .table.ds-grid > .responsive-body > .row:last-child {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 12px 16px;
                padding: 16px 18px;
                background: var(--ds-color-white);
                border: 1px solid rgba(255, 255, 255, 0.8);
                border-radius: 20px;
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 25px rgba(0, 0, 0, 0.1);
            }

                .table.ds-grid > .responsive-body > .row > .column {
                    flex: 1 1 100%;
                    width: auto !important;
                    min-height: 0;
                    padding: 0;
                    margin: 0;
                }

                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-grow { flex: 1 1 0; }
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-auto { flex: 0 0 auto; }
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-half { flex: 1 1 calc(50% - 8px); }
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-end { order: 10; }
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-end-lead { order: 9; }

                /* person cell: only the avatar (name stays in its title tooltip) */
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-avatar-only .ds-grid-person-name {
                    display: none;
                }

                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-hide,
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-collapse:not(:has(*)),
                .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-collapse:has(> .ds-grid-empty-value) {
                    display: none;
                }

    .table.ds-grid .ds-grid-m-label {
        display: block;
        margin-bottom: 4px;
        color: var(--ds-color-text-muted);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .table.ds-grid .ds-grid-m-only {
        display: inline;
    }

    .table.ds-grid .ds-grid-datetime {
        white-space: normal;
        font-size: 14px;
    }

        .table.ds-grid .ds-grid-datetime small {
            display: inline;
            margin-left: 4px;
            font-size: 14px;
            white-space: nowrap;
        }

    /* Phones: never more than one row. Keep the arrows, the current page and its two
       neighbours (<< < 3 4 5 > >>), hide the other numbers and the dots. */
    .table.ds-grid + .pager {
        flex-wrap: nowrap;
        gap: 6px;
    }

        .table.ds-grid + .pager > a {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 12px;
        }

        .table.ds-grid + .pager > a:not(.arrow):not(.selected),
        .table.ds-grid + .pager > .dots {
            display: none;
        }

        .table.ds-grid + .pager > a.selected + a:not(.arrow),
        .table.ds-grid + .pager > a:not(.arrow):has(+ a.selected) {
            display: inline-flex;
        }

}

/* --- grid inside a bootstrap modal (first used by Partner/Orders.aspx order tickets) ---
   Markup: .modal.ds-grid-modal > .modal-dialog.ds-modal-dialog >
   .modal-content.ds-modal-content.ds-glass-field.ds-glass-field--soft.ds-radius-lg
   holding a .ds-grid-modal-close, a .ds-grid-toolbar (title + button) and the grid. */

.ds-grid-modal .modal-dialog {
    width: 1150px;
}

.ds-grid-modal .modal-content,
.ds-ticket-modal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ds-grid-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--ds-color-text);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

    .ds-grid-modal-close:hover,
    .ds-grid-modal-close:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, 0.12);
        color: var(--ds-color-primary);
    }

    .ds-grid-modal-close:focus-visible {
        outline: 2px solid var(--ds-color-primary);
        outline-offset: 2px;
    }

    .ds-grid-modal-close svg {
        width: 18px;
        height: 18px;
    }

/* the toolbar keeps clear of the close button; once the button wraps under the title
   (design-system.js adds --wrapped), only the title keeps clear and the button takes the full width */
.ds-grid-modal .ds-grid-toolbar {
    padding-right: 50px;
}

    .ds-grid-modal .ds-grid-toolbar--wrapped {
        padding-right: 0;
    }

        .ds-grid-modal .ds-grid-toolbar--wrapped > :first-child {
            padding-right: 50px;
        }

        .ds-grid-modal .ds-grid-toolbar--wrapped > .ds-btn {
            width: 100%;
        }

@media (max-width: 1199px) {
    .ds-grid-modal .modal-dialog {
        width: auto;
        margin: 20px 10px;
    }
}

@media (max-width: 767px) {
    .ds-grid-modal-close {
        top: 12px;
        right: 12px;
    }
}

/* --- ticket wizard modals (Controls/TicketsControl.ascx: category -> confirm / message -> done / info) ---
   Look only. The control's script finds things by the modal ids and the ticket-* classes
   (ticket-big-label span, ticket-detail-wrapper input[data-category], ticket-detail-title/-text/
   -header, ticket-info-img), so those stay in the markup next to these ds-* classes. */

.ds-ticket-modal .modal-dialog {
    width: 560px;
}

/* order number appended to the heading by the script */
.ds-ticket-modal .ticket-big-label span {
    color: var(--ds-color-primary);
    white-space: nowrap;
}

/* category picker: one full-width glass option per request type */
.ds-ticket-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-ticket-option {
    width: 100%;
    height: auto;
    min-height: 54px;
    padding: 12px 20px;
    white-space: normal;
    line-height: 1.4;
}

    .ds-ticket-option:hover,
    .ds-ticket-option:focus {
        color: var(--ds-color-primary);
    }

    .ds-ticket-option:focus-visible,
    .ds-ticket-action:focus-visible {
        outline: 2px solid var(--ds-color-primary);
        outline-offset: 2px;
    }

    .ds-ticket-option[disabled],
    .ds-ticket-option[disabled]:hover {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
        color: var(--ds-color-text);
        box-shadow: inset 0 1px 0 #fff, inset 0 -1px 3px rgba(0, 0, 0, 0.03);
    }

/* confirmation / result text */
.ds-ticket-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--ds-color-text);
    font-size: 16px;
    line-height: 1.5;
}

    .ds-ticket-detail > span:empty {
        display: none;
    }

.ds-ticket-detail-title {
    font-weight: 600;
}

.ds-ticket-detail-text {
    color: var(--ds-color-text-muted);
}

/* info icon tile; display is toggled by the script (hide() / display:flex) */
.ds-ticket-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(47, 161, 94, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff;
}

    .ds-ticket-info-icon img {
        width: 30px;
    }

.ds-ticket-info-icon--truck {
    background: linear-gradient(135deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary-hover) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px rgba(47, 161, 94, 0.25);
}

    .ds-ticket-info-icon--truck img {
        width: 42px;
    }

.ds-ticket-message {
    min-height: 200px;
    resize: vertical;
    line-height: 1.5;
    color: var(--ds-color-text);
}

/* footer buttons: back + main action side by side, main one wider */
.ds-ticket-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ds-ticket-action {
    flex: 1 1 0;
    min-width: 0;
}

.ds-ticket-action--main {
    flex-grow: 2;
}

@media (max-width: 479px) {
    .ds-ticket-actions {
        flex-direction: column-reverse;
    }

    .ds-ticket-action {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* --- product lists (first used by Products/AluRims.aspx) ------------------ */

/* GridControl's SubrowTemplate renders a second ".row.subrow" right after its row
   (rear rim of a front/rear pair) - draw the pair as one item. */
.table.ds-grid > .responsive-body > .row:has(+ .row.subrow) {
    border-bottom: 0;
}

.table.ds-grid > .responsive-body > .row.subrow > .column {
    padding-top: 0;
}

/* TOP products: the page script adds these classes to the first rows */
.table.ds-grid > .responsive-body > .row.ds-grid-row--top {
    position: relative;
}

.table.ds-grid > .responsive-body > .row.ds-grid-row--top-last {
    border-bottom: 8px solid rgba(240, 244, 241, 0.9);
}

.ds-grid-top-tab {
    position: absolute;
    top: 50%;
    right: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 52px;
    border-radius: 8px;
    background: var(--ds-color-text);
    color: var(--ds-color-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* product name link - dark like plain text, green on hover */
.table.ds-grid a.ds-grid-product-link {
    color: var(--ds-color-text);
    font-weight: 600;
    text-decoration: none;
}

    .table.ds-grid a.ds-grid-product-link:hover {
        color: var(--ds-color-primary-hover);
    }

/* manufacturer name as a small outlined chip */
/* manufacturer chip: as tall as the ds-grid-badge icons (34px), the name vertically centred; a longer
   name wraps onto a 2nd (tighter) line, left-aligned, and only then gets "..." (markup: span.ds-grid-brand >
   span.ds-grid-brand-text - the chip centres, the inner span clamps; Scripts/design-system.js shrinks a
   wrapped span to its longest line so the chip is not as wide as the column) */
.ds-grid-brand {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 10px;
    background: var(--ds-color-white);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    overflow: hidden;
    vertical-align: middle;
}

.ds-grid-brand-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: break-word;
    line-height: 1.12;
    text-align: left;
}

/* product thumbnail in a rounded tile */
.ds-grid-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 4px;
    border: 1px solid rgba(37, 37, 37, 0.08);
    border-radius: 12px;
    background: var(--ds-color-white);
    vertical-align: middle;
}

    .ds-grid-thumb img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

/* GridControl's image preview popup (Scripts/main.js shows it on hover and positions it
   with inline styles meant for the legacy float layout) - pin it next to the thumbnail */
.table.ds-grid .column.popup-handle {
    position: relative;
}

    .table.ds-grid .column.popup-handle .popup {
        position: absolute !important;
        top: 50% !important;
        left: 90px !important;
        width: 260px !important;
        padding: 8px;
        border: 0;
        border-radius: 16px;
        background: var(--ds-color-white);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        transform: translateY(-50%);
    }

        .table.ds-grid .column.popup-handle .popup img {
            display: block;
            width: 100%;
            max-width: none;
            max-height: none;
            height: auto;
            border-radius: 10px;
        }

/* square badges (bestseller star, DEMO, DOT ...) */
.ds-grid-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    vertical-align: middle;
}

.ds-grid-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ds-grid-badge--outline {
    border: 1.5px solid rgba(37, 37, 37, 0.25);
    background: var(--ds-color-white);
    color: var(--ds-color-text);
}

.ds-grid-badge--star {
    background: linear-gradient(to bottom, var(--ds-color-primary-light), var(--ds-color-primary));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 6px rgba(47, 161, 94, 0.3);
    color: var(--ds-color-white);
}

    .ds-grid-badge--star svg {
        width: 16px;
        height: 16px;
    }

/* document link tile (Fakturace PF / VF / XLS): the outline badge, 35x35 in total, with the document's
   icon (invoice-pf/-vf/-vf-xls.svg); green border on hover */
.ds-grid-badge--doc {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .ds-grid-badge--doc img {
        width: auto;
        height: 20px;
    }

    .ds-grid-badge--doc:hover,
    .ds-grid-badge--doc:focus {
        border-color: var(--ds-color-primary);
        box-shadow: 0 4px 12px rgba(47, 161, 94, 0.18);
        outline: none;
    }

/* price cell - the inner HTML comes from AsyncHandler.ashx (shared with other lists):
   <div class="discount">, <div class="computed-price red|blue">, <div class="label-VAT"> */
.ds-grid-price {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

    .ds-grid-price .discount {
        padding: 1px 7px;
        border-radius: 6px;
        background: rgba(37, 37, 37, 0.07);
        color: var(--ds-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

        .ds-grid-price .discount:empty {
            display: none;
        }

    .ds-grid-price .computed-price {
        color: #D0281F;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
    }

        .ds-grid-price .computed-price.blue {
            color: #2F5BD3;
        }

    .ds-grid-price .label-VAT {
        color: var(--ds-color-text-muted);
        font-size: 11px;
    }

.ds-grid-stock {
    color: var(--ds-color-primary-hover);
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 1023px) {
    /* the rear-rim subrow sticks to its row's card */
    .table.ds-grid > .responsive-body > .row:has(+ .row.subrow) {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .table.ds-grid > .responsive-body > .row.subrow {
        margin-top: -14px;
        border-top: 1px dashed rgba(37, 37, 37, 0.12);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .table.ds-grid > .responsive-body > .row.ds-grid-row--top-last {
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
        margin-bottom: 14px !important;
    }

    .ds-grid-top-tab {
        right: -10px;
        width: 24px;
        height: 46px;
    }

    /* a cell taken out of the flow and pinned to the card's left side (product image);
       the card makes room for it */
    .table.ds-grid > .responsive-body > .row:has(> .column.ds-grid-m-aside) {
        position: relative;
        min-height: 112px;
        padding-left: 104px;
    }

    .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-aside {
        position: absolute;
        top: 16px;
        left: 18px;
        width: auto !important;
    }

        .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-aside .ds-grid-thumb {
            width: 72px;
            height: 72px;
        }

    .table.ds-grid > .responsive-body > .row > .column.ds-grid-m-first {
        order: -1;
    }

    .table.ds-grid .column.popup-handle .popup {
        display: none !important;
    }

    /* price and discount side by side */
    .ds-grid-price {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 8px;
    }

        .ds-grid-price .computed-price { order: 1; }
        .ds-grid-price .discount { order: 2; }
        .ds-grid-price .label-VAT { order: 3; }

    /* opt-out: ds-grid--no-m-sort on the grid hides those sort pills on phones (Fakturace) */
    .table.ds-grid.ds-grid--no-m-sort > .row.header,
    .table.ds-grid.ds-grid--no-m-sort > .row.header:has(> .column.sortable) {
        display: none !important;
    }

    /* Sorting on phones: the header row is hidden, except its sortable columns, which
       become a row of pill buttons. A grid without sortable columns shows nothing. */
    .table.ds-grid > .row.header:has(> .column.sortable) {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 14px !important;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
    }

        .table.ds-grid > .row.header > .column:not(.sortable) {
            display: none;
        }

        .table.ds-grid > .row.header > .column.sortable {
            width: auto !important;
            padding: 0;
        }

            .table.ds-grid > .row.header > .column.sortable a {
                height: 38px;
                padding: 0 14px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.85);
                border: 1px solid rgba(255, 255, 255, 0.9);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            }

                .table.ds-grid > .row.header > .column.sortable a.selected {
                    border-color: rgba(47, 161, 94, 0.4);
                    background: rgba(47, 161, 94, 0.1);
                }
}

/* banner image (WebUIUtils.RenderBanners) under a list: standard radius + shadow + a light border
   (a banner with a light background would otherwise melt into the page) */
.ds-banner img {
    border: 1px solid rgba(37, 37, 37, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
}

/* =========================================================================
   FILTER PANEL (search forms above a ds-grid list)
   -------------------------------------------------------------------------
   First used by Products/AluRims.aspx. Markup:
     <div class="ds-filter-head"> <h2 class="ds-title-3 ds-align-left"> + optional action
     <div class="ds-filter-panel">
       <div class="ds-filter-row">
         <div class="ds-filter-field [ds-filter-field--xs|--sm|--md|--grow]">
           <label class="ds-filter-label"> + input.form-control / b2b:ComboBox (select2)
         <div class="ds-filter-x">x</div>         (separator between two values, e.g. 7 x 16)
       <div class="ds-filter-subtitle">           (heading of a second group, e.g. rear axle)
       <div class="ds-filter-quick">              (tinted strip, quick search by code/EAN)
   ds-brand-grid > ds-brand-tile (logo + name) is the car-manufacturer picker.
   ========================================================================= */

.ds-filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}

.ds-filter-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-filter-panel {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 25px rgba(0, 0, 0, 0.12);
}

.ds-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 10px;
}

.ds-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 160px;
    min-width: 0;
}

.ds-filter-field--xs { flex: 0 1 76px; }
.ds-filter-field--sm { flex: 0 1 104px; }
.ds-filter-field--md { flex: 1 1 200px; }
.ds-filter-field--grow { flex: 1 1 auto; }

/* Optional ds-filter-group wraps fields that belong on one line on phones/tablets
   (e.g. width x diameter + bolts x PCD). On desktop it's invisible (display: contents),
   so its fields stay items of the one ds-filter-row. */
.ds-filter-group {
    display: contents;
}

/* Desktop: a row never wraps - number fields shrink a little, the selects share the rest */
@media (min-width: 992px) {
    .ds-filter-row {
        flex-wrap: nowrap;
    }

        .ds-filter-row .ds-filter-field:not(.ds-filter-field--xs):not(.ds-filter-field--sm):not(.ds-filter-field--md):not(.ds-filter-field--clear):not(.ds-filter-field--pair):not(.ds-filter-field--one):not(.ds-filter-field--triple):not(.ds-filter-field--fixed) {
            flex: 1 1 0;
        }

        .ds-filter-row .ds-filter-field--xs {
            min-width: 54px;
        }

        .ds-filter-row .ds-filter-field--sm {
            min-width: 76px;
        }
}

/* Below 992px each ds-filter-group is its own full-width line, its fields share it evenly */
@media (max-width: 991px) {
    .ds-filter-row {
        gap: 12px;
    }

    .ds-filter-group {
        display: flex;
        flex: 1 1 100%;
        align-items: flex-end;
        gap: 8px;
        min-width: 0;
    }

        .ds-filter-group > .ds-filter-field {
            flex: 1 1 0;
            min-width: 0;
        }

        .ds-filter-group > .ds-filter-x {
            width: auto;
        }

        .ds-filter-group .ds-filter-label {
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ds-filter-group input.form-control {
            padding: 0 8px;
        }

    /* iOS Safari zooms the page into any field with text under 16px - keep 16px on phones/tablets.
       The select2 search box lives in a dropdown appended to <body>, hence the global selector. */
    .ds-filter-panel input.form-control,
    .ds-filter-panel select.form-control,
    .ds-filter-panel .select2-container .select2-selection--single,
    .select2-container--open .select2-search__field {
        font-size: 16px;
    }
}

.ds-filter-label {
    margin: 0;
    color: var(--ds-color-text-muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ds-filter-x {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 48px;
    color: #A3A9B4;
    font-size: 16px;
    font-weight: 600;
}

.ds-filter-subtitle {
    margin: 22px 0 12px;
    color: var(--ds-color-text);
    font-size: 15px;
    font-weight: 700;
}

    /* as the panel's first line (e.g. the help example's heading) it needs no gap above */
    .ds-filter-panel > .ds-filter-subtitle:first-child {
        margin-top: 0;
    }

.ds-filter-panel input.form-control,
.ds-filter-panel select.form-control,
.ds-filter-panel .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 12px;
    background: var(--ds-color-white);
    box-shadow: none;
    color: var(--ds-color-text);
    font-size: 14px;
}

.ds-filter-panel input.form-control {
    padding: 0 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .ds-filter-panel input.form-control:focus {
        border-color: var(--ds-color-primary);
        box-shadow: 0 0 0 3px rgba(47, 161, 94, 0.15);
    }

    .ds-filter-panel input.form-control[disabled] {
        background: rgba(255, 255, 255, 0.6);
        cursor: default;
    }

.ds-filter-panel .select2-container {
    width: 100% !important;
}

    .ds-filter-panel .select2-container .select2-selection--single .select2-selection__rendered {
        padding: 0 32px 0 12px;
        line-height: 46px;
        color: var(--ds-color-text);
    }

    .ds-filter-panel .select2-container .select2-selection--single .select2-selection__arrow {
        height: 46px;
        right: 6px;
    }

    .ds-filter-panel .select2-container--focus .select2-selection--single,
    .ds-filter-panel .select2-container--open .select2-selection--single {
        border-color: var(--ds-color-primary);
    }

/* filter submit: a ds-btn at the field height */
.ds-filter-panel .ds-btn.ds-filter-submit {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
}

/* button-only field next to the inputs (TPMS "Vyhledat" / "Zrušit filtr"): as wide as its label;
   below 992px the ds-filter-group rule shares the line between the buttons evenly */
.ds-filter-field--btn {
    flex: 0 0 auto;
}

/* "Zrušit filtr": a quiet text action next to the submit, only rendered while a filter is applied
   (the primary button stays the one strong action); turns red on hover. On phones it keeps its
   own width next to the full-width submit. */
.ds-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 4px;
    border-radius: 6px;
    color: var(--ds-color-text-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color .2s ease;
}

    /* just clickable text with an icon: no button box, red text + underline on hover */
    .ds-filter-clear:hover,
    .ds-filter-clear:focus {
        color: #D93025;
    }

        .ds-filter-clear:hover span,
        .ds-filter-clear:focus span {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

    .ds-filter-clear:focus-visible {
        outline: 2px solid #D93025;
        outline-offset: 2px;
    }

/* only as wide as its text (the desktop ".ds-filter-row .ds-filter-field:not(...)" stretch rule skips it) */
.ds-filter-group > .ds-filter-field--clear {
    flex: 0 0 auto;
}

    /* no button (no filter applied) = no empty slot in the row */
    .ds-filter-field--clear:not(:has(a)) {
        display: none;
    }

.ds-filter-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(47, 161, 94, 0.07);
}

    .ds-filter-quick .ds-filter-label {
        color: var(--ds-color-text);
        font-size: 14px;
        font-weight: 700;
    }

.ds-filter-quick-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 320px;
}

    .ds-filter-quick-fields input.form-control {
        flex: 1 1 140px;
        max-width: 240px;
        border-color: transparent;
    }

/* "Nápověda" toggle */
.ds-filter-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

    .ds-filter-help-btn:hover {
        border-color: rgba(47, 161, 94, 0.4);
        color: var(--ds-color-primary-hover);
    }

    .ds-filter-help-btn svg {
        width: 18px;
        height: 18px;
        color: var(--ds-color-primary);
    }

/* car-manufacturer picker */
.ds-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
}

.ds-brand-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 104px;
    padding: 14px 8px;
    border: 1.5px solid rgba(37, 37, 37, 0.06);
    border-radius: 16px;
    background: var(--ds-color-white);
    color: var(--ds-color-text);
    text-align: center;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .ds-brand-tile:hover,
    .ds-brand-tile:focus,
    .ds-brand-tile.active {
        border-color: var(--ds-color-primary);
        box-shadow: 0 8px 20px rgba(47, 161, 94, 0.15);
        color: var(--ds-color-text);
        transform: translateY(-2px);
    }

    .ds-brand-tile img {
        width: 52px !important;
        height: 40px;
        object-fit: contain;
    }

.ds-brand-tile-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-filter-panel {
        background: rgba(255, 255, 255, 0.95);
    }
}

@media (max-width: 767px) {
    .ds-filter-panel {
        padding: 18px;
    }

    .ds-filter-field--md,
    .ds-filter-field--grow {
        flex-basis: 100%;
    }

    .ds-brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 8px;
    }

    .ds-brand-tile {
        min-height: 84px;
        padding: 10px 6px;
    }

        .ds-brand-tile img {
            width: 40px !important;
            height: 30px;
        }

    .ds-brand-tile-name {
        font-size: 12px;
    }

    .ds-filter-quick-fields input.form-control {
        max-width: none;
    }
}

/* =========================================================================
   CashOnB2B page (OurProducts/COB2B.aspx), built from the Claude Design handoff
   "cashonb2b-podklady". Page-specific; headings, texts, buttons and glass
   surfaces reuse ds-title-*, ds-eyebrow, ds-subtitle, ds-card-*, ds-btn*,
   ds-card + ds-glass. Breakpoints from the handoff: 1080 / 960 / 640px.
   ========================================================================= */

/* --- hero: text + glass "48 hours" card --- */
.ds-cob2b-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
}

.ds-cob2b-hero-text {
    flex: 1 1 520px;
    min-width: 0;
}

    .ds-cob2b-hero-text .ds-subtitle {
        max-width: 600px;
        font-size: 19px;
    }

.ds-cob2b-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ds-cob2b-hero-card {
    flex: 0 1 380px;
    min-width: 0;
}

.ds-cob2b-hero-num {
    color: var(--ds-color-text);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

    .ds-cob2b-hero-num small {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: 0;
    }

.ds-cob2b-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* margin-top comes from a ds-mt-* utility in markup */
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

    .ds-cob2b-checks li {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--ds-color-text);
        font-size: 15px;
        font-weight: 500;
    }

/* green round markers shared by the page: tick, benefit icon, step number */
.ds-cob2b-tick,
.ds-cob2b-benefit-icon,
.ds-cob2b-step-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ds-color-primary-light), var(--ds-color-primary-hover));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: var(--ds-color-white);
}

.ds-cob2b-tick {
    width: 26px;
    height: 26px;
}

/* soft light-green round icon (what-is card, accounting note) */
.ds-cob2b-soft-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
}

.ds-cob2b-soft-icon--sm {
    width: 44px;
    height: 44px;
}

/* --- what is --- */
.ds-cob2b-what {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* --- benefits: 5 / 3 / 1 columns --- */
.ds-cob2b-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ds-cob2b-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 22px 26px;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease;
}

    .ds-cob2b-benefit:hover {
        background: rgba(232, 246, 237, 0.72);
        border-color: rgba(47, 161, 94, 0.22);
    }

.ds-cob2b-benefit-icon {
    width: 60px;
    height: 60px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px rgba(47, 161, 94, 0.25);
}

.ds-cob2b-benefit-title {
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.ds-cob2b-benefit-sub {
    color: var(--ds-color-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* --- how it works: numbered steps + accounting note --- */
.ds-cob2b-how {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
}

.ds-cob2b-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-cob2b-step {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 26px;
}

    /* dotted line joining the numbers */
    .ds-cob2b-step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 21px;
        top: 46px;
        bottom: 4px;
        width: 2px;
        background: repeating-linear-gradient(to bottom, rgba(47, 161, 94, 0.45) 0 5px, transparent 5px 10px);
    }

    .ds-cob2b-step p {
        margin: 9px 0 0;
        color: var(--ds-color-text);
        font-size: 16px;
        line-height: 1.65;
    }

.ds-cob2b-step-num {
    width: 44px;
    height: 44px;
    font-size: 17px;
    font-weight: 700;
}

.ds-cob2b-docs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin-top comes from a ds-mt-* utility in markup */
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

    .ds-cob2b-docs li {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 14px 10px 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.85);
        color: var(--ds-color-text);
        font-size: 15px;
        font-weight: 600;
    }

.ds-cob2b-doc-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(47, 161, 94, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: var(--ds-color-primary-hover);
}

/* --- schema: swimlanes (rows = parties, columns = order of events); each step is a coloured
   connector from the sender's lane (hollow dot) to the receiver's lane (arrow head) with a white
   card on it and a glowing token running along it. Below 960px a vertical list replaces it. --- */
.ds-cob2b-schema {
    --ds-cob2b-order: #2fa15e;
    --ds-cob2b-money: #e3a412;
    --ds-cob2b-goods: #464d5e;
    --ds-cob2b-lane: 196px;
}

.ds-cob2b-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ds-cob2b-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 500;
}

.ds-cob2b-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ds-cob2b-c);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.ds-cob2b-lanes {
    position: relative;
    display: grid;
    grid-template-columns: 168px repeat(6, minmax(0, 1fr)) 14px;
    grid-template-rows: auto var(--ds-cob2b-lane) var(--ds-cob2b-lane) var(--ds-cob2b-lane);
    column-gap: 8px;
}

    .ds-cob2b-lanes > * {
        min-width: 0;
    }

.ds-cob2b-band {
    grid-column: 1 / -1;
    margin: 7px 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ds-cob2b-band--hub {
    background: rgba(47, 161, 94, 0.09);
    border-color: rgba(47, 161, 94, 0.18);
}

.ds-cob2b-row-1 { grid-row: 2; }
.ds-cob2b-row-2 { grid-row: 3; }
.ds-cob2b-row-3 { grid-row: 4; }

.ds-cob2b-who {
    position: relative;
    z-index: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 18px;
}

.ds-cob2b-who-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #fff;
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(20, 60, 35, 0.06);
    color: var(--ds-color-primary-hover);
}

.ds-cob2b-who-icon--hub {
    background: linear-gradient(135deg, var(--ds-color-primary-light), var(--ds-color-primary-hover));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 16px rgba(47, 161, 94, 0.3);
    color: var(--ds-color-white);
}

.ds-cob2b-who-name {
    color: var(--ds-color-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

    .ds-cob2b-who-name small {
        display: block;
        color: var(--ds-color-text-muted);
        font-size: 12px;
        font-weight: 500;
    }

/* time axis "Průběh 1 ... 6 ->", the line and arrow run on into the last 14px column */
.ds-cob2b-time-label {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding: 6px 0 0 18px;
    color: var(--ds-color-text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ds-cob2b-time {
    position: relative;
    grid-column: 2 / 8;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 8px;
    padding-bottom: 14px;
}

    .ds-cob2b-time::before {
        content: "";
        position: absolute;
        left: 8%;
        right: -16px;
        top: 15px;
        height: 2px;
        background: linear-gradient(90deg, rgba(47, 161, 94, 0.15), rgba(47, 161, 94, 0.55));
    }

    .ds-cob2b-time::after {
        content: "";
        position: absolute;
        right: -22px;
        top: 10px;
        border-left: 10px solid rgba(47, 161, 94, 0.6);
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

.ds-cob2b-time-step {
    position: relative;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(47, 161, 94, 0.3);
    box-shadow: inset 0 1px 0 #fff;
    color: var(--ds-color-primary-hover);
    font-size: 14px;
    font-weight: 700;
}

/* one step = one connector */
.ds-cob2b-cx {
    position: relative;
    z-index: 2;
}

.ds-cob2b-cx--order { --ds-cob2b-c: var(--ds-cob2b-order); }
.ds-cob2b-cx--money { --ds-cob2b-c: var(--ds-cob2b-money); }
.ds-cob2b-cx--goods { --ds-cob2b-c: var(--ds-cob2b-goods); }

/* placement: column = step, rows = from/to lane; --d = token delay */
.ds-cob2b-cx--s1 { grid-column: 2; grid-row: 2 / 4; --d: 0s; }
.ds-cob2b-cx--s2 { grid-column: 3; grid-row: 2 / 4; --d: .6s; }
.ds-cob2b-cx--s3 { grid-column: 4; grid-row: 2 / 4; --d: 1.2s; }
.ds-cob2b-cx--s4 { grid-column: 5; grid-row: 3 / 5; --d: 1.8s; }
.ds-cob2b-cx--s5 { grid-column: 6; grid-row: 2 / 5; --d: 2.4s; }
.ds-cob2b-cx--s6 { grid-column: 7; grid-row: 3 / 5; --d: 3s; }

.ds-cob2b-cx-line {
    position: absolute;
    left: 50%;
    top: calc(var(--ds-cob2b-lane) / 2);
    bottom: calc(var(--ds-cob2b-lane) / 2);
    width: 3px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: var(--ds-cob2b-c);
    opacity: .85;
}

.ds-cob2b-cx-from {
    position: absolute;
    left: 50%;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ds-cob2b-c);
}

.ds-cob2b-cx-to {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
}

.ds-cob2b-cx--down .ds-cob2b-cx-from { top: calc(var(--ds-cob2b-lane) / 2 - 7px); }
.ds-cob2b-cx--down .ds-cob2b-cx-to { bottom: calc(var(--ds-cob2b-lane) / 2 - 4px); border-top: 12px solid var(--ds-cob2b-c); }
.ds-cob2b-cx--up .ds-cob2b-cx-from { bottom: calc(var(--ds-cob2b-lane) / 2 - 7px); }
.ds-cob2b-cx--up .ds-cob2b-cx-to { top: calc(var(--ds-cob2b-lane) / 2 - 4px); border-bottom: 12px solid var(--ds-cob2b-c); }

.ds-cob2b-cx-token {
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--ds-cob2b-c);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85), 0 0 14px var(--ds-cob2b-c);
    opacity: 0;
    animation-delay: var(--d, 0s);
}

.ds-cob2b-cx--down .ds-cob2b-cx-token { animation: ds-cob2b-token-down 3.6s ease-in-out var(--d, 0s) infinite; }
.ds-cob2b-cx--up .ds-cob2b-cx-token { animation: ds-cob2b-token-up 3.6s ease-in-out var(--d, 0s) infinite; }

@keyframes ds-cob2b-token-down {
    0% { top: calc(var(--ds-cob2b-lane) / 2 - 5px); opacity: 0; }
    10% { opacity: 1; }
    55% { top: calc(100% - var(--ds-cob2b-lane) / 2 - 16px); opacity: 1; }
    65%, 100% { top: calc(100% - var(--ds-cob2b-lane) / 2 - 16px); opacity: 0; }
}

@keyframes ds-cob2b-token-up {
    0% { top: calc(100% - var(--ds-cob2b-lane) / 2 - 5px); opacity: 0; }
    10% { opacity: 1; }
    55% { top: calc(var(--ds-cob2b-lane) / 2 + 6px); opacity: 1; }
    65%, 100% { top: calc(var(--ds-cob2b-lane) / 2 + 6px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ds-cob2b-cx-token {
        display: none;
    }
}

/* the white card on a connector, and the same card in the phone list */
.ds-cob2b-cx-card,
.ds-cob2b-fl {
    background: #fff;
    border: 1px solid rgba(20, 60, 35, 0.08);
    box-shadow: 0 1px 2px rgba(20, 60, 35, 0.05), 0 6px 16px rgba(20, 60, 35, 0.06);
}

.ds-cob2b-cx-card {
    position: absolute;
    z-index: 3;
    left: 2px;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px 13px;
    border-radius: 16px;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}

    .ds-cob2b-cx-card:hover {
        transform: translateY(-50%) scale(1.03);
        border-color: rgba(47, 161, 94, 0.3);
    }

.ds-cob2b-cx-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--ds-cob2b-c);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #fff;
}

.ds-cob2b-cx--money .ds-cob2b-cx-icon {
    color: var(--ds-color-text);
}

.ds-cob2b-cx-title {
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.ds-cob2b-cx-desc {
    color: var(--ds-color-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* phone/tablet: vertical list of the same six steps */
.ds-cob2b-flow-list {
    display: none;
}

.ds-cob2b-fl-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .ds-cob2b-fl-body .ds-cob2b-cx-title {
        font-size: 15px;
    }

    .ds-cob2b-fl-body .ds-cob2b-cx-desc {
        font-size: 14px;
    }

.ds-cob2b-fl-route {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(20, 60, 35, 0.08);
    color: var(--ds-color-text);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .ds-cob2b-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ds-cob2b-how {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .ds-cob2b-lanes {
        display: none;
    }

    .ds-cob2b-flow-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ds-cob2b-fl {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 20px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .ds-cob2b-page .ds-cob2b-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .ds-cob2b-hero-text .ds-title-1 {
        font-size: 30px;
    }

    .ds-cob2b-hero-text .ds-subtitle {
        font-size: 16px;
    }

    .ds-cob2b-hero-actions .ds-btn {
        width: 100%;
    }

        /* no arrow on phones, so the label fits on one line */
        .ds-cob2b-hero-actions .ds-btn svg {
            display: none;
        }

    .ds-cob2b-hero-card.ds-card,
    .ds-cob2b-what.ds-card {
        padding: 28px 22px;
    }

    .ds-cob2b-hero-num {
        font-size: 48px;
    }

    .ds-cob2b-what {
        flex-direction: column;
        gap: 18px;
    }

    .ds-cob2b-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-cob2b-benefit {
        flex-direction: row;
        align-items: center;
        padding: 18px;
        text-align: left;
    }

    .ds-cob2b-benefit-icon {
        width: 48px;
        height: 48px;
    }
}

/* =========================================================================
   Floating-label field (ds-ff) - general, first used by Registration.aspx.
   Markup: <div class="ds-ff"> <input class="ds-ff-input" placeholder=" ">
           <label class="ds-ff-label">Text<span class="ds-ff-req">*</span></label>
           [validator with CssClass "validator ds-ff-error"] </div>
   The label sits inside the empty field and floats up (smaller, green on
   focus) once the field is focused or filled - needs placeholder=" " for
   :placeholder-shown. A green bar grows under the focused field.
   Selects: <div class="ds-ff ds-ff--select"> + b2b:ComboBox (turned into
   select2 by the page) + <span class="ds-ff-label">; the label stays up.
   ========================================================================= */
.ds-ff {
    position: relative;
    min-width: 0;
}

    /* focus accent: a short green bar that grows under the field */
    .ds-ff::after {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        top: 58px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--ds-color-primary-light), var(--ds-color-primary));
        transform: scaleX(0);
        transition: transform .3s cubic-bezier(.2, .7, .2, 1);
        pointer-events: none;
    }

    .ds-ff:focus-within::after {
        transform: scaleX(1);
    }

    .ds-ff:has(textarea)::after {
        display: none;
    }

.ds-ff-input {
    display: block;
    width: 100%;
    height: 60px;
    padding: 26px 46px 8px 18px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 2px rgba(20, 60, 35, 0.04);
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

textarea.ds-ff-input {
    height: auto;
    min-height: 130px;
    padding-top: 30px;
    resize: vertical;
}

    .ds-ff-input:hover {
        border-color: rgba(47, 161, 94, 0.35);
    }

    .ds-ff-input:focus {
        outline: none;
        border-color: var(--ds-color-primary);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(47, 161, 94, 0.14);
    }

.ds-ff-label {
    position: absolute;
    left: 19px;
    top: 19px;
    max-width: calc(100% - 64px);
    margin: 0;
    overflow: hidden;
    color: var(--ds-color-text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: 0 0;
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), color .2s ease;
}

.ds-ff-input:focus + .ds-ff-label,
.ds-ff-input:not(:placeholder-shown) + .ds-ff-label,
.ds-ff--select .ds-ff-label {
    transform: translateY(-11px) scale(.78);
    font-weight: 600;
}

.ds-ff-input:focus + .ds-ff-label,
.ds-ff--select:focus-within .ds-ff-label {
    color: var(--ds-color-primary-hover);
}

.ds-ff-req {
    margin-left: 3px;
    color: #E5484D;
}

/* ASP.NET validators -> a short red message under the field ("Vyplňte prosím"). A hidden
   static validator (inline visibility:hidden) takes no room; the inline display ASP.NET sets on a
   dynamic one is overridden to block. */
.ds-ff .ds-ff-error,
.ds-ff--select .validator {
    display: block !important;
    float: none;
    width: auto;
    height: auto;
    margin: 6px 0 0 4px;
    background: none;
    text-indent: 0;
    color: #D93025;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

    .ds-ff .ds-ff-error[style*="hidden"],
    .ds-ff .ds-ff-error[style*="none"],
    .ds-ff--select .validator[style*="hidden"],
    .ds-ff--select .validator[style*="none"] {
        display: none !important;
    }

/* field with an invalid (visible) validator gets a red border */
.ds-ff:has(.ds-ff-error:not([style*="hidden"]):not([style*="none"])) .ds-ff-input,
.ds-ff--select:has(.validator:not([style*="hidden"]):not([style*="none"])) .select2-selection--single {
    border-color: #E5484D;
}

/* select: native look before select2 kicks in, then the select2 skin */
.ds-ff--select select.form-control {
    height: 60px;
    padding: 22px 14px 4px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 15px;
    box-shadow: none;
    font-size: 16px;
}

.ds-ff--select .select2-container {
    width: 100% !important;
}

    .ds-ff--select .select2-container .select2-selection--single {
        height: 60px;
        border: 1px solid rgba(37, 37, 37, 0.12);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: inset 0 1px 2px rgba(20, 60, 35, 0.04);
        transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    }

        .ds-ff--select .select2-container .select2-selection--single:hover {
            border-color: rgba(47, 161, 94, 0.35);
        }

        .ds-ff--select .select2-container .select2-selection--single .select2-selection__rendered {
            padding: 26px 46px 0 18px;
            color: var(--ds-color-text);
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
        }

        .ds-ff--select .select2-container .select2-selection--single .select2-selection__arrow {
            top: 0;
            right: 12px;
            height: 58px;
        }

    .ds-ff--select .select2-container--focus .select2-selection--single,
    .ds-ff--select .select2-container--open .select2-selection--single {
        border-color: var(--ds-color-primary);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(47, 161, 94, 0.14);
    }

/* select2 with multiple choice (ds-ff--select + ComboBox Multiple): same box, the picked values are
   green pills under the label, the inline search shows the placeholder ("Vyberte") when empty */
.ds-ff--select .select2-container .select2-selection--multiple {
    min-height: 60px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
    box-shadow: inset 0 1px 2px rgba(20, 60, 35, 0.04);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

    .ds-ff--select .select2-container .select2-selection--multiple:hover {
        border-color: rgba(47, 161, 94, 0.35);
    }

    .ds-ff--select .select2-container .select2-selection--multiple .select2-selection__rendered {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 26px 40px 6px 16px;
    }

    .ds-ff--select .select2-container .select2-selection--multiple .select2-selection__choice {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        float: none;
        height: 26px;
        margin: 0;
        padding: 0 10px 0 8px;
        border: 0;
        border-radius: 999px;
        background: rgba(47, 161, 94, 0.12);
        color: var(--ds-color-primary-hover);
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
    }

    .ds-ff--select .select2-container .select2-selection--multiple .select2-selection__choice__remove {
        margin: 0;
        color: inherit;
        font-size: 15px;
        font-weight: 700;
        opacity: .55;
    }

        .ds-ff--select .select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
            color: inherit;
            opacity: 1;
        }

    .ds-ff--select .select2-container .select2-selection--multiple .select2-selection__clear {
        display: none;
    }

    .ds-ff--select .select2-container .select2-selection--multiple .select2-search--inline {
        flex: 1 1 60px;
        float: none;
        min-width: 0;
    }

        .ds-ff--select .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
            width: 100% !important;
            height: 26px;
            margin: 0;
            color: var(--ds-color-text);
            font-size: 16px;
            font-weight: 500;
        }

            .ds-ff--select .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
                color: var(--ds-color-text);
                opacity: 1;
            }

    .ds-ff--select .select2-container--focus .select2-selection--multiple,
    .ds-ff--select .select2-container--open .select2-selection--multiple {
        border-color: var(--ds-color-primary);
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(47, 161, 94, 0.14);
    }

/* compact ds-ff (ds-ff--sm): the same field at the 48px height of a filter row (Products/Tpms.aspx) */
.ds-ff--sm::after {
    left: 12px;
    right: 12px;
    top: 46px;
}

.ds-ff--sm .ds-ff-input {
    height: 48px;
    padding: 21px 14px 2px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 19px;
}

.ds-ff--sm .ds-ff-label {
    left: 15px;
    top: 14px;
    max-width: calc(100% - 30px);
    font-size: 14px;
}

.ds-ff--sm .ds-ff-input:focus + .ds-ff-label,
.ds-ff--sm .ds-ff-input:not(:placeholder-shown) + .ds-ff-label,
.ds-ff--sm.ds-ff--select .ds-ff-label {
    transform: translateY(-8px) scale(.8);
}

.ds-ff--sm.ds-ff--select select.form-control {
    height: 48px;
    padding: 18px 12px 2px;
    border-radius: 12px;
    font-size: 14px;
}

.ds-ff--sm.ds-ff--select .select2-container .select2-selection--multiple {
    min-height: 48px;
    border-radius: 12px;
    background-position: right 13px center;
}

    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--multiple .select2-selection__rendered {
        gap: 4px;
        padding: 21px 34px 2px 13px;
    }

    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--multiple .select2-selection__choice {
        height: 21px;
        padding: 0 8px 0 7px;
        font-size: 12px;
    }

    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
        height: 21px;
        font-size: 14px;
    }

/* ds-ff--summary (multiple select2): no pills, the page writes the picked values as one line of text
   into the inline search's placeholder (see Products/Tpms.aspx) - it then sits exactly where a typed
   value sits in the ds-ff input next to it; the list shows the picked items with a tick */
.ds-ff--summary .select2-container .select2-selection--multiple .select2-selection__choice {
    display: none;
}

.ds-ff--summary .select2-container .select2-selection--multiple .select2-search--inline {
    flex: 1 1 100%;
}

    .ds-ff--summary .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        /* !important: Main.css paints every placeholder #aaa !important and hides it on focus */
        .ds-ff--summary .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
            color: var(--ds-color-text-muted) !important;
            opacity: 1 !important;
        }

        .ds-ff--summary .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder {
            color: var(--ds-color-text-muted) !important;
            opacity: 1 !important;
        }

/* picked values: the text colour of a typed value, not grey */
.ds-ff--summary .select2-container.ds-ff-has-value .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: var(--ds-color-text) !important;
    font-weight: 500;
}

.ds-ff--summary .select2-container.ds-ff-has-value .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-input-placeholder {
    color: var(--ds-color-text) !important;
    font-weight: 500;
}

.ds-ff-dropdown--multi .select2-results__option[aria-selected] {
    position: relative;
    padding-right: 38px;
}

.ds-ff-dropdown--multi .select2-results__option[aria-selected=true]::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321884D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* single select2 at the compact height (Products/AluRims.aspx: Výrobce / Model / Barva) - the picked
   value sits under the floated label like a typed value in the ds-ff--sm input */
.ds-ff--sm.ds-ff--select .select2-container .select2-selection--single {
    height: 48px;
    border-radius: 12px;
}

    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--single .select2-selection__rendered {
        padding: 21px 30px 0 13px;
        font-size: 14px;
        line-height: 21px;
    }

    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--single .select2-selection__arrow {
        right: 6px;
        height: 46px;
    }

/* nothing picked yet (the page sets ds-ff--empty): the "Vyberte" item is muted like a placeholder */
.ds-ff--select.ds-ff--empty .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--ds-color-text-muted);
    font-weight: 400;
}

/* the narrowest filter fields (ds-filter-field--xs, ~54-76px: Šířka, Velikost, ET od ...) - less side
   padding so the short labels and numbers fit */
.ds-filter-field--xs.ds-ff--sm .ds-ff-input {
    padding-right: 8px;
    padding-left: 10px;
}

.ds-filter-field--xs.ds-ff--sm .ds-ff-label {
    left: 11px;
    max-width: calc(100% - 16px);
}

.ds-filter-field--xs.ds-ff--sm::after {
    left: 8px;
    right: 8px;
}

/* quick search fields (code / EAN) in the tinted ds-filter-quick strip */
.ds-filter-quick-field {
    flex: 1 1 140px;
    max-width: 240px;
}

/* ---- compound filter field (Products/AluRims.aspx): values that belong together in ONE box, written
   the way a rim size is written - Rozměr [7.5 x 17], Šrouby x rozteč [5 x 112], ET [35 - 45]. The label
   always sits small at the top (no floating), the empty inputs show a light example value.
     <div class="ds-filter-field ds-filter-field--pair">       (--one = a single value, e.g. center bore)
       <div class="ds-fx [ds-fx--one]">
         <label class="ds-fx-label" for="first input"> + input.ds-fx-input [+ span.ds-fx-sep + input.ds-fx-input] */
.ds-filter-field--pair {
    flex: 0 1 150px;
    min-width: 120px;
}

/* three values in one compound field (SnowChains: šířka / profil R průměr) */
.ds-filter-field--triple {
    flex: 0 1 200px;
    min-width: 170px;
}

.ds-filter-field--one {
    flex: 0 1 96px;
    min-width: 80px;
}

.ds-fx {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 48px;
    padding: 0 10px 2px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 2px rgba(20, 60, 35, 0.04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

    .ds-fx:hover {
        border-color: rgba(47, 161, 94, 0.35);
    }

    .ds-fx:focus-within {
        border-color: var(--ds-color-primary);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(47, 161, 94, 0.14);
    }

.ds-fx-label {
    position: absolute;
    top: 7px;
    left: 11px;
    right: 8px;
    margin: 0;
    overflow: hidden;
    color: var(--ds-color-text-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
}

.ds-fx:focus-within .ds-fx-label {
    color: var(--ds-color-primary-hover);
}

/* (two classes: beats the global input[type="text"] rules of Main.css) */
.ds-fx .ds-fx-input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 22px;
    margin: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ds-fx--one .ds-fx-input {
    text-align: left;
}

/* light example value (Main.css paints every placeholder #aaa !important) */
.ds-fx .ds-fx-input::placeholder {
    color: #B4BAC4 !important;
    font-weight: 400;
    opacity: 1 !important;
}

.ds-fx .ds-fx-input::-webkit-input-placeholder {
    color: #B4BAC4 !important;
    font-weight: 400;
    opacity: 1 !important;
}

/* the help example's disabled (filled in) copy */
.ds-fx .ds-fx-input:disabled {
    color: var(--ds-color-text);
    -webkit-text-fill-color: var(--ds-color-text);
    opacity: 1;
}

.ds-fx-sep {
    flex: 0 0 auto;
    padding: 0 2px;
    color: #A3A9B4;
    font-weight: 600;
    line-height: 22px;
}

/* under the fields: the folded-away rear axle (left) + Zrušit filtr / Vyhledat (right).
   Opened, the rear fields take the whole line and the buttons drop under them. */
.ds-filter-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 16px;
}

.ds-filter-rear {
    flex: 0 1 auto;
    min-width: 0;
}

    .ds-filter-rear[open] {
        flex-basis: 100%;
    }

.ds-filter-rear-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 2px;
    color: var(--ds-color-primary-hover);
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

    .ds-filter-rear-toggle::-webkit-details-marker {
        display: none;
    }

    .ds-filter-rear-toggle::marker {
        content: "";
    }

    .ds-filter-rear-toggle:hover span {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .ds-filter-rear-toggle svg {
        flex: 0 0 auto;
        transition: transform .2s ease;
    }

    .ds-filter-rear[open] .ds-filter-rear-toggle svg {
        transform: rotate(45deg);
    }

    .ds-filter-rear-toggle small {
        color: #8A909C;
        font-size: 12.5px;
        font-weight: 400;
    }

.ds-filter-rear-body {
    margin-top: 10px;
    padding: 14px;
    border: 1px dashed rgba(47, 161, 94, 0.3);
    border-radius: 14px;
    background: rgba(47, 161, 94, 0.05);
}

.ds-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

    .ds-filter-panel .ds-filter-actions .ds-btn.ds-filter-submit {
        width: auto;
        min-width: 220px;
        padding: 0 32px;
    }

@media (max-width: 575px) {
    .ds-filter-actions {
        flex: 1 1 100%;
    }

        .ds-filter-panel .ds-filter-actions .ds-btn.ds-filter-submit {
            flex: 1 1 auto;
        }
}

/* a longer submit at the end of a single filter row (SteelRims) */
.ds-filter-panel .ds-btn.ds-filter-submit--wide {
    min-width: 200px;
    padding: 0 32px;
}

/* a line above the parameters in the same panel (SteelRims code + "Načíst parametry") */
.ds-filter-code {
    margin-bottom: 22px;
}

    /* a 4-digit code: a fixed ~150px field, also on phones */
    .ds-filter-code .ds-filter-group > .ds-filter-field--sm {
        flex: 0 0 150px;
    }

/* secondary action in a filter row (SteelRims "Načíst parametry"): white with a green outline, so its
   edges show on the light panel */
.ds-filter-panel .ds-btn.ds-filter-outline-btn {
    height: 48px;
    padding: 0 22px;
    border: 1.5px solid rgba(47, 161, 94, 0.55);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    color: var(--ds-color-primary-hover);
    font-size: 14px;
}

    .ds-filter-panel .ds-btn.ds-filter-outline-btn:hover,
    .ds-filter-panel .ds-btn.ds-filter-outline-btn:focus {
        border-color: var(--ds-color-primary);
        background: rgba(47, 161, 94, 0.07);
        color: var(--ds-color-primary-hover);
    }

/* iOS Safari zooms into fields under 16px */
@media (max-width: 991px) {
    .ds-ff--sm .ds-ff-input,
    .ds-fx .ds-fx-input,
    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--single .select2-selection__rendered,
    .ds-ff--sm.ds-ff--select .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
        font-size: 16px;
    }
}

/* the open list (select2 appends it to <body>; the page adds ds-ff-dropdown on open) */
.select2-container--open .select2-dropdown.ds-ff-dropdown {
    overflow: hidden;
    border: 1px solid rgba(37, 37, 37, 0.1);
    border-radius: 15px;
    box-shadow: 0 14px 34px rgba(20, 60, 35, 0.14);
}

.select2-container--open .select2-dropdown--below.ds-ff-dropdown {
    margin-top: 6px;
}

.select2-container--open .select2-dropdown--above.ds-ff-dropdown {
    margin-top: -6px;
}

.ds-ff-dropdown .select2-search--dropdown {
    padding: 10px 10px 4px;
}

    .ds-ff-dropdown .select2-search--dropdown .select2-search__field {
        padding: 8px 12px;
        border: 1px solid rgba(37, 37, 37, 0.15);
        border-radius: 10px;
        font-size: 16px;
    }

        .ds-ff-dropdown .select2-search--dropdown .select2-search__field:focus {
            outline: none;
            border-color: var(--ds-color-primary);
        }

.ds-ff-dropdown .select2-results > .select2-results__options {
    padding: 6px;
}

.ds-ff-dropdown .select2-results__option {
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ds-color-text);
    font-size: 15px;
}

.ds-ff-dropdown .select2-results__option--highlighted[aria-selected] {
    background: rgba(47, 161, 94, 0.1);
    color: var(--ds-color-text);
}

.ds-ff-dropdown .select2-results__option[aria-selected=true] {
    background: rgba(47, 161, 94, 0.18);
    color: var(--ds-color-primary-hover);
    font-weight: 600;
}

/* =========================================================================
   Registration (Registration.aspx): numbered glass section cards, a 2-column
   grid of ds-ff fields, the registry lookup button, the delivery-address
   switch. Page-specific.
   ========================================================================= */
.ds-reg {
    max-width: 860px;
    margin: 0 auto;
}

    .ds-reg > .ds-eyebrow {
        text-align: center;
    }

.ds-reg-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(253, 189, 44, 0.14);
    border: 1px solid rgba(253, 189, 44, 0.35);
    color: var(--ds-color-text);
}

    .ds-reg-notice p {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
    }

.ds-reg-notice-icon {
    flex-shrink: 0;
    color: #8A5A00;
}

.ds-reg-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    color: var(--ds-color-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.ds-reg-step {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ds-color-primary-light), var(--ds-color-primary-hover));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 14px rgba(47, 161, 94, 0.25);
    color: var(--ds-color-white);
    font-size: 15px;
    font-weight: 700;
}

.ds-reg-section-hint {
    margin-top: -4px;
    margin-left: 48px;
    color: var(--ds-color-text-muted);
    font-size: 14px;
}

.ds-reg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ds-reg-wide {
    grid-column: 1 / -1;
}

/* IČO + "Načíst" (registry lookup) inside the field */
.ds-ff--action .ds-ff-input {
    padding-right: 124px;
}

.ds-reg-ares {
    position: absolute;
    z-index: 3;
    top: 11px;
    right: 11px;
}

    .ds-reg-ares .ds-btn {
        height: 38px;
    }

.ds-reg-ares-menu.ds-glass {
    position: absolute;
    top: 46px;
    right: 0;
    min-width: 270px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(20, 60, 35, 0.14);
}

.ds-reg-ares-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    transition: background-color .2s ease;
}

    .ds-reg-ares-option:hover,
    .ds-reg-ares-option:focus {
        outline: none;
        background: rgba(47, 161, 94, 0.1);
    }

/* "delivery address differs" checkbox drawn as a switch (asp:CheckBox renders input + label,
   wrapped in a span only when it has attributes/CssClass - both cases handled) */
.ds-reg-switch,
.ds-reg-switch > span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ds-reg-switch input[type=checkbox] {
    flex-shrink: 0;
    width: 46px;
    height: 26px;
    margin: 0;
    border-radius: 999px;
    background: rgba(37, 37, 37, 0.18) radial-gradient(circle, #fff 0 9px, transparent 10px) no-repeat 0 0 / 26px 26px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color .2s ease, background-position .2s ease;
}

    .ds-reg-switch input[type=checkbox]:checked {
        background-color: var(--ds-color-primary);
        background-position: 20px 0;
    }

    .ds-reg-switch input[type=checkbox]:focus-visible {
        outline: 2px solid var(--ds-color-primary);
        outline-offset: 2px;
    }

.ds-reg-switch label {
    margin: 0;
    padding: 0;
    line-height: 26px;
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.ds-reg-delivery {
    padding: 20px;
    border-radius: 18px;
    background: rgba(47, 161, 94, 0.06);
    border: 1px dashed rgba(47, 161, 94, 0.3);
}

.ds-reg-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ds-reg-required {
    margin: 0;
    color: var(--ds-color-text-muted);
    font-size: 14px;
}

.ds-reg-legal {
    color: var(--ds-color-text-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 599px) {
    .ds-reg-section.ds-card {
        padding: 26px 18px;
    }

    .ds-reg-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-reg-section-hint {
        margin-left: 0;
    }

    .ds-reg-section-title {
        font-size: 19px;
    }

    .ds-reg-submit .ds-btn {
        width: 100%;
    }

    .ds-reg-ares-menu.ds-glass {
        min-width: 0;
        width: calc(100vw - 70px);
    }
}

/* =========================================================================
   Form error summary (ds-form-errors) - general. A box above the form, filled
   by design-system.js from the visible validators: "Zkontrolujte prosím
   5 údajů" + one button per section ("Sídlo firmy (3)") that jumps to the
   section's first invalid field. Replaces the long global ValidationSummary
   on pages that use it.
   ========================================================================= */
.ds-form-errors {
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(229, 72, 77, 0.08);
    border: 1px solid rgba(229, 72, 77, 0.3);
    color: var(--ds-color-text);
}

    .ds-form-errors[hidden] {
        display: none;
    }

.ds-form-errors-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #B3261E;
    font-size: 16px;
    font-weight: 700;
}

    .ds-form-errors-title::before {
        content: "!";
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #E5484D;
        color: #fff;
        font-size: 14px;
    }

.ds-form-errors-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ds-form-errors-group {
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(229, 72, 77, 0.35);
    border-radius: 999px;
    background: #fff;
    color: var(--ds-color-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

    .ds-form-errors-group:hover,
    .ds-form-errors-group:focus-visible {
        outline: none;
        background: rgba(229, 72, 77, 0.08);
        border-color: #E5484D;
    }

.ds-form-errors-hint {
    margin-top: 10px;
    color: var(--ds-color-text-muted);
    font-size: 13px;
}

/* =========================================================================
   Cookie consent popup (Scripts/CookieNoticePro, a vendor jQuery plugin,
   configured in Default.Master). The vendor files stay untouched; this
   restyles the popup to the DS: light glass card, DS text colours, primary /
   white buttons, the cookie types as switches. The cookie icons (title and
   the floating minimise icon) are kept as they are. body #cookieNoticePro.light
   (the vendor CSS loads later) beats the vendor selectors; !important only where the plugin writes
   inline styles (button colours, link colour).
   ========================================================================= */
body #cookieNoticePro.light {
    padding: 26px 26px 16px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 #fff, 0 20px 50px rgba(20, 60, 35, 0.18);
    color: var(--ds-color-text);
}

    body #cookieNoticePro.light .title-wrap {
        gap: 12px;
        margin-bottom: 12px;
    }

        body #cookieNoticePro.light .title-wrap svg {
            margin-right: 0;
        }

    body #cookieNoticePro.light h4 {
        color: var(--ds-color-text);
        font-size: 20px;
        font-weight: 700;
        line-height: 1.3;
    }

    body #cookieNoticePro.light p {
        color: var(--ds-color-text);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.65;
    }

    body #cookieNoticePro.light p a {
        border-bottom: 1px solid rgba(47, 161, 94, 0.35);
        color: var(--ds-color-primary-hover) !important;
        font-weight: 600;
        transition: border-color .2s ease;
    }

        body #cookieNoticePro.light p a:hover {
            border-bottom-color: var(--ds-color-primary-hover);
        }

    /* "Customize" -> a soft green pill */
    body #cookieNoticePro.light #cookieSettings {
        display: inline-flex;
        gap: 8px;
        height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(47, 161, 94, 0.1);
        color: var(--ds-color-primary-hover);
        font-size: 13px;
        font-weight: 600;
        text-transform: none;
        transition: background-color .2s ease;
    }

        body #cookieNoticePro.light #cookieSettings:hover {
            background: rgba(47, 161, 94, 0.16);
        }

        body #cookieNoticePro.light #cookieSettings svg {
            margin-right: 0;
        }

            body #cookieNoticePro.light #cookieSettings svg g {
                fill: currentColor;
            }

    body #cookieNoticePro.light #cookieTypes h5 {
        color: var(--ds-color-text-muted);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
    }

    /* each cookie type = a row with a switch */
    body #cookieNoticePro.light #cookieTypes ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    body #cookieNoticePro.light #cookieTypes li {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 10px 12px;
        border: 1px solid rgba(37, 37, 37, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.75);
    }

    body #cookieNoticePro.light #cookieTypes label {
        color: var(--ds-color-text);
        font-size: 14px;
        font-weight: 600;
        text-transform: none;
        cursor: pointer;
    }

    body #cookieNoticePro.light input[type="checkbox"] {
        flex-shrink: 0;
        float: none;
        width: 40px;
        height: 22px;
        margin: 0;
        border-radius: 999px;
        background: rgba(37, 37, 37, 0.18) radial-gradient(circle, #fff 0 7px, transparent 8px) no-repeat 0 0 / 22px 22px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        transition: background-color .2s ease, background-position .2s ease;
    }

        body #cookieNoticePro.light input[type="checkbox"]::after {
            content: none;
            display: none;
        }

        body #cookieNoticePro.light input[type="checkbox"]:checked {
            background-color: var(--ds-color-primary);
            background-position: 18px 0;
        }

        /* the "necessary" type is always on */
        body #cookieNoticePro.light input[type="checkbox"]:disabled {
            opacity: 0.55;
            cursor: default;
        }

            body #cookieNoticePro.light input[type="checkbox"]:disabled + label {
                cursor: default;
            }

        body #cookieNoticePro.light input[type="checkbox"]:focus-visible {
            outline: 2px solid var(--ds-color-primary);
            outline-offset: 2px;
        }

    /* buttons: accept = ds-btn-primary look, reject = white */
    body #cookieNoticePro.light .btn-wrap {
        gap: 10px;
        margin: 0 0 10px;
    }

        body #cookieNoticePro.light .btn-wrap button {
            min-width: 140px;
            height: 46px;
            margin: 0;
            padding: 0 18px;
            border-radius: 15px;
            font-size: 15px;
            font-weight: 700;
            line-height: 46px;
            transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
        }

            body #cookieNoticePro.light .btn-wrap button:hover {
                transform: translateY(-2px);
            }

    body #cookieNoticePro.light button#cookieAccept {
        border: 0 !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(90deg, var(--ds-color-primary-light), var(--ds-color-primary)) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px rgba(47, 161, 94, 0.25);
        color: var(--ds-color-white) !important;
    }

        body #cookieNoticePro.light button#cookieAccept:hover {
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px rgba(47, 161, 94, 0.32);
        }

    body #cookieNoticePro.light button#cookieReject {
        border: 1px solid rgba(37, 37, 37, 0.12) !important;
        background: #fff !important;
        box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(0, 0, 0, 0.05);
        color: var(--ds-color-text) !important;
    }

        body #cookieNoticePro.light button#cookieReject:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body #cookieNoticePro.light {
        background: #fff;
    }
}

/* phones: the plugin pins it full-width to the bottom edge; keep it a floating card instead */
@media only screen and (max-width: 600px) {
    body #cookieNoticePro.light.display-left,
    body #cookieNoticePro.light.display-right {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 22px 18px 12px;
        border-radius: 20px;
        box-shadow: inset 0 1px 0 #fff, 0 14px 40px rgba(20, 60, 35, 0.2);
    }

    body #cookieNoticePro.light .btn-wrap button {
        min-width: 0;
        flex: 1 1 100%;
    }
}

/* =========================================================================
   Legal document page (ds-legal) - general: Cookies.aspx, PersonalData.aspx,
   usable for VOP etc. One readable column (max 860px): eyebrow + h1, then
   the text in a glass card (ds-card ds-glass + ds-legal-body). Inside:
   ds-legal-company (label | company details), ds-legal-lead, paragraphs,
   ol.ds-legal-alpha (a) b) c) list), ul.ds-legal-types (green-dot list),
   ds-legal-sign (place/date + signature, right column on desktop).
   ========================================================================= */
.ds-legal {
    max-width: 860px;
    margin: 0 auto;
}

.ds-legal-body {
    color: var(--ds-color-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

    .ds-legal-body p {
        margin: 0 0 16px;
    }

        .ds-legal-body p:last-child {
            margin-bottom: 0;
        }

    .ds-legal-body strong {
        font-weight: 600;
    }

.ds-legal-company {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 6px 20px;
    margin-bottom: 30px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(47, 161, 94, 0.07);
    border: 1px solid rgba(47, 161, 94, 0.18);
    font-size: 15px;
    line-height: 1.7;
}

.ds-legal-company-label {
    color: var(--ds-color-primary-hover);
    font-weight: 700;
}

.ds-legal-lead {
    font-size: 17px;
    font-weight: 500;
}

.ds-legal-alpha {
    margin: 0 0 20px;
    padding-left: 28px;
    list-style: lower-alpha;
}

    .ds-legal-alpha > li {
        margin-bottom: 10px;
        padding-left: 6px;
    }

        .ds-legal-alpha > li::marker {
            color: var(--ds-color-primary-hover);
            font-weight: 700;
        }

        .ds-legal-alpha > li > p {
            margin-top: 12px;
        }

.ds-legal-types {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

    .ds-legal-types > li {
        position: relative;
        margin-bottom: 10px;
        padding-left: 22px;
    }

        .ds-legal-types > li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 11px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--ds-color-primary);
        }

.ds-legal-sign {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(37, 37, 37, 0.08);
}

    .ds-legal-sign p {
        margin: 0;
    }

        .ds-legal-sign p:last-child {
            text-align: right;
        }

.ds-legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 599px) {
    .ds-legal-body.ds-card {
        padding: 26px 20px;
    }

    .ds-legal-company {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-legal-sign p:last-child {
        text-align: left;
    }

    .ds-legal-actions .ds-btn {
        width: 100%;
    }
}

/* =========================================================================
   Status timeline (ds-status-tl) - general. <ol class="ds-status-tl"> of
   ds-status-tl-item: dot (--done filled green + tick / --now white with a
   green ring + aura / --next white, dashed), a tag with the state as text
   (--done / --now with a blinking dot / --next yellow), title, description.
   3 columns joined by a line (green up to the current step, grey after);
   under 680px a vertical list, dot left, line only between the dots.
   First used by RegistrationSuccess.aspx; the done->now split of the line
   assumes 3 steps with the 2nd one current.
   ========================================================================= */
.ds-status-tl {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ds-status-tl::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 33px;
        left: 16.6%;
        right: 16.6%;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--ds-color-primary) 0%, var(--ds-color-primary) 50%, rgba(20, 60, 35, 0.12) 50%, rgba(20, 60, 35, 0.12) 100%);
    }

.ds-status-tl-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.ds-status-tl-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 66px;
    height: 66px;
    border-radius: 50%;
}

.ds-status-tl-dot--done {
    background: linear-gradient(135deg, var(--ds-color-primary-light), var(--ds-color-primary-hover));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.8);
    color: #fff;
}

.ds-status-tl-dot--now {
    background: #fff;
    border: 3px solid var(--ds-color-primary);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8), 0 0 0 10px rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
}

.ds-status-tl-dot--next {
    background: #fff;
    border: 2px dashed rgba(20, 60, 35, 0.25);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8);
    color: var(--ds-color-text-muted);
}

.ds-status-tl-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    margin-top: 6px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.ds-status-tl-tag--done {
    background: rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
}

.ds-status-tl-tag--now {
    background: #fff;
    border: 1px solid rgba(47, 161, 94, 0.35);
    color: var(--ds-color-primary-hover);
}

    .ds-status-tl-tag--now::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--ds-color-primary);
        animation: ds-status-tl-blink 1.6s ease-in-out infinite;
    }

@keyframes ds-status-tl-blink {
    50% { opacity: .25; }
}

.ds-status-tl-tag--next {
    background: rgba(253, 189, 44, 0.22);
    color: #6B4E00;
}

.ds-status-tl-title {
    color: var(--ds-color-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.ds-status-tl-desc {
    max-width: 260px;
    color: #5C6470;
    font-size: 14px;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .ds-status-tl-tag--now::before {
        animation: none;
    }
}

@media (max-width: 680px) {
    .ds-status-tl {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

        .ds-status-tl::before {
            display: none;
        }

    .ds-status-tl-item {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        padding-bottom: 22px;
        text-align: left;
    }

        /* line from this dot down to the next one (not under the last step) */
        .ds-status-tl-item:not(:last-child)::after {
            content: "";
            position: absolute;
            z-index: -1;
            left: 31.5px;
            top: 72px;
            bottom: 6px;
            width: 3px;
            border-radius: 3px;
            background: rgba(20, 60, 35, 0.12);
        }

        .ds-status-tl-item:first-child::after {
            background: var(--ds-color-primary);
        }

    .ds-status-tl-dot {
        grid-row: 1 / 4;
    }

    .ds-status-tl-tag {
        justify-self: start;
        margin-top: 4px;
    }

    .ds-status-tl-desc {
        max-width: none;
    }
}

/* =========================================================================
   Icon tiles (ds-icon-tiles) - general. <ul class="ds-icon-tiles"> of
   li.ds-icon-tile = a light-green rounded icon square + short text, white
   tile that lifts and turns its border green on hover. 2 columns, 1 under
   680px. First used by RegistrationSuccess.aspx (SmartServis features).
   ========================================================================= */
.ds-icon-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-icon-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(20, 60, 35, 0.08);
    box-shadow: 0 1px 2px rgba(20, 60, 35, 0.04);
    color: var(--ds-color-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color .2s ease, transform .2s ease;
}

    .ds-icon-tile:hover {
        border-color: rgba(47, 161, 94, 0.3);
        transform: translateY(-2px);
    }

.ds-icon-tile-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(47, 161, 94, 0.12);
    color: var(--ds-color-primary-hover);
}

@media (max-width: 680px) {
    .ds-icon-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================================
   Registration sent (RegistrationSuccess.aspx) - page-specific: the animated
   success seal, the help/contact row and the two-column SmartServis card.
   Built from the Claude Design handoff "registrace-odeslana-podklady".
   ========================================================================= */
.ds-success {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto;
}

.ds-success-done.ds-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 64px 48px;
    border-radius: 32px;
    text-align: center;
}

    .ds-success-done .ds-title-1 {
        max-width: 760px;
    }

.ds-success-lead {
    max-width: 620px;
    font-size: 18px;
}

    .ds-success-lead strong {
        font-weight: 600;
    }

/* seal: green disc + tick drawn on load, two soft rings pulsing out */
.ds-success-seal {
    position: relative;
    width: 112px;
    height: 112px;
}

.ds-success-seal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(47, 161, 94, 0.14);
    animation: ds-success-ring 2.8s ease-out infinite;
}

.ds-success-seal-ring--2 {
    animation-delay: 1.4s;
}

@keyframes ds-success-ring {
    0% { transform: scale(.85); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.ds-success-seal-core {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ds-color-primary-light) 0%, var(--ds-color-primary) 55%, var(--ds-color-primary-hover) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 14px 32px rgba(47, 161, 94, 0.35);
    color: #fff;
}

.ds-success-seal-check {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: ds-success-draw .6s .25s ease-out forwards;
}

@keyframes ds-success-draw {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ds-success-seal-ring {
        animation: none;
        opacity: 0;
    }

    .ds-success-seal-check {
        animation: none;
        stroke-dashoffset: 0;
    }
}

.ds-success-next {
    width: 100%;
    text-align: left;
}

.ds-success-next-label {
    color: #5C6470;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
}

.ds-success-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    width: 100%;
    padding-top: 26px;
    border-top: 1px solid rgba(20, 60, 35, 0.08);
    color: #5C6470;
    font-size: 15px;
}

    .ds-success-help a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        color: var(--ds-color-text);
        font-weight: 600;
        text-decoration: none;
    }

        .ds-success-help a:hover,
        .ds-success-help a:focus {
            color: var(--ds-color-primary-hover);
            text-decoration: none;
        }

    .ds-success-help svg {
        color: var(--ds-color-primary-hover);
    }

/* SmartServis card: text + button left, feature tiles right */
.ds-success-ss.ds-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
    padding: 48px;
    border-radius: 32px;
}

    .ds-success-ss .ds-title-2 {
        font-size: 32px;
    }

.ds-success-ss-badge {
    gap: 8px;
    height: 30px;
    padding: 0 12px;
}

.ds-success-ss-btn.ds-btn-lg {
    height: 58px;
    padding: 0 30px;
    border-radius: 20px;
    font-size: 17px;
}

@media (max-width: 900px) {
    .ds-success-ss.ds-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 680px) {
    .ds-success {
        gap: 18px;
    }

    .ds-success-done.ds-card {
        padding: 40px 20px 28px;
        border-radius: 24px;
    }

    .ds-success-seal {
        width: 92px;
        height: 92px;
    }

    .ds-success-done .ds-title-1 {
        font-size: 28px;
    }

    .ds-success-lead {
        font-size: 16px;
    }

    .ds-success-help {
        flex-direction: column;
        gap: 0;
    }

    .ds-success-ss.ds-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

        .ds-success-ss .ds-title-2 {
            font-size: 24px;
        }

    .ds-success-ss-btn.ds-btn-lg {
        width: 100%;
    }
}

/* =========================================================================
   Příslušenství / Spotřební materiál (Products/Accessories.aspx): category
   tiles (a click picks one), subcategory pills, the parameter + fulltext
   filter panel, the spacer ring drawing and the applied-filter chips.
   ========================================================================= */
.ds-acc-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.ds-acc-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px 12px;
    border: 1px solid rgba(37, 37, 37, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ds-color-text);
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .ds-acc-cat:hover,
    .ds-acc-cat:focus {
        border-color: rgba(47, 161, 94, 0.35);
        box-shadow: 0 8px 20px rgba(20, 60, 35, 0.08);
        color: var(--ds-color-text);
        text-decoration: none;
        transform: translateY(-2px);
    }

    .ds-acc-cat.is-active {
        border: 1.5px solid var(--ds-color-primary);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(47, 161, 94, 0.12);
    }

.ds-acc-cat-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
}

    .ds-acc-cat-image img {
        max-width: 72px;
        max-height: 56px;
        mix-blend-mode: multiply;
    }

.ds-acc-cat-name {
    display: flex;
    align-items: center;
    min-height: 32px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
}

.ds-acc-cat.is-active .ds-acc-cat-name {
    color: var(--ds-color-primary-hover);
}

/* subcategory pills of the picked category ("Vše" + each one) */
.ds-acc-subs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.ds-acc-subs-label {
    margin-right: 4px;
    color: var(--ds-color-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.ds-acc-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--ds-color-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

    .ds-acc-pill:hover,
    .ds-acc-pill:focus {
        border-color: rgba(47, 161, 94, 0.5);
        color: var(--ds-color-text);
        text-decoration: none;
    }

    .ds-acc-pill.is-active,
    .ds-acc-pill.is-active:hover,
    .ds-acc-pill.is-active:focus {
        border-color: var(--ds-color-primary);
        background: var(--ds-color-primary);
        color: #fff;
    }

/* the filter panel: parameter selects on one line, fulltext + actions on the next */
.ds-acc-filter {
    margin-top: 22px;
}

    .ds-acc-filter > .ds-filter-row + .ds-filter-row,
    .ds-acc-ring + .ds-filter-row {
        margin-top: 14px;
    }

/* fulltext with a magnifier */
.ds-acc-search {
    position: relative;
}

.ds-filter-row .ds-acc-search {
    flex: 1 1 260px;
}

.ds-acc-search-icon {
    position: absolute;
    left: 14px;
    top: 15px;
    z-index: 1;
    width: 18px;
    height: 18px;
    color: #8A909C;
    pointer-events: none;
}

.ds-acc-search .ds-ff-input {
    padding-left: 40px;
}

.ds-acc-search .ds-ff-label {
    left: 41px;
}

/* Vymezovací kroužky: the drawing next to the outer / inner diameter selects (one under the other) */
.ds-acc-ring {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.ds-acc-ring-svg {
    width: 260px;
    height: auto;
}

.ds-acc-ring-text {
    fill: var(--ds-color-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
}

.ds-acc-ring-text--outer {
    fill: var(--ds-color-primary-hover);
}

.ds-acc-ring-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-width: 420px;
}

/* the applied filter above the list */
.ds-acc-active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
}

.ds-acc-active-label {
    margin-right: 2px;
    color: var(--ds-color-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.ds-acc-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(47, 161, 94, 0.1);
    color: var(--ds-color-primary-hover);
    font-size: 12.5px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .ds-acc-cats {
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
        gap: 8px;
    }

    .ds-acc-cat {
        padding: 10px 6px;
    }

    .ds-acc-ring {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ds-acc-ring-svg {
        width: 220px;
        margin: 0 auto;
    }
}

/* =========================================================================
   20. PAGE-SPECIFIC: PARTNER MARGIN (Partner/PartnerMargin.aspx)
   Categories = ds-accordion (--single: one open at a time), each body holds a
   highlighted default row + per-size rows (% + fixed amount), sticky save bar,
   and the "margin calculation example" popup (built by the page script).
   ========================================================================= */

.ds-margin-lead {
    color: var(--ds-color-text-muted);
}

.ds-accordion.ds-margin-list {
    gap: 12px;
}

.ds-margin-cat-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    padding: 2px 0 22px;
}

.ds-margin-row--default,
.ds-margin-hint {
    grid-column: 1 / -1;
}

.ds-margin-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ds-margin-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(37, 37, 37, 0.06);
}

.ds-margin-col > .ds-margin-row:last-child {
    border-bottom: none;
}

.ds-margin-row--default {
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px solid rgba(47, 161, 94, 0.22);
    border-radius: 15px;
    background: rgba(47, 161, 94, 0.08);
}

.ds-margin-label {
    flex: 0 0 110px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-margin-label--long {
    flex-basis: 190px;
    font-size: 13px;
}

.ds-margin-label--default {
    flex: 1 1 220px;
    font-size: 15px;
}

.ds-margin-hint {
    margin: 10px 2px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ds-color-text-muted);
}

.ds-margin-field {
    position: relative;
    display: inline-flex;
    flex: 0 0 120px;
    width: 120px;
}

.ds-margin-input {
    width: 100%;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid rgba(37, 37, 37, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 2px rgba(20, 60, 35, 0.04);
    color: var(--ds-color-text);
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ds-margin-input:hover {
    border-color: rgba(47, 161, 94, 0.45);
}

.ds-margin-input:focus {
    outline: none;
    border-color: var(--ds-color-primary);
    background: var(--ds-color-white);
    box-shadow: 0 0 0 3px rgba(47, 161, 94, 0.16);
}

.ds-margin-suffix {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-color-text-muted);
    pointer-events: none;
}

.ds-margin-plus {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-text-muted);
}

.ds-margin-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(47, 161, 94, 0.14);
    color: var(--ds-color-primary-hover);
    cursor: help;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ds-margin-info:hover,
.ds-margin-info:focus-visible {
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
}

.ds-margin-info:focus-visible {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: 2px;
}

/* sticky save bar (general - any long settings form: PartnerMargin, PartnerOfferTemplates) */
.ds-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 30px rgba(20, 60, 35, 0.12);
}

.ds-savebar-note {
    font-size: 14px;
    color: var(--ds-color-text-muted);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-savebar {
        background: rgba(255, 255, 255, 0.96);
    }
}

/* the calculation example popup (moved to <body> and positioned by the page script) */
.ds-margin-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    width: 400px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 16px 18px 12px;
    border: 1px solid rgba(47, 161, 94, 0.22);
    border-radius: 18px;
    background: var(--ds-color-white);
    box-shadow: 0 18px 50px rgba(20, 60, 35, 0.22);
    color: var(--ds-color-text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.ds-margin-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.ds-margin-popup-head {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(37, 37, 37, 0.08);
}

.ds-margin-popup-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.ds-margin-popup-setting {
    margin-top: 2px;
    font-size: 13px;
    color: var(--ds-color-text-muted);
}

.ds-margin-popup-setting strong {
    color: var(--ds-color-primary-hover);
    font-weight: 700;
}

.ds-margin-popup-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.ds-margin-popup-table th {
    padding: 4px 8px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ds-color-text-muted);
    text-align: right;
    white-space: nowrap;
}

.ds-margin-popup-table td {
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
    white-space: nowrap;
}

.ds-margin-popup-table th:first-child,
.ds-margin-popup-table td:first-child {
    text-align: left;
}

.ds-margin-popup-table tbody tr:nth-child(odd) td {
    background: rgba(47, 161, 94, 0.06);
}

.ds-margin-popup-table tbody td:first-child {
    border-radius: 8px 0 0 8px;
}

.ds-margin-popup-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
    font-weight: 600;
}

.ds-margin-popup-table td strong {
    font-weight: 600;
    color: var(--ds-color-primary-hover);
}

.ds-margin-popup-pct {
    margin-left: 6px;
    font-size: 11px;
    color: var(--ds-color-text-muted);
}

@media (max-width: 991px) {
    .ds-margin-cat-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-margin-col + .ds-margin-col {
        border-top: 1px solid rgba(37, 37, 37, 0.06);
    }
}

@media (max-width: 767px) {
    .ds-margin-row {
        flex-wrap: wrap;
    }

    .ds-margin-label {
        flex-basis: 64px;
    }

    .ds-margin-label--long,
    .ds-margin-label--default {
        flex-basis: 100%;
    }

    .ds-margin-field {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .ds-margin-row--default {
        padding: 12px;
    }

    .ds-savebar {
        bottom: 10px;
    }

    .ds-savebar .ds-btn {
        width: 100%;
    }

    .ds-margin-popup-table th,
    .ds-margin-popup-table td {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* =========================================================================
   21. PAGE-SPECIFIC: PARTNER OFFER TEMPLATES (Partner/PartnerOfferTemplates.aspx)
   Glass cards numbered 1-5 like the areas of the offer preview image (sticky aside).
   ========================================================================= */

.ds-ot-card {
    position: relative;
    padding: 24px 26px 26px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 30px rgba(20, 60, 35, 0.07);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ds-ot-card {
        background: rgba(255, 255, 255, 0.94);
    }
}

.ds-ot-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ds-ot-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-ot-num,
.ds-ot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}

/* same green circle as the numbers in offer-template.png */
.ds-ot-num {
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    box-shadow: 0 4px 12px rgba(47, 161, 94, 0.3);
}

.ds-ot-icon {
    background: rgba(47, 161, 94, 0.14);
    color: var(--ds-color-primary-hover);
}

.ds-ot-note {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ds-color-text-muted);
}

.ds-ot-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ds-color-text-muted);
}

.ds-ot-hint strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ds-color-text);
    font-weight: 600;
}

.ds-ot-email {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

textarea.ds-ff-input.ds-ot-textarea--lg {
    min-height: 190px;
}

.ds-ot-plain textarea.ds-ff-input {
    min-height: 110px;
    padding-top: 14px;
}

/* soft green pill on the right of the e-mail card heading (button -> #ownEmailModal) */
.ds-ot-help-link {
    display: flex;
    cursor: pointer;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 7px 14px 7px 10px;
    border: 1px solid rgba(47, 161, 94, 0.25);
    border-radius: 999px;
    background: rgba(47, 161, 94, 0.08);
    color: var(--ds-color-primary-hover);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ds-ot-help-link svg {
    flex-shrink: 0;
}

.ds-ot-help-link:hover,
.ds-ot-help-link:focus {
    border-color: var(--ds-color-primary);
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    text-decoration: none;
}

.ds-ot-help-link:focus-visible {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: 2px;
}

.ds-ot-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 30px;
    align-items: start;
}

.ds-ot-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ds-ot-aside {
    position: sticky;
    top: 20px;
}

/* card <-> preview area highlight (page script sets .is-hot on both) */
.ds-ot-card[data-ot-area] {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-ot-card.is-hot {
    border-color: rgba(47, 161, 94, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 4px rgba(47, 161, 94, 0.1), 0 10px 30px rgba(20, 60, 35, 0.08);
}

.ds-ot-card.is-hot .ds-ot-num {
    transform: scale(1.1);
}

.ds-ot-num {
    transition: transform 0.2s ease;
}

/* ---- offer preview ("paper") - own ds-ot-doc-* namespace, no bare element selectors except
   the scoped table cells, so neither side leaks into the other ---- */
.ds-ot-doc {
    position: relative;
    padding: 18px 16px 16px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 12px;
    background: var(--ds-color-white);
    box-shadow: 0 6px 18px rgba(20, 60, 35, 0.06);
    color: #2b2b2b;
    font-size: 8.5px;
    line-height: 1.45;
}

.ds-ot-doc-area {
    position: relative;
    border-radius: 8px;
    outline: 2px solid transparent;
    outline-offset: 3px;
    cursor: pointer;
    transition: outline-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.ds-ot-doc-area:hover,
.ds-ot-doc-area.is-hot {
    outline-color: var(--ds-color-primary);
    background: rgba(47, 161, 94, 0.08);
}

.ds-ot-doc.has-hot .ds-ot-doc-head,
.ds-ot-doc.has-hot .ds-ot-doc-parties,
.ds-ot-doc.has-hot .ds-ot-doc-table,
.ds-ot-doc.has-hot .ds-ot-doc-summary,
.ds-ot-doc.has-hot .ds-ot-doc-footer {
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.ds-ot-doc.has-hot .ds-ot-doc-head:has(.is-hot),
.ds-ot-doc.has-hot .ds-ot-doc-parties:has(.is-hot),
.ds-ot-doc.has-hot .ds-ot-doc-summary.is-hot,
.ds-ot-doc.has-hot .ds-ot-doc-footer.is-hot {
    opacity: 1;
}

.ds-ot-doc-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(47, 161, 94, 0.35);
    transition: transform 0.2s ease;
}

.ds-ot-doc-area.is-hot > .ds-ot-doc-badge {
    transform: scale(1.25);
}

.ds-ot-doc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ds-ot-doc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42%;
    height: 46px;
    padding: 4px 8px;
    border: 1px dashed rgba(37, 37, 37, 0.12);
}

.ds-ot-doc-logo-img {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ds-ot-doc-logo-img.is-loaded {
    display: block;
}

.ds-ot-doc-logo-ph {
    color: var(--ds-color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ds-ot-doc-title {
    padding-top: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-align: right;
    color: #1a1a1a;
}

.ds-ot-doc-parties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 8px;
}

.ds-ot-doc-party {
    min-width: 0;
    padding: 8px;
    overflow-wrap: anywhere;
}

/* right column: customer on top, dates below it as a separate block */
.ds-ot-doc-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-left: 1px solid rgba(37, 37, 37, 0.12);
}

.ds-ot-doc-dates-wrap {
    margin-top: auto;
    padding: 6px 8px 8px;
    border-top: 1px solid rgba(37, 37, 37, 0.12);
}

.ds-ot-doc-label {
    font-weight: 700;
    color: #1a1a1a;
}

.ds-ot-doc-gap {
    margin-top: 6px;
}

.ds-ot-doc-name {
    font-weight: 600;
}

.ds-ot-doc .is-empty {
    color: #b3b3b3;
}

.ds-ot-doc-dates {
    padding: 8px 4px 4px;
}

.ds-ot-doc-date {
    display: flex;
    justify-content: space-between;
    column-gap: 4px;
}

.ds-ot-doc-date + .ds-ot-doc-date {
    margin-top: 3px;
}

.ds-ot-doc-date strong {
    margin-left: auto;
}

.ds-ot-doc-date span,
.ds-ot-doc-date strong {
    white-space: nowrap;
}

.ds-ot-doc-date span {
    font-weight: 600;
}

.ds-ot-doc-date strong {
    font-weight: 500;
    white-space: nowrap;
}

.ds-ot-doc-table {
    width: 100%;
    margin-top: 12px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
}

.ds-ot-doc-table th {
    padding: 5px 4px;
    border-bottom: 1px solid rgba(37, 37, 37, 0.12);
    background: rgba(37, 37, 37, 0.04);
    font-size: 7.5px;
    font-weight: 700;
    text-align: left;
}

.ds-ot-doc-table td {
    padding: 5px 4px;
    border-bottom: 1px solid rgba(37, 37, 37, 0.12);
    vertical-align: middle;
}

.ds-ot-doc-table tbody tr:last-child td {
    border-bottom: none;
}

.ds-ot-doc-table .ds-ot-doc-num {
    text-align: right;
    white-space: nowrap;
}

.ds-ot-doc-summary {
    margin-top: 14px;
    padding: 6px 8px;
    border: 1px solid rgba(37, 37, 37, 0.12);
}

/* "Ne" in the price summary card: the block is left out of the offer */
.ds-ot-doc-summary.is-off {
    border-style: dashed;
}

.ds-ot-doc-summary.is-off .ds-ot-doc-sum {
    opacity: 0.3;
    text-decoration: line-through;
}

.ds-ot-doc-sum {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 9.5px;
    font-weight: 700;
}

.ds-ot-doc-sum strong {
    white-space: nowrap;
}

.ds-ot-doc-footer {
    margin-top: 10px;
    padding: 6px 8px;
    border: 1px solid rgba(37, 37, 37, 0.12);
}

.ds-ot-doc-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* item picture placeholder - same light green tile as the product placeholders */
.ds-ot-doc-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    height: 30px;
    border-radius: 7px;
    background: #EDF7F1;
    color: var(--ds-color-primary);
}

.ds-ot-doc-footer-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* 1. logo */
.ds-ot-logo {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.ds-ot-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 220px;
    height: 130px;
    padding: 14px;
    border: 1px dashed rgba(47, 161, 94, 0.45);
    border-radius: 15px;
    background: var(--ds-color-white);
}

.ds-ot-logo-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ds-ot-logo-body {
    flex: 1 1 auto;
    min-width: 0;
}

.ds-ot-logo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ds-ot-upload {
    position: relative;
    overflow: hidden;
    margin: 0;
    cursor: pointer;
}

/* the real <input type="file"> stays in the label (click opens the picker), just invisible */
.ds-ot-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ds-ot-upload:focus-within {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: 2px;
}

.ds-ot-filename {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-color-primary-hover);
    overflow-wrap: anywhere;
}

.ds-ot-filename:empty {
    display: none;
}

.ds-ot-logo-body .ds-ot-hint {
    margin-top: 14px;
}

/* 2. my info */
.ds-ot-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ds-ot-wide {
    grid-column: 1 / -1;
}

/* 4. price summary Yes / No */
.ds-ot-choice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.ds-ot-choice-text {
    flex: 1 1 260px;
    min-width: 0;
}

.ds-ot-choice-text .ds-ot-hint {
    margin-top: 4px;
}

.ds-ot-choice-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-color-text);
}

.ds-ot-segment {
    display: inline-flex;
    padding: 4px;
    border: 1px solid rgba(37, 37, 37, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.ds-ot-segment-option {
    min-width: 76px;
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--ds-color-text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ds-ot-segment-option:hover {
    color: var(--ds-color-text);
}

.ds-ot-segment-option:focus-visible {
    outline: 2px solid var(--ds-color-primary);
    outline-offset: 2px;
}

.ds-ot-segment-option--yes.is-active {
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    box-shadow: 0 4px 12px rgba(47, 161, 94, 0.3);
}

.ds-ot-segment-option--no.is-active {
    background: #E5484D;
    color: var(--ds-color-white);
    box-shadow: 0 4px 12px rgba(229, 72, 77, 0.28);
}

/* 5. validity */
.ds-ot-validity {
    max-width: 260px;
}

.ds-ot-suffix {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-color-text-muted);
    pointer-events: none;
}

@media (max-width: 1199px) {
    .ds-ot-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    }
}

@media (max-width: 991px) {
    .ds-ot-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-ot-aside {
        position: static;
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .ds-ot-card {
        padding: 20px 16px;
    }

    .ds-ot-fields,
    .ds-ot-email {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-ot-logo {
        flex-direction: column;
    }

    .ds-ot-logo-preview {
        flex-basis: auto;
        width: 100%;
    }

    .ds-ot-validity {
        max-width: none;
    }
}

/* "Chcete odesilat nabidky z vlastniho e-mailu?" modal */
.ds-ot-modal .modal-dialog {
    width: 560px;
}

.ds-ot-modal .modal-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ds-ot-modal .ds-grid-modal-close {
    top: 18px;
    right: 18px;
}

.ds-ot-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ds-color-primary-light), var(--ds-color-primary-hover));
    color: var(--ds-color-white);
    box-shadow: 0 8px 20px rgba(47, 161, 94, 0.3);
}

.ds-ot-modal-title {
    margin: 0 40px 8px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ds-color-text);
}

.ds-ot-modal-lead {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ds-color-text-muted);
}

.ds-ot-modal-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: ds-ot-step;
}

.ds-ot-modal-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 37, 37, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ds-color-text);
    counter-increment: ds-ot-step;
}

.ds-ot-modal-steps li::before {
    content: counter(ds-ot-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--ds-color-primary);
    color: var(--ds-color-white);
    font-size: 13px;
    font-weight: 700;
}

.ds-ot-modal-steps strong {
    font-weight: 600;
}

.ds-ot-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 767px) {
    .ds-ot-modal .modal-dialog {
        width: auto;
        margin: 20px 10px;
    }

    .ds-ot-modal-actions .ds-btn {
        width: 100%;
    }
}
