/* ==========================
   Obecný body styl
========================== */
body {
    font-family: "Ubuntu", sans-serif;
    background-color: #ffffff;
    color: #0a2a66;
    line-height: 1.5;
}
:root {
        --colors-foregrounds-content-secondary: #000000;
        --colors-foregrounds-content-primary: #000000;
        --colors-surface-secondary: #00000000;
        --colors-surface-primary: #00000000;
    }

    .content-wrapper {
    margin-top: 30px;
}
@media (max-width: 767px) {
.breadcrumbs {
    margin-top: 10px;
}
}

@media (min-width: 992px) {
h1 span {
        font-size: 16px;
}
}
/* ==========================
   Glassmorphism wrapper pro karty a boxy
========================== */
.top-products li, .product-card, .sidebar-inner, .product .p, .category-top .col-xs-6, .search-whisperer, .cart-widget, .login-widget .popup-widget-inner {
    background: rgba(255, 255, 255, 0.417);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.cart-widget-button, .cart-widget .popup-widget-inner, .popup-widget:before {
    background-color: transparent;
    border-radius: 16px;
}


.navigation-in ul.menu-level-2 {
    background: rgba(255, 255, 255, 0.417);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999999
}

/* Hover efekt */
.top-products li:hover, .product-card:hover , .product .p:hover , .category-top .col-xs-6:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.subcategories li a {
    border-width: 0;
}

/* ==========================
   Obrázky produktů
========================== */
.top-products li img, .product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-products li:hover img, .product-card:hover img {
    transform: scale(1.05);
}

/* ==========================
   Název a cena produktu
========================== */
.product-title {
    font-weight: 600;
    margin: 12px 0 6px 0;
    color: #0a2a66;
}

.product-price {
    font-weight: 700;
    margin-bottom: 12px;
    color: #ce9633;
}

/* Minimální styl tlačítek – pouze zaoblené rohy */
.btn-secondary, .top-products li .btn, .product-card .btn {
    border-radius: 16px;
    padding: 10px 5px;
}

.btn.btn-conversion {
    background-color: #033777;
    border-radius: 16px;
}

.btn.btn-lg.btn-conversion.add-to-cart-button {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.btn:hover, .btn-secondary:hover, .btn-conversion:hover,
.top-products li .btn:hover, .product-card .btn:hover {
    background-color: #ecc279;
    transform: scale(1.05);
}

.pagination .pagination__list .pagination__link {
    background-color: #00000000;
}
/* ==========================
   Štítky / flags
========================== */
/* Zajistí, že štítky (flags) se nikdy neschovají */
.flags,
.flags .flag {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Vypnutí Shoptet before/after efektů */
.flags .flag::before,
.flags .flag::after {
    display: none !important;
    content: none !important;
}

/* Jednotný tvar – jen upravím border-radius a padding, barvy nechávám původní */
.flags .flag {
    padding: 3px 8px;
    border-radius: 8px;    /* Jen tvar zaoblení */
    font-weight: 700;
    text-transform: uppercase;
}
/* ==================================
Detail tlačítko, Nahoru, Načit další 
================================== */
.p-tools .btn, .goToTop .goToTop__button, .loadMore .pagination__link, .listingControls .pagination__link, 
.next-step .next-step-forward, .search .query-input, a.btn {
    border-radius: 16px;
}

.search .btn.btn-default.btn-arrow-right {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ==================================
Filtr ceny a značky checker čtverec
================================== */
.param-price-filter .ui-slider-handle, .filter-label::before, .filter-label::after, .form-group.company-shopping.unveil-wrapper::before {
    border-radius: 4px;
}


    
/* ==========================
   Glassmorphism Tabs
========================== */
.shp-tabs-holder {
    display: flex;
    gap: 6px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

/* Každý tab jako poloprůhledná "pilulka" */
.shp-tab {
    flex: 1;
}

.shp-tab a.shp-tab-link {
    display: block;
    padding: 12px 18px;
    font-weight: 600;

    border-radius: 16px;
    text-decoration: none;
    text-align: center;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: #0a2a66;

    box-shadow: inset 0 0 0 rgba(255,255,255,0);
    transition: all 0.3s ease;
}

/* Aktuální tab */
.shp-tab.active a.shp-tab-link {
    background: rgba(206,150,51,0.85);
    color: #fff;
    box-shadow: 0 4px 12px rgba(206,150,51,0.4);
    transform: translateY(-2px);
}

/* Hover efekt */
.shp-tab a.shp-tab-link:hover {
    background: rgba(206,150,51,0.65);
    color: #fff;
    box-shadow: 0 4px 10px rgba(206,150,51,0.3);
    transform: translateY(-2px);
}

/* ==========================
   Glass Sorting Controls
========================== */

.listSorting__controls {
    display: flex;
    gap: 8px;
    padding: 20px;
    justify-content: flex-start;  /* zarovnání vlevo */
    border-radius: 16px;
    margin-bottom: 20px;
}

/* Default tlačítko */
.listSorting__control {
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    color: #0a2a66;

    border: none;
    cursor: pointer;
    transition: all 0.25s ease;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow: inset 0 0 0 rgba(255,255,255,0);
}

/* Hover */
.listSorting__control:hover {
    background: rgba(206,150,51,0.65);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(206,150,51,0.3);
}

/* Aktivní tlačítko – stejné jako aktivní tab */
.listSorting__control--current,
.listSorting__control[aria-disabled="true"] {
    background: rgba(206,150,51,0.85);
    color: #fff;
    cursor: default;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206,150,51,0.4);
}

/* ==========================
   Checkout kroky
========================== */
.cart-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

ol.cart-header li.complete span:hover, ol.cart-header li a:hover {
    transform: scale(1.05);
}


/*.cart-header .step a, .cart-header .step span {
    border-radius: 16px;
}
.cart-header .step {
    padding-bottom: 20px;
}*/

ol.cart-header li.active a span,ol.cart-header li.active strong span {
    background: #fff;
    border: 1px solid #ffffff;
    border-bottom-color: #ffffff;
    color: #000;
    visibility: visible
}

/* ==========================
   Input množství
========================== */
.quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.quantity input.amount {
    width: 50px;
    background: transparent;
    border: none;
    text-align: center;
    outline: none;
}

.quantity button {
    border: none;
    background: #ce9633;
    color: #fff;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.quantity button:hover {
    background: #ecc279;
    transform: scale(1.1);
}

/* ==========================
   Formuláře
========================== 
.co-box input.form-control, 
.form-group .form-control, 
.co-box select.form-control,
.co-box .btn {
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    width: 100%;
    color: #0a2a66;
}
.co-box select.form-control, #simple-variants-select {
    border-radius: 12px;
    border: 1px solid #ddd;
    height: 100%;
    color: #0a2a66;
}
*/



.btn.btn-default, a.btn.btn-default {
    background-color: #033777;
    border-radius: 16px;
}

.cart-free-shipping strong {
    color: #c59813;
}



/* Hlavička a menu */
    @media (max-width: 767px) {
    #navigation {
        background-color: #00000000;
    }
        #header {
        background-color: #ffffffaa !important;
        border-color: rgba(255,255,255,0.2) !important;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .navigation-in.menu,
    .menu-level-1,
    .menu-level-2,
    .menu-helper>span {
        background-color: #ffffffdb !important;
        backdrop-filter: blur(6px);
        border-color: rgba(255,255,255,0.2) !important;
    }

    .menu-level-2 li a:hover, .menu-level-1 li a.hover {
        background-color: rgba(206,150,51,0.1) !important;
    }
}
















/* ==========================
   Dark Mode automaticky podle OS
========================== */
@media (prefers-color-scheme: dark) {
    .sidebar, body, footer, .content-window-in, .content-window-in.login-window-in, .content-window.card-window, .content-wrapper, .content-modal, .overall-wrapper header, .top-navigation-bar, .custom-footer, .footer-bottom, .project-phone {
        background-color: #10171f !important;
        color: #ffffff !important;
    }

    :root {
        --colors-foregrounds-content-secondary: #ffffff;
        --colors-foregrounds-content-primary: #ffffff;
    }

    main {
        background-color: #10171f !important;
    }

    .content-modal {
        background-color: #10171f !important;
        color: #ffffff !important;
        border-radius: 16px;
    }

    #cboxContent, #cboxLoadingOverlay {
    background-color: #10171f;
    border-radius: 16px;
    }

    #cboxClose {
    background-color: #10171f !important;
    height: 40px;
    right: 1px;
    top: 1px;
    width: 40px;
    z-index: 99;
    border-radius: 16px;
    }

    .breadcrumbs {
    background-color: #10171f;
    border-color: #e6e6e6;
    color: #ffffff;
    }
    /*Texty bílé*/
    .h1, .h2, .h3, .h4, .h5, .h6, body, h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    --color-primary: #153371;
    }
    /*Produk code gray*/
    .p-basic-info-block .block .p-code {
        color: #8f95a6;
    }

    /* Karty, boxy, produkty, sidebar */
    .top-products li,
    .product-card,
    .sidebar-inner,
    .product .p,
    .category-top .col-xs-6,
    .shp-tabs-holder,
    .listSorting__controls,
    .quantity,
    .form-control, 
    .box.box-bg-variant,
    .filter-section, 
    .filter-count, 
    select.form-control, 
    .removeable td,
    .cart-table tr td{
        background-color: rgb(30, 42, 56) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.512) !important;
    }
    
    .col-md-8 {
        background-color: rgb(30, 42, 56) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.512) !important;
        border-radius: 16px;
        margin-top: 20px;
    }
    
    .co-box h4:before {
        color: #ffffff;
    }
    .radio-wrapper.active .for-free {
        color: #3c8410;
    }
    .radio-wrapper input[type=radio]:checked+label>span b {
        color: #4d83f6;
    }
    .recapitulation-single>strong span {
        color: #4c80ef;
    }


    /* Tlačítka */
    .btn, .btn-secondary, .btn-conversion,
    .top-products li .btn, .product-card .btn {
        background-color: #1e2a38 !important;
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
    }

    .chevron-after {
        background-color: #00000000 !important;
        color: #ffffff !important;
        border-color: rgb(0 0 0 / 0%) !important;
        border-radius: 12px;
    }

    .btn.btn-lg.next-step-back {
        background-color: #00000000 !important;
        border-color: #00000000 !important;
    }
    .btn.btn-lg.next-step-back:hover {
        background-color: #00000000 !important;
    }

    .btn.btn-icon.toggle-window.cart-count.full {
        background-color: #00000000 !important;
        color: #ffffff !important;
        border-color: #00000000 !important;
    }

    .btn:hover, .btn-secondary:hover, .btn-conversion:hover,
    .top-products li .btn:hover, .product-card .btn:hover {
        background-color: #2a3b52 !important;
        transform: scale(1.05);
    }

    /* Hlavička a menu */
    @media (max-width: 767px) {
    #navigation {
        background-color: #00000000;
    }
        #header {
        background-color: #10171faa !important;
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .navigation-in.menu,
    .menu-level-1,
    .menu-level-2,
    .menu-helper>span {
        background-color: #10171fdb !important;
        backdrop-filter: blur(6px);
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
    }

    .menu-level-2 li a, .menu-level-1 li a {
        color: #ffffff !important;
    }

    .menu-level-2 li a:hover, .menu-level-1 li a.hover {
        background-color: rgba(206,150,51,0.1) !important;
        color: #ffffff !important;
    }

    .submenu-arrow {
        color: #ffffff !important;
    }
}

    /* Modaly, tooltipy, dropdowny */
    .modal,
    .dropdown-menu,
    .tooltip,
    .popover {
        background-color: #1e2a38 !important;
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
    }

    /* Inputy a formuláře */
    input, select, textarea {
        background-color: rgba(30,42,56,0.8) !important;
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
    }

    /* Taby a seznamy */
    .shp-tab a.shp-tab-link,
    .listSorting__control {
        background-color: rgba(30,42,56,0.6) !important;
        color: #ffffff !important;
        border-color: rgba(255,255,255,0.2) !important;
    }

    .shp-tab.active a.shp-tab-link,
    .listSorting__control--current {
        background-color: rgba(206,150,51,0.85) !important;
        color: #000000 !important;
    }

    /* Links */
    a { color: #ffffff !important; text-decoration: none; }
    a:hover { color: #ababab !important; text-decoration: none; }

    span.cat-trigger { color: #ffffff !important; }
    span.cat-trigger:hover { color: #ffc761 !important; }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 12px; }
    ::-webkit-scrollbar-track { background: #1e2a38; }
    ::-webkit-scrollbar-thumb { background-color: #2a3b52; border-radius: 6px; border: 3px solid #1e2a38; }

    /* Tooltipy + otázky */
    .show-tooltip.question-tooltip {
        background-color: #ce9633 !important;
        color: #000 !important;
    }
    .show-tooltip.question-tooltip:hover {
        background-color: #ecc279 !important;
        color: #000 !important;
    }

    ol.cart-header li a span,ol.cart-header li strong span {
    background: #1e2a38;
    border: 1px solid #e7e7e7;
    color: #ffffff;
    display: block;
    height: calc(100% + 1px);
    line-height: 130%;
    margin-bottom: -1px;
    padding: 15px 0;
    text-align: center;
    visibility: visible;
    border-radius: 12px;
}

ol.cart-header li a:hover span {
    background: #2a3b52;
    color: #d1af73
}

ol.cart-header li.active a span,ol.cart-header li.active strong span {
    background: #ce9633;
    border: 1px solid #e7e7e7;
    border-bottom-color: #e7e7e7;
    color: #fffffd;
    visibility: visible;
    border-radius: 12px;
}

ol.cart-header li.completed a span,ol.cart-header li.completed strong span {
    color: #ce9633;
    border-radius: 12px;
}


}

/* ==========================
   Ruční přepínač Dark Mode
========================== */
body.dark-mode {
    background-color: #121212 !important;
    color: #ffffff !important;
}

body.dark-mode * {
    background-color: transparent !important;
    color: inherit !important;
    border-color: rgba(255,255,255,0.2) !important;
}



/* Přidat class="dark-mode" přes JS pro ruční přepnutí */












div.extended-description{
    width: 100%;
    padding-left: 0px;
}

div.top-navigation-bar{
    padding: 1em 0px;
}

div.top-navigation-bar a, div.top-navigation-bar .dropdown button, .product-appendix, .category-appendix {
    color: #666;
}

h4.homepage-group-title, .h4.homepage-group-title{
    color: #043777;
    font-size: xx-large;
    font-weight: 700;
}

.subcategories li a{
    color: #666;
    font-weight: 700;
}

.products-block.products .p .name{
    height: 50px;
    font-size: 18px;
}

.breadcrumbs {
    color: #444;
}

.p-in{
    height: 100%;
    display: flex;
    flex-direction: column;
}

.p-bottom{
    margin-bottom: 19px;
    display: flex;
    height: 100%;
}

.p-bottom > div[data-micro=offer] {
    width: 100%;
}

.header-top .site-name > a {
    vertical-align: middle;
}

.top-navigation-contacts, .top-nav-button-account, .top-nav-button-login{
    display: none;
}

.no-content::before {
    content: none !important;
}

.flag.flag-discount {
    background-color: #75c5f0;
}

.flag.flag-new {
    background-color: #41b281;
}

.order-summary-item.total {
    font-weight: 700;
}

.customHR {
    border: 0px;
    border-bottom: 1px solid #d0d0d0;
    margin: 19px 0px;
}

#ec_form_1-43c2cd496486bcc27217c3e790fb4088{
    display: block;   
}
.hvr-wobble-vertical{
    background-color: #005ca9 !important;
}

.cart-free-shipping{
    bottom: 100px;
}

#hodnoceniobchodu .vote-wrap{
    width: 100%;
    background-color: white !important;
}

#hodnoceniobchodu{
    background-color: #f6f6f6;
    color: #ffffff
}

.btn-read-book, .btn-read-book:focus{
    background-color: #005ca9;
    color: white;
    border-color: #005ca9;
    margin: 0px 0px 20px 0px;
}

.btn-read-book:hover{
    background-color: white;
    color: #005ca9;
    border-color: #005ca9;   
    
}

.modal {
    max-width: none;
}

.blocker {
    z-index: 60;
}

#hodnoceniobchodu .shop-eval { max-width: 100%; }

#header .cart-count-custom {
    border: 0;
    position: absolute;
    right: 50px;
    top: -49px
}

@media (max-width: 767px){
    #header .cart-count{
        top: -25px;
    }
    
    #header .site-name{
        top: -35px;
    }
    
    .scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .site-name {
        transform: translateY(-150%);
    }
    
    .scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .cart-count {
        transform: translateY(-250%);
    }
    
    .popup-widget.cart-widget, .popup-widget.login-widget {
        padding-top: 69px;
    }
}

