:root {
    --text-normal: 16px;
    --text-large: 24px;
    --color-main: #3b7a57;
    --radius-large: 24px;
    --radius-medium: 20px;
    --box-shadow: 0px 8px 24px rgba(0,0,0,0.09);
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #F2F5F7;
    color: #333;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100dvh;
    position: relative;
}

.seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seo-title {
    font-size: 20px;
    font-weight: 800;
    color: #3ca534;
}

h2 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

h3 {
    font-size: 24px;
}

.neo {
    background: #FFFFFF;
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow); 
    padding: 16px;
    border: 1px #fff;
}

.neo-padding {
    background: #FFFFFF;
    /* border-radius: var(--radius-medium); */
    /* box-shadow: var(--box-shadow);  */
    /* padding-left: 24px;
    padding-right: 24px; */
    border: 1px #fff;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* HERO ****************************************/
.container {
    flex: 1;
    min-height: 0;
}
.hero {
    display: flex;
    gap: 20px;
    height: calc(100dvh - 90px);
    min-height: 0;
    padding-bottom: 20px;
}
.market-nazov {
    display:inline-block;
    background:#37a815;
    color:white;
    padding: 4px 24px 10px 24px;
    border-radius: var(--radius-medium);
    font-size:80px;
    line-height:1;
    font-weight:bold;
    letter-spacing:1px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
    transition: 0.3s;
}

/* LEFT */
.hero-left {
    flex: 1 1 50%;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: 20px;
    margin-top: 20px;
}

.hero-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-medium);
    height: calc(100dvh - 170px);
}

/* RIGHT */
.hero-right {
    flex: 1 1 50%;
    padding: 0px 20px 20px 20px;
    height: calc(100dvh - 140px);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    touch-action: pan-y;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.hero-right::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.card-body {
    border-radius: var(--radius-medium);
    padding: 20px;
    max-width: 100%;
    width: auto;
}
.card-flags {
    justify-content: center;
    padding-top: 20px;
    gap: 10px;
    font-size: 20px;
}

/* TEXTY stranka MARKET */
.market-inline-icon {
    width: 20px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.market-H2-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.market-H3-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}



/* HEADER ******************************** */
.topbar {
    padding-top: 6px;
    padding-left: 20px;
    padding-right: 10px;
    box-shadow: var(--box-shadow); 
    z-index: 1000;
    background: #F2F5F7;
    height: 52px;
}

.topbar main {
    display: none !important;
}

.topbar-inner {
    display: flex;
    align-items: center;
}



/* DROP DOVN NAV *******************************/
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    gap: 10px;
}

nav a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #444;
}

nav a i {
    transition: color 0.3s ease;
}

nav a span {
    font-size: 12px;
}

nav a:hover span {
    color: #3ca534;
}

nav a.active {
    color: #3ca534;
    background-color: transparent;
}

nav a.active i {
    color: #3ca534;
}

nav a.active span {
    color: #3ca534;
}

nav a:not(.active):hover {
    color: #3ca534;
}

.nav-icons a {
    margin-left: 10px;
    text-decoration: none;
    color: #3ca534;
}
.nav-icons a:first-child {
    margin-left: 0;
}
.nav-icons a:hover {
    color: #3ca534;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-main);
}


/* LANG **************************************************/
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 6px;
    padding-left: 10px;
}

.lang-toggle {
    border: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
}

.lang-dropdown {
    background: #fff;
    position: absolute;
    top: calc(100% + 10px);
    right: -4px;
    min-width: 160px;
    border-radius: var(--radius-medium);
    padding: 10px 10px;
    display: none;
    z-index: 1000;
    box-shadow: var(--box-shadow); 
    min-height: 300px;
    overflow-y: auto;
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 4px 4px;
    text-decoration: none;
    color: #333;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    color: #3ca43c;
    font-weight: 600;
}

.lang-option .fi,
.lang-toggle .fi {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.lang-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
}

.lang-text {
    padding-left: 16px;
    white-space: nowrap;
    font-size: 12px;
}


/* FEATURE *************************************/
.feature {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-images {
  display: flex;
  gap: 20px;
  margin-left: auto;
  justify-content: flex-end;
  align-items: flex-start;
}

.feature-images img {
  height: 240px;
  width: auto;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow); 
  display: block;
}

.feature-images img.device-logo {
  width: 14px !important;
  height: 14px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.feature-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 14px;
}

