/* =====================================
 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,
.old,
#topWindow.old {
    display: none !important;
}

/* =====================================
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 !important;
}

.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 !important;
    padding-right: 0 !important;
}

#middle .row {
    width: 100% !important;

    margin: 0 !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);
}

/* =====================================
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);
}

/* =====================================
HEADER MAIN
===================================== */

.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-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;
}

/* =====================================
CATEGORY MENU
===================================== */

#tree1 {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex-wrap: wrap !important;

    gap: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

#tree1 > li > a {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;

    padding: 0 20px !important;

    border: 1px solid var(--border) !important;
    border-radius: 999px !important;

    background: #fff !important;

    color: var(--text) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

/* =====================================
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) !important;
    max-width: calc((100% - 48px) / 3) !important;

    flex: 0 0 calc((100% - 48px) / 3) !important;

    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================
PRODUCT CARD
===================================== */

.ds-products-grid .product-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: 420px;

    padding: 24px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow-sm);

    transition: 0.2s ease;
}

.ds-products-grid .product-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

/* =====================================
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);
}

/* =====================================
LOGIN PAGE
===================================== */

.ds-login-page {
    display: flex;

    justify-content: center;

    width: 100%;

    padding: 40px 20px 100px;
}

.ds-login-card {
    width: 100%;

    max-width: 520px !important;

    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);
}

/* =====================================
FOOTER
===================================== */

.ds-footer {
    margin-top: 80px;

    background: #071224;

    color: rgba(255,255,255,.72);
}

.ds-footer-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr .7fr;

    gap: 32px;
}

/* =====================================
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;
}

.ds-products-grid .product-card:hover {
    transform: translateY(-2px);

    border-color: #d8dee8;

    box-shadow:
            0 10px 28px rgba(16,24,40,.08);
}

/* =====================================
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;
}

/* =====================================
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;
}

.ds-products-grid .product-card:hover .detail-odkaz img {
    transform: scale(1.015);
}

/* =====================================
INFO
===================================== */

.ds-products-grid .info {
    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: auto;
}

/* 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;
}

/* =====================================
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: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-top: auto;

    padding-top: 20px;
}

/* =====================================
PRICE
===================================== */

.prod.product-card .price {
    font-size: 30px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -.03em;

    color: #111827;
}

/* =====================================
FORM
===================================== */

.prod.product-card .bottom form {
    margin: 0;
}

/* =====================================
BUTTON
===================================== */

.prod.product-card .btn-buy {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 112px;
    height: 46px;

    padding: 0 22px;

    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 {
    margin-bottom: 6px;

    line-height: 1.4;
}

.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;
}

/* =====================================
BOTTOM
===================================== */

.prod.product-card .bottom {
    width: 100%;
}

/* =====================================
FAVOURITES
===================================== */

.prod.product-card .fav {
    display: flex;

    justify-content: center;

    width: 100%;

    margin-bottom: 8px;
}

/* 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: 10px;

    width: 100%;
}

/* stock */

.prod.product-card .stock {
    display: flex;

    align-items: center;

    gap: 4px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1;
}

/* =====================================
FAVOURITES
===================================== */

.prod.product-card .fav {
    display: flex;

    align-items: center;
}

/* heart */

.prod.product-card .fav a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    font-size: 0;

    border-radius: 50%;

    transition:
            background .18s ease,
            transform .18s ease;
}

/* default */

.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: "♥";
}


/* =====================================
BUTTON
===================================== */

.prod.product-card .btn-buy {
    flex: 0 0 auto;

    min-width: 96px;

    height: 44px;

    padding: 0 18px;

    border-radius: 14px;

    white-space: nowrap;
}

/* =====================================
INFO
===================================== */

.prod.product-card .info {
    display: flex;

    flex-direction: column;

    flex: 1;
}

/* =====================================
META ROW
===================================== */

.prod.product-card .meta {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    margin-top: 2px;
}

/* =====================================
FAVOURITES
===================================== */

