@font-face {
    font-family: 'MontserratMedium';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratSemiBold';
    src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


.add_boder {
    border: 2px solid #ff0000;
}

.active_it {
    border: 1px solid #00a840 !important;
    /* border-color: green !important;    */
    /* border-color: var(--main-bg-color) !important;    */
}

.video-wrapper {
    position: relative;
    display: inline-block;
}

.video-overlay {
    position: absolute;
    top: calc(100% - 55px);
    right: calc(100% - 67px);
    width: 44px !important;
    height: 44px;
    border-radius: revert-layer;
    z-index: 2;
    /* Ensure the image is on top of the video */
    display: block !important;
    /* Force display */
}

.modal_image {
    width: 100%;
    height: auto;
}

video {

    width: 100%;
    /* Make video responsive if needed */
    z-index: 1;
    /* Lower than the overlay image */
}


.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Keep aspect ratio */
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-img-wrapper .secondary-img {
    opacity: 0;
}

.product-img-wrapper:hover .secondary-img {
    opacity: 1;
}

.product-img-wrapper:hover .primary-img {
    opacity: 0;
}

.customily-mobile-controls {
    display: none;
    /* justify-content: space-between; */
    margin: 10px 0px 0px 38px;
}

.owl-nav {
    display: none;
}

.cursor {
    cursor: pointer;
}

.active_button {
    border: 1px solid #fce0e0;
    background: #fce0e0;
}

.customily-mobile-controls-item {
    margin: 0 5px;
    background: #f1dcdc;
    border-radius: 7px;
    cursor: pointer;
    height: 34px;
    width: 34px;
}

.horizontaltest {
    width: 100%;
    position: absolute;
    top: -12px;
    right: 0px;
}

.verticaltest {
    height: 100%;
    position: absolute;
    top: 0px;
    left: -12px;
}

.cl-mobile-control-img {
    height: 24px;
    width: 24px;
    margin-top: 6px;
}

.product-thumbnail-img {
    width: 100%;
    height: 100px;
    margin-bottom: 15px;
}

.title_text {
    position: fixed;
    display: none;
    padding: 5px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    max-width: 300px;
    width: max-content;
}

.vertical-text {
    writing-mode: vertical-rl;
    /* Sets the text to flow vertically */
    text-orientation: mixed;
    /* Keeps letters upright */
    transform: rotate(180deg);
    /* Optional: Adjusts text direction */
}


.select_font {
    width: 100%;
    color: #000 !important;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
    outline: none;
    border: none;
    padding: 8px 16px;
    margin-bottom: 10px;
}

.select_font option {
    color: #000 !important;
    background-color: #fff;
}

.slick-arrow {
    border-radius: 7px;
    border: none;
    height: 33px;
    margin-top: calc(20% - 86px);
}

.slick-prev,
.slick-next {
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.btn-close {
    padding: 15px;
}

.padding {
    padding: 15px 12px;
    margin-top: 10px;
    margin-left: 10px;
}

button.align {
    background: #fce0e0;
    padding: 8px;
    border-radius: 5px;
}

span#align_icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.padding.active {
    border: 3px solid black;
}

.color_box {
    font-weight: bold;
    padding: 5px 7px 5px 7px;
    border: 1px solid grey;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 10px;
    cursor: pointer;
}

.color_box.active {
    color: white !important;
    background-color: black;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
}

.modal_image {
    cursor: pointer;
}



.owl-nav button span {
    font-size: 50px;
}

input:is(.line_test, .line_val) {
    border: 1px solid #ccc !important;
}

.modal_input {
    display: flex;
    align-items: center;
    border-radius: 0.375rem;
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20); */
    background-color: white;
    height: 50px;
    color: #212529;
    padding: 6px 12px;
    border: 1px solid #d6d6d6;
}

img.info {
    height: 15px;
    margin-right: 5px;
    width: 15px;
    float: right;
}

img.gift-box-img {
    height: 40px;
    margin-right: 5px;
    width: 40px;
    float: right;
}

.modal_input input {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

/*  */
.mdl_head {
    border-bottom: none;
    justify-content: right;
}

.mdl_head .modal-title {
    display: none;
}

.myclosemodal_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    color: #7b7d7f;
    background-color: transparent;
    font-weight: 600;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
}

.myclosemodal_btn:hover {
    color: #fff;
    background-color: #7b7d7f;
}