@media (min-width: 768px){    
    /*.fitted .navigation-in ul.menu-level-1{
        justify-content: space-evenly; 
    }*/
    
    h4.homepage-group-title, .h4.homepage-group-title{
        font-size: x-large;
        font-weight: 700;
        text-align: left;
        color: #666;
    }
    
    .top-navigation-bar {
        display: none;
    }
    
    .top-navigation-contacts {
        display: inline-block;
        margin: 0px 2vw;
    }
    
    .top-nav-button-account, .top-nav-button-login {
        margin: 0 2vw;
        padding: 5px 9px 4px;
    }
    
    li.menu-item-928, li.menu-item-919, li.menu-item-931{
        background: #005ca9;
        border-color: #005ca9 !important;
    }
    
    .menu-helper ul li.menu-item-928 > a,.menu-helper ul li.menu-item-919 > a,.menu-helper  ul li.menu-item-931 > a{
        color: white;
    }
    
    .menu-helper ul li.menu-item-928.exp > a{
        color: #005ca9;
    }
    
    #ec_form_1-43c2cd496486bcc27217c3e790fb4088{
        display: none;   
    }
    
    #header .cart-count-custom {
        display: inline-block;
        left: 0;
        position: relative;
        right: auto;
        top: 0
    }
}

@media (max-width: 991px){
    .cart-widget-button{
        bottom: 35px;
    }
    
    .popup-widget-inner .cart-widget-products{
        height: calc(100% - 160px);
    }
}

