:root{
    --opacity-duration: 1000ms;
    --opacity-duration: 600ms;
    /* --opacity-duration: 0; */
}

html body{
    overflow-x: unset;
    overflow-y: unset;
}
html body.single-collection .container-wrap{
    padding-top: 0;
}

#ajax-content-wrap > .container-wrap{
    z-index: 11;
}

.main-content.container .first-section{
    z-index: 11;
}

.row-bts{
    align-items: flex-start;
}
#galleries_wrapper{
    padding: 0;
    position: sticky;
    top: 0;
}
#super_group{
    padding-left: 40px;
    padding-right: 60px;
    position: sticky;
    top: 0;
    background: #fff;
}




#galleries_wrapper .color_carousel{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity var(--opacity-duration) ease;
}
#galleries_wrapper .color_carousel.active {
    opacity: 1;
    position: relative;
}

#galleries_wrapper .color_carousel .carousel-indicators li{
    border-radius: 100%;
    box-sizing: border-box;
    height: 12px;
    width: 12px;
    margin-left: 5px;
    margin-right: 5px;
    border: none;
    transition: all 400ms ease;
    list-style-type: none;
    color: transparent;
}
#galleries_wrapper .color_carousel .carousel-indicators li::marker{
    display: none;
    content: "";
}
#galleries_wrapper .color_carousel .carousel-indicators li:not(.active):hover{
    background-color: grey;
}

#galleries_wrapper .color_carousel .carousel-item {
    transition: opacity var(--opacity-duration) ease;
    display: block;
    /* margin-right: 0; */
}



#custom_colors_section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
}



