.no_overflow {
    overflow: hidden;
}

.pin_container.home_gallery {
    display: block;
    overflow-x: scroll;
    margin: 0 0 33px;
    border-radius: 10px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pin_container.home_gallery::-webkit-scrollbar {
    height: 8px;
    display: none;
}

.pin_container.home_gallery::-webkit-scrollbar-button:start:increment {
    width: calc(-50% + 50vw);
    display: block;
    background: transparent;
}

.pin_container.home_gallery::-webkit-scrollbar-button:end:increment {
    width: calc(-50% + 50vw);
    display: block;
    background: transparent;
}

.pin_container {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pin_container.home_gallery {
    cursor: grab;
}

.pin_container.home_gallery .inner {
    display: inline-flex;
}

.pin_container.home_gallery .card {
    margin: 0px 14px 0px 0px;
    height: 100%;
}

.pin_container.home_gallery .card:last-child {
    margin: 0;
}

.pin_container.home_gallery .card:hover {
    transform: none;
    box-shadow: none;
}

.pin_container.home_gallery .inner>div:last-child .card_small {
    margin-right: 0px;
}

.pin_container .card {
    padding: 0px;
    border-radius: 10px;
    display: block;
    overflow: hidden;
    border: none;
    height: 22vw;
    transition: transform 0.2s linear;
}

.card_large {
    grid-row-end: span 45;
}

.pin_container.home_gallery .card img {
    width: auto;
    height: 622px;
}

.pin_container.home_gallery .card_large img {
    aspect-ratio: 206 / 155;
}

.pin_container .card img {
    transition: 0.3s;
}

.pin_container.home_gallery .card img {
    pointer-events: none;
}

.pin_container .card .slides,
.pin_container .card img {
    height: 100%;
    object-fit: cover;
}

.pin_container .card img {
    width: auto;
    height: 100%;
}

.romb {
    background: var(--red);
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.pin_container .card .number {
    position: absolute;
    z-index: 1;
    left: 13px;
    top: 10px;
    font-size: 16px;
    line-height: 18px;
    width: 60px;
    height: 30px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.romb span {
    transition: 0.4s;
    cursor: default;
    color: rgb(255, 255, 255);
}

.pin_container .card .number span {
    white-space: nowrap;
}

.pin_container .card .show {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s ease-in-out;
    cursor: zoom-in;
    visibility: hidden;
}

.pin_container.home_gallery .card .show {
    cursor: grab;
}

.pin_container.home_gallery .card .show button {
    cursor: zoom-in;
}

.pin_container .card .show button {
    background: var(--red);
    border-radius: 10px;
    position: absolute;
    bottom: 23px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: rgb(255, 255, 255);
    font-weight: 600;
    height: 50px;
    font-size: 16px;
    line-height: 26px;
    padding: 13px 53.5px;
    transition: 0.3s ease-in-out;
}

.open_button_photo {
    width: 100px !important;
    height: 20px !important;
    aspect-ratio: unset !important;
    object-fit: unset !important;
}

.wishlist_photogallery {
    position: absolute;
    z-index: 1;
    right: 5px;
    top: 10px;
    font-size: 12px;
    line-height: 18px;
    width: 60px;
    transition: 0.3s ease-in-out;
}

.yith-wcwl-add-to-wishlist {
    display: block;
    margin-left: 10px;
    margin-top: 0px;
    width: 36px;
}

a:hover .fa-solid.fa-arrow-right-long {
    left: 21%;
    position: relative;
    transition: 1s;
}

.wishlist_photogallery .add_to_wishlist.single_add_to_wishlist {
    border: none;
    height: 33px;
}

.yith-wcwl-add-button .delete_item,
.add_to_wishlist.single_add_to_wishlist {
    z-index: 4;
    justify-content: center;
    width: 36px;
    height: 36px;
    align-items: center;
    text-decoration: none;
    border-radius: 4px;
    position: absolute;
    right: 0px;
    top: 0px;
    color: var(--lighttext);
    display: flex !important;
}

.add_to_wishlist.single_add_to_wishlist::before {
    content: '';
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.add_to_wishlist.single_add_to_wishlist:hover::before {
    animation: 1s ease 0s infinite normal none running waterBlurp;
}

.yith-wcwl-icon.fa {
    margin: 0px;
}

.yith-wcwl-add-button .delete_item,
.yith-wcwl-icon.fa.fa-heart-o,
.yith-wcwl-icon.fa.fa-heart {
    font-size: 12px;
}

.yith-wcwl-icon.fa.fa-heart-o::after,
.yith-wcwl-icon.fa.fa-heart::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
}

.yith-wcwl-icon.fa.fa-heart-o::after {
    background: url('/wp-content/themes/pro/img/heart-icon.png') center center / contain no-repeat;
}

.yith-wcwl-add-button span,
.yith-wcwl-add-button .view-wishlist {
    display: none;
}

.pin_container .card_medium {
    grid-row-end: span 33;
}

.pin_container.home_gallery .card_medium img {
    aspect-ratio: 116 / 158;
}

.pin_container.home_gallery .card_small,
.pin_container.home_gallery .card_small img {
    height: 304px;
    aspect-ratio: 1 / 1;
}

.pin_container.home_gallery .inner>div>.card_small:first-child {
    margin-bottom: 14px;
}

.pin_container .card_small {
    grid-row-end: span 26;
}

.home_gallery__wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -55%);
}

.home_gallery-button {
    background: var(--red);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    color: rgb(255, 255, 255);
    border: 2px solid var(--red);
    border-radius: 4px;
    padding: 13px 28.2px;
    text-decoration: none;
    display: table;
    margin: auto;
    transition: var(--tr);
}

.home_gallery-button:hover {
    color: rgb(255, 255, 255);
}

.home_gallery-button-text {
    font-size: 15px;
    line-height: 16px;
    color: rgb(255, 255, 255);
}

.home_gallery-img {
    filter: blur(2.5px);
}

.home_gallery-img:hover {
    filter: blur(0px);
}

.background_overflow div {
    width: 100%;
    height: 100%;
    position: relative;
}

.background_overflow div::before,
.background_overflow div::after {
    content: '';
    width: calc(-50% + 50vw);
    height: 100%;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.background_overflow div::before {
    top: 0px;
    left: calc(50% - 50vw);
    background: linear-gradient(90deg, white 0%, transparent 40%, transparent 100%);
}

.background_overflow div::after {
    top: 0px;
    z-index: 1;
    right: calc(50% - 50vw);
    background: linear-gradient(90deg, transparent 0%, transparent 60%, white 100%);
}

.yith-wcwl-add-button .delete_item {
    font-size: 0;
}

@media (max-width: 1669px) {

    .container:not(.photogallery_wrap) .right_sidebar .free_zamer_banner p,
    .product .bannerSwiper .free_zamer_banner p {
        font-size: 14px;
        line-height: 19px;
        margin-bottom: 0.5rem;
    }

    .container:not(.photogallery_wrap) .right_sidebar .free_zamer_banner .h3,
    .product .bannerSwiper .free_zamer_banner .h3 {
        font-size: 19px;
        line-height: 21px;
    }

    .pin_container.home_gallery .card {
        margin-right: 11px;
    }

    .pin_container.home_gallery .inner>div>.card_small:first-child {
        margin-bottom: 11px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 306px;
    }

    .background_overflow div::before {
        background: linear-gradient(90deg, white 0%, transparent 80%, transparent 100%);
    }

    .background_overflow div::after {
        background: linear-gradient(90deg, transparent 0%, transparent 20%, white 100%);
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 95vw;
    }
}

@media (min-width: 991px) {
    .pin_container .card:hover .show {
        opacity: 1;
        visibility: visible;
    }

    .card:hover .show .number {
        top: 13px;
    }

    .card:hover .show button {
        transform: translateX(-50%) translateY(0px);
    }
}

@media (max-width: 364px) {
    .pin_container .card .number {
        top: 7px;
    }

    .home_gallery .card .yith-wcwl-add-button {
        top: -7px;
        right: -18px;
        position: relative;
    }
}

@media (max-width: 510px) {
    .pin_container .card .number {
        width: 28px;
        height: 20px;
        line-height: 9px;
    }
}

@media (max-width: 576px) {
    .pin_container:not(.home_gallery) .card {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .pin_container.home_gallery {
        margin-top: 5px;
    }

    .pin_container .card .number {
        width: 34px;
        height: 25px;
        font-size: 12px;
    }

    .home_gallery .card .yith-wcwl-add-button {
        top: -6px;
        right: -16px;
        position: relative;
    }

    .yith-wcwl-add-button .delete_item,
    .add_to_wishlist.single_add_to_wishlist {
        width: 27px;
        height: 27px;
        border-color: transparent;
    }

    .yith-wcwl-icon.fa.fa-heart-o::after,
    .yith-wcwl-icon.fa.fa-heart::after {
        width: 18px;
        height: 18px;
    }

    .background_overflow {
        display: none;
    }
}

@media (max-width: 768px) {

    .archive_tabs #productTabs .myShorts,
    .container:not(.single_product) .myShorts {
        width: 100vw;
        margin: 0px -12px;
        padding: 0px 12px;
    }

    .pin_container.home_gallery {
        margin-bottom: 30px;
    }

    .pin_container.home_gallery .card {
        margin-right: 3px;
    }

    .pin_container.home_gallery .card img {
        height: 300px;
    }

    .pin_container .card .number {
        left: 3px;
        top: 6px;
    }

    .pin_container.home_gallery .card .show {
        opacity: 1;
        visibility: visible;
    }

    a,
    .cart-product-sub .minus,
    .cart-product-sub .plus,
    input,
    button {
        touch-action: manipulation;
    }

    .pin_container.home_gallery .card .show button {
        width: 100%;
        height: 100%;
        top: 0px;
        transform: none;
        left: 0px;
        padding: 0px;
        background: transparent;
        font-size: 12px;
        color: transparent;
    }

    .wishlist_photogallery {
        display: none;
    }

    .pin_container.home_gallery .inner>div>.card_small:first-child {
        margin-bottom: 3px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: calc(148.5px);
    }

    .home_gallery-button {
        padding: 8px 22px;
    }
}

@media (max-width: 991px) {
    .pin_container .card .number {
        font-size: 12px;
        line-height: 15px;
        width: 38px;
        height: 20px;
    }

    .pin_container.home_gallery {
        margin-bottom: 50px;
    }

    @-webkit-keyframes shake {
        0% {
            transform: rotate(10deg);
        }

        100% {
            transform-origin: center center;
            transform: rotate(-10deg);
        }
    }

    @keyframes shake {
        0% {
            transform: rotate(10deg);
        }

        100% {
            transform-origin: center center;
            transform: rotate(-10deg);
        }
    }

    .container:not(.photogallery_wrap) .center_content {
        margin-top: 25px;
    }

    .container:not(.photogallery_wrap) .center_content>.row.products {
        width: 100%;
    }

    .container:not(.photogallery_wrap) .right_sidebar {
        padding: 0px 12px;
    }

    .pin_container .card img {
        width: 100%;
    }

    .pin_container.home_gallery .card img {
        height: 300px;
    }

    .open_button_photo {
        display: none !important;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 146px;
    }
}

@media (max-width: 1200px) {
    .container:not(.photogallery_wrap) .center_content {
        width: 100%;
    }

    .pin_container.home_gallery .card img {
        height: 400px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 196px;
    }
}

@media (max-width: 1280px) {
    .pin_container.home_gallery .card {
        margin-right: 7px;
    }

    .pin_container.home_gallery .card img {
        height: 460px;
    }

    .pin_container.home_gallery .inner>div>.card_small:first-child {
        margin-bottom: 7px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 226px;
    }

    .home_gallery__wrapper {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .home_gallery-button {
        line-height: 20px;
        font-size: 12px;
        padding: 7px 14px;
    }

    .home_gallery-button-text {
        display: none;
    }
}

@media (max-width: 1400px) {
    .container:not(.photogallery_wrap) .sidebar {
        padding-right: 12px;
    }
}

@media (max-width: 1439px) {

    .container,
    .container-sm {
        max-width: 95vw !important;
    }

    .container:not(.photogallery_wrap) .center_content>.row.products,
    .container:not(.photogallery_wrap) .center_content>div,
    .container:not(.photogallery_wrap) .center_content>#load-more {
        width: 100%;
        margin: 0px;
    }

    .container:not(.photogallery_wrap) .sidebar {
        padding-right: 12px;
    }

    .container:not(.photogallery_wrap) .center_content {
        width: 75%;
    }

    .container:not(.photogallery_wrap) .right_sidebar,
    .showroom .player_name,
    .showroom .player_views,
    .visualise_block p br,
    .upper_footer .write br,
    .become .desc br,
    .which_more .title svg,
    .header-wrap .soc-link {
        display: none;
    }

    .pin_container .card {
        height: 27vw;
    }

    .pin_container.home_gallery .card {
        margin-right: 9px;
    }

    .pin_container.home_gallery .card img {
        height: 500px;
    }

    .pin_container.home_gallery .inner>div>.card_small:first-child {
        margin-bottom: 9px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 245px;
    }
}

@media (max-width: 1440px) {
    .home_gallery-button {
        font-size: 16px;
        padding: 13px 12px;
    }

    .home_gallery-button-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .pin_container.home_gallery .card img {
        height: 350px;
    }

    .pin_container.home_gallery .card_small,
    .pin_container.home_gallery .card_small img {
        height: 171px;
    }
}