@media (min-width: 991px){
    .cart-free-shipping{
        bottom: 66px;
    }
}

@media (min-width: 1200px){
    .kontakt-page {
        max-width: 100% !important;
    }
    
    .footer-rows .site-name {
        max-width: 225px;
    }
    
    .footer-rows .site-name a img {
        max-height: 200px;
    }
}

.navigation-buttons>a.cart-count-custom {
    height: initial;
    padding: 4px;
    text-align: center;
    width: initial;
}

.type-posts-listing .news-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: -15px;
    margin-right: -15px;
}

.type-posts-listing .news-wrapper .news-item {
    margin: 0 15px 30px 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0!important;
}

@media (min-width: 768px) {
    .type-posts-listing .news-wrapper .news-item {
        width:calc(100% / 3 - 30px)
    }

    .template-10.multiple-columns-body.type-posts-listing .news-wrapper .news-item {
        width: calc(100% / 2 - 30px)
    }
}

@media (max-width: 1200px) {
    .type-posts-listing .news-wrapper .news-item {
        width:calc(100% / 2 - 30px)
    }
}

@media (min-width: 1200px) {
    .one-column-body.type-posts-listing .news-wrapper .news-item {
        width:calc(100% / 4 - 30px)
    }
}

.type-posts-listing .content-inner {
    max-width: 100%;
}

