/*
Theme Name: Molla Child
Theme URI: https://molla.org/
Author: D-THEMES
Author URI: https://molla.org/about-me/
Description: Molla Responsive WordPress + eCommerce Theme.
Version: 1.0
Template: molla
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

:root {
    --font-family: 'Inter', sans-serif;
    --font-h1: normal normal 900 75px / 83px var(--font-family);
    --font-h2: normal normal 900 44px / 55px var(--font-family);
    --font-h3-black: normal normal 700 30px / 45px var(--font-family);
    --font-h3-medium: normal normal 500 30px / 45px var(--font-family);
    --font-h4-bold: normal normal 700 20px / 120% var(--font-family);
    --font-h4-medium: normal normal 500 20px / 120% var(--font-family);
    --font-h5: normal normal 700 24px / 35px var(--font-family);
    --scrollBarTrackBg: white;
    --scrollBarThumbBg: var(--secondary-color-1);
    --scrollBarThumbBg-hover: var(--secondary-color-1);
    --font-body1-regular: normal normal 400 20px / normal var(--font-family);
    --font-body1-medium: normal normal 500 20px / normal var(--font-family);
    --font-body2-regular: normal normal 400 16px / 24px var(--font-family);
    --font-body2-medium: normal normal 500 16px / 24px var(--font-family);
    --font-button: normal normal 500 16px / normal var(--font-family);
    --primary-color-1: #85C4D6;
    --primary-color-2: #4fb5d2;
    --primary-color-3: #21b0d7;
    --color-black: #1f1f1f;
    --color-white: #f1f1f1;
    --secondary-color-1: #343a40;
    --secondary-color-2: #b6b8ba;
    --secondary-color-3: #f5f5f6;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollBarThumbBg) var(--scrollBarTrackBg);
}

/* Layout */
@media (min-width: 1600px) {
		.container-fluid {
				padding: 0 6rem;
		}
		.divider-active .content-divider .container-fluid:after, .divider-active.content-divider .container-fluid:after {
				left: 6rem;
				right: 6rem;
		}
}

.btn.btn-primary {
	color: #000;
}

/* Header */
.menu ul li.menu-banner {
	padding: 0;
}
.menu .mmenu-with-banner >ul {
	padding-right: 0;
}

.header a.eshop-menu-btn {
    padding: 5px 15px;
    border: 1px solid var(--primary-color-1);
    background-color: var(--primary-color-1);
    border-radius: 6px;
    color: #000;
    font-weight: 500;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: #fff;
    color: var(--color-black);
    padding: 10px 15px;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 991px) {
		#menu-main-menu {
				display: none;
		}
}
/* Footer */
.footer p {
	font-size: 1.4rem;
	line-height: 1.9;
}
.footer .menu li+li {
		margin: 0;
}
.footer-top .widget,
.footer-top [id*='gutenberg-block-5'] {
	margin-bottom: 0;
}
.footer .widget_media_image {
	margin: -5px 0 1.2rem;
}
.footer .widget-title {
	margin-bottom: 1.4rem;
}
.footer .widget_text {
	margin-bottom: 3rem;
}
.footer .social-icon {
	border-color: #666;
	margin-bottom: 1rem;
}
@media (min-width: 992px) {
	.footer .widget_nav_menu {
		padding-left: 5rem;
	}
}
@media (max-width: 991px) {
	.footer-copyright {
		text-align: center;
	}
}

/*  page items */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.search):not(.search-results):not(.blog):not(.single) .page-content {
	margin-top: 0;
}

.container .search-results {
    max-width: 800px;
}

.search-results .results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.search-result-inner {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
}

.search-result-inner.no-thumb {
    grid-template-columns: 1fr;
}

.search-result-image {
    width: 100%;
    max-width: 140px;
}

.search-result-image a,
.search-result-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--secondary-color-1);
}

.search-result-type {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-result-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color-3);
}
.search-result-price del {
    color: #8b8b8b;
    font-weight: 400;
    margin-left: 0.5rem;
}

.search-result-title {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.3;
}

.search-result-title a {
    color: inherit;
}

.search-result-item .entry-summary {
    margin-top: 0.75rem;
    color: #5e5e5e;
}

