body.roomsee-public-product > main {
    overflow-x: clip;
}

.product-media-gallery .product-images-block {
    min-width: 0;
}

.product-media-gallery .gallery-slide > a {
    display: block;
    scroll-margin-top: 120px;
}

.product-media-gallery .gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    margin-inline: auto;
}

.product-media-gallery .sticky-thumbs {
    width: 90px;
}

.product-media-gallery .thumbs-gallery .swiper-slide {
    display: block;
    width: 100%;
    padding: 0;
    background: #fff;
}

.product-media-gallery .thumbs-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.product-media-gallery .public-image-placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    color: #827f91;
}

.product-gallery-modal-open {
    overflow: hidden;
}

.product-gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ccc;
    overflow: hidden;
}

.product-gallery-lightbox[open] {
    display: flex;
}

.product-gallery-lightbox::backdrop {
    background: rgba(30, 30, 30, .9);
}

.product-gallery-lightbox-main {
    position: relative;
    flex: 1;
    min-width: 0;
}

.product-gallery-lightbox-stage {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    width: 100%;
    height: 100%;
    padding: 44px 0;
    overflow: hidden;
    place-items: center;
}

.product-gallery-lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
    user-select: none;
}

.product-gallery-lightbox[data-zoomed] .product-gallery-lightbox-stage {
    display: block;
    padding: 0;
    overflow: auto;
    scrollbar-width: none;
}

.product-gallery-lightbox[data-zoomed] .product-gallery-lightbox-stage img {
    max-width: none;
    max-height: none;
    margin-inline: auto;
    cursor: grab;
}

.product-gallery-lightbox button {
    border: 0;
    border-radius: 0;
    background: rgba(30, 30, 30, .6);
    color: inherit;
}

.product-gallery-lightbox button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.product-gallery-lightbox button[aria-disabled="true"] {
    color: #888;
    cursor: default;
}

.product-gallery-lightbox button svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.product-gallery-lightbox-status,
.product-gallery-lightbox-toolbar {
    position: absolute;
    top: 0;
}

.product-gallery-lightbox-status {
    left: 0;
    padding-inline: 10px;
    font-size: 13px;
    line-height: 44px;
    pointer-events: none;
}

.product-gallery-lightbox-toolbar {
    right: 0;
    display: flex;
}

.product-gallery-lightbox-toolbar button {
    width: 44px;
    height: 44px;
    padding: 10px;
}

.product-gallery-lightbox-toolbar button[aria-pressed="false"] .product-gallery-pause-icon,
.product-gallery-lightbox-toolbar button[aria-pressed="true"] .product-gallery-play-icon {
    display: none;
}

.product-gallery-lightbox[data-hide-controls] .product-gallery-lightbox-main > :not(.product-gallery-lightbox-stage) {
    opacity: 0;
    pointer-events: none;
}

.product-gallery-lightbox :is(.product-gallery-lightbox-prev, .product-gallery-lightbox-next) {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 100px;
    background-clip: content-box;
    transform: translateY(-50%);
}

.product-gallery-lightbox-prev { left: 0; padding: 31px 26px 31px 6px; }
.product-gallery-lightbox-next { right: 0; padding: 31px 6px 31px 26px; }

.product-gallery-lightbox-prev span,
.product-gallery-lightbox-next span {
    display: block;
    padding: 7px;
}

.product-gallery-lightbox-thumbs:not([hidden]) {
    display: grid;
    flex: 0 0 212px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 4px;
    padding: 4px;
    overflow: auto;
    background: #ddd;
}

.product-gallery-lightbox-thumbs button {
    position: relative;
    height: 75px;
    padding: 0;
}

.product-gallery-lightbox-thumbs button[aria-pressed="true"]::after {
    position: absolute;
    inset: 0;
    border: 6px solid #ff5268;
    content: '';
    pointer-events: none;
}

.product-gallery-lightbox-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-maker-stars .empty-stars {
    background-image: url('product-rating-star-empty.png');
}

.product-maker-stars .noempty-stars {
    background-image: url('product-rating-star.png');
}

#msProduct .product-head-rating .product-maker-stars {
    margin-top: 0;
    margin-bottom: 4px;
}

#msProduct .rating-message-block .info-block_icon img {
    width: 20px;
    max-width: none;
    margin-right: 5px;
    vertical-align: middle;
}

#msProduct .send-message .rating-message-block a {
    scale: .9;
}

.product-maker-description {
    padding-left: 10px;
}

.about-message-block:has(.product-company-video:not(:empty)) {
    display: flex;
    align-items: center;
}

.product-company-video:empty {
    display: none;
}

.product-company-video {
    flex: 0 0 152px;
    height: 152px;
    overflow: hidden;
    border-radius: 50%;
}