.custom-product {
    border: 1px solid #f9f9f9;
    padding: 10px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.custom-product:last-of-type{
    margin-bottom: 0;
}

.custom-product .product-title {
    width: 100%;
	border-bottom: 1px solid #dedede;
	margin-bottom: 15px;
    display: flex;
    align-items: center;
    align-items: flex-start;
    justify-content: space-between;
}
.custom-product .product-title .promo-price {
    /* background: pink; */
    min-height: 10px;
    min-width: 100px;
    position: relative;
}
.custom-product .product-title .promo-price p{
    position: absolute;
    right: 0;
    top: 0;
    opacity: 1;
    transition: opacity var(--opacity-duration) ease;
}
.custom-product .product-title .promo-price p:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.custom-product .custom-product-content {
    display: flex;
    align-items: center;
}

.custom-product-content .nectar-cta{
    text-align: center;
    font-size: 12px;
}
.custom-product-content .custom-product-image[id^="image-div-"] .nectar-cta a:after{
    top: 20px;
}

.custom-product-image {
    position: relative;
    cursor: pointer;
}
.custom-product-image .var-product-image{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity var(--opacity-duration) ease;
}
.custom-product-image .var-product-image.placeholder{
    position: relative;
    opacity: 0;
}
.custom-product-image .var-product-image:not(.active) {
    opacity: 0;
    pointer-events: none;
}


.custom-product-details .color_sizes_wrapper{
    position: relative;
    min-height: 50px;
}
.custom-product-details .color_sizes_wrapper .color_sizes{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity var(--opacity-duration) ease;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.custom-product-details .color_sizes_wrapper .color_sizes:not(.active) {
    opacity: 0;
    pointer-events: none;
}
.custom-product-details .color_sizes_wrapper .color_sizes.no_sizes,
.custom-product-details .color_sizes_wrapper .color_sizes.no_sizes.active {
    opacity: 0.2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom_tooltip{
    position: absolute;
    top: -50px;
    display: none;
    padding: 5px 30px;
    background: black;
    color: white;
    border-radius: 4px;
    right: 50%;
    transform: translateX(50%);
    width: 80%;
    text-align: center;
    z-index: 1;
}
.custom_tooltip:after{
    content: "";
    position: absolute;
    bottom: -20px;
    left: calc( 50% - 10px );
    border:10px solid #000;
    border-color: black transparent transparent transparent;
}


.custom-product-details .quantity_add_to_bag_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    min-height: 43px;
}
.custom-product-details .quantity_add_to_bag_wrapper .quantity-dropdown {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    width: auto;
    background: #fff;
    text-align: right;
}
.custom-product-details .quantity_add_to_bag_wrapper .quantity-dropdown option{
    /* padding-right: 20px; */
}
.custom-product-details .quantity_add_to_bag_wrapper .quantity-dropdown option[disabled]{
    display: none;
}
.custom-product-details .quantity_add_to_bag_wrapper .add-to-bag {
    padding: 8px 16px;
    /* font-size: 13px; */
    color: #fff;
    background-color: #BCD2CF;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 2px;
}
.custom-product-details .quantity_add_to_bag_wrapper .add-to-bag:hover {
    background-color: #BCD2CF;
}


.custom-product-details .quantity_add_to_bag_wrapper:not(.out_of_stock) .out_of_stock_message {
    display: none;
}
.custom-product-details .quantity_add_to_bag_wrapper.out_of_stock .add-to-bag,
.custom-product-details .quantity_add_to_bag_wrapper.out_of_stock .quantity-dropdown {
    display: none;
}






/* Collection single page styles*/
.plg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.plg-col {
    padding: 20px;
    box-sizing: border-box;
}


.collection_link_div {
   margin-top: 10px; 
   margin-right: 10px; 
   margin-bottom: 10px;
}


@media (min-width: 1024px) {
    .main_container_super_grouped .full_block_super_grouped .informations_product_block .all_infos_top .colors {
        padding-left: 24px;
        text-align: initial;
    }
}

@media (min-width: 768px) {
    .main_container_super_grouped .full_block_super_grouped .informations_product_block .all_infos_top .colors {
        padding: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .main_container_super_grouped .full_block_super_grouped .informations_product_block .all_infos_top .colors .name_color {
        font-size: 14px;
    }
}

.main_container_super_grouped .full_block_super_grouped .informations_product_block .all_infos_top .colors .name_color .color_bold {
    margin-left: 0px;
    font-weight: bold;
}

@media (min-width: 1024px) {
    /* #custom_colors_section { */
        /* overflow: none; */
        /* width: 70%; */
        /* flex-wrap: wrap; */
        /* margin: 0.875rem 0 0 0; */
        /* justify-content: flex-start; */
        /* padding-top: 0; */
    /* } */
}
@media (min-width: 768px) {
    /* #custom_colors_section { */
        /* margin-top: 0.875rem; */
        /* width: 95%; */
        /* margin: 0 auto; */
        /* justify-content: center; */
        /* flex-wrap: wrap; */
        /* overflow: none; */
        /* padding-top: 10px; */
    /* } */
}
@media (min-width: 768px) {
    #custom_colors_section .block_circle_color {
        padding-right: 8px;
        margin-bottom: 12px;
    }
}
#custom_colors_section .block_circle_color {
	display: flex;
    flex-direction: column;
    padding-right: 15px;
    cursor: pointer;
}
@media (min-width: 768px) {
    #custom_colors_section .block_circle_color .circle_color {
        width: 35px;
        height: 35px;
    }
}

#custom_colors_section .block_circle_color .circle_color {
    display: flex;
    width: 35px;
    height: 35px;
    border: solid 1px #dedede;
    border-radius: 50%;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    transition: all 300ms ease;
}
#custom_colors_section .block_circle_color.active .circle_color {
    border: solid 1px #666;
}
#custom_colors_section .block_circle_color:hover .circle_color{
    border: solid 1px #666;
}
@media (min-width: 768px) {
    #custom_colors_section .colorama_color {
        width: 29px;
        height: 29px;
        border: solid 0px white;
    }
}

