/*
 * SKLEP DLA LEKARZA: full-screen search window (module sdl_search), in the shop's look:
 * green #5ca60d, frames #e1e1e1, 8px corners, light grey (#f6f6f6) behind product photos.
 */
html.sdls-open,
html.sdls-open body { overflow: hidden; }

.sdls {
    position: fixed;
    inset: 0;
    z-index: 1040; /* under the theme's cart window (1050), so "Add to cart" can show it */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
    background: rgba(35, 35, 35, .55);
    opacity: 0;
    transition: opacity .15s ease;
}
.sdls[hidden] { display: none; }
.sdls.is-visible { opacity: 1; }
.sdls-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1240px;
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    overflow: hidden;
    color: #232323;
}

/* head: logo, field, close */
.sdls-head { display: flex; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid #e1e1e1; }
.sdls-logo { flex: none; height: 34px; width: auto; }
.sdls-form { position: relative; flex: 1 1 auto; margin: 0; }
.sdls-form-icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: #7a7a7a; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.sdls-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #f6f6f6;
    font-size: 16px;
    color: #232323;
    -webkit-appearance: none;
    appearance: none;
}
.sdls-input:focus { border-color: #5ca60d; background: #fff; outline: none; }
.sdls-input::-webkit-search-cancel-button { cursor: pointer; }
.sdls-close { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #bdbdbd; border-radius: 50%; background: #fff; cursor: pointer; transition: border-color .2s ease; } /* the shop's round close button (12.11.2026) */
.sdls-close svg,
.sdls-filters-close svg { width: 16px; height: 16px; fill: none; stroke: #232323; stroke-width: 2.2; stroke-linecap: round; }
.sdls-close:hover,
.sdls-filters-close:hover { border-color: #5ca60d; }

/* tabs */
.sdls-tabs { display: flex; gap: 28px; padding: 0 24px; border-bottom: 1px solid #e1e1e1; }
.sdls-tab { position: relative; padding: 14px 0 12px; border: 0; background: none; font-size: 14px; font-weight: 600; color: #7a7a7a; cursor: pointer; }
.sdls-tab span { font-weight: 400; }
.sdls-tab.is-on { color: #232323; }
.sdls-tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #5ca60d; }
.sdls-tab:hover { color: #232323; }
.sdls-empty .sdls-tabs span { display: none; }

/* body: filters | results */
.sdls-body { display: flex; flex: 1 1 auto; min-height: 0; }
.sdls-filters { flex: none; width: 270px; padding: 20px 24px; border-right: 1px solid #e1e1e1; overflow-y: auto; }
.sdls-filters-head,
.sdls-filters-foot { display: none; }
.sdls-empty .sdls-filters,
.sdls-tab-pages .sdls-filters { display: none; }
.sdls-group { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid #eeeeee; }
.sdls-group:last-child { border-bottom: 0; }
.sdls-group-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.sdls-group ul { margin: 0; padding: 0; list-style: none; }
.sdls-group li { margin: 0 0 6px; }
.sdls-group li.is-extra { display: none; }
.sdls-group.is-open li.is-extra { display: block; }
.sdls-group label { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.35; cursor: pointer; }
.sdls-group input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #5ca60d; cursor: pointer; }
.sdls-check-name { flex: 1 1 auto; min-width: 0; }
.sdls-facet-more { margin-top: 4px; padding: 0; border: 0; background: none; color: #5ca60d; font-size: 13px; font-weight: 600; cursor: pointer; }

.sdls-main { flex: 1 1 auto; min-width: 0; padding: 18px 24px 24px; overflow-y: auto; }
.sdls-bar { display: flex; align-items: center; gap: 12px; min-height: 38px; margin-bottom: 14px; } /* the same height without the sort field (brands, articles): no jump between the tabs */
.sdls-count { flex: 1 1 auto; font-size: 14px; color: #555; }
.sdls-empty .sdls-bar,
.sdls-tab-pages .sdls-sort { display: none; }
.sdls-filters-open { display: none; }
.sdls-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #7a7a7a; }
.sdls-sort select {
    height: 38px; padding: 0 34px 0 12px; border: 1px solid #e1e1e1; border-radius: 8px; font-size: 13px; color: #232323; cursor: pointer;
    /* the browser's own arrow sat at the very edge of the field: an own one, 12px from the edge (1.7.1) */
    -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23232323' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 11px 7px;
}
.sdls-sort select:focus,
.sdls-sort select:hover { border-color: #5ca60d; outline: none; }
.sdls-status { margin: 30px 0; text-align: center; color: #7a7a7a; font-size: 15px; }
.sdls-status[hidden] { display: none; }
.is-loading .sdls-grid,
.is-loading .sdls-pages,
.is-loading .sdls-brands,
.is-loading .sdls-brands-intro { opacity: .55; transition: opacity .15s ease; }

/* product cards */
.sdls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 15px; }
.sdls-card { display: flex; flex-direction: column; padding: 10px; border: 1px solid #e1e1e1; border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.sdls-card:hover { border-color: #5ca60d; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
/* photo with the feature icons (ticons) in its bottom right corner, as on the product lists */
.sdls-card-media { position: relative; margin-bottom: 10px; }
.sdls-card-ticons { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; line-height: 0; }
.sdls-ticon { display: block; width: 26px; height: 26px; padding: 2px; border: 1px solid #e1e1e1; background: #fff; }
.sdls-ticon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sdls-ticons-more { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #e1e1e1; border-radius: 50%; background: #fff; color: #5ca60d; font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; }
.sdls-ticon:hover, .sdls-ticon:focus, .sdls-ticons-more:hover, .sdls-ticons-more:focus { border-color: #5ca60d; text-decoration: none; }
@media (max-width: 575px) {
    .sdls-card-ticons { right: 6px; bottom: 6px; }
    .sdls-ticon, .sdls-ticons-more { width: 22px; height: 22px; }
    .sdls-ticon { padding: 1px; }
    .sdls-ticons-more { font-size: 15px; }
}
.sdls-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin-bottom: 0; border-radius: 5px; background: #f6f6f6; overflow: hidden; }
/* products marked "Card without grey background" (sdl_plaincard): white photo area with a thin frame, as in the lists */
.sdls-card-plain .sdls-card-img { background: #fff; border: 1px solid #e1e1e1; }
.sdls-card-img img { display: block; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.sdls-card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.sdls-card-brand { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #5ca60d; }
.sdls-card-category { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-bottom: 6px; font-size: 12px; line-height: 1.35; color: #777; text-decoration: none; } /* at most 2 lines, as on the product lists */
.sdls-card-category:hover, .sdls-card-category:focus { color: #5ca60d; text-decoration: underline; }
/* colour dots, as on the product cards of the lists (18px, at most 5 and "+") */
.sdls-card-colors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 12px; padding: 0; list-style: none; } /* centred, 6px apart, with room above the button, as on the lists */
@media (max-width: 575px) { .sdls-card-colors { gap: 4px; } }
.sdls-card-colors li { margin: 0; padding: 0; line-height: 0; }
.sdls-color { display: block; width: 18px; height: 18px; border: 1px solid rgba(0, 0, 0, .18); border-radius: 50%; background-size: cover; background-position: center; }
.sdls-color:hover, .sdls-color:focus { outline: 1px solid #5ca60d; outline-offset: 1px; }
.sdls-colors-more { display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; margin: -0.5px; border: 1px solid #b3b3b3; border-radius: 50%; background: #fff; color: #5ca60d; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; }
.sdls-colors-more:hover, .sdls-colors-more:focus { border-color: #5ca60d; text-decoration: none; }
.sdls-card-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #232323;
    text-decoration: none;
}
.sdls-card-name:hover { color: #5ca60d; text-decoration: none; }
.sdls-card-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; margin-top: auto; text-align: center; } /* price, tax label and colours centred, as on the product lists */
.sdls-card-price strong { font-size: 17px; font-weight: 600; color: #000; }
.sdls-card-price s { font-size: 13px; color: #9a9a9a; }
.sdls-card-tax { font-size: 11px; color: #7a7a7a; text-align: center; }
.sdls-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #5ca60d;
    border-radius: 8px;
    background: #5ca60d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sdls-btn:hover,
.sdls-btn:focus-visible { background: #4e8f0b; border-color: #4e8f0b; color: #fff; text-decoration: none; outline: none; }
.sdls-btn.is-done { background: #3f7a06; border-color: #3f7a06; }
.sdls-btn[disabled] { opacity: .7; cursor: progress; }
.sdls-btn-light { border-color: #e1e1e1; background: #fff; color: #232323; }
.sdls-btn-light:hover,
.sdls-btn-light:focus-visible { border-color: #5ca60d; background: #fff; color: #232323; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
/* inside a result card the card itself casts the hover shadow: the button only gets the green frame,
   so product, article and brand cards look the same on hover (1.7.1) */
.sdls-card .sdls-btn-light:hover, .sdls-card .sdls-btn-light:focus-visible,
.sdls-brand .sdls-btn-light:hover, .sdls-brand .sdls-btn-light:focus-visible,
.sdls-pages a:hover .sdls-page-more { box-shadow: none; }

/* brands (1.7.0): one row per brand: logo, name (green tick for the key brands), number of products,
   a line about the brand, the buttons on the right; on phones the buttons under the text */
/* the shop's text above the brands (settings page) */
.sdls-brands-intro { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #444; }
.sdls-brands-intro[hidden] { display: none; }
.sdls-brands-intro > :last-child { margin-bottom: 0; }
.sdls-brands-intro a { color: #5ca60d; text-decoration: underline; }
.sdls-brands { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sdls-brands[hidden] { display: none; }
.sdls-brand { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border: 1px solid #e1e1e1; border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.sdls-brand:hover { border-color: #5ca60d; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.sdls-brand-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 136px; height: 80px; border-radius: 5px; background: #fff; text-decoration: none; }
.sdls-brand-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sdls-brand-logo span { font-size: 14px; font-weight: 700; text-align: center; color: #232323; text-transform: uppercase; }
.sdls-brand-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.sdls-brand-name { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #232323; text-decoration: none; }
.sdls-brand-name:hover { color: #5ca60d; text-decoration: none; }
.sdls-brand-key svg { display: block; width: 17px; height: 17px; }
.sdls-brand-key circle { fill: #5ca60d; }
.sdls-brand-key path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sdls-brand-count { font-size: 13px; color: #7a7a7a; }
.sdls-brand-text { font-size: 13px; color: #666; }
.sdls-brand-actions { display: flex; flex: none; flex-direction: column; gap: 8px; width: 190px; }
.sdls-brand-actions .sdls-btn { width: auto; height: 34px; padding: 0 14px; font-size: 11px; }
@media (max-width: 767px) {
    .sdls-brand { flex-wrap: wrap; gap: 12px; padding: 12px; }
    .sdls-brand-logo { width: 96px; height: 56px; }
    .sdls-brand-body { flex-basis: calc(100% - 108px); }
    .sdls-brand-actions { flex: 1 1 100%; flex-direction: row; width: auto; }
    .sdls-brand-actions .sdls-btn { flex: 1 1 0; padding: 0 10px; }
}

/* articles and pages: cards as the product cards (thin frame, 8px corners, green frame on hover) */
.sdls-pages { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.sdls-pages a { display: block; padding: 10px 14px; border: 1px solid #e1e1e1; border-radius: 8px; background: #fff; color: #232323; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sdls-pages a:hover { border-color: #5ca60d; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); text-decoration: none; }
.sdls-page-type { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 999px; background: #eef5e6; color: #3f7a06; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.sdls-pages strong { display: block; font-size: 15px; font-weight: 600; }
.sdls-page-text { display: block; margin-top: 4px; font-size: 13px; color: #666; }
/* blog posts: cards as on a phone at every width (photo on top, then the text and the light button
   of "Choose options"), several in a row on wider screens; photo corners as the product photos */
.sdls-pages:has(.sdls-page-has-img) { grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 480px) { .sdls-pages:has(.sdls-page-has-img) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .sdls-pages:has(.sdls-page-has-img) { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sdls-pages:has(.sdls-page-has-img) { grid-template-columns: repeat(4, 1fr); } } /* 4 in a row on wide screens */
.sdls-pages:has(.sdls-page-has-img) > li:not(.sdls-page-has-img) { grid-column: 1 / -1; } /* information pages: full row */
.sdls-pages .sdls-page-has-img a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 10px; box-sizing: border-box; }
/* one frame for every photo (as the blog's 885x620 list photos), filled without bands */
.sdls-page-img { aspect-ratio: 885 / 620; border-radius: 5px; overflow: hidden; background: #f6f6f6; }
.sdls-page-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sdls-page-body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; }
.sdls-pages .sdls-page-more { display: inline-flex; width: auto; margin-top: auto; padding: 0 18px; }
.sdls-pages .sdls-page-text { margin-bottom: 10px; }
.sdls-pages a:hover .sdls-page-more { border-color: #5ca60d; background: #fff; color: #232323; }



.sdls-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
.sdls-more { min-width: 220px; height: 40px; padding: 0 20px; border: 1px solid #e1e1e1; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #232323; cursor: pointer; }
.sdls-more { transition: border-color .2s ease, box-shadow .2s ease; }
.sdls-more:hover { border-color: #5ca60d; background: #fff; color: #232323; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.sdls-more[hidden],
.sdls-all[hidden] { display: none; }
.sdls-all { font-size: 13px; font-weight: 600; color: #5ca60d; }

/* tablets */
@media (max-width: 991px) {
    .sdls { padding: 12px; }
    .sdls-panel { height: calc(100vh - 24px); height: calc(100dvh - 24px); }
    .sdls-filters { width: 230px; padding: 16px; }
    .sdls-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
}

/* phones: the whole screen; filters in a panel over the results */
@media (max-width: 767px) {
    .sdls { padding: 0; }
    .sdls-panel { height: 100vh; height: 100dvh; max-width: none; border-radius: 0; }
    .sdls-head { gap: 10px; padding: 10px 12px; }
    .sdls-logo { display: none; }
    .sdls-input { height: 44px; font-size: 16px; }
    .sdls-close { width: 40px; height: 40px; }
    .sdls-tabs { gap: 20px; padding: 0 12px; }
    .sdls-main { padding: 12px 12px 20px; }
    .sdls-bar { flex-wrap: wrap; align-content: flex-start; gap: 8px; min-height: 72px; } /* number + filters and sort row: the same height in every tab */
    .sdls-count { flex: 1 0 100%; }
    .sdls-filters-open {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        height: 40px;
        border: 1px solid #e1e1e1;
        border-radius: 8px;
        background: #fff;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        color: #232323;
    }
    .sdls-has-filters .sdls-filters-open { border-color: #5ca60d; color: #3f7a06; background: #f4f9ee; }
    .sdls-tab-pages .sdls-filters-open { display: none; }
    .sdls-sort { flex: 1 1 0; }
    .sdls-sort span { display: none; }
    .sdls-sort select { width: 100%; height: 40px; }
    .sdls-filters {
        position: fixed;
        inset: 0;
        z-index: 2;
        display: none;
        flex-direction: column;
        width: auto;
        padding: 0;
        border: 0;
        background: #fff;
    }
    .sdls-filters-on .sdls-filters { display: flex; }
    .sdls-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #e1e1e1; font-size: 16px; }
    .sdls-filters-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #bdbdbd; border-radius: 50%; background: #fff; cursor: pointer; }
    .sdls-filters-groups { flex: 1 1 auto; padding: 16px; overflow-y: auto; }
    .sdls-filters-foot { display: flex; gap: 10px; padding: 12px; border-top: 1px solid #e1e1e1; }
    .sdls-clear,
    .sdls-apply { flex: 1 1 0; height: 44px; border-radius: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
    .sdls-clear { border: 1px solid #e1e1e1; background: #fff; color: #232323; }
    .sdls-apply { border: 1px solid #5ca60d; background: #5ca60d; color: #fff; }
    .sdls-group label { font-size: 14px; }
    .sdls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sdls-card { padding: 8px; }
    .sdls-card-price strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .sdls,
    .sdls-card { transition: none; }
}

/* desktop: "Clear filters" under the filters once something is chosen */
@media (min-width: 768px) {
    .sdls-has-filters .sdls-filters-foot { display: block; }
    .sdls-apply { display: none; }
    .sdls-clear { padding: 0; border: 0; background: none; color: #5ca60d; font-size: 13px; font-weight: 600; cursor: pointer; }
    .sdls-clear:hover { text-decoration: underline; }
}
.sdls label,
.sdls .sdls-check-name { text-align: left; } /* the theme centres labels */

/* before anything is typed: popular searches (categories) and recommended products */
.sdls-empty .sdls-tabs { display: none; }
.sdls-start[hidden] { display: none; }
.sdls-start-block + .sdls-start-block { margin-top: 26px; }
.sdls-start-title { margin: 0 0 12px; font-size: 18px; font-weight: 500; text-transform: none; color: #232323; }
.sdls-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sdls-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid #e1e1e1; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: #232323; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.sdls-chip:hover,
.sdls-chip:focus-visible { border-color: #5ca60d; background: #fff; color: #232323; text-decoration: none; outline: none; }
.sdls-empty .sdls-main { padding-top: 22px; }
@media (max-width: 767px) {
    .sdls-start-title { font-size: 16px; }
    .sdls-chip { height: 32px; padding: 0 12px; font-size: 13px; }
}
/* Hints (1.11.0): the shop's own labels from custom.css ([data-sdl-hint]) instead of the browser's
   titles, as on the product lists. The colour names sit centred over the colour row, so a label of
   a dot at the card's edge does not stick out of the window; the feature icons' labels look like
   ticons' tooltips on the lists (light grey box) and open above the icon, towards the photo. */
.sdls-card-colors { position: relative; }
.sdls-card-colors li, .sdls-card-colors .sdls-color[data-sdl-hint], .sdls-card-colors .sdls-colors-more[data-sdl-hint] { position: static; }
.sdls-card-colors [data-sdl-hint]::before { content: none; }
.sdls-card-colors [data-sdl-hint]::after { left: 0; right: 0; bottom: calc(100% + 4px); width: fit-content; max-width: 100%; margin: 0 auto; transform: none; white-space: normal; text-align: center; }
.sdls-card-ticons [data-sdl-hint]::after {
    left: auto; right: -6px; bottom: calc(100% + 9px); transform: none;
    width: max-content; max-width: 150px; padding: 6px 8px; border: 1px solid #ccc; border-radius: 5px; background: #ededed;
    color: #666; font: 13px/16px Arial, sans-serif; white-space: normal; text-align: left;
}
.sdls-card-ticons [data-sdl-hint]::before {
    bottom: calc(100% + 4px); left: 50%; width: 10px; height: 10px; margin-left: -5px;
    border: 0; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; background: #ededed;
    transform: rotate(45deg); z-index: 21;
}