.device-group {
    padding: 0;
    margin: 0;
}

.device-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.device-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;

    box-shadow: none !important;
    border-radius: 0 !important;
}

.device-shots {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.device-shots-one {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}


/* APP STORE DOWNLOAD **************************/
.app-downloads {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.icon-store {
    height: 40px;
}

.icon-height {
    max-height: 100px;
    height: auto;
    border-radius: var(--radius-medium);
    display:block;
    margin:0 auto;
}
.qr {
    width: 120px;
    margin-top: 10px;
}

.image-index {
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow); 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE **********************************/

/* 900 **********************************/
@media (max-width: 900px) {
    .market-nazov {
        font-size: 64px;
        padding: 4px 22px 9px 22px;
        border-radius: 22px;
    }
    /* .screen-card-1 {
        top: 20px;
        left: 4%;
    }
    .screen-card-2 {
        top: 135px;
        left: 12%;
    }
    .screen-card-3 {
        top: 275px;
        left: 8%;
    } */
    /* .image-index {
        max-width: 300px;
    } */
}

/* 700 **********************************/
@media (max-width: 700px) {
    .hero {
        flex-direction: column;
        height: calc(100dvh - 100px);
        min-height: 0;
    }
    .hero-left {
        display: none;
    }
    .hero-right {
        flex: 1 1 100%;
        height: 100%;
    }

    .container {
        overflow: hidden;
    }

    .feature {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .feature-images {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }
    .feature-images-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-top: 10px;
    }
    .feature-images-grid img {
        height: 220px;
    }

    .device-group {
        width: fit-content;
    }
    .device-shots {
        gap: 40px;
    }
    .device-label {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .market-nazov {
        font-size: 64px;
        padding: 4px 20px 8px 20px;
        border-radius: 20px;
    }

    .mobile-menu-button {
        display: block;
        padding-bottom: 10px;
    }

    nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        right: -50px;
        background: white;
        /* border: 1px solid var(--color-main); */
        border-radius: var(--radius-medium);
        padding: 10px;
        flex-direction: column;
        gap: 14px;
        z-index: 999;
        box-shadow: var(--box-shadow); 
        align-items: flex-start;
        min-width: 160px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .nav-links a span {
        margin-top: 0 !important;
        font-size: 14px;
    }

    .lang-toggle {
        width: auto;
        height: auto;
    }
}

/* 520 **********************************/
@media (max-width: 520px) {
    .feature-images-grid img {
        height: 200px;
    }
}


/* FOOTER **************************** */
.footer {
    background: #F2F5F7;
    padding:  6px 20px 10px 20px;
    font-size: 12px;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--box-shadow); 
}
.footer-socials {
    display: flex;
    gap: 14px;
}
.footer-socials img {
    width: 30px;
    height: 30px;
}



/* accordion *********************************************/
.accordion {
    width: 100%;
    margin: 0 auto;
    font-family: system-ui, sans-serif;
    overflow: hidden;
}
.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #000;
}
.acc-arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    display: inline-block;
    margin-left: auto;
}
.acc-header.active .acc-arrow {
    transform: rotate(225deg);
}
.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    font-size: 18px;
    line-height: 1.5;
    padding-left: 20px;
}

.guide-step {
    margin-bottom: 16px;
}

.guide-step video {
    display: block;
    max-width: 60%;
    height: auto;
    margin: 8px auto;
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow);
}

.guide-step-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.guide-step-images img {
    display: block;
    flex: 1 1 200px;
    max-width: 200px;
    height: auto;
    margin: 0;
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow);
}

.guide-step-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ee;
    border-radius: 12px;
    padding: 3px 10px 3px 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.guide-step-platform img {
    width: 14px;
    height: 14px;
    display: block;
}

.guide-step .device-label img {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
    margin: 0;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}



/* GALÉRIA ***********************************************/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    align-items: start;
}

/* --- ZOOM GALÉRIA --- */
.list_inner {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow); 
}
.list_inner .image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    cursor: zoom-in;
    display: block;
}
.list_inner:hover .image img {
    transform: scale(1.05);
}
.list_inner .zoom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 2;
}
/* Lightbox štýl */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    font-family: Arial, sans-serif;
    user-select: none;
    padding: 10px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #ccc;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    font-family: Arial, sans-serif;
}

.lightbox-close:hover {
    color: #ccc;
}