.myclosemodal_btn span {
    font-size: 23px;
}


.vertical-bg {
    /* max-height:98% !important; */
    /* max-height: 77vh !important; */
    overflow: hidden;
    position: relative;
    margin: 5px;
}

.bg-b {
    bottom: 0px;
    position: absolute;
    width: 100%;
    height: 6px;
    background: rgb(220, 220, 220);
}

.vertical-text {
    /* max-height: 77vh; */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.stampingleftmain {
    padding-top: 10px !important;
}

@media (min-width: 700px) {
    .stampingleftmain {
        width: 700px !important;
    }

    #stampingleft {
        width: 100% !important;
    }
}

@media (min-width: 1000px) {
    .stampingleftmain {
        width: 1000px !important;
    }

    #stampingleft {
        width: 100% !important;
    }
}



.textsavebtn {
    align-items: center;
    display: flex;
    justify-content: end !important;
    margin-right: 0px !important;
}

.v-img-s {
    max-height: 77vh !important;
}

.v-img-s img {
    height: 100%;
}

#contentCS {
    position: relative;
    display: block;
    width: 100%;
}

.textarea-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.textarea-container .info {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
}

.textarea-container textarea {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}

#contentCS .gallery {
    position: relative;
    display: block;
    max-width: 500px;
    max-height: 300px;
    margin: auto;
    border-radius: 4px;
    overflow: hidden;
}

/* .change_text {
        margin-top: 10px;
    } */

#contentCS .gallery #contentCS .slick-list {
    overflow: hidden;
}

#contentCS .gallery #contentCS .slick-slide {
    outline: none !important;
}

#contentCS .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-family: Helvetica, sans-serif;
    line-height: 40px;
    text-align: center;
    background-color: #E6E6E6;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contentCS .gallery-arrow:hover {
    background: #D0DFE6;
}

#contentCS .gallery-arrow.mod-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

#contentCS .gallery-arrow.mod-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

#contentCS .gallery-item {
    position: relative;
    float: left;
    vertical-align: middle;
    text-align: center;
}

.color-swatch-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
}

/* .color-swatch.selected {
    border-color: #000;
    border-width: 2px !important;
} */

#contentCS .gallery-img-holder {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 300px;
}

#contentCS .gallery-img {
    width: 100%;
    height: 100%;
}

#contentCS .slick-lightbox,
#contentCS .slick-arrow {
    z-index: 10;
}

.js-gallery-thumbs {
    width: 480px !important;
    margin: 20px auto 0;
    overflow: hidden;
    display: flex;
}

.js-gallery-thumbs .Slick_Inner {
    width: 4600px !important;
    max-height: 120px;
}

.js-gallery-thumbs .slick-list.draggable {
    position: relative;
}

.Sticky_Preview {
    position: sticky;
}

.js-gallery-thumbs .gallery-thumbnail-item {
    width: 100px !important;
    object-fit: fill;
    overflow: hidden;
    padding: 0 5px;
    margin: 0 0px;
}

.js-gallery-thumbs .gallery-thumbnail-item img {
    border-radius: 12px;
    border: 1.5px solid #ddd;
    height: 60px;
    width: 100%;
}

.DescriptionWrap {
    flex-grow: 1;
    overflow-y: unset;
}

.carousel-control-next,
.carousel-control-prev {
    /* background: black !important; */
    height: 60px;
    top: calc(100% - 50%);
    border-radius: 12px;
    width: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #7b7d7f !important;
    border-radius: 3px;
}

.thubnail-item {
    background-size: 50% auto !important;
}

.side-slider {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.splide__list li {
    cursor: pointer;
}

.splide--nav>.splide__track>.splide__list>.splide__slide.is-active {
    border-color: #d3d3d3bf !important;
}

.splide__arrow--prev {
    left: 0px;
}

.splide__arrow--next {
    right: 0px;
}

.splide .thubnail-item {
    border-radius: 12px;
}

.custom-modal-dialog {
    /* max-width: 900px !important; */
    margin: 20px auto !important;
}

.video-style {
    background-size: cover !important;
}

.arrow-wrapper .previous-button,
.arrow-wrapper .next-button {
    border: none;
    border-radius: 50px;
    padding: 5px 11px 5px 12px;
}

.color_picker {
    animation: showColor 1s;
}

@keyframes showColor {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0px);
    }
}