#msProduct .header-meta .fav-img svg {
    display: block;
    fill: none;
    stroke: #7e7e7e;
}

#msProduct .header-meta .fav-img.favorite svg {
    fill: #cba480;
}

#msProduct .public-favorite-dialog.product-favorite-popup[open] {
    position: absolute;
    z-index: 10;
    inset: 100% 0 auto auto;
    width: min(290px, calc(100vw - 40px));
    max-height: min(480px, 70vh);
    margin: 0;
    overflow: auto;
    border-radius: 0;
}

@media (max-width: 767px) {
    #msProduct .public-favorite-dialog.product-favorite-popup[open] {
        right: auto;
        left: 0;
    }
}

.product-share-notification {
    position: fixed;
    z-index: 99999;
    top: 10px;
    left: 10px;
    width: 250px;
    max-width: calc(100vw - 20px);
    min-height: 40px;
    padding: 10px;
    border-radius: 5px;
    background: #008000;
    color: #fff;
    font: 12px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
}

.product-share-notification.is-error {
    background: #1a1a1a;
}

.product-share-notification button {
    float: right;
    padding: 1px 6px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 767px) {
    .product-share-notification {
        background: #1a1a1a;
    }

    .product-share-notification [data-share-message] {
        font: 500 16px/22px Montserrat, sans-serif;
    }

    .product-share-notification button {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 0;
        line-height: 10px;
    }
}

#msProduct .product-header .compare-product {
    color: #7e7e7e;
}

#msProduct .product-header .compare-product[aria-pressed="true"] {
    color: #1a1a1a;
}

#msProduct .product-public-price .current-price {
    line-height: 28px;
}

#msProduct .product-public-price .current-price .price {
    font-size: 29px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
}

#msProduct .ms2_form .product-buy-actions {
    flex-direction: row;
    gap: 27px;
}

#msProduct .product-buy-actions form[data-cart-add],
#msProduct .product-buy-actions .estimate-picker-trigger {
    flex: 1 1 0;
    min-width: 0;
}

#msProduct .product-buy-actions .btn-top {
    display: block;
    width: 100%;
}

#msProduct .ms2_form .product-buy-actions .estimate-picker-trigger {
    justify-content: center;
    margin: 0;
    border: 1px solid #1a1a1a;
    background: #fff;
    color: #1a1a1a;
}

#msProduct .product-page-tabs.product-designer-purchase {
    padding-top: 0;
}

#msProduct .product-designer-offers {
    height: 51px;
    margin-bottom: 11px;
}

#msProduct .product-designer-offers-link {
    display: block;
    padding: 16px;
    border: 2px solid #1a1a1a;
    color: #3f403f;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    text-transform: uppercase;
}

#msProduct .product-designer-offers-info {
    margin-top: -13px;
}

#msProduct .product-designer-offers-arrow {
    margin: -2px 0 0 3px;
}

#msProduct .product-designer-purchase .product-page-cashback {
    margin: 3px 0 4px;
    font-size: 14px;
    line-height: 21px;
}

#msProduct .product-designer-purchase .product-page-cashback span {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}

#msProduct .ms2_form .product-designer-actions {
    justify-content: space-between;
    gap: 0;
}

#msProduct .product-designer-actions form[data-cart-add],
#msProduct .product-designer-actions > .btn-top,
#msProduct .product-designer-actions .estimate-picker-trigger {
    flex: 0 0 46%;
    min-width: 0;
}

#msProduct .ms2_form .product-designer-actions .estimate-picker-trigger {
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    #msProduct .product-designer-offers {
        margin: 15px 0 9px;
    }
}

.product-maker-customization {
    margin-left: 7px;
    color: #323232;
    font-size: 12px;
    line-height: 15px;
}

.product-maker-customization summary {
    list-style: none;
    font-weight: 600;
    cursor: pointer;
}

.product-maker-customization summary::-webkit-details-marker {
    display: none;
}

.product-maker-customization summary i {
    color: #bf9975;
}

.product-maker-customization p {
    position: absolute;
    z-index: 1;
    max-width: min(240px, 100%);
    margin: 6px 0 0;
    padding: 8px;
    border: 1px solid #c4c4c4;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

@media (max-width: 767px) {
    #msProduct .advertising-name {
        font-weight: 700;
    }

    .product-media-gallery .customGallery .gallery-wrapper {
        scrollbar-width: none;
    }

    .product-media-gallery .gallery-slide img {
        max-height: 250px;
    }

    #msProduct .send-message .rating-message-block a {
        white-space: normal;
    }
}

@media (max-height: 576px) {
    .product-gallery-lightbox-stage {
        padding-block: 6px;
    }
}

@media (max-width: 576px) {
    .product-gallery-lightbox-thumbs:not([hidden]) {
        flex-basis: 110px;
        grid-template-columns: 1fr;
    }
}
