.elementor-widget-rb_amlproductinner {
    margin-bottom: 0px !important;
}

.elementor-widget-rb_amlproductinner .elementor-widget-container {
    margin-top: 0 !important;
}


.aml__productinner {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 2rem;
}

.aml__productinner .aml__s_galery {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    min-height: 350px;
}


.aml__productinner .aml__s_galery .aml__s_thumbs {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
}

.aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb {
    flex: 0 0 25%;
    padding-bottom: 1rem;
    cursor: pointer;
    position: relative;
}

.aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    border: 1px solid white;
}

.aml__productinner .aml__s_galery .aml__s_cover {
    flex: 0 0 80%;
    padding-bottom: 1rem;
    padding-right: 1rem;
    cursor: pointer;
    position: relative;
}


.aml__productinner .aml__s_galery .aml__s_cover img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    object-position: left;
}

.aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb.aml__active img {
    border: 1px solid #C19557;

}


.aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb:hover:before,
.aml__productinner .aml__s_galery .aml__s_cover:hover:before {
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    display: block;
    border: 1px solid white;
    left: 0rem;
    right: 0rem;
    top: 0rem;
    bottom: 1rem;
    padding: 1rem;
    content: "";
    background-image: url("/wp-content/themes/ameli_v2/images/eye_white.svg");
    background-position: center center;
    background-repeat: no-repeat;

}


.aml__productinner .aml__s_galery .aml__s_cover:hover:before {
    right: 1rem;
}


/**aml__s_designer**/


.aml__productinner .aml__s_designer {
    display: flex;
    flex-display: row;
    border-top: 1px solid #C19557;
    padding-top: 1.5rem;
}

.aml__productinner .aml__s_designer .aml__s_designer_inner {
    display: flex;
    flex-display: row;
}

.aml__productinner .aml__s_designer img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
}

.aml__productinner .aml__s_control .aml__s_desc {
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    justify-content: center;
    align-items: start;
    font-size: var(--text-size);
    color: var(--text-color);
    width: 80%;
}

.aml__productinner .aml__s_designer .aml__s_title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    color: #303030
}

.aml__productinner .aml__s_designer .aml__s_name {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #6B6B6B;
}

.aml__productinner .aml__s_designer .aml__s_button {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-grow: 1;
}


/**aml__s_advanced**/
.aml__productinner .aml__s_advanced {
    background-color: #F5F1E9;
    margin-left: 0px;
    margin-right: 0px;

}


.aml__productinner .aml__s_advanced .aml__tab_col {
    position: relative;;
}


.aml__productinner .aml__s_advanced .aml__tab_col:after {
    border-right: 1px solid #C19557;
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    content: "";

}