/* card-mobil **********************************/
.market-visual-bg {
    position: relative;
    width: 640px;
    height: 960px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(55, 168, 21, 0.38), transparent 34%),
        radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.95), transparent 38%),
        radial-gradient(circle at 35% 82%, rgba(196, 255, 151, 0.45), transparent 42%),
        linear-gradient(135deg, #b9ff8a 0%, #efffe4 45%, #ffffff 100%);
    box-shadow: var(--box-shadow); 
}

    .screen-card {
        position: absolute;
        width: 220px;
        height: 460px;
        padding: 10px;
        border-radius: var(--radius-medium);
        background: rgba(255,255,255,0.78);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: var(--box-shadow); 
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        overflow: hidden;
    }

    .screen-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: white;
        display: block;
        border-radius: var(--radius-medium);
    }

    .screen-card {
        animation: floatingCard 5s ease-in-out infinite;
    }

    .screen-card:hover {
        box-shadow: var(--box-shadow); 
    }

    /* @keyframes floatingCard {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0px);
        }
    } */

    .screen-card-1 {
        top: 20px;
        left: 4%;
        z-index: 3;
        transform: rotate(-6deg);
        animation-delay: 0s;
    }
    .screen-card-2 {
        top: 260px;
        left: 16%;
        z-index: 4;
        transform: rotate(4deg);
        animation-delay: 0.6s;
    }
    .screen-card-3 {
        top: 240px;
        left: 40%;
        z-index: 2;
        transform: rotate(-2deg);
        animation-delay: 1.2s;
    }
    .screen-card-4 {
        top: 460px;
        left: 60%;
        z-index: 3;
        transform: rotate(2deg);
        animation-delay: 1.8s;
    }
    .screen-card-5 {
        top: 460px;
        left: 10%;
        z-index: 1;
        transform: rotate(-17deg);
        animation-delay: 2.4s;
    }
    .screen-card-6 {
        top: 80px;
        left: 60%;
        z-index: 1;
        transform: rotate(-10deg);
        animation-delay: 3s;
    }





/* HAND left-right *************************/
    /* .market-hand-emoji {
        font-size: 40px;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
        display: inline-block;
        user-select: none;
        pointer-events: none;
    }

    .market-hand-left {
        animation: marketHandLeft 1.4s ease-in-out infinite;
    }

    .market-hand-right {
        animation: marketHandRight 1.4s ease-in-out infinite;
    }

    @keyframes marketHandLeft {
        0% {
            transform: translateX(0px);
        }
        50% {
            transform: translateX(12px);
        }
        100% {
            transform: translateX(0px);
        }
    }

    @keyframes marketHandRight {
        0% {
            transform: translateX(0px);
        }
        50% {
            transform: translateX(-12px);
        }
        100% {
            transform: translateX(0px);
        }
    } */



    .lang-bounce {
        animation: langBounce 1.3s ease-in-out infinite;
    }
    @keyframes langBounce {
        0%, 100% {
            transform: translateY(0);
        }
        20% {
            transform: translateY(-6px);
        }
        40% {
            transform: translateY(0);
        }
        60% {
            transform: translateY(-3px);
        }
        80% {
            transform: translateY(0);
        }
    }


/*********************************************************/
/* DEMO DEMO DEMO ****************************************/
.demo-wrapper,
.demo-wrapper *{
    box-sizing:border-box;
}

.demo-wrapper{
    display:flex;
    justify-content:center;
}

.phone {
    position: relative;
    width: 320px;
    height:650px;
    background:black;
    border-radius:40px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow: var(--box-shadow); 
}

.statusbar{
    height:46px;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 20px;
    font-size:14px;
}


/* TOP PANEL **************************/
.top-panel{
    margin:10px;
    height:50px;
    background:#3a3a3a;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:8px;
}
.top-panel-nocolor{
    margin:10px;
    height:40px;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:8px;
}
.total{
    color:#61d85b;
    font-size:32px;
    font-weight:300;
}

