/* FINAL MERGED CSS */

/* =====================================
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:
            linear-gradient(
                    180deg,
                    #f8fafc 0%,
                    #eef2f7 100%
            );

    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 {
    width: 100% !important;
    max-width: 1440px;

    margin: 0 auto;

    padding: 32px 24px 48px;

    box-sizing: border-box;
}

#cont {
    width: 100% !important;
    max-width: 100% !important;

    float: none !important;

    padding: 0;
}

/* =====================================
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;

    flex-direction: row;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#tree1 > li {
    display: block;

    margin: 0;
    padding: 0;

    list-style: none;
}

#tree1 > li > a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: #fff;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

#tree1 > li > a:hover,
#tree1 > li > a.active {
    border-color: var(--reda);

    background: var(--reda-light);

    color: var(--reda);
}

/* =====================================
INTRO BANNER
===================================== */

#intro-banner {
    position: relative;

    width: 100%;

    min-height: 320px;

    margin: 0 0 40px;

    overflow: hidden;

    border-radius: 28px;

    background:
            linear-gradient(
                    180deg,
                    #f8fafc 0%,
                    #eef2f7 100%
            );
}

#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);
    max-width: calc((100% - 48px) / 3);

    flex: 0 0 calc((100% - 48px) / 3);

    float: none !important;

    margin: 0;
    padding: 0;

    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(-2px);

    border-color: #d8dee8;

    box-shadow:
            0 10px 28px rgba(16,24,40,.08);
}

.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: 220px;

    margin-bottom: 18px;

    padding: 12px;
}

.ds-products-grid .detail-odkaz img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    transition:
            transform .2s ease;
}

/* =====================================
INFO
===================================== */

.ds-products-grid .info {
    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: auto;
}

.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: auto;
    height: auto;

    max-width: 100%;
    max-height: 620px;

    object-fit: contain;
}

.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;
}

media (max-width: 1200px) {

.ds-products-grid > .produkt,
.ds-products-grid > .produkt[class*="col-"] {
    width: calc(50% - 12px);
    max-width: calc(50% - 12px);

    flex: 0 0 calc(50% - 12px);
}

.ds-product-detail {
    display: grid;

    grid-template-columns: 1fr;

    gap: 32px;
}
}

media (max-width: 768px) {

/* top features */

.ds-footer-top-inner {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.ds-footer-feature {
    text-align: center;

    padding: 14px;
}

/* main grid */

.ds-footer-grid {
    display: flex;

    flex-direction: column;

    gap: 28px;
}

/* logo */

.ds-footer-brand {
    display: flex;

    justify-content: center;
}

.ds-footer-logo img {
    max-width: 160px;
}

/* info */

.ds-footer-info {
    align-items: center;

    text-align: center;
}

.ds-footer-info h4 {
    margin-bottom: 14px;
}

/* menu */

.ds-footer-links {
    align-items: center;
}

.ds-footer-links ul {
    text-align: center;
}

.ds-footer-links li {
    margin-bottom: 10px;
}

/* bottom */

.ds-footer-bottom {
    text-align: center;
}

.ds-footer-bottom p {
    font-size: 12px;
}
}

/* =====================================
KATEGORIE VODOROVNĚ
PŘEPSÁNÍ LEGACY STYLŮ
===================================== */

#left,
#tree-kategorie,
#shopTree {
    width: 100%;
}

/* 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 {
    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);
}

.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 {
    color: var(--text);

    font-weight: 700;
}

.ds-user-divider {
    opacity: .35;
}

.ds-logout-link {
    color: var(--reda);

    font-weight: 600;

    transition: .2s ease;
}

.ds-logout-link:hover {
    background: var(--reda-light);

    border-color: var(--reda);
}

/* =====================================
MAIN HEADER
===================================== */

.ds-header-main {
    background: #fff;
}

.ds-header-main-inner {
    display: flex;

    align-items: center;

    gap: 32px;

    min-height: 96px;
}

/* =====================================
LOGO
===================================== */

.ds-logo {
    width: 220px;
}

/* =====================================
SEARCH
===================================== */

.ds-search-wrap {
    width: 100%;
}

.ds-search-form {
    display: flex;

    align-items: center;

    gap: 12px;
}

.ds-search-input {
    flex: 1;

    height: 56px;

    padding: 0 24px;

    border: 1px solid var(--border);

    border-right: none;

    border-radius: 18px 0 0 18px;

    background: #fff;
}

.ds-search-input:focus {
    outline: none;

    border-color: var(--reda);
}

.ds-search-button {
    height: 56px;

    padding: 0 30px;

    border: none;

    border-radius: 0 18px 18px 0;

    background: var(--reda);

    color: #fff;
}

.ds-search-button:hover {
    background: var(--reda-dark);
}

/* =====================================
CART
===================================== */

.ds-cart-wrap {
    display: flex;

    align-items: center;

    justify-content: flex-end;
}

.ds-cart-container {
    display: flex;

    align-items: stretch;

    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;
}

/* =====================================
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
===================================== */

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: 220px !important;
    height: 72px !important;

    display: block !important;

    text-indent: -9999px !important;

    overflow: hidden !important;
}

/* =====================================
SEARCH
===================================== */

#search,
.ds-search-form {
    display: flex !important;

    align-items: center !important;

    width: 100%;

    gap: 0 !important;
}

.ds-search-wrap {
    width: 100%;
}

.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;
}

.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;
}

/* =====================================
CART
===================================== */

#kosik a {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    height: 56px !important;

    padding: 0 22px !important;

    border-radius: 18px !important;

    background: #fff !important;

    border: 1px solid var(--border) !important;

    color: var(--text) !important;

    font-weight: 700 !important;
}

/* =====================================
CART INLINE LAYOUT
===================================== */

#kosik a {
    flex-direction: row !important;

    white-space: nowrap;
}

/* kill legacy linebreak */

#kosik br {
    display: none !important;
}

/* inline strong */

#kosik strong {
    display: inline !important;

    margin: 0 !important;

    line-height: 1 !important;
}

/* separator */

#kosik strong:first-of-type::after {
    content: "•";

    margin-left: 10px;

    color: #cbd5e1;
}

/* =====================================
MENU
===================================== */

.ds-menu-row {
    background: #fff;

    border-top: 1px solid rgba(0,0,0,.04);
}

.ds-menu {
    min-height: auto;
}

.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;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.menu-admin:hover {
    background: var(--reda-light);

    border-color: var(--reda);
}

media (max-width: 1100px) {

.ds-header-main-inner {
    grid-template-columns: 1fr;

    gap: 24px;
}

#logo,
.ds-logo {
    margin: 0 auto;
}

.ds-cart-wrap {
    justify-content: center;
}

}

/* =====================================
HEADER LAYOUT FIX
===================================== */

.ds-header-main-inner {
    display: grid;

    grid-template-columns: 240px minmax(400px, 1fr) auto;

    align-items: center;

    gap: 40px;
}

/* =====================================
CART AREA
===================================== */

.ds-cart-wrap {
    justify-self: end;
}

/* =====================================
MENU
===================================== */

.ds-menu {
    justify-content: center;
}

/* =====================================
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;
}

/* =====================================
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;
}

media (max-width: 900px) {

.ds-footer-top-inner,
.ds-footer-grid {
    grid-template-columns: 1fr;
}

}

/* =====================================
CART RESET
===================================== */

#kosikContainer,
#kosik,
#kosik > div,
#kosik a {
    background: transparent;

    background-image: none !important;

    box-shadow: none;

    border: none;
}

/* =====================================
NEW CART BUTTON
===================================== */

#kosik a {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 120px;
    min-height: 72px;

    padding: 0 20px;

    border-radius: 18px;

    background: var(--reda);

    color: #fff;

    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;
}

/* =====================================
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;
}

/*
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;
}

/*
CART
*/

.ds-cart-wrap {
    flex: 0 0 auto;
}

/* =====================================
HEADER MAIN LAYOUT
===================================== */

.ds-header-main-inner {
    display: grid;

    grid-template-columns:
        260px
        minmax(320px, 1fr)
        160px;

    align-items: center;

    gap: 48px;

    width: 100%;
}

/* =====================================
LOGO
===================================== */

.ds-logo,
#logo {
    display: flex;

    align-items: center;

    width: 260px;
    height: auto;

    margin: 0;
    padding: 0;

    background: none;
}