.prod.product-card .fav {
    display: flex;

    justify-content: center;

    margin-bottom: -18px;
}

/* 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;
}

/* active */

.prod.product-card .fav a.old + a::before,
.prod.product-card .fav a.active::before {
    content: "♥";
}

/* =====================================
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;
}

/* =====================================
BUTTON
===================================== */

.prod.product-card .btn-buy {
    min-width: 92px;

    height: 42px;

    padding: 0 18px;

    border-radius: 14px;

    white-space: nowrap;
}

/* =====================================
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;
}

.ds-product-image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 620px;

    object-fit: contain;
}

/* =====================================
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 !important;

    align-items: center;
    justify-content: center;

    width: 100% !important;

    min-width: 0 !important;
}

/* =====================================
IMAGE BOX
===================================== */

#detailImg.ds-product-image img {
    display: block;

    width: 100% !important;

    max-width: 760px !important;

    height: auto !important;

    max-height: none !important;

    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);
}

/* =====================================
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%
            );
}

/* 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 !important;

    padding: 0 !important;
}

.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 !important;

    padding-right: 0 !important;
}

.ds-login-page #middle .row {
    margin: 0 !important;

    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 !important;
    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 !important;

    color: #334155 !important;

    border: 0;

    transition: .2s ease;
}

.ds-cart-remove:hover {
    background: #dbe4ee !important;
}

/* form */

.ds-cart-form {
    display: flex;

    align-items: center;

    gap: 10px;
}

/* qty */

.ds-cart-qty {
    width: 60px !important;
    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;
}

/* =====================================
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: 10px 0;

    border: 0 !important;

    color: #475569;

    font-size: 16px;
}

.ds-cart-summary strong {
    color: #0f172a;
}

/*
final row
*/

.ds-cart-summary tr:last-child td {
    padding-top: 18px;

    border-top: 1px solid #e7eaf0 !important;

    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 {
    align-items: center;

    justify-content: space-between;

    gap: 24px;

    width: 100%;

    white-space: nowrap;
}

.ds-cart-summary table {
    width: 100%;

    border-collapse: collapse;
}

.ds-cart-summary td {
    padding: 12px 0;

    border: 0 !important;

    white-space: nowrap;
}

.ds-cart-summary tr:last-child td {
    padding-top: 22px;

    border-top: 1px solid #e7eaf0 !important;
}

/*
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 !important;
}

.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 {
    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;
}

/* =========================================================
   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: 0;
    right: 0;
    z-index: 5;

}

.variant-detail__back-btn {

    min-width: 170px;

}

.variant-detail__title {

    margin: 0;
    padding-right: 220px;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
    color: #e5251f;
    letter-spacing: -0.03em;

}


/* =========================================================
   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: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9ca3af;

}

.variant-detail__value {

    font-size: 20px;
    font-weight: 700;
    color: #111827;

}

.variant-detail__price {

    font-size: 64px;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.04em;
    color: #0f172a;

}


/* =========================================================
   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-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: #f8fafc;
    padding: 14px;

}

.variant-card__body {

    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 40px;
    width: 100%;

}

.variant-card__title {

    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #e5251f;

}

.variant-card__code {

    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af;

}

.variant-card__stock {

    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;

}

.variant-card__stock strong {

    color: #111827;

}

.variant-card__price {

    font-size: 48px;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.04em;
    color: #0f172a;
    white-space: nowrap;

}


/* =========================================================
   ACTIONS
========================================================= */

.variant-card__actions {

    display: flex;
    align-items: center;
    gap: 14px;

}

.variant-card__qty {

    width: 84px;
    height: 58px;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 700;

}

.variant-card__submit {

    height: 58px;
    padding: 0 32px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .variant-detail__title {

        padding-right: 0;
        font-size: 38px;

    }

    .variant-detail__back {

        position: static;
        margin-bottom: 20px;

    }

    .variant-detail__main {

        grid-template-columns: 1fr;
        gap: 36px;

    }

    .variant-card {

        padding: 24px;

    }

    .variant-card__body {

        grid-template-columns: 1fr;
        gap: 24px;

    }

    .variant-card__title {

        font-size: 24px;

    }

    .variant-card__price {

        font-size: 38px;

    }

}

@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-detail__title {

    display: block;
    max-width: 100%;
    padding-right: 0;
    word-break: break-word;

}

.variant-detail__back {

    position: absolute;
    top: 8px;
    right: 0;

}


/* =========================================================
   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-card__code {

    margin-bottom: 0;

}

.variant-card__stock {

    margin-top: 0;

}

.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__back-btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    box-shadow: none;
}

.variant-detail__main {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

.variant-detail__title {
    margin: 0 0 18px;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    color: #ef2b1f;
}

.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);
}

.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-wrap {
    flex: 0 0 92px;
}

.variant-card__image {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 18px;
    background: #f8f9fc;
}

.variant-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.variant-card__heading {
    flex: 1;
    min-width: 220px;
}

.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__price-wrap {
    min-width: 220px;
    text-align: right;
}

.variant-card__price {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #071b49;
}

.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-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;
}

.variant-detail__back-btn {
    background: #ffffff;
    border: 1px solid #d9dee8;
    color: var(--text);
}

/* =========================================================
   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 !important;
    left: auto !important;
    top: auto !important;
    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 !important;
    text-indent: 0 !important;
    overflow: visible !important;

    font-size: 14px;
    line-height: 1;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .variant-row {

        flex-direction: column;
        align-items: stretch;

        padding: 20px;

    }

    .variant-row__actions {

        width: 100%;

    }

    .variant-row__qty {

        width: 72px;

    }

    .variant-row__submit {

        flex: 1;

    }

}
/* =========================================================
   MOBILE
========================================================= */

@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;

    }

}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1200px) {

    .ds-products-grid > .produkt,
    .ds-products-grid > .produkt[class*="col-"] {
        width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;

        flex: 0 0 calc(50% - 12px) !important;
    }

    .ds-product-detail {
        display: grid;

        grid-template-columns: 1fr;

        gap: 32px;
    }
}