@media (min-width: 768px) {
    #custom_colors_section .colorama_color {
        width: 29px;
        height: 29px;
        border: solid 0px white;
    }
}
#custom_colors_section .colorama_color {
    width: 29px;
    height: 29px;
    border: solid 0px #fff;
    border-radius: 50%;
}
#custom_colors_section .colorama_color.active {
    border: solid 0px #000;
}


/* Basic styling for custom variations */

.custom-product-image {
    flex: 1;
    max-width: 150px;
    margin-right: 20px;
}

.custom-product-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.custom-product-details {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.custom-product-details p {
    margin: 5px 0;
    font-size: 16px;
}

.custom-product-details .price {
    font-size: 20px;
    color: #000;
}

 .fancy-select-wrap {
    padding-top: 4px !important
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 65px !important;
    height: 65px !important;
    background: #fff !important;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border: solid black;
  border-width: 0 3px 3px 0;
  padding: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel-control-prev-icon::after{
    transform: translate( calc( -50% + 2px ), -50%) rotate(135deg);
}
.carousel-control-next-icon::after{
    transform: translate( calc( -50% - 2px ), -50%) rotate(-45deg);
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  width: 65px !important;
  height: auto;
  top: 50%;
  /* background: rgba(111,111,256,0.3) !important; */
}


/* Modal base styles */

a.open-modal:hover{
    text-decoration: none;
}

.modal {
    display: none;
    position: absolute; /* Use absolute positioning */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* High z-index to ensure it appears on top */
    /* background: pink !important; */
}

.modal .modal-content-wrapper {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: max( 9%, 210px ) auto;
	max-height: min( 90vh, calc( 100vh - 230px ) );
}

.modal .modal-content {
    position: relative;
    padding: 0;
    border: 1px solid #888;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
	max-height: min( 90vh, calc( 100vh - 230px ) );
}
.modal-content .row-bts{
    overflow-y: auto;
	max-height: min( 90vh, calc( 100vh - 230px ) );
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
	z-index: 9999;
}
.modal-content-wrapper .close-modal.close{
    background: #fff;
    border-radius: 50%;
    border-bottom: 1px solid transparent;
    border-right: 1px solid lightgrey;
    border-left: 1px solid transparent;
    border-top: 1px solid lightgrey;
    width: 30px;
    height: 30px;
    text-align: center;
    opacity: 1;
    position: absolute;
    right: -13px;
    top: -13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content .close-modal.close > span{
    opacity: 0.5;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-image {
    flex: 1;
    padding: 20px;
}

.modal-image img {
    width: 100%;
    height: auto;
}

.modal-text {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Custom scrollbar styles */
.modal-text::-webkit-scrollbar {
    width: 8px; 
}

.modal-text::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.modal-text::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.modal-text h2 {
    margin-top: 0;
}

.modal-text h3 {
    margin-top: 20px;
}

.collection-title {
    margin-top: 40px;
}



#you_might_also_be_interested{
    margin-top: 80px;
}
#you_might_also_be_interested h2{
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}


    
.main-content.container{
    margin-left: 0;
    margin-right: 0;
    max-width: initial;
    padding: 0;
}
.main-content.container .first-section{
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
    width: initial;
}
.main-content.container .first-section > .row-bts{
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 555px) {
#super_group{
    padding-left: 10px;
    padding-right: 10px;
}
}/* query end */

@media (max-width: 991px) and (hover: none) {
.modal-content .row-bts{
    margin-right: 0 !important;
}
}/* query end */
@media (max-width: 991px) {
.modal-content .row-bts{
    margin-left: 0 !important;
}
.modal-content .row-bts > div{
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
}
.modal-content .row-bts .modal-image{
    padding: 10px;
}
.modal-content .row-bts .modal-text{
    padding: 10px;
}
}/* query end */
@media (max-width: 620px) {
.modal .modal-content-wrapper {
    width: calc( 100% - 24px );
    margin: max( 9%, 140px ) auto;
}
}/* query end */
