body:not(.in-original-na-prani) .category__secondDescription{
margin-top:42px!important;
padding-top:34px!important;
border-top:1px solid #999;
}
body:not(.in-original-na-prani) .products-top-wrapper{
margin-top:28px!important;
padding-top:34px!important;
border-top:1px solid #999;
}
body.in-original-na-prani .products-top-wrapper{display:none!important;}
body.in-original-na-prani .listSorting{display:none!important;}
body.in-original-na-prani .category-content-wrapper > .listingControls{display:none!important;}
body.in-original-na-prani .category__secondDescription{
margin-top:42px!important;padding-top:34px!important;border-top:1px solid #999;
}
body.in-original-na-prani .ym-realizations-heading{
text-align:left;margin:28px 0 24px;padding:34px 0 0;border-top:1px solid #999;
}
body.in-original-na-prani .listItemsTotal{display:none!important;}
body.in-original-na-prani .ym-realizations-heading h2{
color:#34402F!important;font-size:27px!important;line-height:1.3!important;font-weight:600!important;margin:0!important;
}
body.in-original-na-prani .ym-realizations-heading p{
margin:12px 0 0;color:#4A4A4A;font-size:16px;line-height:1.55;
}
body.in-index .ym-thought{max-width:900px;margin:30px auto 28px;padding:0 20px;text-align:center}
body.in-index .ym-thought strong{display:block;color:#34402F;font-size:27px;line-height:1.3;font-weight:600}
body.in-index .ym-thought strong:after{content:"";display:block;width:55px;height:2px;background:#B58A36;margin:11px auto 0}
body.in-index .ym-thought p{margin:12px 0 0;color:#4A4A4A;font-size:18px;line-height:1.55}

body.in-index .welcome-wrapper,
body.in-index .welcome{max-width:850px;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
body.in-index .welcome:before{
content:"POZNEJTE Y&M ATELIER";display:block;color:#B58A36;font-size:13px;font-weight:700;letter-spacing:.8px;text-align:center;margin-bottom:9px
}
body.in-index .welcome-wrapper h1,
body.in-index .welcome-wrapper h2,
body.in-index .welcome h1,
body.in-index .welcome h2{
color:#34402F!important;font-size:30px!important;font-weight:600!important;line-height:1.25!important;text-align:center!important;margin-top:0!important;margin-bottom:14px!important
}
body.in-index .welcome-wrapper h1:after,
body.in-index .welcome-wrapper h2:after,
body.in-index .welcome h1:after,
body.in-index .welcome h2:after{
content:"";display:block;width:55px;height:2px;background:#B58A36;margin:10px auto 0
}
body.in-index .welcome-wrapper p,
body.in-index .welcome p{
font-size:16px!important;line-height:1.65!important;color:#4A4A4A!important;text-align:center!important;margin-bottom:16px!important
}
body.in-index .welcome{padding-top:36px!important;padding-bottom:36px!important}
body.in-index .ym-about-button{
display:inline-block;margin-top:8px;padding:11px 25px;background:#34402F;border:1px solid #34402F;border-radius:4px;color:#fff!important;font-size:14px;font-weight:600;text-transform:uppercase;text-decoration:none!important;transition:.2s ease
}
body.in-index .ym-about-button:hover{background:#B58A36;border-color:#B58A36;color:#fff!important}

body.id-726 tr.sold-out{display:none!important}
body.id-726 .ym-realization-label{font-size:14px;font-weight:600;color:#B58A36;text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px}
body.id-726 .p-final-price-wrapper .price-final,
body.id-726 .p-final-price-wrapper strong{font-size:24px!important;font-weight:600!important;color:#34402F!important}

.ym-custom-order-cta{margin:32px 0 25px}
.ym-custom-order-button{
float:left;display:inline-block!important;padding:12px 26px!important;background:#34402F!important;color:#fff!important;border-radius:4px;text-decoration:none!important;font-weight:600
}
.ym-custom-order-button:hover{background:#B58A36!important;color:#fff!important}
.ym-custom-order-motto{text-align:center;clear:both;margin-top:14px;color:#B58A36;font-weight:600}

.messages .msg.msg-info{
background:#34402F!important;color:#fff!important;min-height:0!important;padding:10px 20px!important;font-size:14px!important;line-height:1.4!important;border:none!important
}
.messages .msg.msg-info *{color:#fff!important}

@media(min-width:992px){
#footer .custom-footer{display:flex!important;align-items:flex-start!important}
#footer .custom-footer>div:nth-child(2){flex:1 1 260px!important;max-width:300px!important}
#footer .custom-footer>div:nth-child(3){margin-left:35px!important}
#footer .ym-footer-info{min-width:260px;position:relative;top:-10px;left:45px}
#footer .ym-footer-info li{white-space:nowrap}
}

@media(max-width:767px){
body.in-index .ym-thought{margin:24px auto 22px;padding:0 18px}
body.in-index .ym-thought strong{font-size:23px}
body.in-index .ym-thought p{font-size:16px}
body.in-index .welcome-wrapper,
body.in-index .welcome{padding-left:20px!important;padding-right:20px!important}
body.in-index .welcome-wrapper h1,
body.in-index .welcome-wrapper h2,
body.in-index .welcome h1,
body.in-index .welcome h2{font-size:25px!important}
body.in-index .welcome-wrapper p,
body.in-index .welcome p{font-size:15px!important}
body.in-index .welcome:before{font-size:12px}
}
/* Barevné ikony sociálních sítí v patičce */
.custom-footer__contact .facebook {
    color: #1877F2 !important;
}

.custom-footer__contact .instagram {
    color: #E1306C !important;
}

.custom-footer__contact .whatsapp {
    color: #25D366 !important;
}

/* =========================================================
   HLAVNI STRANKA – POSUVNY VYBER VYROBKU
   ========================================================= */
body.in-index #products-1.ym-products-slider {
    display: block !important;
    position: relative;
    overflow: visible;
}

body.in-index .ym-products-viewport {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

body.in-index .ym-products-track {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Jedna stránka posuvníku: 3 sloupce × 2 řady */
body.in-index .ym-products-page {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    row-gap: 34px;
}

body.in-index .ym-products-page > .product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    float: none !important;
}

body.in-index .ym-products-page > .product > .p > a.image {
    display: block;
    overflow: hidden;
    border-radius: 16px !important;
}

body.in-index .ym-products-page > .product > .p > a.image img {
    border-radius: 16px !important;
}

body.in-index #products-1 .ym-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 5;
    display: block !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #34402F !important;
    color: #FFFFFF !important;
    font-size: 30px !important;
    line-height: 40px !important;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    transition: background-color .2s ease;
}
body.in-index #products-1 .ym-slider-arrow:hover,
body.in-index #products-1 .ym-slider-arrow:focus {
    background: #B58A36 !important;
}
body.in-index #products-1 .ym-slider-prev { left: -20px !important; }
body.in-index #products-1 .ym-slider-next { right: -20px !important; }

body.in-index #products-1 .ym-slider-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    margin: 20px 0 0;
}
body.in-index #products-1 .ym-slider-dot {
    display: block !important;
    width: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #CFCFCF !important;
    cursor: pointer;
}
body.in-index #products-1 .ym-slider-dot.is-active {
    background: #B58A36 !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet: 2 sloupce × 2 řady */
    body.in-index .ym-products-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    /* Mobil: vždy jeden výrobek, posun šipkou nebo prstem */
    body.in-index .ym-products-page {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 22px;
    }

    body.in-index #products-1 .ym-slider-arrow {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        font-size: 26px !important;
        line-height: 35px !important;
    }
    body.in-index #products-1 .ym-slider-prev { left: 4px !important; }
    body.in-index #products-1 .ym-slider-next { right: 4px !important; }
}