@media (max-width: 768px) {

    .ds-products-grid > .produkt,
    .ds-products-grid > .produkt[class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ds-product-title {
        font-size: 32px;
    }
}

/* =====================================
MOBILE HEADER
===================================== */

@media (max-width: 768px) {

    /* HEADER */

    .ds-header-main-inner {
        display: flex !important;

        flex-direction: column;

        align-items: center;

        gap: 18px !important;

        padding:
                18px 0
                22px;

        min-height: auto;
    }

    /* LOGO */

    #logo,
    .ds-logo {
        width: 180px !important;
        height: 56px !important;

        margin: 0 auto !important;

        background-position: center !important;
    }

    /* CART */

    .ds-cart-wrap {
        order: 2;

        width: 100%;

        display: flex;

        justify-content: center !important;
    }

    #kosik a {
        width: auto !important;

        min-width: 0 !important;

        padding:
                0 18px !important;

        font-size: 14px !important;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ds-cart-wrap{
        min-width: 0;
        max-width: 220px;
    }

    #kosik {
        min-width: 0;
    }

    /* SEARCH */

    .ds-search-wrap {
        order: 3;

        width: 100%;
    }

    #search,
    .ds-search-form {
        width: 100%;

        display: flex;
    }

    .ds-search-input {
        min-width: 0;

        font-size: 16px !important;
    }

    .ds-search-button {
        padding:
                0 22px !important;

        white-space: nowrap;
    }

    /* TOPBAR */

    .ds-topbar {
        padding-top: 8px;
    }

    .ds-topbar-inner {
        padding:
                8px 12px;

        min-height: auto;
    }

    .ds-user-panel {
        gap: 10px;

        justify-content: center;

        flex-wrap: nowrap;
    }

    .ds-login-user {
        font-size: 12px;

        overflow: hidden;

        text-overflow: ellipsis;

        max-width: 140px;
    }

    /* CATEGORY MENU */

    #tree1 {
        gap: 12px !important;

        justify-content: center !important;
    }

    #tree1 > li > a {
        min-height: 40px !important;

        padding:
                0 16px !important;

        font-size: 13px !important;
    }

}