.ds-logo img,
#logo img {
    display: block;

    max-width: 100%;
    height: auto;
}

/*
kill legacy logo styles
*/

#logo span.old {
    display: none !important;
}

.ds-search-form,
#search {
    display: flex;

    align-items: center;

    width: 100%;
    max-width: none;

    gap: 16px;

    margin: 0;
}

#kosikContainer {
    margin: 0;
}

/* =====================================
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');

    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;

    width: 260px;
    height: 72px;

    display: block;

    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;

    grid-template-columns:
        220px
        minmax(500px, 1fr)
        auto;

    align-items: center;

    gap: 40px;

    min-height: 110px;

    width: 100%;
}

/* =====================================
LOGO
===================================== */

#logo,
.ds-logo {
    width: 220px;
    height: 72px;

    margin: 0;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;

    display: block;

    flex: initial;
}

/* =====================================
SEARCH
===================================== */

#search,
.ds-search-form {
    display: flex;

    align-items: center;

    width: 100%;

    gap: 0;
}

.ds-search-wrap {
    width: 100%;
}

.ds-search-input {
    flex: 1;

    height: 56px;

    padding: 0 24px;

    border: 1px solid var(--border);

    border-right: none;

    border-radius: 18px 0 0 18px;

    background: #fff;

    font-size: 16px;
}

.ds-search-button {
    height: 56px;

    padding: 0 30px;

    border: none;

    border-radius: 0 18px 18px 0;

    background: var(--reda);

    color: #fff;

    font-weight: 700;
}

/* =====================================
CART RESET
===================================== */

#kosik,
#kosik *,
#kosikContainer {
    background: none;
    background-image: none !important;

    border: none;
    box-shadow: none;
}

/* =====================================
CART
===================================== */

.ds-cart-wrap {
    display: flex;

    align-items: center;

    justify-content: flex-end;
}

#kosik {
    display: flex;

    align-items: center;
}

#kosik a {
    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 10px;

    height: 56px;

    padding: 0 22px;

    border-radius: 18px;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--text);

    font-weight: 700;

    white-space: nowrap;

    transition: .2s ease;
}

/* icon */

#kosik a::before {
    content: "🛒";

    font-size: 20px;
}

/* hover */

#kosik a:hover {
    border-color: var(--reda);

    color: var(--reda);

    transform: translateY(-2px);
}

/* kill legacy linebreak */

#kosik br {
    display: none !important;
}

/* price */

#kosik strong {
    color: var(--reda);

    display: inline;

    margin: 0;

    line-height: 1;
}

/* 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-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);
}

/* =====================================
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;
}

/* hide old article menu */

.ds-menu > ul {
    display: none !important;
}

/* gear */

.menu-admin {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--border);

    font-size: 0;

    transition: .2s ease;
}

.menu-admin::before {
    content: "⚙";

    font-size: 18px;

    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;

    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;
}

/* =====================================
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: 34px;

    max-width: 320px;

    line-height: 1.8;

    text-align: right;

    align-items: flex-start;
}

/* =====================================
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;

    text-align: center;
}

/* FORCE FOOTER */

#footer.ds-footer {
    background: #111827;

    color: rgba(255,255,255,.72);
}

#footer.ds-footer * {
    box-sizing: border-box;
}

.ds-footer-links,
.ds-footer-contact {
    justify-self: end;

    text-align: right;
}

.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);

    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 {
    display: flex;

    justify-content: center;

    width: 100%;

    padding: 40px 20px 100px;
}

/* headings */

.ds-login-page h2 {
    margin: 0 0 28px;

    color: var(--reda);

    font-size: 34px;

    font-weight: 700;

    text-align: center;
}

/* forms */

.ds-login-page form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* labels */

.ds-login-page label {
    color: #444;

    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;
}

/* 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);
}

/* 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;
}

/* 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;
}

/* 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: #c81d14;
}

/* 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: #e1251b;
}

/* 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;

    color: #334155;
}

.ds-button-secondary:hover {
    background: #dfe7ef;
}

/* 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;

    background: transparent;

    box-shadow: none;

    border: 0;
}

.ds-login-header {
    display: flex;

    justify-content: center;

    padding: 70px 20px 12px;
}

.ds-login-logo img {
    width: 220px;
    height: auto;

    display: block;
}

/* =====================================
LOGIN PAGE LAYOUT FIX
===================================== */

#middle {
    width: 100% !important;

    max-width: 100% !important;
}

#middle .row {
    width: 100% !important;

    margin: 0;
}

body.login-page #left {
    display: none !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;
}

/* =====================================
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;
}

/* =====================================
FULL WIDTH LOGIN LAYOUT
===================================== */

.container {
    width: 100% !important;

    max-width: 100% !important;

    padding-left: 0;
    padding-right: 0;
}

/* 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;
    border: 1px solid rgba(255,255,255,.7);

    backdrop-filter: blur(10px);
}

/* =====================================
 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);
}

.cb,
.old,
#topWindow.old {
    display: none !important;
}

/* =====================================
LAYOUT
===================================== */

#main {
    width: 100%;
}

.ds-container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    padding: 0 32px;

    box-sizing: border-box;
}

/* =====================================
LEGACY RESET
===================================== */

.container {
    width: 100% !important;
    max-width: 100% !important;

    padding-left: 0;
    padding-right: 0;
}

/* =====================================
HEADER MAIN
===================================== */

.ds-header-main-inner {
    display: grid;

    grid-template-columns:
        220px
        minmax(500px, 1fr)
        auto;

    align-items: center;

    gap: 40px;

    min-height: 110px;

    width: 100%;
}

/* =====================================
LOGO
===================================== */

html body #logo,
html body .ds-logo {
    background-image: url('/img/logo.png?v=99');

    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;

    width: 220px;
    height: 72px;

    display: block;

    text-indent: -9999px !important;

    overflow: hidden !important;
}

/* =====================================
SEARCH
===================================== */

#search,
.ds-search-form {
    display: flex;

    align-items: center;

    width: 100%;

    gap: 0;
}

/* =====================================
CART
===================================== */

#kosik a {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    height: 56px;

    padding: 0 22px;

    border-radius: 18px;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--text);

    font-weight: 700;
}

/* =====================================
CATEGORY MENU
===================================== */

#tree1 {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* =====================================
PRODUCT GRID
===================================== */

.ds-products-grid {
    display: flex;
    flex-wrap: wrap;

    gap: 24px;

    align-items: stretch;
}

.ds-products-grid > .produkt,
.ds-products-grid > .produkt[class*="col-"] {
    width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);

    flex: 0 0 calc((100% - 48px) / 3);

    float: none !important;

    margin: 0;
    padding: 0;
}

/* =====================================
PRODUCT DETAIL
===================================== */

.ds-product-detail {
    display: flex;
    align-items: flex-start;

    gap: 64px;

    padding: 48px;

    background: #fff;

    border-radius: 28px;

    box-shadow: var(--shadow-sm);
}

.ds-login-card {
    width: 100%;

    max-width: 520px;

    padding: 56px 48px;

    border-radius: 32px;

    border: 1px solid rgba(255,255,255,.7);

    background: #ffffff;

    backdrop-filter: blur(10px);

    box-shadow:
            0 20px 60px rgba(15, 23, 42, 0.08);
}

/* =====================================
PRODUCT CARD POLISH
===================================== */

.ds-products-grid .product-card {
    position: relative;

    padding: 20px 20px 18px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid #e7eaf0;

    box-shadow:
            0 1px 2px rgba(16,24,40,.04),
            0 1px 3px rgba(16,24,40,.06);

    transition:
            transform .18s ease,
            box-shadow .18s ease,
            border-color .18s ease;
}

/* =====================================
TITLE
===================================== */

.ds-products-grid h3 {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    min-height: 48px;

    margin:
            0
            0
            18px;

    padding: 0 10px;

    color: #111827;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;

    text-align: center;

    letter-spacing: -.01em;
}

.ds-products-grid .product-card:hover .detail-odkaz img {
    transform: scale(1.015);
}

/* oblíbené */

.ds-products-grid .favorite {
    color: var(--reda);

    font-size: 13px;

    line-height: 1.4;
}

/* sklad */

.ds-products-grid .sklad {
    color: #6b7280;

    font-size: 13px;
}

/* =====================================
BOTTOM
===================================== */

.ds-products-grid .bottom {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;

    margin-top: 18px;
}

/* =====================================
PRICE
===================================== */