.btn-red{
    width:36px;
    height:36px;
    border:none;
    border-radius:10px;
    background:#4b1e1e;
    color:#ff7676;
    font-size:20px;
}
.btn-red-noback {
    width:36px;
    height:36px;
    border:none;
    border-radius:10px;
    background:transparent;
    color:#ff7676;
    font-size:214x;
}
.btn-green{
    width:36px;
    height:36px;
    border:none;
    background: #134015;
    color:#048219;
    font-size:20px;
    border-radius:10px;
}
.btn-green-noback {
    width:36px;
    height:36px;
    border:none;
    background: transparent;
    color:#048219;
    font-size:20px;
}
.btn-blue {
    width:36px;
    height:36px;
    border:none;
    background: transparent;
    color:#039BE5;
    font-size:20px;
}
.btn-gray {
    border-radius:10px;
    height:36px;
    background: #222224;
    color:white;
    font-size:14px;
    border:none;
}


/* podujatie ... vyhladavanie ********************/
.market-row{
    display:flex;
    align-items:center;
    gap:5px;
    padding:10px;
    position:relative;
}
.market-name{
    
    border-radius:12px;
    padding:6px 8px;
    color:white;
    font-size:16px;
}
.market-cart{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
}
.market-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:4px;
}


/* LAVA - PRAVA strana ***************/
.content{
    flex:1;
    display:flex;
    overflow:hidden;
}

/* LAVA strana ********************/
.categories{
    width:80px;
    overflow-y:auto;
    padding:0 4px;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.categories::-webkit-scrollbar{
    display:none;
}
.categori{
    width:100%;
    border:none;
    color:white;
    border-radius:8px;
    padding:6px;
    margin-bottom:4px;
    font-size:12px;
}
.gray{
    background:#8e8e93;
}
.red{
    background:#972d22;
}
.blue{
    background:#244d9e;
}
.green{
    background:#3e7f42;
}
.yellow{
    background:#a28b21;
}

.green-text {
    color: #188407;
}

/* PRAVA strana ********************/
.products{
    flex:1;
    overflow-y:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:4px;
    padding-right:6px;
    align-content:start;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.products::-webkit-scrollbar{
    display:none;
}

.product{
    display:flex;
    flex-direction:column;
    color:white;
    border-radius:12px;
    padding:6px;
    height:fit-content;
}

.info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:16px;
    color:white;
    padding-top:10px;
}

.price{
    background:#4b1e1e;
    color:white;
    border-radius:10px;
    font-size:18px;
    padding:4px 8px;
    border:none;
}

.icon-x{
    background:#4b1e1e;
    color:#ff7676;
    border-radius:6px;
    font-size:12px;
    padding:4px 6px;
    border:none;
}



/*****************************************/
/* PREHLAD *******************************/
.filter-btn{
    border:none;
    border-radius:10px;
    background:#1f2025;
    color:white;
    font-size:16px;
    padding:8px;
    min-width:max-content;
    white-space:nowrap;
}

.sales-list{
    flex:1;
    overflow-y:auto;
    padding:8px;
    scrollbar-width:none;
}

.sales-list::-webkit-scrollbar{
    display:none;
}

.sale-card{
    background:#1d1d21;
    border-radius:18px;
    padding:8px;
}

.sale-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.sale-event{
    color:#4d96ff;
    font-size:14px;
}

.sale-icons{
    display:flex;
    gap:18px;
    font-size:24px;
}

.sale-icons .fa-print{
    color:#4d96ff;
}

.sale-icons .fa-money-bill-1{
    color:#69d36e;
}

.sale-body{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    align-items:center;
    color: white;
}

/* BOTTOM ************************************/
.page{
    display:none;
    height:100%;
}

.page.active{
    display:block;
}

.nav-btn{
    background:none;
    border:none;
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
}

.bottom-nav{
    height:80px;
    background:rgba(40,40,40,.95);
    display:flex;
    justify-content:space-around;
    align-items:center;
    backdrop-filter:blur(10px);
    font-size: 18px;
}

.bottom-nav .active{
    color:#3ea0ff;
    text-align: left;
}


/* DropDown ************************************/
.market-selector{
    position:relative;
    display:inline-block;
    flex:0 0 auto;
    
}

.market-name {
    cursor:pointer;
}

.market-dropdown{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width: auto;
    background:#2f2f2f;
    border-radius:12px;
    padding: 10px;
    margin-top:4px;
    overflow:hidden;
    z-index:99999;
}

.market-dropdown.show{
    display:block;
}

.market-dropdown div{
    padding:10px;
    color:white;
    cursor:pointer;
}

.market-dropdown div:hover{
    background:#3f3f3f;
}


/* PAYMENT MODAL *******************************/
.payment-modal {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

.payment-modal.show {
    display: flex;
}

.payment-window{
    width: 280px;
    height:360px;
    background:black;
    border-radius:40px;
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:20px;
}

.payment-window h2{
    font-size:24px;
    margin:10px 0;
}

.payment-total{
    font-size:40px;
    margin:0 0 20px;
}

.payment-print-row{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.payment-print-row input{
    width:30px;
    height:30px;
}

.payment-methods{
    margin-top:auto;
    width:100%;
    display:flex;
    justify-content:space-around;
    text-align:center;
    font-size:14px;
}

.payment-close{
    margin-top:auto;
    width:40px;
    height:40px;
    border:none;
    border-radius:10px;
    font-size:24px;
}




/* TOVAR ********************/
.top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:6px
}
.title{
    margin:0;
    font-size:18px;
    line-height:1.1
}

.icons{
    display:flex;
    flex-direction:column;
    gap:6px
}
.ico{
    padding: 4px;
    border-radius:4px;
}

.bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:8px
}
.stock{
    padding:4px 6px;
    font-size:18px
}



/* SETTING ***********************************/
.card-set{
    background:#18181c;
    border-radius: 10px;
    padding:4px 8;
    overflow:hidden;
    margin: 10px;
}

.row-set{
    height:50px;
    display:flex;
    align-items:center;
    padding:0 14px;
    color:white;
    font-size:16px;
}

.row-set i:first-child{
    font-size:16px;
}

.row-set span{
    flex:none;
    margin-left:12px;
}

.row-set i:last-child{
    margin-left:auto;
}

/*********************************************************/
/* ESHOP ESHOP ESHOP *************************************/
.eshop-summary {
    position:absolute;
    left:40%; transform:translateX(-50%);
    font-size:24px;
    font-weight:600;
    color:#2f5d50;
    white-space:nowrap;
}

.eshop-product {
    background: #e9e9e9;
    border: 1px solid var(--color-main);
    border-radius: var(--radius-large);
    padding: 10px 0px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.eshop-title {
    font-size: var(--text-large);
    padding-left: 20px;
    padding-bottom: 10px;
    font-weight: 800;
}

.eshop-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    margin-bottom: 24px;
}
.eshop-gallery img {
    width: 220px;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-medium);
    border: 2px solid var(--color-main);
    flex-shrink: 0;
}


