/* =====================================
ROOT
===================================== */

:root {
    --reda: #dc2a1f;
    --reda-dark: #b82218;
    --reda-light: #fff5f5;

    --bg: #f5f6f8;
    --bg-card: #ffffff;

    --border: #e5e7eb;

    --text: #222222;
    --text-light: #6b7280;

    --radius: 16px;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =====================================
GLOBAL
===================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
            system-ui,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;
}

a {
    color: var(--reda);
    text-decoration: none;
}

.cb {
    display: none;
}

/* =====================================
MAIN LAYOUT
===================================== */

#main {
    width: 100%;
}

#middle {
    max-width: 1440px;
    margin: 0 auto;

    padding: 32px 24px 48px;

    box-sizing: border-box;
}

#cont {
    width: 100%;
}

/* =====================================
CATEGORY BAR
===================================== */

#left {
    position: sticky;

    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 32px;

    background: #fff;

    border-bottom: 1px solid var(--border);

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* =====================================
HIDE UNUSED
===================================== */

#loadTree,
#left h2,
    /* #tree1 ul, */
#tree1 .bullet,
#left .p0_20,
#left > div:last-child,
#intro-banner h2,
#intro-banner #introZalozky {
    display: none !important;
}

/* =====================================
CATEGORY MENU
===================================== */

#tree-kategorie,
#shopTree,
#tree1 {
    width: 100%;
}

#tree1 {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#tree1 > li {
    list-style: none;
}

#tree1 > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: #fff;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

#tree1 > li > a:hover,
#tree1 > li > a.active {
    background: var(--reda);

    border-color: var(--reda);

    color: #fff;
}

/* =====================================
INTRO BANNER
===================================== */

#intro-banner {
    width: 100%;

    margin: 0 0 32px;

    overflow: hidden;

    border-radius: 24px;
}

#intro-banner,
#intro-banner *,
#intro-banner ul,
#intro-banner li,
#intro-banner div,
#intro-banner p {
    box-sizing: border-box;
}

#intro-banner .detailPan,
#intro-banner #vypisIntro,
#intro-banner #vypisIntro ul {
    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

#intro-banner .obrCont {
    width: 100%;
}

#intro-banner .obrCont p {
    margin: 0;
}

#intro-banner img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 24px;
}

/* =====================================
CATALOG
===================================== */

#catalog-wrap {
    width: 100%;
}

.ds-products-grid {
    display: flex;
    flex-wrap: wrap;

    gap: 24px;

    align-items: stretch;
}

/* =====================================
BOOTSTRAP GRID RESET
===================================== */

.ds-products-grid > .produkt,
.ds-products-grid > .produkt.col-sm-6,
.ds-products-grid > .produkt.col-md-4,
.ds-products-grid > .produkt.col-lg-4,
.ds-products-grid > .produkt[class*="col-"] {
    width: calc((100% - 48px) / 3) !important;
    max-width: calc((100% - 48px) / 3) !important;

    flex: 0 0 calc((100% - 48px) / 3) !important;

    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    min-width: 0;
}

/* =====================================
PRODUCT CARD
===================================== */

.ds-products-grid .product-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: 420px;

    padding: 24px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow-sm);

    transition: 0.2s ease;
}

.ds-products-grid .product-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.ds-products-grid .inner {
    text-align: center;
}

.ds-products-grid h3 {
    min-height: 52px;

    margin-bottom: 16px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* =====================================
IMAGE
===================================== */

.ds-products-grid .detail-odkaz {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 240px;

    padding: 20px;
}

.ds-products-grid .detail-odkaz img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

/* =====================================
INFO
===================================== */

.ds-products-grid .info {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.ds-products-grid .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: auto;
}

.ds-products-grid .price {
    font-size: 28px;
    font-weight: 700;

    color: var(--reda);
}

/* =====================================
BUTTONS
===================================== */

.button,
.btn-buy,
.ds-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border: none;
    border-radius: 14px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

.btn-buy,
.ds-buy-button {
    background: var(--reda);

    color: #fff;
}

.btn-buy:hover,
.ds-buy-button:hover {
    background: var(--reda-dark);
}

/* =====================================
DETAIL PAGE
===================================== */

#cont.ds-detail-page .ds-products-grid {
    display: block;
}

.ds-product-detail {
    display: flex;
    align-items: flex-start;

    gap: 64px;

    padding: 48px;

    background: #fff;

    border-radius: 28px;

    box-shadow: var(--shadow-sm);
}

.ds-product-image {
    flex: 0 0 620px;
}

.ds-product-image img {
    display: block;

    width: 100%;
    max-width: 620px;

    border-radius: 24px;
}

.ds-product-info {
    display: flex;
    flex-direction: column;

    flex: 1;

    gap: 28px;
}