.ds-products-grid .price {
    color: #111827;

    font-size: 24px;
    font-weight: 700;

    line-height: 1;
}

/* =====================================
VARIANT DETAIL
===================================== */

.variant-detail {
    width: 100%;
}

/* top */

.variant-detail__top {
    margin-bottom: 24px;
}

/* =====================================
MAIN
===================================== */

.variant-detail__main {
    display: flex;

    align-items: flex-start;

    gap: 48px;

    margin-bottom: 56px;
}

/* =====================================
IMAGE
===================================== */

.variant-detail__gallery {
    flex: 0 0 520px;

    display: flex;

    align-items: center;
    justify-content: center;
}

/* image */

.variant-detail__image {
    display: block;

    max-width: 100%;

    height: auto;

    object-fit: contain;
}

/* =====================================
INFO
===================================== */

.variant-detail__info {
    flex: 1;

    min-width: 0;
}

/* title */

.variant-detail__title {
    margin:
            0
            0
            28px;

    color:
            var(--reda);

    font-size: 42px;
    font-weight: 700;

    line-height: 1.08;
}

/* =====================================
META
===================================== */

.variant-detail__meta {
    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-bottom: 28px;
}

/* item */

.variant-detail__meta-item {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

/* label */

.variant-detail__label {
    color:
            #64748b;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .04em;
}

/* price */

.variant-detail__price {
    color:
            var(--reda);

    font-size: 42px;

    font-weight: 800;

    line-height: 1;
}

/* =====================================
DESCRIPTION
===================================== */

.variant-detail__description {
    color:
            #475569;

    font-size: 15px;

    line-height: 1.8;
}

/* =====================================
VARIANT LIST
===================================== */

.variant-list {
    margin-top: 20px;
}

/* title */

.variant-list__title {
    margin:
            0
            0
            28px;

    font-size: 28px;

    color:
            #111827;
}

/* =====================================
ROWS
===================================== */

.variant-rows {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

/* =====================================
ROW
===================================== */

.variant-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    padding:
            22px
            24px;

    border:
            1px solid #e7eaf0;

    border-radius: 24px;

    background:
            #fff;

    box-shadow:
            0 4px 18px rgba(15,23,42,.04);

    transition:
            .18s ease;
}

/* hover */

.variant-row:hover {
    transform:
            translateY(-2px);

    box-shadow:
            0 10px 24px rgba(15,23,42,.06);
}

/* =====================================
LEFT
===================================== */

.variant-row__left {
    display: flex;

    flex-direction: column;

    gap: 10px;

    min-width: 0;
}

/* title */

.variant-row__title {
    color:
            #111827;

    font-size: 20px;

    font-weight: 700;
}

/* meta */

.variant-row__meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}

/* code */

.variant-row__code {
    color:
            #94a3b8;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .04em;
}

/* stock */

.variant-row__stock {
    color:
            #475569;

    font-size: 14px;
}

/* =====================================
FORM
===================================== */

.variant-row__form {
    margin: 0;
}

/* actions */

.variant-row__actions {
    display: flex;

    align-items: center;

    gap: 12px;
}

/* qty */

.variant-row__qty {
    width: 84px;

    height: 52px;

    padding: 0 14px;

    border:
            1px solid #dbe2ea;

    border-radius: 16px;

    background:
            #fff;

    text-align: center;

    font-size: 16px;

    font-weight: 700;
}

/* submit */

.variant-row__submit {
    min-width: 120px;

    min-height: 52px;
}

/* remove */

.variant-row__remove {
    min-width: 52px;

    min-height: 52px;

    padding: 0;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .variant-detail__main {
        flex-direction: column;
    }

    .variant-detail__gallery {
        width: 100%;

        flex: initial;
    }

}

@media (max-width: 768px) {

    .variant-row {
        flex-direction: column;

        align-items: stretch;
    }

    .variant-row__actions {
        width: 100%;
    }

    .variant-row__qty,
    .variant-row__submit,
    .variant-row__remove {
        width: 100%;
    }

    .variant-detail__title {
        font-size: 32px;
    }

}

/* =====================================
BUTTON
===================================== */

.ds-buy-button,
.btn-buy {
    min-width: 104px;
    min-height: 44px;

    padding: 0 18px;

    border-radius: 14px;

    background: var(--reda);

    font-size: 14px;
    font-weight: 700;

    box-shadow:
            0 4px 12px rgba(220,42,31,.18);

    transition:
            transform .15s ease,
            box-shadow .18s ease,
            background .18s ease;
}

.ds-buy-button:hover,
.btn-buy:hover {
    transform: translateY(-1px);

    box-shadow:
            0 10px 20px rgba(220,42,31,.22);
}

/* =====================================
PRODUCT CARD
===================================== */

.prod.product-card {
    display: flex;

    flex-direction: column;

    height: 100%;
}

/* =====================================
INFO
===================================== */

.prod.product-card .info {
    display: flex;

    flex-direction: column;

    flex: 1;
}

/* =====================================
BOTTOM
===================================== */

.prod.product-card .bottom {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    align-items: center;

    gap: 14px;

    width: 100%;

    margin-top: auto;

    padding-top: 18px;
}

/* =====================================
PRICE
===================================== */

.prod.product-card .price {
    color: #111827;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -.01em;

    white-space: nowrap;
}

/* =====================================
FORM
===================================== */

.prod.product-card .bottom form {
    margin: 0;
}

/* =====================================
BUTTON
===================================== */

.prod.product-card .btn-buy {
    min-width: 92px;

    height: 42px;

    padding: 0 18px;

    border-radius: 14px;

    white-space: nowrap;
}

/* =====================================
INFO AREA
===================================== */

.prod.product-card .info {
    display: flex;

    flex-direction: column;

    flex: 1;

    align-items: center;

    text-align: center;
}

/* =====================================
FAVOURITES
===================================== */

.prod.product-card .fav {
    display: flex;

    justify-content: center;

    margin-bottom: -18px;
}

.prod.product-card .fav a {
    color: var(--reda);

    font-size: 13px;

    text-decoration: none;
}

/* =====================================
META
===================================== */

.prod.product-card .meta {
    display: flex;

    justify-content: center;

    width: 100%;
}

.prod.product-card .stock {
    display: flex;

    align-items: center;

    gap: 4px;

    color: #6b7280;

    font-size: 13px;
}

/* link */

.prod.product-card .fav a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    font-size: 0;

    text-decoration: none;

    border-radius: 50%;

    transition:
            background .18s ease,
            transform .18s ease,
            opacity .18s ease;
}

/* default = outline */

.prod.product-card .fav a::before {
    content: "♡";

    font-size: 18px;

    color: var(--reda);

    line-height: 1;
}

/* active */

.prod.product-card .fav a.old + a::before,
.prod.product-card .fav a.active::before {
    content: "♥";
}

/* hover */

.prod.product-card .fav a:hover {
    background: rgba(220,42,31,.08);

    transform: scale(1.06);
}

/* =====================================
META ROW
===================================== */

.prod.product-card .meta {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    margin-top: 2px;
}

/* stock */

.prod.product-card .stock {
    display: flex;

    align-items: center;

    gap: 4px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1;
}

/* heart */

.prod.product-card .fav a {
    position: relative;

    top: 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    font-size: 0;

    text-decoration: none;
}

/* default */

.prod.product-card .fav a::before {
    content: "♡";

    font-size: 17px;

    color: var(--reda);

    line-height: 1;
}

/* =====================================
CARD HOVER
===================================== */

.prod.product-card {
    transition:
            transform .18s ease,
            box-shadow .22s ease,
            border-color .22s ease;
}

.prod.product-card:hover {
    transform: translateY(-3px);

    border-color: #d9dee7;

    box-shadow:
            0 12px 28px rgba(15,23,42,.07);
}

/* =====================================
IMAGE
===================================== */

.prod.product-card .detail-odkaz img {
    transition:
            transform .25s ease;
}

.prod.product-card:hover .detail-odkaz img {
    transform: scale(1.02);
}

/* =====================================
TITLE
===================================== */

.prod.product-card h3 a {
    transition:
            color .18s ease;
}

.prod.product-card:hover h3 a {
    color: var(--reda);
}

/* =====================================
DETAIL LAYOUT
===================================== */

