

/* Start:/local/templates/.default/components/bitrix/catalog.element/simple/style.css?17691580153887*/
.element-simple .info_wrap .info_right-card {
    max-width: 100%;
}

.right_card-fixed {
    width: 100%;
}

.element-simple_right-card {
    width: 100%;
}

.product-replacement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--opdev-gray-100);
    border-left: 3px solid var(--opdev-gray-500);
    border-radius: 4px;
    font-size: 14px;
    color: var(--opdev-gray-700);
}

.replacement-icon {
    flex-shrink: 0;
    color: var(--opdev-gray-600);
}

.replacement-text {
    color: var(--opdev-gray-700);
}

.replacement-link {
    color: var(--opdev-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.replacement-link:hover {
    color: var(--opdev-primary-dark);
    text-decoration: underline;
}

html,
body {
    margin: 0;
    height: 100%;
}

.element-video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.element-media {
    flex: 1 1 300px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.media-thumb img,
.media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
    border-radius: 6px;
}

.element-media[data-type="VIDEO"] .media-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("/local/templates/.default/assets/images/icons/play.svg") center/48px no-repeat;
    pointer-events: none;
}

.media-caption {
    margin-top: 8px;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    word-break: break-word;
    text-align: center;
}

@media (max-width:991px) {
    .element-media {
        flex: 1 1 48%
    }
}

@media (max-width:575px) {
    .element-media {
        flex: 1 1 100%
    }
}

.gallery-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

dialog {
    max-width: 700px !important;
}

dialog.gallery-dialog {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1000;
    top: 50%;
    left: 50%;
}

.dialog-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-content img,
.dialog-content video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
    width: auto;
}

@media (max-width: 450px) {
    dialog.gallery-dialog {
        width: 95vw;
    }
}

#dialogClose {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .6);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 99;
}

/* Zoom styles for fullscreen slider */
.main_slider-info {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main_slider-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.main_slider-img.zoomed {
    cursor: grab;
    transform: scale(2);
}

.main_slider-img.zoomed.dragging {
    cursor: grabbing;
    transition: none;
}

/* Zoom hint */
.zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.main_slider:hover .zoom-hint {
    opacity: 1;
}

.main_slider-img.zoomed ~ .info_box .zoom-hint,
.main_slider-img.zoomed + .info_box + .zoom-hint {
    display: none;
}
/* End */


/* Start:/local/components/nik/catalog.element.discount/templates/.default/style.css?1764325605712*/
.discount-loader {
    padding: 15px;
    background: var(--opdev-gray-200);
    border-radius: 8px;
    text-align: center;
    color: var(--opdev-gray-600);
}

.discount-block {
    margin: 20px 0;
    padding: 20px;
    background: var(--opdev-primary);
    border-radius: 12px;
    color: var(--opdev-white);
}

.discount-content h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.discount-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: var(--opdev-white);
    color: var(--opdev-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s;
}

.discount-link:hover {
    transform: translateY(-2px);
}
/* End */
/* /local/templates/.default/components/bitrix/catalog.element/simple/style.css?17691580153887 */
/* /local/components/nik/catalog.element.discount/templates/.default/style.css?1764325605712 */
