/*
Theme Name: Mela
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --main-gradient: linear-gradient(#08A045 0%, #92bc33 100% 100%);
}

.section-title-normal, .section-title-normal span {
    border: none;
    margin-bottom: 0;
}

.header-button a.icon.circle.button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-main .nav > li.account-item > a {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    padding: 0;
}

.header-button a.icon.circle.button i {
    font-size: 24px;
}

h2 {
    font-size: 32px;
}

.header-inner .flex-right {
    flex: 1 1 100%;
}

#header .header-search-form {
    max-width: 220px;
    margin-left: 1rem;
}

#header .header-bg-color.fill {
    background: var(--main-gradient);
}

#header .nav-line-bottom > li:hover > a:before {
    opacity: 0;
}

.nav > li.has-icon > a > i {
    min-width: auto;
}

#header .nav:hover > a:before {
}

#header .nav-line-bottom > li > a {
    padding: 10px 15px 15px 15px;
}

#header .nav-line-bottom > li.active > a:before {
    opacity: 1 !important;
    background-color: #fff;

}

#header .header-search-form-wrapper .flex-row {
    flex-flow: row-reverse nowrap;
    background: #fff;
    border-radius: 99px;

}

#header input[type=search] {
    height: 40px;
    background-color: transparent !important;
    border: none !important;
}

#header .nav-line-bottom > li > a:before {
    background-color: #fff;
}

#header .account-link {
    border-radius: 99px;
    background: #fff;
    padding: 0 15px !important;
    min-height: 40px;
}

#header .icon-search, #header input[type=search]::placeholder {
    color: black;
}

#header .searchform-wrapper.form-flat .flex-col:last-of-type {
    margin-left: 4px;
}

#header .nav li:last-child {
    margin-left: 20px;
}

.header-account-title {
    font-size: 14px;
    color: #000;
    font-weight: 400;

}

.wn-images-section .img {
    border-radius: 15px 15px 15px 15px;
    overflow: hidden;
}

.cart .single_add_to_cart_button {
    flex: 1 1 100%;
    background: #ee2337;
    font-family: 'Inter';
    font-weight: 400;
    height: 50px;
    border-radius: 50px;
}

span.amount {
    color: #E13E64;
}

.product-short-description {
    font-size: 1.25rem;
    font-family: 'Inter';
}

.wn-certificate img {
    width: 40px;
    height: 40px;
}

.wn-certificate-list, .wn-outstanding-features {
    padding-top: 1rem;
    border-top: 1px solid #a6a6a6;
    display: flex;
    flex-flow: row wrap;
}

.wn-certificate {

    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 1rem;
    width: 50%;
}

.product-title {
    margin-bottom: 0;
}

.custom-sorting {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.sort-btn.active {
    background: #ee2337 !important;
    color: #fff !important;
    font-weight: 700;

}

.sorting-label {
    font-weight: 400;
}

.sort-btn {
    padding: 5px 10px !important;
    border-radius: 6px;
    font-size: 14px;
}

form.cart {
    justify-content: flex-end;
}

.add-to-cart-button {
    text-align: right;
}

.add-to-cart-button a.add_to_cart_button.added {
    display: none;
}

.product.col .col-inner {
    background-color: #f2f2f285;
    padding: 14px;
    border-radius: 28px;

}

#shop-sidebar .widget .current-cat > a {
    color: #E13E64;
    font-weight: 600;

}

#shop-sidebar .widget > ul > li {
    border: none;
}

#shop-sidebar .widget > ul > li > a {
    font-size: 16px;
    font-weight: 600;
}

#shop-sidebar .widget .is-divider {
    display: none;
}

.product.col .box-text {
    padding-bottom: 0;
}

.product.col img {
    border-radius: 20px;
}

.product.col span.amount {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1.6;
}

.add-to-cart-button a.add_to_cart_button {
    background: #ee2337;
    width: 40px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    height: 40px;
    border-radius: 5px;
}

.add-to-cart-button a.add_to_cart_button::before {
    font-family: 'FontAwesome';
    content: '\2b';
    display: block;
    font-size: 1.6rem;
    color: white;
    line-height: 1;
}

#cart-toast {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
    border-top: 5px solid #fa6565;
    padding: 18px 20px 14px 20px;
    font-family: inherit;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cart-toast .close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

#cart-toast img {
    width: 48px;
    border-radius: 7px;
    margin-right: 10px;
    float: left;
}

#cart-toast .cart-toast-content {
    margin-left: 58px;
}

#cart-toast .cart-toast-title {
    font-weight: 600;
    color: #4caf50;
}

#cart-toast .cart-toast-prod {
    font-size: 16px;
    margin-bottom: 5px;
}

#cart-toast .cart-toast-price {
    color: #19a463;
    font-weight: 500;
}

/* Footer */
#footer {
    border-top: 1px solid #d1d1d1;
}

.post-sidebar .is-divider {
    max-width: unset;
}

.post-sidebar #recent-posts-2 {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid black;
}