.ds-product-detail {
    display: grid;

    grid-template-columns:
        minmax(420px, 720px)
        minmax(320px, 440px);

    align-items: start;

    gap: 56px;

    padding: 40px;

    border-radius: 32px;

    background: #fff;

    border: 1px solid #e7eaf0;

    box-shadow:
            0 10px 30px rgba(15,23,42,.05);
}

/* =====================================
IMAGE
===================================== */

.ds-product-image {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 32px;

    border-radius: 28px;

    background:
            linear-gradient(
                    180deg,
                    #fafbfd 0%,
                    #f4f6f9 100%
            );

    border: 1px solid #edf1f5;
}

/* =====================================
INFO
===================================== */

.ds-product-info {
    display: flex;

    flex-direction: column;

    gap: 28px;

    padding-top: 8px;
}

/* =====================================
TITLE
===================================== */

.ds-product-title {
    margin: 0;

    color: var(--reda);

    font-size: 52px;
    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -.04em;
}

/* =====================================
TOP META
===================================== */

.ds-product-top {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.ds-product-code,
.ds-product-stock {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #6b7280;

    font-size: 14px;
}

.ds-product-code strong,
.ds-product-stock strong {
    color: #111827;
}

/* =====================================
PRICE
===================================== */

.ds-product-price-wrap {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.ds-product-price-main {
    color: #111827;

    font-size: 54px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -.05em;
}

.ds-product-price-meta {
    display: flex;

    flex-direction: column;

    gap: 4px;

    color: #6b7280;

    font-size: 14px;
}

/* =====================================
DESCRIPTION
===================================== */

.ds-product-description {
    max-width: 560px;

    color: #374151;

    font-size: 15px;

    line-height: 1.75;
}

/* =====================================
ACTIONS
===================================== */

.ds-product-actions {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    padding-top: 10px;
}

/* =====================================
BUY ROW
===================================== */

.ds-product-buy {
    display: flex;

    align-items: center;

    gap: 10px;
}

/* qty */

.ds-qty-input {
    width: 72px;
    height: 48px;

    padding: 0 12px;

    border: 1px solid #dbe2ea;

    border-radius: 14px;

    background: #fff;

    text-align: center;

    font-size: 15px;
    font-weight: 700;
}

/* button */

.ds-buy-button {
    min-width: 120px;
    height: 48px;

    border-radius: 16px;

    font-weight: 700;

    text-transform: none;
}

/* =====================================
FAVOURITE BUTTON
===================================== */

#favourite .button {
    min-height: 48px;

    padding: 0 22px;

    border-radius: 16px;

    background: var(--reda-light);

    color: var(--reda);

    border: 1px solid rgba(220,42,31,.14);

    font-weight: 700;

    transition:
            background .18s ease,
            border-color .18s ease,
            transform .18s ease;
}

#favourite .button:hover {
    background: rgba(220,42,31,.10);

    border-color: rgba(220,42,31,.22);

    transform: translateY(-1px);
}

/* =====================================
DETAIL IMAGE COLUMN
===================================== */

#detailImg.ds-product-image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100% !important;

    min-width: 0;
}

/* =====================================
IMAGE BOX
===================================== */

#detailImg.ds-product-image img {
    display: block;

    width: 100% !important;

    max-width: 760px;

    height: auto;

    max-height: none;

    object-fit: contain;
}

/* =====================================
DETAIL TOOLBAR
===================================== */

.ds-detail-toolbar {
    margin-bottom: 20px;
}

/* =====================================
BACK BUTTON
===================================== */

.ds-back-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    background: #fff;

    color: #374151;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
            0 1px 2px rgba(15,23,42,.04);

    transition:
            background .18s ease,
            border-color .18s ease,
            transform .18s ease,
            box-shadow .18s ease;
}

/* arrow */

.ds-back-button::before {
    content: "←";

    margin-right: 8px;

    font-size: 15px;
}

/* hover */

.ds-back-button:hover {
    background: #f8fafc;

    border-color: #d9dee7;

    transform: translateY(-1px);

    box-shadow:
            0 8px 20px rgba(15,23,42,.06);
}

/* wrapper */

#intro-banner .detailPan,
#intro-banner #vypisIntro,
#intro-banner #vypisIntro ul,
#intro-banner #vypisIntro li {
    height: 100%;
}

/* image */

#intro-banner img {
    display: block;

    width: 100%;
    height: 320px;

    object-fit: cover;
}

/* =====================================
INTRO BANNER IMAGE
===================================== */

#intro-banner img {
    display: block;

    width: 100%;
    height: 320px;

    object-fit: cover;

    object-position: left center;
}

/* =====================================
LOGIN PAGE ONLY
===================================== */

body.login-page #left {
    display: none !important;
}

.ds-login-page #cont {
    width: 100% !important;

    max-width: 100% !important;

    float: none !important;

    margin: 0 auto;

    padding: 0;
}

.ds-login-page #middle {
    width: 100% !important;

    max-width: 100% !important;
}

.ds-login-page .container {
    width: 100% !important;

    max-width: 100% !important;

    padding-left: 0;

    padding-right: 0;
}

.ds-login-page #middle .row {
    margin: 0;

    width: 100% !important;
}

/* =====================================
HIDE UNUSED
===================================== */

#loadTree,
#left h2,

#tree1 .bullet,
#left .p0_20,
#left > div:last-child,
#intro-banner h2,
#intro-banner #introZalozky {
    display: none !important;
}

/* =====================================
MENU ROW
===================================== */

.ds-menu-row {
    margin-top: -4px;
}

/* =====================================
CONTENT
===================================== */

#middle {
    padding-top: 18px;
}

/* =====================================
CATEGORY → PRODUCTS SPACING
===================================== */

#catalog-wrap {
    margin-top: 24px;
}

/* =====================================
CONTACT FORM
===================================== */

#odeslatDotaz {
    max-width: 720px;

    margin: 0 auto 80px;
}

/* =====================================
FORM CARD
===================================== */

#odeslatDotaz .formular {
    padding: 40px;

    border: 1px solid #e5e7eb;
    border-radius: 28px;

    background: #fff;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);

    display: flex;

    flex-direction: column;

    gap: 22px;
}

/* =====================================
LABELS
===================================== */

#odeslatDotaz label {
    display: block;

    margin-bottom: 10px;

    color: #334155;

    font-size: 14px;
    font-weight: 600;
}

/* =====================================
INPUTS
===================================== */

#odeslatDotaz input[type="text"],
#odeslatDotaz textarea {
    width: 100% !important;

    padding: 16px 18px;

    border: 1px solid #dbe2ea;
    border-radius: 18px;

    background: #f8fafc;

    color: #0f172a;

    font-size: 15px;

    transition: .2s ease;
}

#odeslatDotaz input[type="text"]:focus,
#odeslatDotaz textarea:focus {
    border-color: var(--reda);

    background: #fff;

    outline: none;

    box-shadow:
            0 0 0 4px rgba(229,37,31,.08);
}

/* =====================================
TEXTAREA
===================================== */

#odeslatDotaz textarea {
    min-height: 180px;

    resize: vertical;
}

/* =====================================
REMOVE LEGACY WIDTH
===================================== */

#odeslatDotaz .w350 {
    width: 100% !important;
}

/* =====================================
BUTTON
===================================== */

#odeslatDotaz .button {
    min-width: 220px;
    height: 54px;

    padding: 0 32px;

    border: 0;
    border-radius: 18px;

    background: var(--reda);

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    transition:
            transform .2s ease,
            box-shadow .2s ease;
}

#odeslatDotaz .button:hover {
    transform: translateY(-1px);

    box-shadow:
            0 12px 24px rgba(229,37,31,.18);
}

/* =====================================
CART
===================================== */