/* =====================================
PRODUCT DETAIL MOBILE
===================================== */

@media (max-width: 768px) {

    .ds-product-detail {
        display: flex;

        flex-direction: column;

        gap: 28px;

        padding: 24px;

        border-radius: 24px;
    }

    .ds-product-image {
        padding: 18px;

        border-radius: 22px;
    }

    .ds-product-title {
        font-size: 34px;

        line-height: 1.05;
    }

    .ds-product-price-main {
        font-size: 42px;
    }

}

@media (max-width: 768px) {

    .ds-product-buy {
        width: 100%;

        display: grid;

        grid-template-columns:
            84px
            1fr;

        gap: 12px;
    }

    .ds-qty-input {
        width: 100% !important;
    }

    .ds-buy-button {
        width: 100%;
    }

}

/* =====================================
DETAIL CTA MOBILE POLISH
===================================== */

@media (max-width: 768px) {

    /* actions */

    .ds-product-actions {
        width: 100%;
    }

    /* favourite */

    #favourite {
        width: 100%;
    }

    #favourite .button {
        width: 100%;
    }

    /* qty + buy */

    .ds-product-buy {
        display: flex !important;

        align-items: center;

        gap: 10px;

        width: 100%;
    }

    /* qty wrapper */

    .ds-product-buy > div:first-child {
        display: flex;

        align-items: center;

        gap: 8px;

        flex: 0 0 auto;
    }

    /* qty input */

    .ds-qty-input {
        width: 72px !important;

        height: 48px;
    }

    /* ks label */

    .ds-product-buy span,
    .ks {
        margin: 0 !important;

        font-size: 15px;

        white-space: nowrap;
    }

    /* button */

    .ds-buy-button {
        flex: 1;

        height: 48px;

        min-width: 0;
    }

}

/* =====================================
CART MOBILE
===================================== */

@media (max-width: 768px) {

    .ds-cart-item {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 22px;
    }

    /* image */

    .ds-cart-image {
        display: flex;

        justify-content: center;
    }

    .ds-cart-image img {
        width: 120px;
        height: 120px;
    }

    /* info */

    .ds-cart-info {
        text-align: center;
    }

    .ds-cart-title a {
        font-size: 20px;
    }

    .ds-cart-code,
    .ds-cart-stock {
        justify-content: center;
    }

    /* price */

    .ds-cart-price {
        text-align: center;
    }

    .ds-cart-price strong {
        font-size: 34px;
    }

    .ds-cart-price-base {
        margin-bottom: 6px;

        font-size: 14px;
    }

    /* actions */

    .ds-cart-actions {
        width: 100%;
    }

    .ds-cart-form {
        display: flex;

        flex-direction: column;

        gap: 14px;

        width: 100%;
    }

    /* qty */

    .ds-cart-qty-wrap {
        justify-content: center;
    }

    .ds-cart-qty {
        width: 90px !important;

        height: 54px;

        font-size: 20px;
    }

    /* buttons */

    .ds-cart-update,
    .ds-cart-remove {
        width: 100%;

        height: 52px;
    }

    /* summary */

    .ds-cart-summary {
        width: 100% !important;

        max-width: 100% !important;
    }

}

/* =====================================
CART SUMMARY MOBILE FIX
===================================== */

@media (max-width: 768px) {

    .ds-cart-summary {
        padding: 20px;
    }

    .ds-cart-summary-content {
        padding: 24px 18px;

        overflow: hidden;
    }

    .ds-cart-summary table {
        width: 100%;
    }

    .ds-cart-summary td {
        font-size: 14px;
    }

    /* TOTAL */

    .ds-cart-summary strong {
        font-size: 18px;

        line-height: 1.3;

        word-break: break-word;
    }

    /* final price */

    .ds-cart-summary .cardPrice,
    .ds-cart-summary td strong {
        font-size: 24px !important;
    }

}