.eshop-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}
.eshop-description {
    text-align: center;
    font-size: var(--text-normal);
}
.eshop-price {
    background: var(--color-main);
    color: white;
    font-size: var(--text-large);
    padding: 6px;
    border-radius: 25px;
}


.eshop-variants {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0px 10px;
}
.eshop-variant {
    width: 220px;
    background: #dfe9ea;
    border: 1px solid var(--color-main);
    border-radius: var(--radius-medium);
    padding: 10px;
    text-align: center;
}

.variant-price {
    font-size: var(--text-large);
}
.variant-text {
    font-size: var(--text-normal);
}
.variant-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.variant-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--color-main);
    color: white;
    font-size: var(--text-large);
    cursor: pointer;
}


@media (max-width: 700px) {
    .eshop-summary {
        position:absolute;
        left:52%; transform:translateX(-50%);
        font-size:16px;
        font-weight:600;
        color:#2f5d50;
        white-space:nowrap;
    }
}



/* OBJEDNAVKA ****************************************************************/
/* Container + card */
.eshop-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.eshop-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(20,20,20,0.06);
}

/* Title */
.eshop-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Form layout */
.eshop-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.row {
  display: flex;
  gap: 12px;
  min-width: 0;
}
.col {
  flex: 1;
  min-width: 0;
}

/* Labels and inputs */
.variant-text {
  display: block;
  font-size: 13px;
  color: #333;
  margin-bottom: 6px;
}
.eshop-field {
  height: 52px;
  border-radius: 22px;
  border: 1px solid #e6e6e6;
  padding: 0 18px;
  font-size: 15px;
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  max-width: 100%;
}
.eshop-textarea {
  border-radius: 22px;
  border: 1px solid #e6e6e6;
  padding: 14px 18px;
  font-size: 15px;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  background: #fff;
  box-sizing: border-box;
}