.aml__productinner .aml__s_advanced .aml__video_col {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.aml__productinner .aml__s_advanced .tab-content {
    padding: 1rem;
    font-size: 15px;
}

.aml__productinner .aml__s_advanced .tab-content * {
    font-size: 15px;
}

.aml__productinner .aml__s_advanced .tab-content a {
    color: #c19557;
}

/**controls**/
.aml__productinner .aml__s_control ul {
    display: flex;
    flex-display: row;
    padding-left: 0;
    margin: 0;
    background: unset !important;
    border: unset !important;
    padding-bottom: 0 !important;

}

.aml__productinner .aml__s_control .aml__s_tablink_box {
    list-style: none;
    overflow: hidden;
    position: relative;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.aml__productinner .aml__s_control ul li .aml__s_tablink {
    background: #F6F6F6;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    color: #A5A5A5;
    margin-right: 15px;
    margin-padding: 5px;
}


.aml__productinner .aml__s_control ul li .aml__s_coner {
    content: " ";
    width: 15px;
    right: 3px;
    top: -3px;
    bottom: -5px;
    position: absolute;
    -webkit-border-top-right-radius: 50px;
    -moz-border-radius-topright: 50px;
    border-top-right-radius: 50px;
    transform: rotate(-10deg);
    background: #F6F6F6;
}

.aml__productinner .aml__s_control ul li .aml__s_tablink.active .aml__s_coner {
    box-shadow: 4px 0px 5px rgba(0, 0, 0, 0.1);
    background: #F5F1E9;
}

.aml__productinner .aml__s_control ul li:last-child .aml__s_coner {
    box-shadow: unset !important;
}


.aml__productinner .aml__s_control ul li .aml__s_tablink.active {
    background: #F5F1E9;
    color: #C19557;


}


/**button**/

.aml__productinner .aml__s_designer .aml__s_button a {
    display: flex;
    background: #C19557;
    border-radius: 5px;
    width: fit-content;
    padding: 0.75rem 1.25rem;
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
}


.aml__productinner .aml__s_designer .aml__s_button a:hover {
    background: #4D260B;
    color: white;
}


/**anim**/
@keyframes aml__productinner_opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/**colapse**/


.aml__productinner .aml__s_colapse_show img {
    margin-right: 1rem;
}

.aml__productinner .aml__s_colapse_show.aml__s_active img {
    transform: rotate(180deg);
}


.aml__s_thumbs {

    height: auto;

}


.aml__s_thumbs .aml__s_thumb a {
    height: 100%;
}

.aml__s_thumbs .aml__s_thumb a img {
    height: 100%;
    object-fit: cover;
    width: auto;

}

.aml__productinner .aml__fav_toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


.aml__productinner .aml__s_galery {
    position: relative;
}

.aml__productinner .aml__fav_toggle:hover svg,
.aml__productinner .aml__fav_toggle:hover path {
    fill: red !important;
    stroke: red !important;
    color: red !important;
}

.aml__productinner .aml__fav_toggle svg,
.aml__productinner .aml__fav_toggle svg path {
    fill: white !important;
    stroke: white !important;
    color: white !important;

}

.aml__productinner .aml__fav_toggle.aml__s_active svg,
.aml__productinner .aml__fav_toggle.aml__s_active svg path {
    fill: #4d260b !important;
    stroke: #4d260b !important;
    color: #4d260b !important;

}

.aml__productinner h1 {
    font-family: serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    color: #C19557;
    margin-bottom: 1.5rem;
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/**ki**/
.aml__productinner .aml__s_main .aml__s_right .aml__s_params {
    padding-left: .62rem;


}


.aml__productinner .aml__s_main .aml__s_right .aml__s_params li {
    display: flex;
    flex-direction: row;
    list-style: none;
    font-style: normal;
    font-weight: 400;
    font-size: var(--text-size);
    color: var(--text-color);
    margin-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
    align-items: center;
}


.aml__productinner .aml__s_main .aml__s_right .aml__s_params li span:first-child {
    width: 30%;
    font-weight: 700;
}


.aml__productinner .aml__s_main .aml__s_right .aml__s_params li i {
    padding-top: 0.25rem;
}

.aml__productinner .aml__s_main .aml__s_right .aml__s_params li::marker {
    color: var(--subheader-color)
}


.aml__productinner .aml__s_designer img {
    aspect-ratio: 1 / 1;
}

.aml__productinner .aml__s_designer .aml__s_designer_inner {
    margin-bottom: 1rem;
}

.aml__productinner .aml__s_designer .aml__s_designer_inner .aml__s_photo {
    margin-right: 1rem;
}

.aml__productinner .aml__s_designer .aml__s_name {
    justify-content: start;
}

.aml__productinner .aml__s_designer .aml__s_desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.aml__productinner .aml__s_main {
    display: flex;
    flex-direction: row;
}

.aml__productinner .aml__s_main .aml__s_left,
.aml__productinner .aml__s_main .aml__s_right {
    flex: 0 0 50%;
}

.aml__productinner .aml__s_main .aml__s_left {
    padding-right: 0.5rem;
}

.aml__productinner .aml__s_main .aml__s_right {
    padding-left: 0.5rem;
}

.aml__productinner .aml__s_control .aml__s_tabs {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab .aml__s_tab_inner {
    background: #F6F6F6;
    padding-top: .8rem;
    padding-bottom: .8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-family: system-ui;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    color: #A5A5A5;
    margin-right: 1rem;

}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab .aml__s_coner {
    content: " ";
    width: 15px;
    right: 2px;
    top: -2px;
    bottom: -5px;
    position: absolute;
    -webkit-border-top-right-radius: 50px;
    -moz-border-radius-topright: 50px;
    border-top-right-radius: 50px;
    transform: rotate(-10deg);
    background: #F6F6F6;
    box-shadow: 4px 0 5px rgba(0, 0, 0, .1);

}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab {
    background: #F6F6F6;
}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab:last-child {
    background-color: white;
}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab:last-child .aml__s_coner {
    box-shadow: unset;
}

.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab.aml__s_active .aml__s_tab_inner,
.aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab.aml__s_active .aml__s_coner {
    background: #F5F1E9;
    color: #C19557;
}

.aml__productinner .aml__s_control .aml__s_tab_content {
    background: #F5F1E9;
}

.aml__productinner .aml__s_control {
    display: flex;
    flex-direction: column;
}

.aml__productinner .aml__s_control .aml__s_tab_page {
    padding: 1rem;
    display: none !important;
}

.aml__productinner .aml__s_control .aml__s_tab_page.aml__s_active {
    display: flex !important;
    flex-direction: column;
}

.aml__productinner .aml__s_control .aml__s_tab_page:first-child {
    display: flex;
    flex-direction: row;
}

.aml__productinner .aml__s_control .aml__s_desc {
    padding-right: 1rem;
}

.aml__productinner .aml__s_control .aml__s_video {
    position: relative;
    padding-left: 1rem;
}

.aml__productinner .aml__s_control .aml__s_video:before {
    border-right: 1px solid #C19557;
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    content: "";
}


.aml__productinner .aml__s_price {
    border-top: 1px solid #c19557;
    padding-top: 1rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.aml__productinner .aml__s_price span {
    font-family: system-ui;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    color: #303030;
}

.aml__productinner .aml__s_price span:nth-child(2) {
    color: #c19557;
    font-weight: 700;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
}


.aml__productinner .aml__s_buy {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
}


.aml__productinner .aml__s_buy .aml__s_add {
    padding: 0.5rem 0.75rem;
    border: 1px solid #c19557;
    cursor: pointer;
    background: #c19557;
    color: white;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    min-width: 250px;
}


.aml__productinner .aml__s_buy .aml__s_counter {
    display: flex;
    flex-direction: row;
}

.aml__productinner .aml__s_buy .aml__s_counter .aml__s_minus {
    padding: 0.5rem 0.75rem;
    border: 1px solid #c19557;
    cursor: pointer;
    background: #c19557;
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.aml__productinner .aml__s_buy .aml__s_counter .aml__s_plus {
    padding: 0.5rem 0.75rem;
    border: 1px solid #c19557;
    cursor: pointer;
    background: #c19557;
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.aml__productinner .aml__s_buy .aml__s_counter .aml__s_plus:hover,
.aml__productinner .aml__s_buy .aml__s_counter .aml__s_minus:hover,
.aml__productinner .aml__s_buy .aml__s_add:hover {
    border: 1px solid #4D260B;
    background: #4D260B;
    color: white;
}




.aml__productinner .aml__s_buy .aml__s_counter .aml__s_count {
    text-align: center;
    max-width: 50px;
    border: 1px solid #c19557;
    background: white;
    color: #6B6B6B;
    font-size: 14px;
    font-weight: 700;
}

.aml__productinner .aml__s_control .aml__s_desc ul {
    flex-direction: column;
    margin-left: 2rem;
}


@media (max-width: 960px) {

    .aml__product_container{
        overflow: hidden;
        max-width: 100%!important;
        margin: 0;
    }

    .aml__productinner {
        margin-top: 1rem;

    }

    .aml__productinner .aml__s_control .aml__s_desc {

        font-size: var(--text-size-mobile);

    }


    .aml__productinner .aml__s_main {
        flex-direction: column !important;
    }


    .aml__productinner .aml__s_designer {
        flex-direction: column-reverse;
    }


    .aml__productinner .aml__s_designer .aml__s_button {
        justify-content: center;
        margin-bottom: 1rem;
    }



    .aml__productinner .aml__s_galery .aml__s_cover {
        flex: 0 0 100%;
    }

    .aml__productinner .aml__fav_toggle {
        left: 2.5rem;
        right: unset;


    }

    .aml__productinner .aml__s_control .aml__s_tabs {
        flex-direction: column !important;
    }

    .aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab {
        width: 100%;

    }

    .aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab .aml__s_tab_inner {
        margin-right: 0;
    }

    .aml__productinner .aml__s_control .aml__s_tabs .aml__s_coner {
        display: none;
    }

    .aml__productinner .aml__s_control .aml__s_desc .aml__s_colapse {
        display: none;
    }

    .aml__productinner .aml__s_control .aml__s_desc .aml__s_colapse.aml__s_active {
        display: flex;
        flex-direction: column;
    }

    .aml__productinner .aml__s_control .aml__s_tabs .aml__s_tab .aml__s_tab_inner {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    .aml__productinner .aml__s_colapse_show {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-bottom: 0.5rem;
        color: #C19557;
        font-size: .95rem;
        width: 100%;
    }

    .aml__productinner .aml__s_control .aml__s_tab_page {
        flex-direction: column;
    }

    .aml__productinner .aml__s_main .aml__s_left,
    .aml__productinner .aml__s_main .aml__s_right {
        flex: 0 0 100%;
        padding: 0;
    }

    .aml__productinner .aml__s_main .aml__s_left {
        min-height: 320px;
    }

    .aml__productinner .aml__s_main .aml__s_thumbs {
        min-height: 295px;
    }

    .aml__productinner .aml__s_galery .aml__s_cover {
        display: none;
    }

    .aml__productinner .aml__s_galery {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: unset;
        position: relative;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs {
        flex-flow: row nowrap;
        flex: 0 0 100%;
        max-width: 100%;
        margin: auto;
        padding-right: 0
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb {
        flex: 0 0 100%;
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb img {
        display: block;
        border-radius: 1rem;
        overflow: hidden
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb:hover:before {
        display: none !important
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb.aml__active img {
        border: 1px solid #fff
    }

    .aml__productinner .aml__s_galery .aml__s_thumbs .aml__s_thumb a {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        display: block
    }

    .aml__productinner .aml__s_galery .aml__s_points {
        position: absolute;
        z-index: 1;
        display: flex;
        flex-direction: row;
        background: rgba(0, 0, 0, .28);
        bottom: 2rem;
        border-radius: 1rem;
        padding-left: 5px;
        padding-right: 5px
    }

    .aml__productinner .aml__s_galery .aml__s_points .aml__s_point {
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: #fff;
        height: .4rem;
        border-radius: .8rem;
        opacity: 1;
        width: 30px;
        margin-right: 3px;
        margin-left: 3px
    }

    .aml__productinner .aml__s_galery .aml__s_points .aml__s_point.aml__s_active {
        background-color: #4d260b
    }


    /**child**/
    .aml__productinner .aml__s_params {
        padding-left: 0
    }

    .aml__productinner .aml__s_params li {
        display: flex;
        flex-display: row;
        margin-bottom: 1.5rem
    }

    .aml__productinner .aml__s_params li span:first-child {
        flex: 0 0 30%;
        display: flex;
        color: #303030;
        font-family: system-ui;
        font-style: normal;
        font-weight: 600;
        font-size: .95rem;
        line-height: 25px
    }

    .aml__productinner .aml__s_params li span:last-child {
        display: block;
        flex-grow: 1;
        font-family: system-ui;
        font-style: normal;
        font-weight: 400;
        font-size: .95rem;
        line-height: 22px;
        color: #6B6B6B
    }

    .aml__productinner .aml__s_control .aml__s_tab_page:first-child {
        flex-direction: column;
    }

    .aml__productinner .aml__s_control .aml__s_video {
        padding-top: 1rem;
        padding-left: 0;
    }


    .aml__productinner .aml__s_control .aml__s_video:before {
        display: none;
    }

    .aml__productinner .aml__tab_col table {
        min-width: unset !important;
        border: 1px solid #C19557 !important
    }

    .aml__productinner .aml__tab_col table tr td:first-child {
        padding: 10px;
        margin: 0;
        width: 30% !important
    }

    .aml__productinner .aml__tab_col table tr td:last-child {
        padding: 10px;
        margin: 0;
        width: 70% !important
    }

    .aml__productinner .aml__tab_col table tr td:last-child img {
        margin: unset !important;
        width: 100%;
        height: auto
    }


    .aml__productinner .aml__s_control .aml__s_desc {
        padding-left: 0;
        width: unset;
    }

    .aml__productinner .aml__s_control .aml__s_desc {
        padding-right: 0;
    }

    .aml__productinner .aml__s_buy .aml__s_button{
        width: 100%;
    }

    .aml__productinner .aml__s_buy .aml__s_add{
        min-width: unset;
        flex-grow: 1;
    }

}