.ds-cart {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

/* item */

.ds-cart-item {
    display: grid;

    grid-template-columns:
        96px
        minmax(240px, 1fr)
        160px
        180px;

    align-items: center;

    gap: 24px;

    padding: 24px;

    border: 1px solid #e7eaf0;
    border-radius: 24px;

    background: #fff;

    box-shadow:
            0 8px 24px rgba(15,23,42,.04);

    transition:
            transform .2s ease,
            box-shadow .2s ease;
}

.ds-cart-item:hover {
    transform: translateY(-2px);

    box-shadow:
            0 14px 32px rgba(15,23,42,.08);
}

/* image */

.ds-cart-image img {
    width: 88px;
    height: 88px;

    object-fit: contain;

    border-radius: 18px;

    background: #f8fafc;
}

/* title */

.ds-cart-title a {
    color: #0f172a;

    font-size: 18px;
    font-weight: 700;
}

/* code */

.ds-cart-code {
    margin-top: 6px;

    color: #94a3b8;

    font-size: 13px;
}

/* stock */

.ds-cart-stock {
    margin-top: 10px;

    color: #64748b;

    font-size: 14px;
}

/* price */

.ds-cart-price strong {
    color: #0f172a;

    letter-spacing: -.03em;
}

/* actions */

.ds-cart-actions {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 14px;

    min-width: 150px;
}

.ds-cart-qty-wrap {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

.ds-cart-qty {
    width: 72px;
    height: 52px;

    border-radius: 16px;

    font-size: 18px;
    font-weight: 700;

    text-align: center;
}

.ds-cart-qty-label {
    color: #64748b;

    font-size: 15px;
    font-weight: 700;
}

.ds-cart-update {
    width: 100%;
    height: 52px;

    border-radius: 16px;

    font-size: 15px;
    font-weight: 700;
}

.ds-cart-remove {
    width: 100%;
    height: 44px;

    border-radius: 14px;

    background: #eef2f7;

    color: #334155;

    border: 0;

    transition: .2s ease;
}

.ds-cart-remove:hover {
    background: #dbe4ee;
}

/* form */

.ds-cart-form {
    display: flex;

    align-items: center;

    gap: 10px;
}

/* qty */

.ds-cart-qty {
    width: 60px;
    height: 46px;

    border-radius: 14px;

    text-align: center;
}

/* update */

.ds-cart-update {
    min-width: 64px;
    height: 46px;

    border-radius: 14px;
}

/* remove */

.ds-cart-remove {
    height: 38px;

    border-radius: 12px;
}

/* =====================================
ORDER REVIEW
===================================== */

.ds-order-review {
    display: flex;

    flex-direction: column;

    gap: 28px;
}

/* =====================================
INFO CARDS
===================================== */

.ds-order-card {
    padding: 28px 32px;

    border-radius: 28px;

    background: #fff;

    border: 1px solid #e7eaf0;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* =====================================
ROWS
===================================== */

.ds-order-row {
    display: grid;

    grid-template-columns:
            220px
            1fr;

    gap: 18px;

    padding:
            10px
            0;
}

/* divider */

.ds-order-row + .ds-order-row {
    border-top:
            1px solid #f1f5f9;
}

/* =====================================
LABEL
===================================== */

.ds-order-label {
    color: #64748b;

    font-size: 14px;
}

/* =====================================
VALUE
===================================== */

.ds-order-value {
    color: #111827;

    font-size: 15px;

    font-weight: 500;
}

/* =====================================
CART
===================================== */

.ds-order-review .ds-cart {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

/* =====================================
ITEM
===================================== */

.ds-order-review .ds-cart-item {
    display: grid;

    grid-template-columns:
            minmax(260px, 1fr)
            220px
            220px;

    align-items: center;

    gap: 32px;

    padding: 28px 32px;

    border-radius: 28px;

    background: #fff;

    border: 1px solid #e7eaf0;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* =====================================
INFO
===================================== */

.ds-cart-info {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

/* title */

.ds-cart-title a {
    color: #111827;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.3;

    text-decoration: none;
}

/* hover */

.ds-cart-title a:hover {
    color: var(--reda);
}

/* code */

.ds-cart-code {
    color: #94a3b8;

    font-size: 13px;

    letter-spacing: .04em;

    text-transform: uppercase;
}

/* =====================================
META
===================================== */

.ds-cart-meta {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

/* meta item */

.ds-cart-meta-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding:
            14px
            18px;

    border-radius: 18px;

    background:
            #f8fafc;
}

/* label */

.ds-cart-meta-label {
    color: #64748b;

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .04em;
}

/* value */

.ds-cart-meta-item strong {
    color: #111827;

    font-size: 16px;

    font-weight: 700;
}

/* =====================================
PRICE
===================================== */

.ds-cart-price {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 10px;

    text-align: right;
}

/* base */

.ds-cart-price-base {
    color: #64748b;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .04em;
}

/* price */

.ds-cart-price > strong {
    color: #111827;

    font-size: 32px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -.04em;
}

/* total */

.ds-cart-price-total {
    color: #64748b;

    font-size: 14px;
}

.ds-cart-price-total strong {
    color: var(--reda);

    font-weight: 700;
}

/* =====================================
SUMMARY
===================================== */

.ds-cart-summary {
    padding: 28px 32px;

    border-radius: 28px;

    background: #fff;

    border: 1px solid #e7eaf0;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* summary table */

.ds-cart-summary table {
    width: 100%;
}

.ds-cart-summary td {
    padding:
            10px
            0;

    color: #475569;

    font-size: 15px;
}

/* total */

.ds-cart-summary tr:last-child td {
    padding-top: 18px;

    border-top:
            1px solid #eef2f7;

    color: #111827;

    font-size: 20px;

    font-weight: 700;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 900px) {

    .ds-order-review .ds-cart-item {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .ds-cart-price {
        align-items: flex-start;

        text-align: left;
    }

    .ds-order-row {
        grid-template-columns: 1fr;

        gap: 8px;
    }

}

@media (max-width: 768px) {

    .ds-order-card,
    .ds-order-review .ds-cart-item,
    .ds-cart-summary {
        padding: 22px;
    }

    .ds-cart-price > strong {
        font-size: 28px;
    }

    .ds-cart-title a {
        font-size: 18px;
    }

}
/* =====================================
SUMMARY
===================================== */

.ds-cart-summary {
    width: 100%;
    max-width: 520px;

    margin-left: auto;
    margin-top: 40px;

    padding: 32px;

    border: 1px solid #e7eaf0;
    border-radius: 28px;

    background: #fff;
}

.ds-cart-summary-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 0;

    color: #475569;

    font-size: 16px;
}

.ds-cart-summary-row strong {
    color: #0f172a;

    font-size: 20px;
}

.ds-cart-summary-final {
    margin-top: 10px;
    padding-top: 22px;

    border-top: 1px solid #e7eaf0;
}

.ds-cart-summary-final span {
    font-size: 20px;
    font-weight: 700;

    color: #0f172a;
}

.ds-cart-summary-final strong {
    font-size: 34px;
    font-weight: 800;

    color: var(--reda);
}

.ds-cart-summary-content table {
    width: 100%;
}

.ds-cart-summary-content td {
    padding: 10px 0;
}

.ds-cart-summary-content tr:last-child td {
    font-size: 18px;
    font-weight: 800;
    color: #e1251b;

    white-space: nowrap;
}

/* =====================================
CART SUMMARY
===================================== */

.ds-cart-summary {
    display: flex;

    justify-content: flex-end;

    margin-top: 40px;
}

.ds-cart-summary-content {
    width: 100%;
    max-width: 420px;
    min-width: 420px;

    padding: 28px 32px;

    border: 1px solid #e7eaf0;
    border-radius: 24px;

    background: #fff;

    box-shadow:
            0 8px 24px rgba(15,23,42,.04);
    overflow: hidden;
}

/*
legacy table cleanup
*/

.ds-cart-summary table {
    width: 100%;
}

.ds-cart-summary td {
    padding: 12px 0;

    border: 0;

    white-space: nowrap;
}

.ds-cart-summary strong {
    color: #0f172a;
}

/*
final row
*/

.ds-cart-summary tr:last-child td {
    padding-top: 18px;

    border-top: 1px solid #e7eaf0;

    font-size: 22px;
    font-weight: 800;

    color: #0f172a;
}

.ds-cart-summary tr:last-child strong {
    font-size: 34px;

    color: var(--reda);
    flex-shrink: 0;
}

.ds-cart-summary tr:last-child td {
    padding-top: 22px;

    border-top: 1px solid #e7eaf0;
}

.ds-cart-summary table {
    width: 100%;

    border-collapse: collapse;
}

/*
label
*/

.ds-cart-summary tr:last-child td:first-child {
    font-size: 20px;
    font-weight: 700;

    color: #0f172a;
}

/*
price
*/

.ds-cart-summary tr:last-child td:last-child {
    font-size: 36px;
    font-weight: 800;

    color: var(--reda);

    text-align: right;
}

.ds-cart-price strong {
    font-size: 18px;
    font-weight: 500;

    color: #0f172a;
}

.ds-cart-price-label {
    margin-bottom: 8px;

    color: #94a3b8;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.ds-cart-line-total {
    margin-top: 12px;

    color: #475569;

    font-size: 14px;
}

.ds-cart-summary .w100 {
    width: 220px;
}

.ds-cart-summary td:last-child {
    min-width: 180px;
}

.ds-cart-actions-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 16px;

    margin-top: 40px;
}

.ds-cart-actions-footer .button {
    height: 52px;

    padding: 0 28px;

    border: 0;
    border-radius: 16px;

    font-size: 15px;
    font-weight: 700;

    transition:
            transform .15s ease,
            box-shadow .2s ease,
            background .2s ease;
}

.ds-cart-actions-footer .fr {
    background: var(--reda);

    color: #fff;

    box-shadow:
            0 10px 24px rgba(225,37,27,.18);
}

.ds-cart-actions-footer .fr:hover {
    background: var(--reda-dark);

    transform: translateY(-1px);
}

.ds-cart-actions-footer .fl {
    background: #eef2f7;

    color: #334155;
}

.ds-cart-actions-footer .fl:hover {
    background: #dfe7ef;
}

.ds-cart-actions-footer .fr,
.ds-cart-actions-footer .fl {
    float: none !important;
}

/* =====================================
CHECKOUT
===================================== */

.ds-checkout {
    max-width: 980px;

    margin: 40px auto 0;
}

/* card */

.ds-checkout #formular {
    padding: 40px;

    border: 1px solid #e7eaf0;
    border-radius: 32px;

    background: #fff;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* sections */

.ds-checkout h4 {
    margin: 40px 0 24px;

    color: #0f172a;

    font-size: 22px;
    font-weight: 800;
}

.ds-checkout h4:first-child {
    margin-top: 0;
}

/* rows */

.ds-checkout p {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-bottom: 22px;
}

/* labels */

.ds-checkout label {
    min-width: 220px;

    color: #475569;

    font-size: 14px;
    font-weight: 600;
}

/* inputs */

.ds-checkout input[type="text"],
.ds-checkout select,
.ds-checkout textarea {
    width: 100% !important;
    max-width: 420px;

    min-height: 54px;

    padding: 0 18px;

    border: 1px solid #dbe2ea;
    border-radius: 16px;

    background: #f8fafc;

    font-size: 15px;

    transition: .2s ease;
}

/* textarea */

.ds-checkout textarea {
    min-height: 140px;

    padding-top: 16px;

    resize: vertical;
}

/* focus */

.ds-checkout input:focus,
.ds-checkout select:focus,
.ds-checkout textarea:focus {
    border-color: #e1251b;

    background: #fff;

    outline: none;

    box-shadow:
            0 0 0 4px rgba(225,37,27,.08);
}

/* hr */

.ds-checkout hr {
    margin: 40px 0;

    border: 0;
    border-top: 1px solid #eef2f7;
}

/* buttons */

.ds-checkout-actions {
    display: flex;

    justify-content: space-between;

    margin-top: 40px;
}

.ds-checkout-actions .fl,
.ds-checkout-actions .fr {
    float: none !important;
}

/* =====================================
ORDER REVIEW
===================================== */

.ds-order-review {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ds-order-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.ds-order-row {
    display: flex;
    gap: 24px;
    padding: 8px 0;
}

.ds-order-row:not(:last-child) {
    border-bottom: 1px solid #f1f3f7;
}

.ds-order-label {
    width: 220px;
    min-width: 220px;
    font-weight: 700;
    color: #222;
}

.ds-order-value {
    flex: 1;
    color: #3b4252;
    line-height: 1.6;
}

/* =====================================
ORDER PRODUCT META
===================================== */

.ds-cart-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}

.ds-cart-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-cart-meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8b95a7;
}

/* =====================================
ORDER TOTAL
===================================== */

.ds-cart-price-total {
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
}

.ds-cart-price-total strong {
    color: #0f172a;
    margin-left: 8px;
}

/* =====================================
ORDER ACTIONS
===================================== */

.ds-cart-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.ds-order-finish {
    text-align: center;
    padding: 48px 24px 24px;
}

.ds-order-finish-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 32px;
}

.ds-order-finish-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.ds-order-finish-actions .button {
    min-width: 220px;
}

.ds-order-finish-actions .button:last-child {
    background: var(--reda);
}

.ds-order-finish-actions .button:last-child:hover {
    background: var(--reda-dark);
}

.listTable {
    overflow-x: auto;
}

/* =====================================
CHECKOUT / ORDER COMPLETION
===================================== */

#formular {
    max-width: 920px;

    margin: 0 auto 80px;

    padding: 40px;

    border-radius: 32px;

    border: 1px solid #e7eaf0;

    background: #fff;

    box-shadow:
            0 10px 30px rgba(15,23,42,.05);

    box-sizing: border-box;
}

/* =====================================
FIELDSET RESET
===================================== */

#formular fieldset,
#formular {
    border: 0;
}

/* =====================================
HEADINGS
===================================== */

#formular h3,
#formular h4 {
    margin:
            0
            0
            24px;

    color: #111827;

    font-weight: 700;
}

#formular h4 {
    font-size: 24px;
}