.ds-product-title {
    margin: 0;

    color: var(--reda);

    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1200px) {

    .ds-products-grid > .produkt,
    .ds-products-grid > .produkt[class*="col-"] {
        width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;

        flex: 0 0 calc(50% - 12px) !important;
    }

    .ds-product-detail {
        flex-direction: column;
    }

    .ds-product-image {
        width: 100%;
        flex: initial;
    }

    .ds-product-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    #middle {
        padding: 20px 16px 40px;
    }

    #left {
        padding: 16px;
    }

    #tree1 {
        justify-content: flex-start;
    }

    .ds-products-grid > .produkt,
    .ds-products-grid > .produkt[class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;

        flex: 0 0 100% !important;
    }

    .ds-product-detail {
        padding: 24px;

        gap: 32px;
    }

    .ds-product-title {
        font-size: 32px;
    }
}

/* =====================================
KATEGORIE VODOROVNĚ
PŘEPSÁNÍ LEGACY STYLŮ
===================================== */

#left,
#tree-kategorie,
#shopTree {
    width: 100%;
}

#tree1 {
    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    flex-wrap: wrap !important;

    gap: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

#tree1 > li {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

#tree1 > li > a {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;

    padding: 0 20px !important;

    border: 1px solid var(--border) !important;
    border-radius: 999px !important;

    background: #fff !important;

    color: var(--text) !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition: .2s ease !important;
}

#tree1 > li > a:hover,
#tree1 > li > a.active {
    border-color: var(--reda) !important;

    background: var(--reda-light) !important;

    color: var(--reda) !important;
}

/* schová jen podkategorie */

#tree1 > li > ul {
    display: none !important;
}

/* =====================================
HEADER
===================================== */

.ds-header {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

/* =====================================
CONTAINER
===================================== */

.ds-container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    padding: 0 32px;

    box-sizing: border-box;
}

/* =====================================
TOPBAR
===================================== */

.ds-topbar {
    border-bottom: 1px solid rgba(0,0,0,.06);

    background: #fafafa;
}

.ds-topbar-inner {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    min-height: 44px;
}

.ds-user-panel {
    display: flex;

    align-items: center;

    gap: 18px;

    font-size: 14px;
}

/* =====================================
USER
===================================== */

.ds-login-user {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text-light);
}

.ds-user-name {
    color: var(--text);
}

.ds-user-name strong {
    font-weight: 700;
}

.ds-user-divider {
    opacity: .4;
}

.ds-logout-link {
    color: var(--reda);

    font-weight: 600;

    transition: .2s ease;
}

.ds-logout-link:hover {
    color: var(--reda-dark);
}

/* =====================================
MAIN HEADER
===================================== */

.ds-header-main {
    background: #fff;
}

.ds-header-main-inner {
    display: flex;

    align-items: center;

    gap: 32px;

    min-height: 96px;
}

/* =====================================
LOGO
===================================== */

.ds-logo {
    flex: 0 0 auto;

    width: 180px;
    height: 48px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;

    display: block;
}



/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    flex: 1;
}

.ds-search-form {
    display: flex;

    align-items: center;

    gap: 12px;
}

.ds-search-input {
    width: 100%;
    height: 52px;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #f8fafc;

    font-size: 15px;

    transition: .2s ease;
}

.ds-search-input:focus {
    outline: none;

    border-color: var(--reda);

    background: #fff;

    box-shadow: 0 0 0 4px rgba(220,42,31,.08);
}

.ds-search-button {
    height: 52px;

    padding: 0 24px;

    border: none;
    border-radius: 16px;

    background: var(--reda);

    color: #fff;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.ds-search-button:hover {
    background: var(--reda-dark);
}

/* =====================================
CART
===================================== */

.ds-cart-wrap {
    flex: 0 0 auto;
}

.ds-cart-container {
    display: flex;

    align-items: center;

    gap: 16px;
}

/* budget */

#limity {
    padding: 12px 16px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid var(--border);

    font-size: 13px;
    line-height: 1.5;
}

/* cart */

#kosik {
    min-width: 140px;
}

#kosik > div > a {
    display: flex;
    flex-direction: column;

    justify-content: center;

    min-height: 72px;

    padding: 12px 18px;

    border-radius: 18px;

    background: var(--reda);

    color: #fff;

    text-decoration: none;

    transition: .2s ease;
}

#kosik > div > a:hover {
    background: var(--reda-dark);

    transform: translateY(-2px);
}

#kosik strong {
    font-size: 16px;
}

/* =====================================
MENU
===================================== */

.ds-menu-row {
    background: #fff;

    border-top: 1px solid rgba(0,0,0,.04);
}

.ds-menu {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 68px;
}