.search-results .pagination {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.search-results .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: var(--secondary-color-1);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.search-results .pagination .page-numbers:hover {
    color: var(--color-black);
    background: rgba(33, 176, 215, 0.12);
    border-color: var(--primary-color-3);
}

.search-results .pagination .page-numbers.current,
.search-results .pagination .page-numbers.current:hover {
    color: var(--color-black);
    background: var(--primary-color-1);
    border-color: var(--primary-color-1);
}

.search-results .pagination .page-numbers.dots {
    pointer-events: none;
    color: #8b8b8b;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.single .posts.related-posts img.attachment-large.size-large.wp-post-image {
    max-height: 200px;
    min-height: 200px;
    object-fit: cover;
}

mark {
    color: var(--primary-color-3) !important;
}

@media (max-width: 767px) {
    .search-result-inner {
        grid-template-columns: 1fr;
    }

    .search-result-image {
        max-width: 100%;
    }
}

/* Product */
.product-label {
	font-weight: 700;
	text-transform: uppercase;
}
.product-popup .product-media > a:before {
	content: none;
}
.product-popup .product-body {
	padding-bottom: 6rem;
}
.product-popup .product-footer {
	visibility: visible !important;
	padding-bottom: 2rem;
}
.product-popup .ratings-container {
	transform: translateY(-6rem);
}
.product.product-popup .ratings-container {
	margin: 1rem 0 1.7rem;
}
.product-popup .product-action {
	display: block;
	border: none;
}
.product.product-popup .ratings-container + * {
	margin-top: -4rem;
}
.product.product-popup:hover {
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.product.product-popup:hover.add_to_cart_button,
.product-popup:not(.product-no-overlay) .product-footer a.add_to_cart_button:hover {
    background-color: var(--primary-color-1);
    color: var(--color-black);
    text-decoration: none;
}
.product-popup .product-action {
	display: flex;
	flex-flow: column wrap;
}
.product.product-popup .product-action .btn-cart {
	display: inline-block;
  	padding: .9rem 3.5rem;
	margin-bottom: 1rem;
	color: #fff;
}
.product-popup .btn-cart:before {
	content: none;
}
.product.product-popup a.btn-cart:hover span,
.product.product-popup a.btn-cart:focus span {
	color: #333;
	box-shadow: none;
}
.product.product-popup a.btn-cart:hover,
.product.product-popup a.btn-cart:focus,
.woocommerce .product .product-intro form .button.single_add_to_cart_button:hover,
.woocommerce .product .product-intro form .button.single_add_to_cart_button:focus {
	background-color: var(--primary-color-1);
	color: var(--secondary-color-1);
}
.product.product-popup a.btn-cart,
.woocommerce .product .product-intro form .button.single_add_to_cart_button {
	background-color: var(--secondary-color-1);
	color: #fff;
	border-radius: 5px;
	border: 0;
}
.product.product-popup a.btn-cart {
	color: #fff;
}
.product a.btn-product span {
	font-size: 1.4rem;
	text-transform: uppercase;
}
.woocommerce .product .product-intro .price {
	font-size: 3.4rem;
	font-weight: 700;
	color: #333;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
	background-color: var(--secondary-color-1);
	border-radius: 5px 5px 0 0;
	border: 0;
}
.product .yith-wcwl-add-to-wishlist {
	display: inline-block;
	font-size: 1.6rem;
}
.products .product .yith-wcwl-add-to-wishlist a {
	color: #ccc;
	font-weight: 300;
	padding: 0;
}
.products .product .yith-wcwl-add-to-wishlist a:hover,
.products .product .yith-wcwl-add-to-wishlist a:focus {
	color: #666;
}
.product .yith-wcwl-add-button a:hover:before {
	content: '\f233';
}
.product-popup .product-title {
	font-size: 1.3rem;
}
.product.product-popup .product-body span.price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #333;
}
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins {
	font-weight: 700;
}
.product .price del:before {
	content: 'Was ';
}
.product .product-action-vertical {
	top: 3rem;
	right: 3rem;
}
.product .product-label {
	top: 3rem;
	left: 3rem;
}
.product-label+.product-label {
	top: 6rem;
}
.product-label+.product-label+.product-label {
	top: 9rem;
}

.listicon ul {
	list-style-type: none;
}

.listicon ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
}