/* =====================================
ROWS
===================================== */

#formular p {
    margin:
            0
            0
            22px;
}

/* =====================================
LABELS
===================================== */

#formular label {
    display: block;

    margin-bottom: 10px;

    color: #374151;

    font-size: 14px;
    font-weight: 600;
}

/* =====================================
INPUTS
===================================== */

#formular input[type="text"],
#formular input[type="email"],
#formular input[type="tel"],
#formular textarea,
#formular select {
    width: 100%;

    min-height: 56px;

    padding: 0 18px;

    border:
            1px solid #dbe2ea;

    border-radius: 18px;

    background: #f8fafc;

    color: #111827;

    font-size: 15px;

    box-sizing: border-box;

    transition:
            border-color .18s ease,
            background .18s ease,
            box-shadow .18s ease;
}

/* textarea */

#formular textarea {
    min-height: 140px;

    padding:
            16px
            18px;

    resize: vertical;
}

/* focus */

#formular input:focus,
#formular textarea:focus,
#formular select:focus {
    outline: none;

    border-color: var(--reda);

    background: #fff;

    box-shadow:
            0 0 0 4px rgba(220,42,31,.08);
}

/* =====================================
WIDTH RESET
===================================== */

#formular .w200,
#formular .w300 {
    width: 100% !important;

    max-width: 100% !important;
}

/* =====================================
HR
===================================== */

#formular hr {
    margin:
            36px
            0;

    border: 0;

    border-top:
            1px solid #eef2f7;
}

/* =====================================
DELIVERY INFO
===================================== */

#terminDodaniZavoz {
    margin-top: 18px;

    padding: 18px 20px;

    border-radius: 18px;

    background:
            #f8fafc;

    color:
            #475569;

    font-size: 14px;
}

/* =====================================
BUTTONS
===================================== */

#formular .button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
            0
            28px;

    border: 0;

    border-radius: 18px;

    background:
            var(--reda);

    color:
            #fff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
            transform .18s ease,
            box-shadow .18s ease,
            background .18s ease;
}

/* hover */

#formular .button:hover {
    transform:
            translateY(-1px);

    box-shadow:
            0 10px 24px rgba(220,42,31,.16);
}

/* secondary */

#formular .button.fl {
    background:
            #eef2f7;

    color:
            #334155;
}

#formular .button.fl:hover {
    background:
            #dbe4ee;
}

/* =====================================
BUTTON ROW
===================================== */

#formular .tc {
    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 16px;
}

/* back button = left */

#formular .button.fl {
    order: 1;
}

/* submit = right */

#formular input[type="submit"].button {
    order: 2;

    margin-left: auto;
}

/* =====================================
OTHER ADDRESS
===================================== */

#otheradress {
    margin-top: 20px;

    padding: 24px;

    border-radius: 24px;

    background:
            #f8fafc;

    border:
            1px solid #eef2f7;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 768px) {

    #formular {
        padding: 24px;
    }

    #formular .tc {
        flex-direction: column;

        align-items: stretch;
    }

    #formular .button,
    #formular .button.fl {
        width: 100%;
    }

    #formular h4 {
        font-size: 22px;
    }
}

/* =========================================================
   VARIANT DETAIL TOP
========================================================= */

.variant-detail__top {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;

}

.variant-detail__back {

    position: absolute;
    top: 8px;
    right: 0;

}

