.fancybox-content {
    background: #00000057 !important;
    text-align: center !important;
}

.fancybox-content button.owl-preview {
    outline: none;
    border: none;
}

.fancybox-close-small svg path {
    fill: var(--white) !important;
}

.sale-banner {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-image: -o-linear-gradient(141deg, #634197 0%, #863875 100%);
    background-image: linear-gradient(-51deg, #634197 0%, #863875 100%);
    color: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 0 0.5rem;
    position: relative;
}

@media (min-width: 576px) {
    .sale-banner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

.sale-banner-icon {
    font-size: 3rem;
    margin-right: 1.5rem;
}

@media (min-width: 576px) {
    .sale-banner-icon {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

.sale-banner-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 75%;
    margin-bottom: 1rem;
    padding: 0 1rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .sale-banner-head {
        font-size: 1.15rem;
    }
}

.sale-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.sale-banner-timer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 1rem;
}

.sale-banner-timer-item {
    margin-right: 1.25rem;
    text-align: center;
}

.sale-banner-timer-item:last-child {
    margin-right: 0;
}

.sale-banner-timer-item:last-child .sale-banner-timer-item-cell:after {
    display: none;
}

.sale-banner-timer-item-cell {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    font-size: 1.75rem;
    margin-bottom: -0.25rem;
    padding: 0.625rem 0.875rem;
    position: relative;
}

.sale-banner-timer-item-cell:before {
    background-color: rgba(255, 255, 255, 0.2);
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    bottom: 45%;
    content: '';
    left: 0.0625rem;
    position: absolute;
    right: 0.0625rem;
    top: 9.52381%;
}

.sale-banner-timer-item-cell:after {
    content: ':';
    display: inline-block;
    left: 100%;
    position: absolute;
    width: 1.25rem;
}

.sale-banner-bg, .sale-banner-bg-1, .sale-banner-bg-2, .sale-banner-bg-3, .sale-banner-bg-4 {
    background-image: -o-linear-gradient(10deg, #000 0%, #fff 100%);
    background-image: linear-gradient(80deg, #000 0%, #fff 100%);
    bottom: 0;
    margin: auto;
    opacity: 0.2;
    position: absolute;
    top: 0;
    -webkit-transform: rotate(28deg);
    -ms-transform: rotate(28deg);
    transform: rotate(28deg);
}

.sale-banner-bg-1 {
    height: 183.63636%;
    left: 14.19019%;
    width: 10.84695%;
}

.sale-banner-bg-2 {
    height: 144.54545%;
    left: 26.07726%;
    width: 4.53195%;
}

.sale-banner-bg-3 {
    height: 183.63636%;
    right: 3.34324%;
    width: 10.84695%;
}

.sale-banner-bg-4 {
    height: 144.54545%;
    right: -2.22883%;
    width: 4.53195%;
}

@media (min-width: 576px) {
    .sale-banner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .sale-banner-head, .sale-banner-timer {
        padding: 0 0.5rem;
        margin-bottom: 0;
    }
}

.fancybox-content .product-detail {
    max-width: 100%;
    width: 992px;
}

.product-detail h2.l-main__title {
    margin-bottom: 1px;
    font-size: 16px;
}

@supports (position: sticky) {
    .product-detail-slider-container {
        position: sticky;
        top: 5.25rem;
        z-index: 20;
    }
}

@media (min-width: 768px) {
    .product-detail-slider-container {
        margin-bottom: 1rem;
    }

    .product-detail-picture_fix {
        position: relative;
    }
}

.product-detail-slider-block {
    position: relative;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .product-detail-slider-block {
        margin-bottom: 1rem;
    }
}

.product-detail-slider-block .product-cat-deals {
    left: 0;
    top: 0;
}

.product-detail-slider-block .product-cat-image-action {
    display: flex;
}

.product-detail-slider-images-container {
    overflow: hidden;
}

.product-detail-slider-images-container.owl-loaded {
    overflow: hidden;
    box-sizing: border-box;
}

.product-detail-slider-images-container .product-detail-slider-image {
    display: block;
    /* height: 300px;*/
    text-align: center;
    background: var(--white);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.product-detail-slider-images-container .product-detail-slider-image > img {
    /* max-height: 300px;
    max-width: 100%; */
    opacity: 0;
    width: auto !important;
    /* object-fit: cover; */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-detail-slider-images-container .product-detail-slider-image {
        /*height: 450px; */
    }

    .product-detail-slider-images-container .product-detail-slider-image > img {
        /*max-height: 450px;*/
    }
}

.product-detail-slider-dots > .slider-dots {
    display: block;
    text-align: center;
}

.product-detail-slider-dots .owl-preview {
    display: none;
}

.product-detail-slider-dots .owl-dot.active {
    background: transparent;
    border: 1px solid var(--blue-border);
    width: auto;
    padding: 0;
}

@media (min-width: 768px) {
    .product-detail-slider-dots {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        height: auto;
        margin: auto auto 1rem;
        /* max-width: 336px;
        max-width: 21rem; */
        max-width: 460px;
    }

    .product-detail-slider-dots:after {
        content: '';
        -webkit-box-flex: 1;
        -ms-flex: auto;
        flex: auto;
        max-width: 5.75rem;
        width: 33.33333%;
    }

    .product-detail-slider-dots.slider-dots {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .product-detail-slider-dots .owl-dot {
        background: transparent;
        border: none;
        border-radius: 0;
        display: inline-block;
        height: auto;
        margin: 0.5rem;
        position: relative;
        width: auto;
    }

    .product-detail-slider-dots .owl-dot:focus, .product-detail-slider-dots .owl-dot:active {
        border: 2px solid transparent;
    }

    .product-detail-slider-dots .owl-preview {
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: center center;
        border: none;
        cursor: pointer;
        display: block;
        height: 4.375rem;
        margin: auto;
        outline: 0;
        width: 4.375rem;
    }
}

.product-detail .product-cat-price-current {
    font-size: 28px;
    font-weight: normal;
}

.product-detail .product-cat-price-old {
    font-size: 1.25rem;
}

.product-detail .product-cat-price-economy {
    font-size: 0.875rem;
}

.product-detail-properties {
    margin-top: 24px;
    margin-bottom: 24px;
}

.product-detail .product-detail-price-ranges {
    margin-bottom: 0;
}

.product-detail .product-detail-price-ranges::after {
    display: block;
    clear: both;
    content: "";
}

.product-detail .product-detail-price-ranges > dt {
    color: var(--placeholder);
    font-weight: normal;
}

.product-detail .product-detail-price-ranges > dt,
.product-detail .product-detail-price-ranges > dd,
.product-detail .product-detail-price-ranges > dt:last-of-type,
.product-detail .product-detail-price-ranges > dd:last-of-type {
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.product-detail-sale {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff6e5;
    border-radius: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.product-detail-sale:last-child {
    margin-bottom: 0;
}

.product-detail-sale-title {
    display: block;
}

.product-detail-sale-icon {
    border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
    height: 2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.product-detail .product-detail-slider-dots .owl-dot a {
    display: block !important;
}

.product-detail .product-detail-slider-dots .owl-dot button {
    display: none !important;
}

@media (max-width: 768px) {
    .product-detail .product-detail-slider-dots .owl-dot a {
        display: none !important;
    }

    .product-detail .product-detail-slider-dots .owl-dot button {
        display: block !important;
    }

    .product-detail-slider-images-container .product-detail-slider-image {
        pointer-events: none;
    }
}

@media (min-width: 768px) {
    .product-detail-sale-title {
        display: inline;
    }

    .product-detail-sale-body {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        white-space: nowrap;
    }
}

.product-detail-share {
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .product-detail-share {
        margin-bottom: 1rem;
    }
}

.product-detail-info-container {
    margin-bottom: var(--vertical-space);
    padding-bottom: 0;
    padding-top: var(--vertical-space);
}

.product-main-info .product-detail-info-container {
    padding-top: 27px;
}

.product-detail .product-limit-quantity {
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.product-detail .product-limit-quantity:first-child {
    margin-right: 30px;
}

.new-style-catalog .owl-prev:hover svg, .new-style-catalog .owl-next:hover svg {
    fill: var(--blue-hover);
}

.product-detail .owl-dots-mobile {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: start !important;
}

.product-detail .owl-dots-mobile .owl-dots-mobile-item {
    -ms-flex: 0 0 33.33333%;
    -webkit-box-flex: 0;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    height: auto !important;
    width: 1.5rem !important;
    padding: 2px;
    margin: 0;
    margin-bottom: 9px;
    background: transparent;
}

.product-detail .owl-dots-mobile .owl-dots-mobile-item span {
    border: 2px solid var(--neutral-300);
    display: block !important;
    /* padding-bottom: 70%; */
    background-size: cover;
    width: 100%;
    height: auto;
    padding: 0;
    outline: none;
}

.product-detail .owl-dots-mobile .owl-dots-mobile-item span img {
    display: block;
    width: 100%;
    pointer-events: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink);
    margin-bottom: 20px;
}

.back-link_arrow {
    flex-shrink: 0;
    width: 15px;
    height: 7px;
}

.back-link:hover {
    text-decoration: none;
}

h1.l-main__title,
h2.l-main__title {
    text-indent: 0;
    font-weight: normal;
}

.grey-bottom {
    padding-bottom: 1px;
    border-bottom: var(--divider);
}

h1.l-main__title {
    font-size: 30px;
    line-height: 30px;
}

.product-detail-price {
    margin-top: 30px;
    padding-bottom: 12px;
}

.product-info__price .product-detail-price {
    margin-top: 0;
    padding-top: 24px;
}

.product-info__dims {
    font-size: 20px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-info__dims-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 2px;
}

.product-info__dims-icon svg {
    stroke: currentColor;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.product-info__specs {
    border: 1px solid var(--neutral-300);
    padding: 12px 16px;
    align-self: start;
    min-width: 200px;
}

.product-info__specs-row {
    padding: 5px 0;
}

.product-info__specs-row:first-child {
    padding-top: 0;
}

.product-info__specs-row:last-child {
    padding-bottom: 0;
}

.product-info__specs-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
}

.product-info__specs-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.product-info__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: start;
    padding-top: 24px;
}

.product-info__all-props {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 20px;
    color: var(--ink);
    text-decoration: none;
}

.product-info__all-props:hover {
    color: var(--blue);
    text-decoration: none;
}

.product-info__all-props-text {
    display: inline-block;
    border-bottom: 1px solid var(--currentGrey);
    padding-bottom: 1px;
}

.product-info__stock {
    display: flex;
    align-items: flex-start;
}

.product-detail-price div,
.product-limit-quantity {
    font-size: 12px;
}

.product-detail-info-container span.product-limit {
    display: flex;
    flex-flow: column nowrap;
    margin-top: 16px;
}

.product-info__stock span.product-limit {
    margin-top: 0;
}

.btn.btn-custom {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 8px;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--ink);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    font-size: 20px;
    color: var(--ink);
    position: relative;
}

button.btn.btn-custom {
    appearance: none;
    background: none;
    padding-right: 0;
    font-family: inherit;
    text-align: inherit;
    cursor: pointer;
}

.btn.btn-custom:hover {
    color: var(--blue);
}

.btn-custom-additional {
    bottom: 0;
    font-size: 12px;
    font-weight: bolder;
    color: #878787;
}

.btn.btn-custom-no_border {
    display: flex;
    gap: 7px;
    font-size: 20px;
    color: var(--ink);
    padding: 0;
}

.btn.btn-custom-no_border:hover {
    color: var(--blue);
}

.btn-custom-no_border span {
    display: inline-block;
}

.product-info {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "head   specs"
        "price  actions"
        "stock  actions";
    column-gap: 50px;
    row-gap: 8px;
}

.product-info__head { grid-area: head; }

.product-info__head .product-info__dims { margin-top: 6px; }

.product-info__specs { grid-area: specs; }

.product-info__price { grid-area: price; }

.product-info__stock { grid-area: stock; }

.product-info__actions { grid-area: actions; }

.product-detail-actionn {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    gap: 12px;
}

.product-detail .product-cat-image-action {
    position: absolute;
    right: 14px;
    top: 14px;
    gap: 15px;
}

.product-detail .product-detail-picture_fix .product-cat-action-icon {
    width: 30px;
    height: 30px;
}

.product-docs {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 10px;
}

@media (width < 768px) {
    .product-docs {
        justify-content: center;
    }
}

.product-docs .btn {
    flex: 296px 0 1;
    flex-flow: row;
}

.product-article {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink);
    display: inline-block;
    text-align: left;
}

.product-info__article-text {
    display: inline-block;
    width: fit-content;
    border-bottom: 1px solid var(--currentGrey);
    padding-bottom: 2px;
}

/* base reset previously provided by assets/styles/catalog-item.css */
.product-cat-properties {
    overflow: hidden;
    margin: 0;
}

.product-detail-properties .product-cat-properties {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.product-detail-properties .product-cat-properties .prop-row {
    display: grid;
    grid-template-columns: 188px minmax(98px, 1fr) minmax(0, 200px);
    align-items: start;
}

.product-detail-properties .product-cat-properties dt,
.product-detail-properties .product-cat-properties dd {
    color: var(--ink);
    font-size: 16px;
    margin: 0;
}

.product-detail-properties .product-cat-properties dt,
.product-detail-properties .product-cat-properties .prop-row span.spacer {
    font-weight: normal;
    background-image: repeating-linear-gradient(
        to right,
        var(--neutral-300) 0px,
        var(--neutral-300) 3px,
        transparent 3px,
        transparent 7px
    );
    background-size: 100% 1px;
    background-position: 0 1.1em;
    background-repeat: no-repeat;
}

.product-detail-properties .product-cat-properties .prop-row span.spacer {
    display: inline-flex;
    width: 100%;
    height: 1.2em;
    font-size: 16px;
}

.product-detail-properties .product-cat-properties .dt-text {
    display: inline;
    padding-right: 2px;
}

.product-detail-properties .product-cat-properties dd {
    grid-column: 3;
    margin-bottom: 0;
    float: unset;
    display: block;
    text-align: left;
}


.product-detail .owl-dot.active {
    background-color: transparent !important;
}

.product-detail-info-container .btn-custom-icon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    box-sizing: border-box;
}

.product-detail .slider-dots {
    gap: 9px 2px;
}

#properties {
    scroll-margin-top: 30vh;
}

#properties .products_hide_items h5 {
    color: var(--blue);
    font-size: 20px;
    line-height: 34px;
    margin: 0;
    padding: 0;
}

.product-detail .product-cat-action {
    color: var(--ink);
    border: none;
}

.bx-no-touch .product-detail .product-cat-action:hover,
/* .checked is not gated by .bx-no-touch — persistent state must be visible on touch devices too */
.product-detail .product-cat-action.checked {
    color: var(--blue);
}

.product-detail .product-cat-action svg {
    max-height: 21px;
    max-width: 21px;
}

.product-detail .product-cat-action-container {
    max-width: 21px;
    max-height: 20px;
    margin: 0;
}

.product-detail .product-cat-action-container .product-cat-action {
    position: relative;
}

.product-detail .product-cat-action-container .product-cat-action,
.product-detail .product-cat-action-container .product-cat-action:hover {
    background: none;
}

.bx-no-touch .product-detail .product-cat-action:hover {
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
}

.product-detail {
    --vertical-space: 66px;
}

@media (width < 768px) {
    .product-detail {
        --vertical-space: 30px;
    }

    .product-info__head {
        margin-bottom: 8px;    
    }
}

.detail-block {
    margin-bottom: 20px;
}

.detail-block p {
    margin-bottom: 0;
}

.product-cat-label-new {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 1;
    color: var(--ink);
}

.product-detail .product-cat-badge-row {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.product-detail .product-cat-badge-row .product-cat-label-new,
.product-detail .product-cat-badge-row .product-cat-label-led {
    position: static;
    left: auto;
    top: auto;
    margin: 0;
    line-height: 1;
    color: var(--ink);
}

.product-detail .product-cat-badge-row .product-cat-label-led {
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 4px 6px;
}

@media (max-width: 575px) {
    .product-detail .product-cat-badge-row .product-cat-label-new,
    .product-detail .product-cat-badge-row .product-cat-label-led {
        font-size: 14px;
    }
}

.l-main__title.l-main__title-main {
    margin-bottom: 24px;
}

@media (max-width: 991.98px) {
    .product-info {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "specs"
            "price"
            "stock"
            "actions";
        row-gap: 0;
    }

    .product-info__specs {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        margin-top: 8px;
    }

    .product-info__price {
        margin-top: 8px;
    }

    .product-info__stock {
        margin-top: 10px;
    }

    .product-info__actions {
        padding-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 24px;
        margin-top: 20px;
    }

    .product-info__price .product-detail-price {
        padding-top: 8px;
        padding-bottom: 0;
    }
}

@media (width < 768px) {
    .product-detail {
        --vertical-margin: 15px;
    }

    .product-main-info {
        margin-top: var(--vertical-margin);
    }

    .l-main__title.l-main__title-main {
        margin-bottom: 10px;
    }

    h1.l-main__title {
        font-size: 20px;
        line-height: 1;
    }

    .product-detail-info-container {
        margin-top: var(--vertical-margin);
        margin-bottom: 20px;
        padding: 0;
    }

    .product-main-info .product-detail-info-container {
        padding: 0;
    }

    .product-article,
    .product-detail .product-cat-price-current {
        font-size: 20px;
        line-height: 1.2;
    }

    .product-detail-price,
    .product-detail-info-container span.product-limit {
        margin: 0;
    }

    .btn.btn-custom-no_border {
        font-size: 16px;
    }

    .btn.btn-custom {
        text-align: center;
        justify-content: center;
    }

    .product-detail-properties .product-cat-properties .prop-row {
        grid-template-columns: 2fr minmax(20px, 1fr) 1fr;
    }

    .product-cat-properties dt {
        text-align: left;
    }

    .product-info__all-props {
        font-size: 16px;
    }

    .product-info__dims {
        font-size: 16px;
    }

    .product-info__specs-value {
        font-size: 16px;
    }

    .product-info__specs-label {
        font-size: 14px;
    }
}


/* ---- Product detail slider: Swiper thumbs ---- */
.product-detail-slider-dots {
    display: block;
    margin-top: 8px;
    margin-right: 0;
    margin-left: 0;
    max-width: none;
    overflow: hidden;
}

.product-thumbs-swiper {
    width: 100%;
    overflow: visible;
}

.product-thumbs-swiper .swiper-wrapper {
    flex-wrap: wrap;
    gap: 4px;
}

.product-thumbs-swiper .swiper-slide {
    width: calc((100% - 36px) / 10);
    height: auto;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.product-thumbs-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.product-thumbs-swiper .swiper-slide-thumb-active {
    border-color: var(--blue);
}

/* ---- Product detail slider: main Swiper ---- */
.product-main-swiper {
    width: 100%;
    margin-bottom: 12px;
}

.product-main-swiper .swiper-slide {
    text-align: center;
}

.product-main-swiper .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.product-main-swiper .swiper-button-prev,
.product-main-swiper .swiper-button-next {
    color: var(--ink);
    transition: color 0.2s;
}

.product-main-swiper .swiper-button-prev:hover,
.product-main-swiper .swiper-button-next:hover {
    color: var(--blue-hover);
}

.product-main-swiper .swiper-button-prev::after,
.product-main-swiper .swiper-button-next::after {
    font-size: 20px;
}

@media (max-width: 575px) {
    .product-main-swiper { margin-bottom: 2px; }
    .product-detail-slider-dots { margin-top: 0; }

    .product-thumbs-swiper { overflow: visible; }
    .product-thumbs-swiper .swiper-wrapper {
        flex-wrap: wrap;
        gap: 2px;
    }
    .product-thumbs-swiper .swiper-slide {
        width: calc((100% - 10px) / 6);
        height: 43px;
        border: none;
        overflow: hidden;
        flex-shrink: 0;
    }
    .product-thumbs-swiper .swiper-slide img {
        width: 100%;
        height: 43px;
        object-fit: cover;
    }
    .product-thumbs-swiper .swiper-slide-thumb-active {
        outline: 2px solid var(--blue);
        outline-offset: -2px;
    }
}

/* ---- Fullscreen modal (Swiper) ---- */
.product-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-fullscreen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: default;
}

.product-fullscreen-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10002;
    padding: 4px 10px 6px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.product-fullscreen-close:hover {
    background: rgba(0, 0, 0, 0.9);
    color: var(--blue-hover);
}

.product-fullscreen-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    padding: 44px 0;
    box-sizing: border-box;
    --swiper-navigation-sides-offset: 10px;
}

.product-fullscreen-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    box-sizing: border-box;
}

.product-fullscreen-img {
    width: auto;
    height: calc(100vh - 88px);
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.product-fullscreen-video-slide {
    position: relative;
    cursor: pointer;
}

.product-fullscreen-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.product-fullscreen-play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #000;
}

.product-fullscreen-swiper .swiper-button-prev,
.product-fullscreen-swiper .swiper-button-next {
    color: var(--white);
    transition: color 0.2s, left 0.3s, right 0.3s;
}

.product-fullscreen-swiper .swiper-button-prev:hover,
.product-fullscreen-swiper .swiper-button-next:hover {
    color: var(--blue-hover);
}

.detail-block-equipment {
    margin-bottom: 100px;
}

/* На мобиле блок стекается в колонку — 100px дают огромный пробел до
   «Спецификация/Инструкция»; приводим к ритму макета. */
@media (max-width: 767px) {
    .detail-block-equipment {
        margin-bottom: 24px;
    }
}

.detail-block-equipment-title {
    font-size: 20px;
}

.l-main__inner-content {
    padding-bottom: 50px;
}

@media (max-width: 991px) {
    .product-detail-picture_fix {
        min-width: 0;
        max-width: 100%;
    }

    .product-detail > .row {
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    .single-good > .row > .col-lg-5 {
        display: flex;
        flex-direction: column;
    }

    .single-good .product-detail-slider-container,
    .single-good .product-detail-slider-block,
    .single-good .product-detail-slider-dots {
        margin-bottom: 0;
    }

    .single-good .detail-block-equipment {
        margin-bottom: 0;
    }

    .single-good .product-main-info {
        margin-bottom: 20px;
    }

    .single-good .product-docs {
        margin-top: auto;
    }
}