.type-posts-listing .news-wrapper .news-item>* {
    width: 100%!important;
    margin: 0!important;
}

.type-posts-listing .news-wrapper .news-item .title {
    line-height: normal;
    padding: 10px 0;
    margin: 0;
}

@media (max-width: 990px) {
  .breadcrumbs {
        border-bottom-style:solid;
        border-bottom-width: 1px;
        display: flex;
        margin-left: -20px;
        margin-right: -20px
    }

    .breadcrumbs>span {
        align-self: center
    }

    .breadcrumbs>span>a,.breadcrumbs>span>span {
        display: block;
        padding: 10px 20px
    }

    .breadcrumbs>span>a {
        min-height: 38px;
        position: relative
    }

    .breadcrumbs>span>a:after,.breadcrumbs>span>a:before {
        content: "";
        height: 75%;
        position: absolute;
        right: 0;
        width: 1px
    }

    .breadcrumbs>span>a:before {
        top: -12.5%;
        transform: rotate(-45deg)
    }

    .breadcrumbs>span>a:after {
        bottom: -12.5%;
        transform: rotate(45deg)
    }
}

@media (max-width: 768px) {
    .type-posts-listing .news-wrapper .news-item {
        width:calc(100% / 1);
        margin-left: 0;
        margin-right: 0
    }

    .type-posts-listing .news-wrapper {
        margin-left: 0;
        margin-right: 0
    }
}