.variant-detail__back-btn {
    background: #ffffff;
    border: 1px solid #d9dee8;
    color: var(--text);
}

.variant-detail__title {
    margin: 0 0 18px;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    color: #ef2b1f;
}

/* =========================================================
   PRODUCT DETAIL LAYOUT
========================================================= */

.variant-detail__main {

    display: grid;
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 56px;
    align-items: start;

}

.variant-detail__gallery {

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 36px;
    padding: 28px;

}

.variant-detail__image {

    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;

}

.variant-detail__info {

    padding-top: 12px;

}

/* =========================================================
   META
========================================================= */

.variant-detail__meta {

    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;

}

.variant-detail__meta-item {

    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;

}

.variant-detail__label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9aa3b2;
}

.variant-detail__value {
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
}

.variant-detail__price {
    display: block;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: var(--text);
}

/* =========================================================
   DESCRIPTION
========================================================= */

.variant-detail__description {

    max-width: 720px;
    font-size: 17px;
    line-height: 1.9;
    color: #374151;

}

/* =========================================================
   VARIANT LIST
========================================================= */

.variant-list {

    margin-top: 96px;

}

.variant-list__title {

    margin: 0 0 36px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;

}

/* =========================================================
   VARIANT CARD
========================================================= */

.variant-card {

    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 32px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);

}

.variant-card__image-wrap {
    flex: 0 0 92px;
}

.variant-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.variant-card__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #ef2b1f;
}

.variant-card__code {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #9aa3b2;
}

.variant-card__stock {
    font-size: 14px;
    color: #5f6b7c;
}

.variant-card__stock strong {

    color: #111827;

}

.variant-card__price {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #071b49;
}

/* =========================================================
   ACTIONS
========================================================= */

.variant-card__actions {

    display: flex;
    align-items: center;
    gap: 14px;

}

.variant-card__qty {
    width: 58px;
    height: 52px;
    border: 1px solid #d7dce5;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.variant-card__submit {
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: #ef2b1f;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

media (max-width: 991px) {

.variant-detail__top {

    padding-right: 0;

}

.variant-detail__back {

    position: static;
    margin-bottom: 24px;

}

.variant-detail__title {

    font-size: 42px;

}

.variant-card__body {

    grid-template-columns: 1fr;
    row-gap: 24px;

}

}

media (max-width: 640px) {

.variant-detail__title {

    font-size: 32px;

}

.variant-detail__price {

    font-size: 48px;

}

.variant-card {

    border-radius: 24px;

}

.variant-card__image-wrap {

    width: 100%;
    height: 220px;

}

.variant-card__title {

    font-size: 22px;

}

.variant-card__price {

    font-size: 34px;

}

.variant-card__actions {

    flex-wrap: wrap;

}

.variant-card__qty,
.variant-card__submit {

    width: 100%;

}

}

/* =========================================================
   FIX HEADER DETAILU
========================================================= */

.variant-detail__top {

    position: relative;
    padding-right: 220px;
    margin-bottom: 48px;

}

/* =========================================================
   VARIANT CARD INFO
========================================================= */

.variant-card__body {

    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: center;
    column-gap: 48px;

}

.variant-card__info {

    display: flex;
    flex-direction: column;
    gap: 10px;

}

.variant-detail__price-sub {

    margin-top: 10px;
    font-size: 18px;
    color: #6b7280;

}

.variant-detail__price-vat {

    margin-top: 4px;
    font-size: 16px;
    color: #9ca3af;

}

/*
VARIANT DETAIL
*/

.variant-detail__top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.variant-detail__main {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

.variant-detail__price-sub,
.variant-detail__price-vat {
    font-size: 15px;
    color: #7d8798;
}

/*
VARIANT CARDS
*/

.variant-card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e7e9ef;
}

.variant-card__image {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 18px;
    background: #f8f9fc;
}

.variant-card__heading {
    flex: 1;
    min-width: 220px;
}

.variant-card__price-wrap {
    min-width: 220px;
    text-align: right;
}

.variant-card__price-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #8f97a6;
}

.variant-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

/* =========================================================
   VARIANT ROWS
========================================================= */

.variant-rows {

    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;

}

.variant-row {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 22px 26px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;

    transition: all .2s ease;

}

.variant-row:hover {

    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

}

/* =========================================================
   LEFT SIDE
========================================================= */

.variant-row__left {

    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;

}

.variant-row__title {

    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: #e5251f;

}

.variant-row__meta {

    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;

}

.variant-row__code {

    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;

}

.variant-row__stock {

    font-size: 15px;
    color: #475569;

}

.variant-row__stock strong {

    font-weight: 700;
    color: var(--text);

}

/* =========================================================
   ACTIONS
========================================================= */

.variant-row__form {

    flex-shrink: 0;

}

.variant-row__actions {

    display: flex;
    align-items: center;
    gap: 12px;

}

.variant-row__qty {

    width: 64px;
    height: 52px;

    border: 1px solid #d1d5db;
    border-radius: 14px;

    background: #ffffff;

    text-align: center;
    font-size: 16px;
    font-weight: 700;

}

.variant-row__submit {

    height: 52px;
    padding: 0 26px;

    border: 0;
    border-radius: 14px;

    background: #e5251f;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: background .2s ease;

}

.variant-row__submit:hover {

    background: #cc1f1a;

}

.variant-row__remove {

    height: 52px;
    width: 52px;

    border-radius: 14px;

    background: #f3f4f6;
    color: #475569;

    border: 0;

    font-weight: 700;

}

.product-card__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card__cta form + .has-variants {
    display: none;
}

.product-card__cta .has-variants {
    width: 100%;
}

.btn-varianty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: #4d5970;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-varianty:hover {
    background: #e5231b;
    color: #fff;
}

.produkt .prod {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.produkt .prod .info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produkt .prod .bottom {
    margin-top: auto;
}

.has-variants {
    margin-top: auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .bottom {
    margin-top: auto;
}

/*=========================================
Pop up - vložení,smazání produktu košíku
===============================================*/
#qtip-growl-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

#qtip-growl-container .qtip {
    position: relative;
    left: auto;
    top: auto;
    width: 100% !important;

    background: #ffffff;
    border: 1px solid #dfe3ea;
    border-radius: 16px;

    box-shadow:
            0 12px 40px rgba(15, 23, 42, 0.12);

    overflow: hidden;

    pointer-events: auto;
}

#qtip-growl-container .qtip-content {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    font-weight: 500;
}

#qtip-growl-container .qtip-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: #f3f4f6;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #64748b;

    transition: all 0.2s ease;
}

#qtip-growl-container .qtip-close:hover {
    background: #ef4444;
    color: #ffffff;
}

#qtip-growl-container .ui-icon {
    background: none;
    text-indent: 0;
    overflow: visible;

    font-size: 14px;
    line-height: 1;
}

/* =====================================
LISTING TOOLBAR
SORT + PAGINATION
===================================== */

.sortPart,
.ds-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 18px;

    margin:
            0
            0
            28px;

    padding:
            12px
            18px;

    min-height: 64px;

    border:
            1px solid var(--border);

    border-radius: 18px;

    background:
            rgba(255,255,255,.92);

    backdrop-filter:
            blur(10px);

    box-shadow:
            0 4px 18px rgba(15,23,42,.04);

    font-size: 14px;

    line-height: 1.5;
}

/* =====================================
SORT BUTTONS
===================================== */

.sortPart > a,
.sortPart .sort-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding:
            0
            14px;

    margin-left: 8px;

    border:
            1px solid rgba(15,23,42,.08);

    border-radius:
            999px;

    background:
            transparent;

    color:
            var(--text);

    font-size: 14px;

    font-weight: 600;

    text-decoration:
            none;

    transition:
            .18s ease;
}

/* hover */

.sortPart > a:hover {
    background:
            rgba(220,42,31,.06);

    color:
            var(--reda);

    border-color:
            rgba(220,42,31,.18);

    text-decoration:
            none;
}

/* active */

.sortPart > a.active,
.sortPart > a.asc,
.sortPart > a.desc {
    background:
            rgba(220,42,31,.08);

    color:
            var(--reda);

    border:
            1px solid rgba(220,42,31,.18);

    border-radius:
            999px;

    text-decoration:
            none;

    box-shadow:
            none;
}

/* =====================================
PAGINATION
===================================== */

.sortPart .fr {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-left: auto;

    padding-left: 18px;

    border-left:
            1px solid rgba(15,23,42,.08);
}

