/* ============================================================
   FOTO-FIX.CSS v10 (06.06.2026)
   ============================================================
   Z F12: content area je cca 560px wide.
   Carousel 240 + thumbs 312 = 552 → vejde se vedle sebe.
   Pera se centrují v boxu díky flex.
   ============================================================ */


/* ============================================================
   ČÁST 1 - LISTING KATEGORIE
   ============================================================ */

.top_content {
    height: 360px !important;
    overflow: hidden !important;
}

.top_content .img_thumb,
.top_left .top_content .img_thumb,
.img_thumb {
    height: 150px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    background: #ffffff !important;
}

html body .top_left .top_content .img_thumb img,
html body .top_content .img_thumb img,
html body .img_thumb img,
html body .img_thumb a img {
    height: 140px !important;
    width: auto !important;
    max-width: 95% !important;
    max-height: 140px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border: none !important;
}

.img_thumb_column {
    min-height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 5px 0 !important;
    overflow: hidden !important;
}
html body .img_thumb_column img,
html body .img_thumb_column a img {
    height: 140px !important;
    width: auto !important;
    max-width: 95% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}


/* ============================================================
   ČÁST 2 - DETAIL PRODUKTU (HLAVNÍ FOTKA)
   ZMĚNA: 240x180 místo 380x220 (vejde se vedle thumbs)
   ============================================================ */

#mygallery,
.stepcarousel {
    position: relative !important;
    overflow: hidden !important;
    width: 240px !important;
    height: 180px !important;
    border: none !important;
    float: left !important;
    background: #ffffff !important;
    margin-right: 8px !important;
}

#mygallery .belt,
.stepcarousel .belt {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

#mygallery .panel,
.stepcarousel .panel {
    width: 240px !important;
    height: 180px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

html body #mygallery .panel a,
html body .stepcarousel .panel a {
    display: block !important;
    text-decoration: none !important;
    line-height: 0 !important;
    float: none !important;
}

html body #mygallery .panel a img,
html body #mygallery .panel img,
html body .stepcarousel .panel a img,
html body .stepcarousel .panel img {
    max-width: 220px !important;
    max-height: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: 1px solid #fbd2bd !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: static !important;
    vertical-align: middle !important;
}


/* ============================================================
   ČÁST 3 - THUMBNAIL STRIP V DETAILU
   ============================================================ */

#dhtmlgoodies_slideshow {
    width: 312px !important;
    height: 80px !important;
    float: left !important;
    margin-bottom: 20px !important;
}

#galleryContainer {
    height: 80px !important;
    overflow: hidden !important;
}

html body #theImages img {
    max-width: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    padding: 4px 3px !important;
}