.ds-menu > ul {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ds-menu > ul > li {
    position: relative;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ds-menu > ul > li > a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border-radius: 999px;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.ds-menu > ul > li > a:hover {
    background: var(--reda-light);

    color: var(--reda);
}

/* admin */

.menu-admin {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 44px;

    padding: 0 18px;

    border-radius: 999px;

    background: var(--reda);

    color: #fff !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.menu-admin:hover {
    background: var(--reda-dark);
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .ds-header-main-inner {
        flex-wrap: wrap;

        padding: 20px 0;
    }

    .ds-search-wrap {
        width: 100%;

        order: 3;
    }

    .ds-cart-wrap {
        margin-left: auto;
    }

}

@media (max-width: 768px) {

    .ds-container {
        padding: 0 16px;
    }

    .ds-topbar-inner {
        justify-content: center;
    }

    .ds-user-panel {
        flex-wrap: wrap;

        justify-content: center;
    }

    .ds-header-main-inner {
        gap: 20px;
    }

    .ds-cart-container {
        flex-direction: column;

        align-items: stretch;
    }

    .ds-menu {
        overflow-x: auto;

        padding-bottom: 12px;
    }

    .ds-menu > ul {
        flex-wrap: nowrap;
    }

}

/* =====================================
HEADER LAYOUT FIX
===================================== */

.ds-header-main-inner {
    display: grid;

    grid-template-columns: 240px minmax(400px, 1fr) auto;

    align-items: center;

    gap: 40px;
}

/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    width: 100%;
}

.ds-search-form {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;
}

.ds-search-input {
    flex: 1;
}

/* =====================================
CART AREA
===================================== */

.ds-cart-wrap {
    justify-self: end;
}

.ds-cart-container {
    display: flex;

    align-items: stretch;

    gap: 16px;
}

/* =====================================
MENU
===================================== */

.ds-menu {
    justify-content: center;
}

/* =====================================
LOGO
===================================== */

.ds-logo {
    width: 220px;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .ds-header-main-inner {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .ds-cart-wrap {
        justify-self: stretch;
    }

}

/* =====================================
REMOVE LEGACY TOP MENU
===================================== */

.ds-menu-row {
    display: none;
}

/* =====================================
HEADER CLEAN LAYOUT
===================================== */

.ds-header-main-inner {
    display: grid;

    grid-template-columns: 220px 1fr auto;

    align-items: center;

    gap: 32px;

    min-height: 92px;
}

/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    width: 100%;
}

.ds-search-form {
    display: flex;

    align-items: center;

    gap: 12px;
}

.ds-search-input {
    flex: 1;
}

/* =====================================
RIGHT SIDE
===================================== */

.ds-cart-wrap {
    display: flex;

    align-items: center;

    gap: 16px;
}

/* =====================================
CART
===================================== */

#kosik > div > a {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 110px;
    min-height: 56px;

    padding: 0 20px;

    border-radius: 16px;

    background: var(--reda);

    color: #fff;

    text-decoration: none;

    font-weight: 700;
}

/* =====================================
REMOVE OLD COLORS
===================================== */

#kosik,
#kosik * {
    background-image: none !important;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 900px) {

    .ds-header-main-inner {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}

/* =====================================
CART RESET
===================================== */

#kosikContainer,
#kosik,
#kosik > div,
#kosik a {
    background: transparent !important;

    background-image: none !important;

    box-shadow: none !important;

    border: none !important;
}

/* =====================================
NEW CART BUTTON
===================================== */

#kosik a {
    display: flex !important;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 120px;
    min-height: 72px;

    padding: 0 20px !important;

    border-radius: 18px;

    background: var(--reda) !important;

    color: #fff !important;

    text-decoration: none;

    font-weight: 700;

    line-height: 1.3;
}

/* =====================================
KILL LEGACY INNER BOXES
===================================== */

#kosik::before,
#kosik::after,
#kosik > div::before,
#kosik > div::after {
    display: none !important;
    content: none !important;
}

/* =====================================
HIDE UNUSED BUDGET
===================================== */

#limity {
    display: none !important;
}

/* =====================================
HEADER SEARCH
===================================== */

.ds-header-main-inner {
    display: flex;

    align-items: center;

    gap: 40px;
}

/*
LOGO
*/

.ds-logo {
    flex: 0 0 auto;
}

/*
SEARCH WRAP
*/

.ds-search-wrap {
    flex: 1;

    display: flex;
    justify-content: center;
}

/*
FORM
*/

.ds-search-form {
    width: 100%;
    max-width: 640px;

    display: flex;
    align-items: center;

    gap: 16px;
}

/*
INPUT
*/

.ds-search-input {
    flex: 1;

    height: 56px;

    padding: 0 24px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #fff;

    font-size: 16px;

    transition: .2s ease;
}

.ds-search-input:focus {
    outline: none;

    border-color: var(--reda);

    box-shadow: 0 0 0 4px rgba(220,42,31,.08);
}

/*
BUTTON
*/