/* =====================================
MOBILE SUMMARY LABEL FIX
===================================== */

@media (max-width: 768px) {

    .ds-cart-summary tr:last-child td:first-child strong {
        font-size: 0;
    }

}

/* =====================================
CHECKOUT MOBILE
===================================== */

@media (max-width: 768px) {

    /* wrapper */

    .ds-checkout {
        padding: 0 14px;
    }

    /* cards */

    #formular {
        padding: 22px;

        border-radius: 24px;
    }

    /* headings */

    #formular h4 {
        font-size: 22px;

        margin-bottom: 20px;
    }

    /* rows */

    #formular p {
        display: flex;

        flex-direction: column;

        gap: 10px;

        margin-bottom: 20px;
    }

    /* labels */

    #formular label {
        width: 100% !important;

        float: none !important;

        margin: 0;

        font-size: 15px;
    }

    /* inputs */

    #formular input[type="text"],
    #formular input[type="email"],
    #formular input[type="tel"],
    #formular select,
    #formular textarea {
        width: 100% !important;

        max-width: 100% !important;

        min-width: 0;

        height: 52px;

        padding: 0 16px;

        font-size: 16px;

        border-radius: 16px;
    }

    /* textarea */

    #formular textarea {
        min-height: 120px;

        padding-top: 14px;
    }

    /* hidden address block */

    #otheradress input {
        margin-bottom: 14px;
    }

    /* actions */

    .ds-checkout-actions {
        display: flex;

        flex-direction: column-reverse;

        gap: 14px;
    }

    .ds-checkout-actions .button {
        width: 100%;

        height: 54px;
    }

    /* remove old floats */

    .ds-checkout-actions .fl,
    .ds-checkout-actions .fr {
        float: none !important;
    }

}

/* =====================================
ORDER REVIEW MOBILE
===================================== */

@media (max-width: 768px) {

    /* wrapper */

    .ds-order-review {
        padding: 0 14px;
    }

    /* cards */

    .ds-order-card {
        padding: 22px;

        border-radius: 24px;
    }

    /* info tables */

    .ds-order-review table {
        width: 100%;
    }

    /* info rows */

    .ds-order-review .ds-order-card table tr {
        display: block;

        margin-bottom: 14px;
    }

    .ds-order-review .ds-order-card table td {
        display: block;

        width: 100% !important;

        text-align: left !important;
    }

    .ds-order-review table td {
        width: 100% !important;

        display: block;

        padding: 0;

        text-align: left !important;
    }

    /* products */

    .listTable {
        display: block;

        overflow-x: auto;

        border-radius: 20px;
    }

    .listTable table {
        min-width: 520px;
    }

    /* summary */

    .norighttd {
        width: 100% !important;

        margin-top: 24px;
    }

    .norighttd table {
        width: 100%;
    }

    /* buttons */

    .ds-order-review-actions,
    .ds-checkout-actions,
    .ds-cart-actions-footer {
        display: flex;

        flex-direction: column-reverse;

        gap: 14px;
    }

    .ds-order-review-actions .button,
    .ds-checkout-actions .button,
    .ds-cart-actions-footer .button {
        width: 100%;

        height: 54px;
    }

    /* remove floats */

    .fl,
    .fr {
        float: none !important;
    }

}

/* =====================================
ORDER REVIEW SIMPLIFIED MOBILE
===================================== */

@media (max-width: 768px) {

    .ds-order-card {
        display: none;
    }

}

/* =====================================
FINISH PAGE MOBILE
===================================== */

@media (max-width: 768px) {

    .ds-order-finish-actions {
        display: flex;

        flex-direction: column;

        gap: 14px;

        width: 100%;
    }

    .ds-order-finish-actions .button {
        width: 100%;

        height: 54px;

        margin: 0;
    }

}