.listicon ul li::before {
    position: absolute;
    left: 0;
    content: "";
    background: url(assets/images/ul.svg) no-repeat center / contain;
    text-align: center;
    width: 12px;
    height: 16px;
    color: var(--secondary-color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 6px;
    flex-shrink: 0;
}

.numitem ol {
    list-style-type: none;
    counter-reset: li-counter;
}

.numitem ol li {
    counter-increment: li-counter;
    position: relative;
    margin-bottom: 10px;
    padding-left: 60px;
    display: inline-block;
    width: 100%;
}

.numitem ol li::before {
    position: absolute;
    left: 0;
    content: counter(li-counter);
    background: url(assets/images/ol.svg) no-repeat center / contain;
    text-align: center;
    width: 38px;
    height: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
    flex-shrink: 0;
}


/* Blog */
.post .read-more {
	box-shadow: none;
}
[id*='gutenberg-block-'] {
		margin-bottom: 0;
}

.error404 .page-content {
		padding-bottom: 0;
}
.error404 .woocommerce-breadcrumb {
		margin: 0;
}

.sidebar-toggler:not(.filter-btn) {	
	top: 220px;	
}

/* woocommerce */
.product .tab-content p,
.product-intro .product_meta .product-meta-wrap,
.form-control,
.product-intro .woocommerce-product-details__short-description,
input.input-text,input[type*=text],
input.input-text.qty,input[type*=text].qty,
.toolbox .toolbox-info p,
.toolbox .woocommerce-ordering select,
.sidebar .widget,
.widget .product-categories li a,
.cart-popup.widget_shopping_cart .cart_list li.mini_cart_item .quantity, 
.mini_cart_item .quantity,
.widget_shopping_cart_content .woocommerce-mini-cart__buttons.buttons a.wc-forward:not(.checkout),
.widget_shopping_cart_content .woocommerce-mini-cart__buttons.buttons a.checkout,
.quantity label,
.woocommerce-checkout label,
.woocommerce-checkout .woocommerce form .woocommerce-billing-fields .form-row input.input-text,
.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table.shop_table td,
.woocommerce-checkout #payment .wc_payment_method div.payment_box p,
.woocommerce button.button.alt,
.woocommerce-checkout .woocommerce a.button.alt,
.woocommerce-cart .woocommerce a.button.alt,
.woocommerce-cart .cart-subtotal,
.woocommerce-cart .woocommerce table.shop_table tbody .cart-subtotal th,
.woocommerce-cart .cart-collaterals .cart_totals table small.includes_tax,
.woocommerce-checkout .woocommerce table.shop_table tfoot .order-total th,
.woocommerce-checkout .woocommerce table.shop_table tfoot .order-total .amount,
.woocommerce-checkout .cart-collaterals .cart_totals table small.includes_tax,
.woocommerce .woocommerce-checkout-review-order-table.shop_table th,
.cart .product-subtotal .woocommerce-Price-amount.amount,
.woocommerce .woocommerce-cart-form .actions>button.button.btn,
.shipping-calculator-button,
.woocommerce .woocommerce-cart-form table.shop_table.cart th,
.woocommerce .woocommerce-breadcrumb .breadcrumb a,
.woocommerce .woocommerce-breadcrumb .breadcrumb,
.sidebar .widget .price_slider_wrapper .price_label,
.social-icons,
.woocommerce-terms-and-conditions-link,
.woocommerce a.button.wc-backward,
.woocommerce-cart .cart-empty.woocommerce-info,
.woocommerce-cart .actions,
.woocommerce-cart .woocommerce-message a.restore-item,
.product-type-simple .card-box .card-title a,
.product-type-simple .card-box .card-title a.collapsed:hover
{
    color: var(--color-black);
}

a {
	color: var(--secondary-color-1);
}

.product-type-simple .card-box .card-title a:hover {
    font-weight: bold;
}

.product-media img {    
    min-height: 280px;
    object-fit: contain;
}

.woocommerce .woocommerce-cart-form .actions>button.button {
        border-color: var(--primary-color-1);
}

.woocommerce-terms-and-conditions-link {
    text-decoration: underline;
}

.sidebar .widget .price_slider_wrapper .price_label span {
    color: var(--secondary-color-1);
}

.woocommerce .woocommerce-cart-form .actions>button.button {
	color: var(--color-black);
	border: 1px solid var(--primary-color-1);
}

.woocommerce .woocommerce-checkout-review-order-table.shop_table .shipping td {
	padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding-left: 5px;
}

.omniva-terminals-list {
    margin-top: 5px;
    margin-bottom: 10px;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons.buttons a.wc-forward:not(.checkout):hover {
	color: #fff;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons.buttons a.checkout:hover {
	color: var(--color-black);
}

.widget .current-cat >a,
.price_slider_wrapper .price_label span,

.woocommerce-cart .woocommerce .shop_table .order-total th,
.woocommerce-cart .woocommerce .shop_table .order-total .amount {
	color: var(--color-black);
	font-weight: 600;
}

ul.page-numbers li .page-numbers {
	color: var(--secondary-color-1);
}

ul.page-numbers li .page-numbers.current {
    color: var(--color-black);
    background: var(--primary-color-1);
    border-color: var(--primary-color-1);
}

ul.page-numbers li .page-numbers:hover {
	color: var(--color-white);
	background-color: var(--secondary-color-1);
}

form.woocommerce-checkout label .woocommerce-terms-and-conditions-checkbox-text,
form.woocommerce-checkout label span,
form.woocommerce-checkout label {
    text-transform: none;
}

.header-top .nav.top-menu li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer #menu-footer-bottom-menuu {
    display: inline-block;
}

.footer #menu-footer-bottom-menuu li {
    padding-left: 10px;
    padding-right: 10px;

}

.external a::after {
     content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-left: 4px;

    background-color: currentColor;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6V3H5c-1.1 0-2 .9-2 2v6h2V5zm14 14h-6v2h6c1.1 0 2-.9 2-2v-6h-2v6zM5 13H3v6c0 1.1.9 2 2 2h6v-2H5v-6z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6V3H5c-1.1 0-2 .9-2 2v6h2V5zm14 14h-6v2h6c1.1 0 2-.9 2-2v-6h-2v6zM5 13H3v6c0 1.1.9 2 2 2h6v-2H5v-6z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

a.restore-item {
    color: var(--primary-color-1);
    font-weight: 500;
}


/* mobile menu logo colors */
@media (max-width: 479px) {
	.header-bottom .mobile-menu-toggler,
	.header-bottom .icon-shopping-cart {
		color: var(--color-white);
	}
	.header-bottom .header-right {
		margin-left: initial;
	}
	.header-bottom {
		margin-bottom: 10px;
	}
}
