#product #wrapper {
    padding-top: 40px;
}

#prod_both {
    display: grid;
    grid-template-columns: 750px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: 
    "left title"
    "left right";
    column-gap: 2%;
    padding: 0 25px;
}

#prod_left {
    grid-area: left;
    min-width: 0;
}

#prod_right {
    grid-area: right;
    min-width: 0;
}

#prod_title {
    grid-area: title;
    min-width: 0;
}

#product #content {
    max-width: none;
}

#product #main .images-container .js-qv-mask {
    flex-shrink: 0;
    margin: 0;
    margin-right: 21px;
    width: 23%;

    overflow-y: auto;
    max-height: 100%;
    scrollbar-width: thin;             /* Firefox */
    scrollbar-color: #ccc transparent; /* Firefox */
}

/* Scrollbar WebKit (Chrome, Safari, Edge Chromium) */
.js-qv-mask::-webkit-scrollbar {
  width: 6px;
}

.js-qv-mask::-webkit-scrollbar-track {
  background: transparent;
}

.js-qv-mask::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.js-qv-mask::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

#prod_left .images-container {
    display: flex;
}

#prod_left .images-container .product-images {
    display: flex;
    flex-direction: column;
}

.product-images>li.thumb-container .thumb.selected, 
.product-images>li.thumb-container .thumb:hover {
    border: 0;
}

.images-container .product-images>li.thumb-container .thumb {
    margin-right: 0;
    margin-bottom: 21px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

#prod_title h1 {
    color: #707070;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 0;
}

#prod_right .product-prices {
    margin-top: 25px;
}

#prod_right .product-prices .current-price {
    margin-bottom: 0;
}

#prod_right .product-price {
    color: #707070;
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 0;
}

#prod_right .tax-shipping-delivery-label {
    margin-bottom: 0;
}

#prod_right .product-description {
    margin-top: 20px;
}

#prod_right .product-description,
#prod_right .product-description p {
    color: #707070;
    font-size: 20px;
    font-weight: 200;
}

#prod_right .product-description .btn {
    white-space: normal;
}

#prod_right .product-variants-item {
    display: flex;
    align-items: center;
    gap: 15px 30px;
}

#prod_right .product-variants-item .control-label {
    color: #707070;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 0;
    width: auto;
}

#prod_right .product-variants-item ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

#prod_right .product-variants-item li {
    margin-right: 24px;
}

#prod_right .product-variants-item label {
    margin-bottom: 0;
}

#prod_right .product-variants-item .radio-label {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #707070;
    font-size: 20px;
    font-weight: 400;
    padding: 0;
}

#prod_right .product-variants-item input:checked+.radio-label,
#prod_right .product-variants-item input:hover+.radio-label {
    border-bottom: 2px solid #707070;
}

#prod_right .qty {
    display: none;
}

#prod_right #product-availability {
    display: none;
}

#prod_right .addandwish {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

#prod_right .addandwish .add {
    flex-grow: 1;
    width: auto;
}

#prod_right .addandwish .add .btn {
    font-size: 22px;
    padding: 10px 20px;
    width: 100%;
}

#prod_right .ecwishlist-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 100%;
    background: #fff;
    border: 0;
    width: 60px;
    height: 60px;
    font-size: 0;

    padding: 5px;
}

#prod_right .ecwishlist-mini:hover {
    background: #fff;
}

#prod_right .ecwishlist-mini svg {
    margin-left: 6px;
    margin-left: 0;
    width: 42px;
    height: 42px;
}

#prod_right .ecwishlist-mini svg path {
    fill: #fff;
}

#prod_right .ecwishlist-mini:hover svg path {
    fill: #000;
}

#ecdrawers {
    border-bottom: 1px solid #585353;
    margin-top: 40px;
}

#ecdrawers .drawer-grp {
    border-top: 1px solid #585353;
    padding: 7.5px;
}

#ecdrawers .drawer-grp .title-grp {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#ecdrawers .title-grp .letitle {
    color: #707070;
    font-size: 20px;
    font-weight: 500;
}

#ecdrawers .title-grp .lesigne {
    margin-left: auto;
}

#ecdrawers .drawer-grp:not(.opened) .lemoins {
    display: none;
}

#ecdrawers .drawer-grp.opened .leplus {
    display: none;
}

#ecdrawers .drawer-grp:not(.opened) .lecontent {
    display: none;
}

#ecdrawers .drawer-grp .lecontent {
    padding: 15px 8px;
}

#ecdrawers .drawer-grp .lecontent p:last-child {
    margin-bottom: 0;
}

#ecdrawers .lesigne svg {
    display: block;
    fill: #707070;
    width: 12px;
    height: 12px;
}

#categoryfield {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 300px;
    margin-left: auto;
    margin-right: auto;
    width: 1251px;
    max-width: 100%;
}

#categoryfield .lecontent h2 {
    color: #000;
    font-family: 'Minion Pro';
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 45px;
}

#categoryfield .lecontent,
#categoryfield .lecontent p {
    color: #707070;
    font-family: 'Minion Pro';
    font-size: 20px;
}

#categoryfield .lebtn {
    margin-top: 72px;
}

#categoryfield .lebtn .btn {
    width: 410px;
    max-width: 90%;
}

.variantandcolors {
    display: flex;
    margin-top: 40px;
    gap: 15px 30px;
}

.variantandcolors .lescolors {
    display: flex;
    align-items: center;
    gap: 15px 30px;
}

.variantandcolors.hascolors .lescolors {
    width: calc((100% - 30px) / 2);
}

.variantandcolors.hascolors .product-variants {
    width: calc((100% - 30px) / 2);
}

.variantandcolors .lescolors .control-label {
    color: #707070;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 0;
    width: auto;
}

.variantandcolors .accessoriescolor {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}





@media (max-width: 1399px) {
    #prod_both {
        grid-template-columns: 600px 1fr;
    }
}

@media (max-width: 1199px) {
    #prod_right .addandwish {
        flex-wrap: wrap;
    }

    #prod_right .addandwish .add {
        width: 100%;
    }

    #prod_right .ecwishlist-mini {
        width: 100%;
    }
}

@media (max-width: 991px) {
    #prod_both {
      column-gap: 0;
      row-gap: 15px;
      grid-template-columns: 1fr;
      grid-template-areas:
        "title"
        "left"
        "right";
    }
    
    #prod_left .images-container .product-images {
        margin-bottom: 0;
    }

    .product-cover {
        margin-bottom: 0;
    }

    #blockcart-modal .cart-content .cart-content-btn {
        flex-wrap: wrap;
    }

    #blockcart-modal .cart-content .cart-content-btn .btn {
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    #prod_left .images-container {
        flex-wrap: wrap;
    }

    .product-cover {
        order: 0;
        width: 100%;
    }

    #product #main .images-container .js-qv-mask {
        order: 1;
        margin-right: 0;
        margin-top: 15px;
        width: 100%;
    }

    #prod_left .images-container .product-images {
        flex-direction: row;
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;  
    }

    #prod_left .images-container .product-images::-webkit-scrollbar {
        display: none;
    }

    .images-container .product-images>li.thumb-container .thumb {
        margin-bottom: 0;
    }

    .product-images > li.thumb-container {
        flex-shrink: 0;
        margin-right: 15px;
        width: calc(100% / 3);
    }

    .product-images > li.thumb-container:last-child {
        margin-right: 0;
    }

    #categoryfield {
        margin-top: 60px;
    }

    .variantandcolors {
        flex-wrap: wrap;
    }

    .variantandcolors.hascolors .lescolors,
    .variantandcolors.hascolors .product-variants {
        width: 100%;
    }

}