.ds-search-button {
    height: 56px;

    padding: 0 28px;

    border: none;
    border-radius: 18px;

    background: var(--reda);

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.ds-search-button:hover {
    background: var(--reda-dark);
}

/*
CART
*/

.ds-cart-wrap {
    flex: 0 0 auto;
}

/* =====================================
HEADER MAIN LAYOUT
===================================== */

.ds-header-main-inner {
    display: grid !important;

    grid-template-columns:
        260px
        minmax(320px, 1fr)
        160px;

    align-items: center;

    gap: 48px;

    width: 100%;
}

/* =====================================
LOGO
===================================== */

.ds-logo,
#logo {
    display: flex !important;

    align-items: center;

    width: 260px;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
}

.ds-logo img,
#logo img {
    display: block;

    max-width: 100%;
    height: auto;
}

/*
kill legacy logo styles
*/

#logo span.old {
    display: none !important;
}

/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    width: 100%;
}

.ds-search-form,
#search {
    display: flex !important;

    align-items: center;

    width: 100%;
    max-width: none;

    gap: 16px;

    margin: 0 !important;
}

.ds-search-input {
    flex: 1;

    width: 100%;

    height: 56px;

    padding: 0 22px;

    border: 1px solid #d9dde3;
    border-radius: 18px;

    background: #fff;

    font-size: 16px;
}

.ds-search-button {
    flex: 0 0 auto;

    height: 56px;

    padding: 0 28px;

    border: none;
    border-radius: 18px;

    background: var(--reda);

    color: #fff;

    font-weight: 700;
}

/* =====================================
CART
===================================== */

.ds-cart-wrap {
    display: flex;

    justify-content: flex-end;
}

#kosikContainer {
    margin: 0 !important;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .ds-header-main-inner {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .ds-logo {
        justify-content: center;

        width: 100%;
    }

    .ds-cart-wrap {
        justify-content: center;
    }

}

/* =====================================
REDA LOGO
===================================== */

.ds-logo,
#logo {
    width: 220px;
    height: 64px;

    display: block;

    background-image: url('/img/logo.png?=v2');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;

    text-decoration: none;
}

/*
schová starý text
*/

.ds-logo .old,
#logo .old {
    display: none !important;
}

/* =====================================
KILL BESTDRIVE LOGO
===================================== */

html body #logo,
html body .ds-logo {
    background-image: url('/img/logo.png?v=99') !important;

    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;

    width: 260px !important;
    height: 72px !important;

    display: block !important;

    text-indent: -9999px !important;

    overflow: hidden !important;
}

/*
hide old text
*/

html body #logo .old,
html body .ds-logo .old {
    display: none !important;
}

/* =====================================
HEADER FINAL CLEAN
===================================== */

/* MAIN ROW */

.ds-header-main-inner {
    display: grid !important;

    grid-template-columns:
        220px
        minmax(500px, 1fr)
        auto;

    align-items: center !important;

    gap: 40px !important;

    min-height: 110px;

    width: 100%;
}

/* =====================================
LOGO
===================================== */

#logo,
.ds-logo {
    width: 220px !important;
    height: 72px !important;

    margin: 0 !important;

    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;

    display: block !important;

    flex: initial !important;
}

/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    width: 100%;
}

#search,
.ds-search-form {
    display: flex !important;

    align-items: center !important;

    width: 100%;

    gap: 0 !important;
}

.ds-search-input {
    flex: 1;

    height: 56px !important;

    padding: 0 24px !important;

    border:
            1px solid var(--border) !important;

    border-right: none !important;

    border-radius:
            18px 0 0 18px !important;

    background: #fff !important;

    font-size: 16px !important;

    box-shadow: none !important;
}

.ds-search-input:focus {
    outline: none !important;

    border-color: var(--reda) !important;
}

.ds-search-button {
    height: 56px !important;

    padding: 0 30px !important;

    border: none !important;

    border-radius:
            0 18px 18px 0 !important;

    background: var(--reda) !important;

    color: #fff !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    cursor: pointer;
}

/* =====================================
CART
===================================== */

.ds-cart-wrap {
    display: flex !important;

    align-items: center !important;

    justify-content: flex-end !important;
}

/* reset legacy */

#kosik,
#kosik *,
#kosikContainer {
    background: none !important;
    background-image: none !important;

    border: none !important;
    box-shadow: none !important;
}

/* clean cart */

#kosik a {
    display: inline-flex !important;

    align-items: center !important;

    gap: 12px !important;

    min-height: 56px !important;

    padding: 0 20px !important;

    border-radius: 18px !important;

    background: #fff !important;

    border: 1px solid var(--border) !important;

    color: var(--text) !important;

    font-weight: 700 !important;

    transition: .2s ease !important;
}

/* icon */

#kosik a::before {
    content: "🛒";

    font-size: 20px;
}

/* hover */