#footer h5 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
}

#footer .icon {

}

.product-title a {
    font-size: 1rem;
    line-height: 1.5715;
}


#footer .wn-company-info .icon .icon-inner {
    background: #e8eaed00;
    border-color: #333333;
    border-radius: 50px 50px 50px 50px;
    border-style: solid;
    border-width: 1.0px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer .wn-company-info .icon .icon-inner img {
    padding: 0;
    object-fit: cover;
    height: 18px;
    width: 18px;

}

#footer .wn-company-info .icon-box-text p {
    line-height: 1;
}

#footer .wn-company-info .icon-box-text {
    display: flex;
    align-items: center;
}

#footer ul {
    list-style: none;
}

#footer ul li {
    margin-left: 0;
}

#footer .top-row {
    justify-content: space-between;
}


#footer .ux-logo-link {
    padding: 0 !important;
}

@media screen and (min-width: 1024px) {
    .top-row .col.large-3 {
        flex-basis: 410px;
        max-width: 410px;
        padding: 0;
    }

    .top-row .col.large-2 {
        flex-basis: 220px;
        max-width: 220px;
        padding: 0;

    }

    .top-row .col.large-1 {
        flex-basis: 150px;
        max-width: 150px;
        padding: 0;

    }
}

.off-canvas-right.mfp-ready .mfp-content.cart-popup-custom, .off-canvas .mfp-content.off-canvas-cart {
    --drawer-width: 500px !important;
}

#button-contact-vr {
    z-index: 100;
}

.cart-popup-open {
    position: fixed;
    /*background: linear-gradient(181deg, rgba(245, 168, 95, 1) 0%, rgba(225, 62, 100, 1) 100%);*/
    background: var(--main-gradient);
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    z-index: 100;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-name: headShake;
    -webkit-animation-name: headShake;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
}

.cart-popup-open svg {
    width: 28px;
    fill: white;
    stroke: white;
    height: 28px;
}

.cart-popup-open svg path {
    fill: white;
}

.cart-item-count {
    top: 0;
    right: 0;
    position: absolute;
    width: 14.0px;
    height: 14.0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ee2337;
    border-radius: 50%;
    color: white;
    font-family: 'Roboto';
    font-size: 12.0px;
}

.cart-popup-inner {
    background: #fff;
}

#cart-popup .heading-font {
    text-align: left;
    width: fit-content;
    padding-bottom: 1rem;
    border-bottom: 3px solid black;
}

#cart-popup .is-divider {
    max-width: unset;
    margin-top: 0;
}

#cart-popup .cart-popup-inner--sticky .ux-mini-cart-footer {
    bottom: 30px;
}

#cart-popup .cart-popup-inner .widget_shopping_cart_content .price-wrapper {
    color: #E13E64;
    font-size: 1.125rem;
    font-weight: 700;
    opacity: 1;
}


#cart-popup ul.product_list_widget li .quantity.buttons_added, .ux-quantity.quantity {
    width: 150px !important;
    justify-content: space-between;
    align-self: end;
}

.quantity input[type=number], .ux-quantity.quantity .button {
    min-height: unset !important;
    height: 40px !important;
}

.ux-quantity.quantity .button {
    background: #a8a8a8 !important;
    border-radius: 5px !important;
    width: 30px !important;
    color: white;

}

.quantity input[type=number] {
    width: 50px !important;
    max-width: unset !important;
    border: 2px solid #9a9a9a;
    background: #f2f2f2 !important;
    padding: 0px !important;
    border-radius: 5px !important;
    color: black !important;
    font-weight: 700;
}

#cart-popup ul.product_list_widget li {
    padding: 10px 0 5px 105px;
}

#cart-popup ul.product_list_widget li img {
    width: 90px;
    height: 90px;
}

#cart-popup .quantity input[type=number], #cart-popup .ux-quantity.quantity .button {
    min-height: unset !important;
    height: 30px !important;
}

#cart-popup .ux-mini-cart-qty {
    flex-direction: column-reverse;
    align-items: flex-start;
    width: 100%;
}

#cart-popup .woocommerce-mini-cart__buttons.buttons a {
    border-radius: 60px;
}

.product.col.product-small p.da-ban {
    font-size: 12.0px;
}

p.da-ban {
    margin-bottom: -25px;
}

.wn-turnback {
    padding-bottom: 10px;
}

.wn-turnback .col-inner {
    height: fit-content;
}


.wn-turnback .col-inner .button span {
    font-size: 16px;
    font-weight: 400;
    font-family: Inter;
}

.wn-turnback .col-inner .button {
    color: black;
    margin: 0;
}


@keyframes headShake {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    6.5% {
        -webkit-transform: translateX(-6px) rotateY(-9deg);
        transform: translateX(-6px) rotateY(-9deg);
    }

    18.5% {
        -webkit-transform: translateX(5px) rotateY(7deg);
        transform: translateX(5px) rotateY(7deg);
    }

    31.5% {
        -webkit-transform: translateX(-3px) rotateY(-5deg);
        transform: translateX(-3px) rotateY(-5deg);
    }

    43.5% {
        -webkit-transform: translateX(2px) rotateY(3deg);
        transform: translateX(2px) rotateY(3deg);
    }

    50% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

#cart-popup a.remove {
    border-radius: unset;
    border: none;
}

