/* Strazar catalog gallery 1.5.2 */
.strazar-card-gallery-product .box-image > div:first-child {
    height: auto;
    aspect-ratio: 1 / 1;
    padding-top: 0 !important;
}

.strazar-card-gallery-product .box-image > div:first-child > a {
    display: block;
    height: auto;
    aspect-ratio: 1 / 1;
}

.strazar-card-gallery {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f5f5;
}

.strazar-card-gallery .flickity-viewport {
    height: auto !important;
    aspect-ratio: 1 / 1;
}

.strazar-card-gallery .flickity-slider,
.strazar-card-gallery-slide {
    height: 100% !important;
}

.strazar-card-gallery-slide {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f5f5;
}

.strazar-shop-shell-active .product-small .box-image .strazar-card-gallery-image {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

.strazar-card-gallery-controls {
    position: absolute;
    z-index: 5;
    inset: 0;
    pointer-events: none;
}

.strazar-card-gallery-arrow {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(15, 42, 67, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #0f2a43;
    box-shadow: 0 3px 12px rgba(15, 42, 67, 0.16);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: opacity 160ms ease, background-color 160ms ease;
}

.strazar-card-gallery-arrow.is-previous {
    left: 10px;
}

.strazar-card-gallery-arrow.is-next {
    right: 10px;
}

.strazar-card-gallery-enhanced .box-image:hover .strazar-card-gallery-arrow,
.strazar-card-gallery-arrow:focus-visible {
    opacity: 1;
}

.strazar-card-gallery-arrow:hover,
.strazar-card-gallery-arrow:focus-visible {
    border-color: #d7ad2c;
    background: #d7ad2c;
}

.strazar-card-gallery-arrow i {
    margin: 0;
    font-size: 20px;
}

.strazar-card-gallery-dots {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.strazar-card-gallery-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.strazar-card-gallery-dot::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(15, 42, 67, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    content: '';
    transform: translate(-50%, -50%);
}

.strazar-card-gallery-dot.is-active::before {
    width: 19px;
    border-color: #d7ad2c;
    border-radius: 4px;
    background: #d7ad2c;
}

@media (max-width: 849px) {
    .strazar-card-gallery-arrow {
        display: none;
    }

    .strazar-card-gallery .flickity-viewport {
        cursor: grab;
        touch-action: pan-y;
    }

    .strazar-card-gallery-dots {
        display: flex;
    }
}