#kosik a:hover {
    border-color: var(--reda) !important;

    color: var(--reda) !important;

    transform: translateY(-2px);
}

/* price */

#kosik strong {
    color: var(--reda);
}


/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .ds-header-main-inner {
        grid-template-columns: 1fr !important;

        gap: 24px !important;
    }

    #logo,
    .ds-logo {
        margin: 0 auto !important;
    }

    .ds-cart-wrap {
        justify-content: center !important;
    }

}

/* =====================================
CART INLINE FIX
===================================== */

#kosik a {
    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    min-width: auto !important;
    height: 56px !important;

    padding: 0 22px !important;

    white-space: nowrap !important;
}

/* kill legacy linebreak */

#kosik br {
    display: none !important;
}

/* cart text */

#kosik strong {
    display: inline !important;

    margin: 0 !important;

    line-height: 1 !important;
}

/* spacing between qty and price */

#kosik strong:first-of-type::after {
    content: "•";

    margin-left: 10px;

    color: #cbd5e1;
}

/* =====================================
CART OPTICAL ALIGN
===================================== */

.ds-cart-wrap {
    display: flex;

    align-items: center;
}

#kosik {
    display: flex;

    align-items: center;
}

#kosik a {
    transform: translateY(-2px);
}

/* ikona */

#kosik a::before {
    position: relative;

    top: -1px;
}


/* =====================================
USER PANEL
===================================== */

.ds-user-panel {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    width: 100%;

    flex-wrap: nowrap;
}

/* =====================================
USER INFO
===================================== */

.ds-login-user {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;

    color: var(--text-light);
}

.ds-user-name strong {
    color: var(--text);

    font-weight: 700;
}

.ds-user-divider {
    opacity: .35;
}

.ds-user-company {
    opacity: .8;
}

/* =====================================
TOPBAR LINKS
===================================== */

.ds-user-panel a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    transition: .2s ease;

    text-decoration: none;

    font-size: 0;
}

/* =====================================
LOGOUT ICON
===================================== */

.ds-logout-link {
    border: 1px solid var(--border);

    background: #fff;
}

.ds-logout-link::before {
    content: "↪";

    font-size: 18px;
    font-weight: 700;

    color: var(--reda);
}

.ds-logout-link:hover {
    background: var(--reda-light);

    border-color: var(--reda);
}

/* =====================================
TOPBAR
===================================== */

.ds-topbar {
    padding: 10px 0 0;
}

.ds-topbar-inner {
    min-height: 42px;

    padding: 0 20px;

    border-radius: 14px;

    background: rgba(255,255,255,.7);

    border: 1px solid rgba(0,0,0,.04);
}

/* =====================================
USER ACTIONS FINAL
===================================== */

.ds-header {
    position: relative;
}

/* topbar */

.ds-user-panel {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 14px;

    width: 100%;
}

/* settings icon */

.ds-menu-row {
    position: absolute;

    top: 8px;
    right: 78px;

    z-index: 60;

    background: transparent;

    border: 0;
}

.ds-menu {
    min-height: auto;
}

/* hide old article menu */

.ds-menu > ul {
    display: none !important;
}

/* gear */

.menu-admin {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0 !important;

    border-radius: 50%;

    background: #fff !important;

    border: 1px solid var(--border);

    font-size: 0 !important;

    transition: .2s ease;
}

.menu-admin::before {
    content: "⚙";

    font-size: 18px;

    color: var(--reda);
}

.menu-admin:hover {
    background: var(--reda-light) !important;

    border-color: var(--reda);
}

/* =====================================
SETTINGS BUTTON
===================================== */

.ds-settings-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--border);

    text-decoration: none;

    transition: .2s ease;

    order: 2;
}

.ds-settings-btn::before {
    content: "⚙";

    font-size: 18px;

    color: var(--reda);
}

.ds-settings-btn:hover {
    background: var(--reda-light);

    border-color: var(--reda);
}

/* logout doprava */

.ds-logout-link {
    order: 3;
}

/* user info vlevo */

.ds-login-user {
    order: 1;
}

/* =====================================
TOPBAR LAYOUT FIX
===================================== */

.ds-user-panel {
    display: flex !important;

    align-items: center;

    justify-content: flex-end;

    gap: 14px;

    flex-wrap: nowrap;
}

/* user info */

