/* --- VAŠE PŮVODNÍ STYLY --- */
.order-button-suffix { display: none; }

/* Zobrazi dostupnost zbozi ve vypisu kategorie i pro mobilni telefony */
@media screen and (max-width: 40em) {
    .p-type-descr { display: block; }
}
.dostupnost, .cell-price-final strong { color: #0B689A !important; }
.td-normal-price, .td-save-price, .seda { color: #999 !important; }
.field-pieces-wrap { display: none; }
#product-detail tr { border: none; }
#product-detail-info { display: none !important; }
#short-description { border-bottom: 0; }
.rating { float: left; }
#product-detail-h1 tr:before { content: "|"; margin: 0 7px; color: #dadada; }
#product-detail-h1 tr { color: #999 !important; }
#product-detail-h1 tr strong { font-weight: 300 !important; margin-right: 3px; }
#product-detail-h1 tr strong:after { content: ":"; }
#product-detail-h1 tr a { color: #999 !important; text-decoration: none !important; }
#product-detail { border-bottom: 2px solid #f2f2f2 !important; border-top: 2px solid #f2f2f2 !important; }
.cell-price-final, .cell-price-final-value { border-top: 2px solid #f2f2f2 !important; padding: 7px 0; }

.delivery-time span { width: 50%; float: left; font-weight: bold; color: #0B689A; font-size: 14px; }
.delivery-time strong { width: 50%; }
.p-print { display: none !important; }
#tr-links .p-question::before { color: #0B689A; }
#tr-links { margin-top: 10px; padding-left: 3px; }
.p-det-main-price { font-size: 20px !important; color: #0B689A; font-weight: 600 !important; padding-top: 15px; display: block; }
.p-cat-availability { text-align: right; }
.p-name { color: #666 !important; font-size: 16px !important; }

.pagination-wrap { margin-top: 20px !important; }
.subcategories.with-image .subcategories-single .image { width: 20% !important; float: left; height: auto; margin: 0 !important; }
.subcategories.with-image .subcategories-single a { display: block; }
.subcategories .text { float: left; width: 80% !important; display: block; font-size: 13px !important; color: #999 !important; text-transform: none !important; text-align: left; padding: 5% 15px 0 5px; }
.subcategories .subcategories-single:hover .text { color: #0B689A !important; }
.subcategories .subcategories-single { border: 1px solid #dadada; position: relative; width: 23%; margin-right: 2%; margin-bottom: 15px; }
.subcategories .subcategories-single:hover { background: #f1f6f9; }
.subcategories .subcategories-single a:before { content: "\e619"; position: absolute; right: 10px; top: 45%; color: #999; font-family: Shoptet; font-size: 9px; }

@media screen and (max-width: 950px) {
    .top-in-cat-descr { display: none !important; }
    #category-top10 .p-cat-prices { text-align: left !important; padding-left: 18px !important; }
}
@media screen and (max-width: 650px) {
    .subcategories .subcategories-single { width: 98%; margin: 5px 1%; }
}

#header-in { border-bottom: 1px solid #0B689A; }
#menu-helper::before { height: 32px; line-height: 32px; }
#menu-helper { height: 38px; }
#menu-helper-box, .navigation-menu { top: 39px; }
#column-l-in > div > .box, #column-r > div > .box { border-bottom: 1px solid #e7e7e7; }
#content-in #category-top10 li { width: 33%; float: left; clear: none; }
#category-top10 li > div { border-bottom: 0; }
.top-in-cat-iteration, .top-in-cat-descr p, #category-top10 .p-cat-availability { display: none; }
.top-in-cat-descr { width: 80%; padding-left: 40px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#category-top10 .p-cat-prices { width: 80%; text-align: left; margin-top: 10px; color: #0B689A; padding-left: 40px; }
#category-top10 li a { text-transform: none !important; }
#category-top10 .top-in-cat-image img { max-width: 65px; }
#category-top10 li > div:hover { background: none; }
#category-top10 li:hover .top-in-cat-descr a { color: #0B689A; }
#menu .list-inline > li:hover > a { height: 40px; }
#menu .list-inline > li:hover > a { border-bottom: 3px solid #0B689A; }

.marvel #category-top10, .harry-potter #category-top10, .jursky-svet #category-top10, .hra-o-truny #category-top10, .vetrelec-predator #category-top10, .filmove-legendy #category-top10, .tom-cruise #category-top10, .filmove-vesmiry #category-top10, .pan-prstenu #category-top10, .fast-saga #category-top10, .james-bond #category-top10, .spider-man #category-top10, .dc-comics #category-top10, .christopher-nolan #category-top10, .lego #category-top10, .batman #category-top10, .stephen-king #category-top10, .transformers #category-top10, .nejnovejsi-filmy #category-top10, .hdmi #category-top10, .stanley-kubrick #category-top10, .star-wars-saga #category-top10, .hdmi #category-filter-wrapper, .box-even .more { display: none !important; }
.mimo-web { display: none; }
#column-l .box article h4 { position: relative; }
.kalendar-radek > div { float: left; width: 16%; margin-bottom: 20px; }
.kalendar-radek > div img { width: 100%; height: auto; }
.kalendar-radek { width: 100%; clear: both; float: left; }
.radek-datum { width: 100% !important; border-bottom: 1px solid #0B689A; padding-bottom: 5px; }
.radek-mesic > div { background: #0B689A; text-align: center; width: 100%; color: #fff; padding: 10px 0; }

@media screen and (max-width: 40em) {
    .kalendar-radek > div { width: 33%; }
    .radek-mesic > div { width: 100% !important; }
}

.bez-boxu #subcategories { display: none; }
.dolby-vision { display: none; }
.hdr10plus { display: none; }
.slovenska-platba { background: #f2f2f2; line-height: 21px; padding: 5px 0 20px 0; }
.subcategories.with-image .subcategories-single .image img { max-height: 40px; }
.delivery-time-label { color: #0B689A; }
#product-variants .delivery-time strong:first-child { color: #999; margin-right: 5px; }
#description iframe, #description p > img { float: right; margin-left: 30px; margin-bottom: 20px; width: 50%; z-index: 9; position: relative; }
#description hr { clear: none !important; }

@media screen and (max-width: 640px) {
    #description iframe, #description p > img { margin: 0 0 15px 0; float: none; width: 100% !important; }
    #product-detail td { width: 50%; }
}

.video-spot { margin: 0; }
.news-item .text .title, .news-item .image a { cursor: default; text-decoration: none !important; }
.load-products.button { background-color: #32cb00; border-color: #32cb00; }
#twitterWidget { margin-top: 20px; }

.product-block { display: flex; flex-wrap: wrap; padding: 25px 45px; border-radius: 5px; align-items: center; }
.product-block > div { width: 50%; }
.product-block > div:first-child { padding-right: 32px; }
.product-block > div:last-child { padding-left: 32px; }
.product-block.grey { background-color: var(--bg); }
.product-block.grey .image img { mix-blend-mode: multiply; }

.detail-grid-title { display: none; }

@media (min-width: 768px) {
    .top-category-block { margin-bottom: 0px; margin-top: 60px; }
}
.price-final-holder { color: #73ba2c; }

/* Skrytí Obchodních podmínek a GDPR v horní liště */
.top-navigation-menu-item-39, 
.top-navigation-menu-item-999 { display: none !important; }

/* CSS PRO VLASTNÍ POPIS */
.custom-product-description { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
.custom-product-description h2, .custom-product-description h3 { text-align: center; margin-top: 20px; margin-bottom: 15px; }
.custom-product-description p { text-align: center; max-width: 800px; margin: 0 auto 20px auto; padding: 0 15px; }
.full-width-image { width: 100%; height: auto; margin-bottom: 20px; }
.layout-half { display: flex; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.layout-half__image, .layout-half__text { flex: 1; padding: 20px; box-sizing: border-box; }
.layout-half--text-right .layout-half__text { order: 1; }
.layout-half--text-right .layout-half__image { order: 2; }
.layout-half__text h3 { text-align: left; }
.layout-half__text p { text-align: left; padding: 0; }
.layout-half__image img { width: 100%; height: auto; display: block; }
.features-grid { display: flex; justify-content: center; text-align: center; gap: 20px; margin: 20px auto; max-width: 800px; flex-wrap: wrap; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feature-item img { max-width: 80px; height: auto; }

@media (max-width: 768px) {
    .layout-half { flex-direction: column; }
    .layout-half--text-right .layout-half__text, .layout-half--text-right .layout-half__image { order: 0; }
    .layout-half__text h3, .layout-half__text p { text-align: center; }
}

.custom-product-description img { border-radius: 12px; }
.custom-product-description p { font-size: 14pt; }

/* STYLY PRO TECH MŘÍŽKU */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; }
.tech-item { text-align: center; }
.tech-item img { max-width: 120px; height: auto; margin-bottom: 15px; }
.tech-item h4 { font-size: 1.2em; margin-bottom: 10px; }
.tech-item p { text-align: center !important; padding: 0 !important; }
.tech-item .footnote { font-size: 0.8em; color: #777; margin-top: 10px; display: block; }
@media (max-width: 768px) {
    .tech-grid { grid-template-columns: 1fr; }
}

/* --- NOVÉ STYLY PRO PLOCHÉ VLAJEČKY (PŘIDÁNO) --- */
/* Skryjeme původní styly dropdownu */
.top-navigation-tools--language .languagesMenu { display: block !important; width: auto !important; position: static !important; }
/* Kontejner */
.flat-tools-container { display: flex; align-items: center; justify-content: flex-end; height: 100%; margin-left: 10px; }
/* Skupiny */
.flat-group { display: flex; align-items: center; gap: 6px; }
/* Odkazy měn */
.flat-link { text-decoration: none !important; color: #333; font-weight: 600; font-size: 12px; padding: 2px 4px; border-radius: 3px; transition: color 0.2s, background-color 0.2s; line-height: 1; }
.flat-link:hover { color: #0b679a; background-color: #f0f0f0; }
/* Vlaječky */
.flat-flag { display: block; height: 16px; width: auto; border: 1px solid #eee; transition: transform 0.2s; margin-top: -2px; }
.flat-languages a { display: block; line-height: 0; }
.flat-languages a:hover .flat-flag { transform: scale(1.1); border-color: #0b679a; }
/* Oddělovač */
.flat-separator { color: #ccc; margin: 0 10px; font-size: 14px; }
/* MOBIL - Skrytí */
@media screen and (max-width: 991px) { .flat-tools-container { display: none; } }
/* --- KALENDÁŘ 2025: Ultimate Edition v4 (FINAL POLISH) --- */

/* 1. JAZYKOVÝ PŘEPÍNAČ */
.calendar-lang-switch {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.calendar-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    text-decoration: none !important;
    transition: all 0.2s;
    opacity: 0.7;
    width: auto !important;
}

.calendar-lang-btn:hover, .calendar-lang-btn.active {
    opacity: 1;
    border-color: #0B689A;
    background: #f1f6f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.calendar-lang-btn img {
    height: 20px !important; 
    width: auto !important;
    display: block;
    margin: 0 !important;
    max-width: none !important;
    box-shadow: none !important;
}

/* 2. FILTRY FORMÁTŮ */
.calendar-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: #ffffff;
    border: 2px solid #eee;
    color: #555;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 12px;
    margin: 0 5px 10px;
    font-weight: bold;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
    min-width: 90px;
    vertical-align: top;
}

.filter-btn img { 
    width: 60px !important;
    height: auto !important; 
    margin-bottom: 8px !important; 
    display: block;
}

.filter-btn.active {
    border-color: #0B689A;
    background: #ffffff;
    color: #0B689A;
    box-shadow: 0 4px 10px rgba(11, 104, 154, 0.15);
}

.filter-btn:hover { transform: translateY(-2px); border-color: #0B689A; }
.filter-btn:not(.active) { opacity: 0.5; filter: grayscale(100%); }

/* 3. NAVIGACE MĚSÍCŮ */
.calendar-months-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.month-anchor-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #0B689A;
    color: #0B689A;
    background: #fff;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

.month-anchor-btn:hover { background: #0B689A; color: white !important; }
.month-anchor-btn.disabled { border-color: #eee; background: #f9f9f9; color: #ccc !important; cursor: default; pointer-events: none; }

/* 4. NADPIS MĚSÍCE */
.calendar-month-header {
    background: #0B689A;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 40px;
    border-radius: 6px 6px 0 0;
    font-size: 20px;
    scroll-margin-top: 120px;
    clear: both;
}

/* 5. ŘÁDEK DNE - FIX ZALOMENÍ */
.calendar-row {
    display: flex;
    flex-wrap: nowrap; /* Nikdy nezalomit hlavní bloky */
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding: 25px 15px;
    gap: 25px;
    background: #fff;
}
.calendar-row:last-child { border-bottom: none; }

.calendar-date {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    /* Betonová šířka - flex: grow shrink basis */
    flex: 0 0 90px; 
    width: 90px;
    max-width: 90px;
    text-align: left;
    line-height: 1.2;
    padding-top: 5px;
}

.calendar-movies {
    display: flex;
    flex-wrap: wrap; /* Filmy se zalamovat mohou */
    gap: 15px;
    flex-grow: 1;
    align-items: flex-start;
}

/* 6. POLOŽKA FILMU - JEMNÁ KOREKCE POMĚRU STRAN */
.calendar-movie-link {
    display: block;
    width: 150px;
    height: 208px; /* ZMĚNA: Sníženo z 215px. Tím se sníží zoom a odhalí se boky obrázku. */
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 6px;
    background: #transparent;
    flex-shrink: 0;
}

.calendar-movie-link:hover { 
    transform: scale(1.05); 
    z-index: 5; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.calendar-movie-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Vráceno na střed, změna výšky vyřeší ořez */
    display: block;
    margin: 0 !important;
}

/* Ikonka formátu */
.format-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}
.format-badge img {
    object-fit: contain;
    object-position: center;
}

/* MOBILNÍ ZOBRAZENÍ */
@media screen and (max-width: 650px) {
    .calendar-row { 
        flex-wrap: wrap; /* Na mobilu povolíme datum nad filmy */
    }
    .calendar-date { 
        width: 100%; 
        flex: none; /* Reset flexu */
        max-width: none;
        border-bottom: 1px solid #eee; 
        padding-bottom: 10px; 
        margin-bottom: 15px;
        color: #0B689A;
    }
    .calendar-movie-link { width: 130px; height: 185px; }
}