@media (min-width: 576px) {
    #CustomizeModal_book .modal-dialog {
        width: max-content !important;
        max-width: 90vw !important;
    }
}

@media (max-width: 827px) {
    .splide__arrow--prev {
        left: 0rem;
    }

    .splide__arrow--next {
        right: 0rem;
    }
}

@media (max-width: 800px) {
    div#custom_modal {
        justify-content: center;
        align-items: center;
        flex-direction: column ;
    }
}

video.modal_image {
    z-index: 1;
    height: 62px;
    width: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.popup_moddiv {
    height: 90vh;
}

@media (max-width:700px) {

    .popup_moddiv {
        height: 500px;
        background-size: 90% 100% !important;
    }
}

.picker-wraper {
    border: 1px solid #888C8C;
    padding: 6px;
    border-radius: 7px;
    width: fit-content;
    display: flex;
}

.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.primary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.custome-slide:hover .primary-image {
    opacity: 0;
}

.custome-slide:hover .secondary-image {
    opacity: 1;
}

.stampingCateSliderItem.detailCateSliderItem .stampingSliderImg img {
    padding: 19px
}

.owl-carousel .owl-stage {
    margin-bottom: 10px;
    margin-top: 10px;
}

.description-wrap {
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.description-wrap.expanded {
    max-height: none;
}

.toggle-btn {
    border-radius: 14px;
    padding: 2px 30px;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid black;
}

.slide-image-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.slide-image-container img.primary-image,
.slide-image-container img.secondary-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

#primary_slider video.modal_image {
    width: 100% !important;
    height: auto !important;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .slide-image-container {
        max-width: 90%;
    }

    .slide-image-container img.primary-image,
    .slide-image-container img.secondary-image {
        width: 100%;
        height: auto;
    }

    #primary_slider video.modal_image {
        max-height: 300px;
    }
}

/* .slider-styling {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto 0 0;
    } */

@media (max-width: 1440px) {
    .slider-styling {
        max-width: 502px;
        /* margin-right: 20px; */
    }
}

@media (max-width: 1024px) {
    .slider-styling {
        max-width: 576px;
        /* margin-right: 96px !important; */
    }

    .sideSliderStamDetail #primary_slider {
        width: 100% !important;
    }

    .sideSliderStamDetail #primary_slider #primary_slider-track ul,
    .sideSliderStamDetail #primary_slider #primary_slider-track ul li {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .slider-styling {
        max-width: 277px;
        /* margin-right: 104px !important; */
    }

}

@media (max-width: 576px) {}

/* Small phones */
@media (max-width: 480px) {
    .slider-styling {
        max-width: 278px;
        /* margin-right: 105px !important; */
    }

}

@media (max-width: 376px) {
    .slider-styling {
        max-width: 202px;
        /* margin-right: 107px !important; */
    }

}

@media (max-width: 320px) {
    .slider-styling {
        max-width: 201px;
        /* margin-right: 181px !important;           */
    }
}

/* =============================== */
.slide-image-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.slide-image-container img.primary-image,
.slide-image-container img.secondary-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

#primary_slider video.modal_image {
    width: 100% !important;
    height: auto !important;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .slide-image-container {
        max-width: 90%;
    }

    .slide-image-container img.primary-image,
    .slide-image-container img.secondary-image {
        width: 100%;
        height: auto;
    }

    #primary_slider video.modal_image {
        max-height: 300px;
    }
}

.font-montserrat {

    font-size: 15px;
    color: #383838;
    display: flex;
    justify-content: flex-start;
    text-align: start;
    /* margin-left: 32px;
        margin-top: -13px; */
    text-align: start !important;
    margin: -13px 32px 0 32px;
    margin-bottom: -8px
}


/* ============== */
.owl-carousel.owl-drag .owl-item {
    background-color: #f4f5f7;
}

.stampingCateSection.stampingTrendingSection .stampingCateSliderItem .stampingSliderCnt h5 {
    font-weight: 500;
    font-size: 15px
}






.review-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.review-card__avatar img {
    height: 72px;
    width: 72px;
    object-fit: cover;
}

.review-card__name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.35rem;
    color: #333;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.35rem;
}

.review-star {
    color: #ddd;
    font-size: 1.2rem;
    line-height: 1;
}

.review-star--filled {
    color: #ffc107;
}

.review-card__date {
    font-size: 0.875rem;
}

.review-card__comment {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.review-card__image {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: block;
}