.ds-login-user {
    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

/* settings */

.ds-settings-btn {
    flex: 0 0 auto;
}

/* logout */

.ds-logout-link {
    white-space: nowrap;
}

/* =====================================
FOOTER
===================================== */

.ds-footer {
    margin-top: 80px;

    background: #071224;

    color: rgba(255,255,255,.72);
}

/* =====================================
TOP STRIP
===================================== */

.ds-footer-top {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ds-footer-top-inner {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    padding: 24px 0;
}

.ds-footer-feature {
    padding: 22px 22px;
    min-height: auto;

    border-radius: 18px;

    background: rgba(255,255,255,.04);
}

.ds-footer-feature strong {
    display: block;

    margin-bottom: 8px;

    color: #fff;

    font-size: 16px;
}

.ds-footer-feature span {
    font-size: 14px;

    line-height: 1.6;
}

/* =====================================
MAIN
===================================== */

.ds-footer-main {
    padding: 40px 0 32px;
}

.ds-footer-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr .7fr;

    gap: 32px;

    align-items: start;
    align-self: start;
}

/* =====================================
BRAND
===================================== */

.ds-footer-logo {
    margin-bottom: 18px;
}

.ds-footer-logo img {
    display: block;

    width: 180px;

    height: auto;

    object-fit: contain;
}

.ds-footer-brand p {
    max-width: 320px;

    line-height: 1.8;
}

.ds-footer-brand-desc {
    margin-top: 18px;

    line-height: 1.7;
}

/* =====================================
COLS
===================================== */

.ds-footer-col h4 {
    margin: 0 0 20px;

    color: #fff;

    font-size: 15px;

    font-weight: 700;
}

/* =====================================
DYNAMIC MENU
===================================== */

.ds-footer-links {
    justify-self: start;
    padding-left: 24px;
}

.ds-footer-links ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.ds-footer-links > ul {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.ds-footer-links li {
    margin: 0;
    padding: 0;
    margin-bottom: 14px;
}

/* schová submenu */

.ds-footer-links li ul {
    display: none;
}

.ds-footer-links a {
    color: rgba(255,255,255,.72);

    text-decoration: none;

    transition: .2s ease;
}

.ds-footer-links a:hover {
    color: #fff;
}

/* =====================================
CONTACT
===================================== */

.ds-footer-contact {
    margin: 0;
    padding: 0;

    list-style: none;
    justify-self: start;
    padding-left: 12px;
}

.ds-footer-contact li + li {
    margin-top: 14px;
}



/* =====================================
BOTTOM
===================================== */

.ds-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: left;
}

.ds-footer-bottom .ds-container {
    padding: 22px 0;
}

.ds-footer-bottom p {
    margin: 0;

    font-size: 13px;

    color: rgba(255,255,255,.5);
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 900px) {

    .ds-footer-top-inner,
    .ds-footer-grid {
        grid-template-columns: 1fr;
    }

}

/* FORCE FOOTER */

#footer.ds-footer {
    background: #111827 !important;

    color: rgba(255,255,255,.72) !important;
}

#footer.ds-footer * {
    box-sizing: border-box;
}

.ds-footer-links,
.ds-footer-contact {
    justify-self: end;

    text-align: right;
}

.ds-footer-brand-desc {
    margin-top: 34px;

    max-width: 320px;

    line-height: 1.8;

    text-align: right;

    align-items: flex-start;
}

.ds-footer-bottom {
    display: flex;

    justify-content: center;

    padding-top: 28px;
}

/* hide footer links */

.ds-footer-links a[href="/favourite/list"],
.ds-footer-links a[href="/io/obecny-dotaz"] {
    display: none !important;
}

/* =====================================
TOPBAR LINKS
===================================== */

.ds-user-panel {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 14px;
}

/* favourites */

.ds-favourite-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    text-decoration: none;

    opacity: .7;

    transition: .2s ease;
}

.ds-favourite-btn::before {
    content: "♥";

    color: var(--reda);

    font-size: 16px;
}

.ds-favourite-btn:hover {
    opacity: 1;
}

/* top links */

.ds-user-links {
    display: flex;

    align-items: center;

    gap: 14px;

    width: auto;

    flex-wrap: nowrap;

    white-space: nowrap;
}

.ds-top-link {
    color: var(--text) !important;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    opacity: .75;

    transition: .2s ease;
}

.ds-top-link:hover {
    opacity: 1;
}

.ds-user-links {
    min-width: max-content;
}

/* =====================================
TOPBAR ICON BUTTONS
===================================== */

.ds-favourite-btn,
.ds-info-btn,
.ds-help-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    text-decoration: none;

    opacity: .7;

    transition: .2s ease;
}

.ds-favourite-btn:hover,
.ds-info-btn:hover,
.ds-help-btn:hover {
    opacity: 1;

    background: rgba(0,0,0,.04);
}

/* favourite */

.ds-favourite-btn::before {
    content: "♥";

    color: var(--reda);

    font-size: 15px;
}

/* info */

.ds-info-btn::before {
    content: "i";

    color: var(--reda);

    font-size: 16px;

    font-weight: 700;
}

/* help */

.ds-help-btn::before {
    content: "?";

    color: var(--reda);

    font-size: 16px;

    font-weight: 700;
}

/* =====================================
LOGIN PAGE
===================================== */