/* pagination links */

.sortPart .fr a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding:
            0
            10px;

    border:
            1px solid var(--border);

    border-radius: 12px;

    background:
            #fff;

    color:
            var(--text);

    font-size: 14px;

    font-weight: 600;

    transition:
            .18s ease;
}

/* hover */

.sortPart .fr a:hover {
    background:
            rgba(220,42,31,.06);

    border-color:
            rgba(220,42,31,.18);

    color:
            var(--reda);

    transform:
            translateY(-1px);
}

/* active page */

.sortPart .fr a.active,
.sortPart .fr a.act,
.sortPart .fr a.selected {
    background:
            rgba(220,42,31,.08);

    color:
            var(--reda);

    border-color:
            rgba(220,42,31,.18);
}

/* hidden empty pagination */

.sortPart .fr a:empty {
    display: none;
}

/* =====================================
CATALOG TOOLBAR CLEARFIX
===================================== */

.fnpanel::after {
    content: "";

    display: block;

    clear: both;
}

/* toolbar spacing */

.fnpanel {
    margin-bottom: 72px;
}

/* =====================================
ACTIVE CATEGORY
===================================== */

#shopTree a.active,
#shopTree a.mkt.active {
    background:
            rgba(220,42,31,.08);

    color:
            var(--reda);

    border-color:
            rgba(220,42,31,.18);

    box-shadow:
            none;
}

/* text */

#shopTree a.active em,
#shopTree a.mkt.active em {
    color:
            var(--reda);

    font-style:
            normal;
}

/* hover */

#shopTree a.active:hover,
#shopTree a.mkt.active:hover {
    background:
            rgba(220,42,31,.12);

    color:
            var(--reda);
}

/* =====================================
GLOBAL FOCUS FIX
===================================== */

a,
button,
input,
textarea,
select {
    outline: none;
}

/* modern focus */

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;

    box-shadow:
            0 0 0 3px rgba(220,42,31,.16);
}

/* =====================================
PRODUCT IMAGE FOCUS FIX
===================================== */

.detail-odkaz:focus,
.detail-odkaz:active,
.detail-odkaz img:focus {
    outline: none;

    box-shadow: none;
}

/* =====================================
LOGO FOCUS FIX
===================================== */

#logo,
#logo:focus,
#logo:active,
#logo:focus-visible,
.ds-logo,
.ds-logo:focus,
.ds-logo:active,
.ds-logo:focus-visible {
    outline: none;

    box-shadow: none;

    border: none;
}

/* =====================================
HEADER / BANNER SPACING
===================================== */

.ds-menu-row,
#intro-banner,
.hero-banner,
.top-banner,
.banner {
    margin-bottom: 8px;
}

/* =====================================
CART FOCUS FIX
===================================== */

#kosik a,
#kosik a:focus,
#kosik a:active,
#kosik a:focus-visible,
.ds-cart-container a,
.ds-cart-container a:focus,
.ds-cart-container a:active,
.ds-cart-container a:focus-visible {
    outline: none;

}

/* =====================================
PRODUCT TITLE FOCUS FIX
===================================== */

.product-card h3 a:focus,
.product-card h3 a:active,
.product-card h3 a:focus-visible {
    outline: none;
}

/* =====================================
BACK TO TOP
===================================== */

.back-to-top {
    position: fixed;

    right: 18px;
    bottom: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border:
            1px solid rgba(220,42,31,.18);

    border-radius: 14px;

    background:
            rgba(255,255,255,.92);

    backdrop-filter:
            blur(10px);

    color:
            var(--reda);

    font-size: 18px;
    font-weight: 700;

    text-decoration:
            none;

    box-shadow:
            0 8px 24px rgba(15,23,42,.10);

    transition:
            .18s ease;

    z-index: 999;
}

/* hover */

.back-to-top:hover {
    transform:
            translateY(-2px);

    background:
            rgba(220,42,31,.08);

    color:
            var(--reda);
}

/* =====================================
FOOTER GRID
===================================== */

.ds-footer-grid {
    display: grid;

    grid-template-columns:
        1fr
        320px;

    gap: 48px;

    align-items: end;
}

/* info block */

.ds-footer-info {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: flex-end;
}

/* title */

.ds-footer-info h4 {
    margin-bottom: 18px;
}

/* links */

.ds-footer-links {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

/* links reset */

.ds-footer-links a {
    display: inline-flex;

    color:
            rgba(255,255,255,.82);

    text-decoration:
            none;

    transition:
            .18s ease;
}

/* hover */

.ds-footer-links a:hover {
    color:
            #fff;
}

/* =====================================
FOOTER BOTTOM
===================================== */

.ds-footer-bottom {
    text-align: center;
}

/* =====================================
FOOTER MENU RESET
===================================== */

.ds-footer-links ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

/* položky */

.ds-footer-links li {
    margin: 0 0 12px;
    padding: 0;
}

/* nested UL */

.ds-footer-links ul ul {
    margin-top: 10px;

    padding-left: 0;
}

/* odkazy */

.ds-footer-links a {
    display: inline-flex;

    color:
            rgba(255,255,255,.82);

    text-decoration:
            none;

    transition:
            .18s ease;
}

/* =====================================
GLOBAL FOCUS RESET
===================================== */

/* kill ugly browser outline */

a,
button,
input,
textarea,
select,
.button,
[role="button"] {
    outline: none !important;

    box-shadow: none !important;
}

/* =====================================
MODERN SOFT FOCUS
===================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-visible,
[role="button"]:focus-visible {
    outline: none !important;

    box-shadow:
            0 0 0 3px rgba(220,42,31,.14) !important;

    transition:
            box-shadow .18s ease;
}

/* =====================================
KILL LEGACY INNER BORDERS
===================================== */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
}

/* =====================================
SAFARI / WEBKIT
===================================== */

input,
textarea,
select,
button {
    -webkit-appearance: none;

    appearance: none;
}

/* =====================================
HIDE EMPTY FAVORITE PRODUCTS
===================================== */

/* empty product title */

.produkt h3 a[href="/detail/"]:empty {
    display: none;
}

/* hide ghost favourite cards */

.produkt:has(
    h3 a[href="/detail/"]:empty
) {
    display: none !important;
}

/* fallback */

.produkt img[src=".jpg"] {
    display: none !important;
}

/* =====================================
EMPTY FAVOURITES MESSAGE
===================================== */

#catalog-wrap:has(
    .produkt h3 a[href="/detail/"]:empty
)::before {
    content:
            "Zatím nemáte žádné oblíbené produkty.";

    display: block;

    padding: 48px;

    border-radius: 28px;

    background:
            #fff;

    border:
            1px solid #e7eaf0;

    color:
            #64748b;

    font-size: 18px;

    text-align: center;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* =====================================
HIDE EMPTY GHOST PRODUCTS
===================================== */

.produkt:has(
    a[href="/detail/"]:empty
) {
    display: none !important;
}

/* empty image */

.produkt img[src=".jpg"] {
    display: none !important;
}

/* empty title */

.produkt h3:has(
    a[href="/detail/"]:empty
) {
    display: none !important;
}

/* =====================================
EMPTY PRODUCT FALLBACK
===================================== */

.produkt .detail-odkaz[href="/detail/"] img[src=".jpg"] {
    display: none !important;
}

.produkt .price:empty,
.produkt .stock .value:empty {
    display: none !important;
}

/* =====================================
EMPTY FAVOURITE CARD
===================================== */

.produkt:has(
    #oblibenePridat-
) {
    display: none !important;
}

/* =====================================
EMPTY FAVOURITES
===================================== */

/* hide ghost cards */

.produkt:has(
    #oblibenePridat-
),
.produkt:has(
    a[href="/detail/"]:empty
) {
    display: none !important;
}

/* =====================================
EMPTY MESSAGE
===================================== */

#catalog-wrap::before {
    content:
            "Zatím nemáte žádné oblíbené produkty.";

    display: block;

    padding: 56px 40px;

    border-radius: 28px;

    background:
            #fff;

    border:
            1px solid #e7eaf0;

    color:
            #64748b;

    font-size: 18px;

    text-align: center;

    box-shadow:
            0 10px 30px rgba(15,23,42,.04);
}

/* =====================================
HIDE MESSAGE WHEN PRODUCTS EXIST
===================================== */

#catalog-wrap:has(
    .produkt .product-card
)::before {
    display: none;
}

