@media (min-width: 1200px) {

	/* nastavení odznaku se slevou */
	
	.p-image {
        position: relative;
    }

    .p-image .flags.flags-extra {
        position: absolute;
        top: 16px;
        left: 16px;
        z-index: 5;
    }

    .p-main-image {
        position: relative;
        z-index: 1;
    }

    .rox-desktop-gallery {
        position: relative;
        z-index: 0;
    }
	
	/* konec odznaku se slevou */
	
    .col-lg-6.p-image-wrapper {
        width: 60%;
    }

    .col-lg-6.p-info-wrapper {
        width: 40%;
    }

    .p-main-image {
        display: block;
        margin-bottom: 16px;
    }

    .p-main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* původní Shoptet thumbnail slider na desktopu úplně schováme */
    .p-thumbnails-wrapper {
        display: none !important;
    }

    /* nová desktop galerie */
    .rox-desktop-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        margin-top: 16px;
    }

    .rox-desktop-gallery a {
        display: block;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border: 1px solid var(--template-color-gray-darker);
        border-radius: var(--template-border-radius-base);
    }

    .rox-desktop-gallery a:hover {
        border-color: var(--color-primary);
    }

    .rox-desktop-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.2s ease;
    }

    .rox-desktop-gallery a:hover img {
        transform: scale(1.02);
    }
	
	/* + na poslední fotku když jsou víc jak 4 fotky */
    .rox-gallery-more {
        position: relative;
    }

    .rox-gallery-more::after {
        content: attr(data-more-count);
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        color: #fff;
        font-size: 42px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }
	
	/* formátování šipek v galerii */
	
	#cboxNext,
#cboxPrevious {
    height: 100%;
    width: 80px;
    top: 0;
    outline: none;

    display: flex !important;
    align-items: center;
}

#cboxPrevious {
    justify-content: flex-start;
    left: 20px;
}

#cboxNext {
    justify-content: flex-end;
    right: 20px;
}

#cboxNext:before,
#cboxPrevious:before {
    width: 54px;
    height: 54px;

    background: rgba(255,255,255,.95);
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    box-shadow: 0 4px 20px rgba(0,0,0,.15);

    margin-top: 0;
    position: static;
}
}