.ds-login-page {
    max-width: 520px;

    margin: 60px auto;

    padding: 48px;

    background: #fff;

    border-radius: 24px;

    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

/* headings */

.ds-login-page h2 {
    margin: 0 0 24px;

    color: var(--reda);

    font-size: 32px;

    font-weight: 700;

    text-align: center;
}

/* forms */

.ds-login-page form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* labels */

.ds-login-page label {
    margin-bottom: 6px;

    color: #444;

    font-size: 14px;

    font-weight: 600;
}

/* inputs */

.ds-login-page .inp {
    width: 100%;

    height: 52px;

    padding: 0 18px;

    border: 1px solid #ddd;

    border-radius: 14px;

    background: #fff;

    font-size: 15px;

    transition: .2s ease;
}

.ds-login-page .inp:focus {
    border-color: var(--reda);

    outline: none;

    box-shadow: 0 0 0 4px rgba(226,35,26,.08);
}

/* buttons */

.ds-login-page .button {
    height: 52px;

    padding: 0 28px;

    border: 0;

    border-radius: 14px;

    background: var(--reda);

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.ds-login-page .button:hover {
    background: var(--reda-dark);
}

/* =====================================
LOGIN PAGE MODERN
===================================== */

.ds-login-page {
    max-width: 520px;

    margin: 80px auto;

    padding: 48px;

    background: #fff;

    border-radius: 28px;

    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* headings */

.ds-login-page h2 {
    margin: 0 0 28px;

    color: var(--reda);

    font-size: 34px;

    font-weight: 700;

    text-align: center;
}

/* forms */

.ds-login-form,
.ds-reset-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* groups */

.ds-form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

/* labels */

.ds-login-page label {
    color: #444;

    font-size: 14px;

    font-weight: 600;
}

/* inputs */

.ds-login-page .inp {
    width: 100%;

    height: 54px;

    padding: 0 18px;

    border: 1px solid #ddd;

    border-radius: 14px;

    background: #fff;

    font-size: 15px;

    transition: .2s ease;
}

.ds-login-page .inp:focus {
    border-color: var(--reda);

    outline: none;

    box-shadow: 0 0 0 4px rgba(226,35,26,.08);
}

/* buttons */

.ds-login-page .button,
.ds-login-submit {
    height: 54px;

    border: 0;

    border-radius: 14px;

    background: var(--reda);

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.ds-login-page .button:hover,
.ds-login-submit:hover {
    background: var(--reda-dark);
}

/* divider */

.ds-login-divider {
    margin: 42px 0 26px;

    padding-top: 26px;

    border-top: 1px solid #eee;

    color: #777;

    font-size: 14px;

    font-weight: 600;

    text-align: center;
}

/* =====================================
LOGIN PAGE
AERO / REDA STYLE
===================================== */

body {
    background: #f4f5f7;
}

/* layout */

.ds-login-page {
    display: flex;

    justify-content: center;

    padding: 80px 20px;
}

/* card */

.ds-login-card {
    width: 100%;
    max-width: 520px;

    padding: 36px;

    border-radius: 28px;

    background: #fff;

    box-shadow:
            0 10px 30px rgba(15, 23, 42, 0.06),
            0 2px 8px rgba(15, 23, 42, 0.04);
}

/* heading */

.ds-login-form h2 {
    margin: 0 0 36px;

    color: #0f172a;

    font-size: 34px;
    font-weight: 800;

    text-align: center;
}

/* spacing */

.ds-form-group {
    margin-bottom: 16px;
}

/* labels */

.ds-form-group label {
    display: block;

    margin-bottom: 10px;

    color: #475569;

    font-size: 14px;
    font-weight: 600;
}

/* inputs */

.ds-login-page .inp {
    width: 100%;
    height: 52px;

    padding: 0 18px;

    border: 1px solid #dbe2ea;
    border-radius: 16px;

    background: #f8fafc;

    color: #0f172a;

    font-size: 16px;

    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            background .2s ease;
}

.ds-login-page .inp:focus {
    border-color: #e5251f;

    background: #fff;

    box-shadow: 0 0 0 4px rgba(229, 37, 31, 0.08);

    outline: none;
}

/* button */

.ds-login-submit {
    width: 100%;
    height: 52px;

    margin-top: 12px;

    border: 0;
    border-radius: 18px;

    background: #e5251f;

    color: #fff;

    font-size: 16px;
    font-weight: 700;

    transition:
            transform .15s ease,
            box-shadow .2s ease,
            background .2s ease;
}

.ds-login-submit:hover {
    background: #cc1f1a;

    box-shadow: 0 10px 24px rgba(229, 37, 31, 0.18);

    transform: translateY(-1px);
}

/* forgot */

.ds-forgot-toggle {
    display: block;

    margin: 28px auto 0;

    padding: 0;

    border: 0;

    background: transparent;

    color: #64748b;

    font-size: 14px;
    font-weight: 600;

    transition: color .2s ease;

    cursor: pointer;
}

.ds-forgot-toggle:hover {
    color: #e5251f;
}

/* reset form */

.ds-reset-form {
    margin-top: 28px;
    padding-top: 28px;

    border-top: 1px solid #e5e7eb;
}

/* reset text */

.ds-reset-text {
    margin-bottom: 24px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}

/* buttons */

.ds-reset-actions {
    display: flex;

    gap: 12px;

    margin-top: 24px;
}

.ds-reset-actions .button {
    min-width: 140px;
    height: 52px;

    border: 0;
    border-radius: 14px;

    background: #e5251f;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.ds-reset-actions .button:hover {
    background: #cc1f1a;
}

/* secondary button */

.ds-button-secondary {
    background: #eef2f7 !important;

    color: #334155 !important;
}

.ds-button-secondary:hover {
    background: #dfe7ef !important;
}

/* logo header cleanup */

#header.container {
    margin-top: 40px;
}

#top.navbar {
    min-height: auto;

    padding: 18px 28px;

    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;

    background: #fff;

    box-shadow:
            0 4px 14px rgba(15, 23, 42, 0.03);
}

/* footer */

#footer {
    margin-top: 60px;
    margin-bottom: 40px;

    padding: 20px 32px;

    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;

    background: #fff;
}

#footer p {
    margin: 0;

    color: #94a3b8;

    font-size: 13px;
}