/* Actions / submit */
.eshop-actions{ display:flex; justify-content:flex-end; margin-top:6px; }
.eshop-submit{
  background:#2b8a6f;
  color:#fff;
  border:0;
  padding:12px 20px;
  border-radius:22px;
  cursor:pointer;
  font-weight:600;
  font-size:15px;
  box-shadow:0 6px 14px rgba(43,138,111,0.18);
}

/* Focus states (only for form controls) */
.eshop-field:focus, .eshop-textarea:focus{
  outline:2px solid rgba(43,138,111,0.12);
  border-color:#2b8a6f;
}

/* LEN pre blok "Zvolený tovar" ako tabuľka */
.eshop-summary-table{
  width:100%;
  max-width:600px;
  display:block;
  overflow-y:auto;
  margin:0 auto 20px;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:16px;
  box-sizing:border-box;
  font-family:inherit;
  overflow:hidden;
}

/* caption (title) */
.eshop-summary-table .summary-caption{
  caption-side:top;
  text-align:left;
  font-weight:700;
  font-size:16px;
  padding:12px;
  color:#222;
}

/* head */
.eshop-summary-table thead tr.summary-head{
  background:transparent;
  border-bottom:1px solid #f5f5f5;
}
.eshop-summary-table th{
  font-weight:600;
  color:#6b6b6b;
  font-size:13px;
  padding:10px 12px;
  text-align:left;
}
.th-qty{ width:110px; text-align:center; }
.th-price{ width:140px; text-align:center; }
.th-total{ width:120px; text-align:right; }

/* body rows */
.eshop-summary-table tbody tr.summary-item td {
  padding:10px;
  vertical-align:middle;
  border-bottom:1px solid #f7f7f7;
}
.td-item .td-item-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}
.thumb{ width:64px; height:64px; border-radius:8px; overflow:hidden; background:#f2f2f2; flex:0 0 64px; display:flex; align-items:center; justify-content:center; }
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.item-name{ font-weight:700; font-size:14px; color:#222; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.item-sub{ font-size:12px; color:#6b6b6b; margin-top:4px; }

/* price and total */
.td-price{ text-align:center; font-size:14px; color:#222; }
.td-total{ text-align:right; display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.line-total{ font-weight:700; color:#222; }

/* footer */
.eshop-summary-table tfoot .summary-footer td{ padding:12px; font-weight:700; font-size:15px; border-top:1px solid #f5f5f5; }
.summary-note{ padding:10px 12px; color:#6b6b6b; font-size:13px; }

/* ensure table and form are in normal flow (prevents prekrytie) */
.eshop-summary-table, #eshopOrderForm{
  position:static !important;
  z-index:auto !important;
  clear:both !important;
}

/* responsive adjustments only for this block */
@media (max-width:480px) {
  .row {
    flex-direction: column; 
    gap: 10px; 
  }
  .eshop-actions { 
    justify-content: center; 
  }
  .eshop-summary-table { 
    margin-bottom:16px; 
  }
  .thumb { 
    width: 48px; 
    height: auto; 
    flex: 0 0 48px; 
  }
  .item-name {
    font-size: 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
  }

  .item-sub {
    font-size: 11px;
  }

  .eshop-summary-table th {
    font-size: 11px;
    padding: 4px 2px;
  }

  .line-total {
    font-size: 12px;
  }

  .th-qty, .td-qty {
    width: 50px;
    min-width: 50px;
  }
  .th-price, .td-price {
    width: 60px;
    min-width: 60px;
    font-size: 12px;
  }
  .th-total, .td-total { 
    width: 70px; 
    min-width: 70px;
    font-size: 12px;
    
  }
  .eshop-container {
    box-sizing: border-box;
  }

  .eshop-card {
    padding: 16px;
  }

  .row > .col,
  .row > div {
    width: 100% !important;
    min-width: 0;
  }
}

/* ---------------------------------------------------------
   Cookie consent banner
--------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 66px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border-radius: var(--radius-medium);
    box-shadow: var(--box-shadow);
    padding: 16px 20px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.cookie-banner-text a {
    color: var(--color-main);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}

.cookie-btn {
    border: none;
    border-radius: var(--radius-medium);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.cookie-btn-accept {
    background: var(--color-main);
    color: #fff;
}

.cookie-btn-reject {
    background: #F2F5F7;
    color: #333;
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 66px;
        padding: 14px 16px;
    }

    .cookie-banner-actions {
        width: 100%;
        margin-left: 0;
    }

    .cookie-btn {
        flex: 1;
    }
}