#cart-popup a.remove:before {
    content: '';
    display: block;
    width: 16px;
    height: 100%;
    background: url("/wp-content/uploads/2025/08/download-1.svg");
}

#wn-mobile-navigation {
    display: none;
}

#wn-mobile-quickbuy {
    display: none;
}

@media screen and (max-width: 849px) {
    .medium-logo-center .flex-right {
        flex: 1 1 0;
        order: 3;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    #button-contact-vr {
        bottom: 60px;
    }

    #wn-mobile-navigation a, #wn-mobile-quickbuy a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0px;
    }

    #wn-mobile-navigation a img, #wn-mobile-navigation a svg, #wn-mobile-quickbuy a img {
        width: 22px;
        height: 22px;
    }

    #wn-mobile-navigation a span, #wn-mobile-quickbuy a span {
        font-size: 10.0px;
        font-weight: 700;
        line-height: 1.6;
        text-align: center;
    }

    .sorting-label {
        flex: 1 1 100%;
        font-size: 14px;
    }

    .single-product #wn-mobile-navigation {
        display: none;
    }

    #wn-mobile-quickbuy {
        display: none;
    }

    #wn-mobile-quickbuy span.amount {
        color: #fff;
        font-size: 12.0px;
    }

    #wn-mobile-quickbuy > a:last-child {
        justify-content: center;
        grid-column: 4/-1;
        font-size: 12.0px;
        display: flex;
        color: white;
        flex-direction: column;
        background: #d41830;
    }

    #wn-mobile-quickbuy .added_to_cart {
        display: none;
    }

    .single-product #wn-mobile-quickbuy {
        display: grid;
        border-top: 1px solid #d1d1d1;;
        height: 64px;
        width: 100%;
        box-shadow: 0px 15px 20px -15px rgba(0, 0, 0, 1.000);;
        grid-template-columns:  1fr 4px 1fr 1fr 1fr;
        background: #FFF;
        z-index: 1044;
        position: fixed;
        bottom: 0;
    }

    #wn-mobile-quickbuy .button {
        margin: 0;
    }

    #wn-mobile-quickbuy .line {
        height: 30px;
        width: 1px;
        align-self: center;
        background: #8d8f84;
    }

    #wn-mobile-navigation {
        display: grid;
        border-top: 1px solid #d1d1d1;;
        height: 64px;
        width: 100%;
        box-shadow: 0px 15px 20px -15px rgba(0, 0, 0, 1.000);;
        grid-template-columns:repeat(3, 1fr);
        padding: 5px 0px;
        background: #FFF;
        z-index: 1044;
        position: fixed;
        bottom: 0;
    }

    .product-title {
        font-size: 22px;
        font-family: 'Inter';
    }

    .product-short-description p {
        font-size: 14px;
        font-family: 'Inter';
    }

    .product-price-container.is-xxlarge {
        font-size: 21px;
        font-family: 'Inter';
    }

    .cart .single_add_to_cart_button {
        display: none;
    }

    .ux-quantity.quantity {
        display: none;
    }

    p.da-ban {
        font-size: 12px;
        margin-bottom: 0;
        padding-bottom: 1rem;
    }

    .wn-certificate {
        width: 100%;
    }

    #footer .icon-box-img {
        width: 30px !important;
    }

    #wrapper {
        padding-bottom: 64px;
    }

    #footer h5 {
        font-family: 'Noto Sans', sans-serif;
        font-size: 13px;

    }

    h2 {
        font-size: 18px;
    }

    #footer .wn-company-info .icon-box-text p {
        font-size: 12px;
    }

    #footer .icon-box-left .icon-box-img + .icon-box-text {
        padding-left: 0;
    }

    #footer ul li, a.ux-menu-link__link {
        font-size: 12px;
        font-weight: 400;
    }

    .wn-outstanding-features div {
        font-size: 14px;
        font-family: Inter;
    }

    .product-thumbnails .col {
        max-width: 80px !important;
    }

    .product-thumbnails .col a {
        width: 60px;
        height: 60px;
        border: none;
    }

    .product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
        transform: translateY(0) !important;
    }

    .cart-popup-open {
        bottom: 150px;
    }

    .sort-btn {
        font-size: 13px;
        font-family: Inter;
        padding: 3px 5px;
    }

    .off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
        background: #fff;
    }

    .mobile-sidebar a {
        text-transform: none;
        font-size: 14px;
        font-family: Inter;
    }

    .product-title a {
        font-size: 14px;
        font-family: Inter;
    }

    .absolute-footer {
        font-size: 13px;
        font-family: Inter;
    }
}

.header-bottom {
    display: none;
}