/* hidden */





#cont {
    width: 100%;

    padding: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    border: 0 !important;
}



.ds-login-header {
    display: flex;

    justify-content: center;

    padding: 70px 20px 12px;
}

.ds-login-logo img {
    width: 220px;
    height: auto;

    display: block;
}

body {
    background:
            linear-gradient(
                    180deg,
                    #f8fafc 0%,
                    #eef2f7 100%
            );
}

/* =====================================
LOGIN PAGE LAYOUT FIX
===================================== */

#middle {
    width: 100% !important;

    max-width: 100% !important;
}

#middle .row {
    margin: 0 !important;
}

body.login-page #left {
    display: none !important;
}

#cont {
    float: none !important;

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 auto !important;

    padding: 0 !important;
}

/* =====================================
LOGIN WRAP
===================================== */

.ds-login-page {
    display: flex;

    justify-content: center;

    padding: 40px 20px 80px;
}

/* =====================================
LOGIN CARD
===================================== */

.ds-login-card {
    width: 100%;

    max-width: 480px;

    padding: 56px 48px;

    border-radius: 32px;

    background: #ffffff;

    box-shadow:
            0 20px 60px rgba(15, 23, 42, 0.08);
}

/* =====================================
FORM
===================================== */

.ds-login-form h2 {
    margin-bottom: 32px;

    text-align: center;

    font-size: 30px;

    font-weight: 800;

    color: #111827;
}

.ds-form-group {
    margin-bottom: 20px;
}

.ds-form-group label {
    display: block;

    margin-bottom: 10px;

    color: #4b5563;

    font-size: 14px;

    font-weight: 600;
}

.ds-form-group .inp {
    width: 100%;

    height: 58px;

    padding: 0 18px;

    border: 1px solid #dbe2ea;

    border-radius: 18px;

    background: #f8fafc;

    font-size: 16px;

    transition: .2s ease;
}

.ds-form-group .inp:focus {
    border-color: #e1251b;

    background: #fff;

    outline: none;

    box-shadow:
            0 0 0 4px rgba(225, 37, 27, 0.08);
}

/* =====================================
BUTTON
===================================== */

.ds-login-submit {
    width: 100%;

    height: 58px;

    margin-top: 12px;

    border: 0;

    border-radius: 18px;

    background: #e1251b;

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    transition: .2s ease;
}

.ds-login-submit:hover {
    background: #c81d14;
}

/* =====================================
FORGOT PASSWORD
===================================== */

.ds-forgot-toggle {
    display: block;

    margin: 24px auto 0;

    border: 0;

    background: transparent;

    color: #64748b;

    font-size: 14px;

    cursor: pointer;

    transition: .2s ease;
}

.ds-forgot-toggle:hover {
    color: #e1251b;
}

/* =====================================
FULL WIDTH LOGIN LAYOUT
===================================== */

.container {
    width: 100% !important;

    max-width: 100% !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* LOGIN CENTER */

.ds-login-page {
    display: flex;

    justify-content: center;

    width: 100%;

    padding: 40px 20px 100px;
}

/* CARD */

.ds-login-card {
    width: 100%;

    max-width: 520px !important;
    border: 1px solid rgba(255,255,255,.7);

    backdrop-filter: blur(10px);
}

body {
    background:
            linear-gradient(
                    180deg,
                    #f8fafc 0%,
                    #eef2f7 100%
            );
}