/* Looduspere UX — Kodulehe Haldus
   Footer, avaleht, ostukorv ja kassa. Bränd: roheline #5fa30f, tume #3f7a08. */

:root {
	--lp-green: #5fa30f;
	--lp-green-dark: #3f7a08;
	--lp-green-soft: #eef6e6;
	--lp-ink: #1f2618;
	--lp-text: #4a4f45;
	--lp-muted: #6f746a;
	--lp-line: #e4e7e0;
	--lp-radius: 10px;
}

/* ================================================================== */
/* FOOTER                                                              */
/* ================================================================== */

.footer-layout.footer-gray { background: #f6f7f4; border-top: 1px solid var(--lp-line); }
.footer-layout .footer-content { padding-top: 56px; }

.footer-layout .footer-widgets.columns-4 {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1.35fr 1.15fr;
	gap: 40px;
	padding-bottom: 40px;
}
.footer-layout .footer-widgets.columns-4::before,
.footer-layout .footer-widgets.columns-4::after { content: none; }
.footer-layout .footer-widgets .footer-sidebar { width: auto !important; max-width: none !important; min-width: 0; float: none !important; padding: 0 !important; margin: 0 !important; }

.footer-layout .footer-widgets .widget { margin-bottom: 22px; }
.footer-layout .footer-widgets .widget-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--lp-ink);
	letter-spacing: .01em;
	margin: 0 0 16px;
	padding: 0;
}
.footer-layout .footer-widgets,
.footer-layout .footer-widgets p,
.footer-layout .footer-widgets li { color: var(--lp-text); font-size: 14px; line-height: 1.65; }
.footer-layout .footer-widgets a { color: var(--lp-ink); text-decoration: none; transition: color .15s; }
.footer-layout .footer-widgets a:hover,
.footer-layout .footer-widgets a:focus-visible { color: var(--lp-green-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Column 1 — contact */
.lpux-contact { list-style: none; margin: 0 0 14px; padding: 0; }
.lpux-contact li { margin: 0 0 4px; padding: 0; }
.lpux-contact a { font-weight: 600; }
.lpux-company { font-size: 13px !important; color: var(--lp-muted) !important; line-height: 1.6 !important; margin: 0 !important; }

/* Social icons sit under contact */
.footer-layout .footer-1 .social-links-widget .widget-title { display: none; }
.footer-layout .social-links-widget .social-links,
.footer-layout .social-links-widget > div { display: flex; gap: 10px; }
.footer-layout .social-links-widget a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--lp-line);
	color: var(--lp-ink) !important;
	margin: 0 !important;
	transition: background .15s, color .15s, border-color .15s;
}
.footer-layout .social-links-widget a i { font-size: 16px; color: inherit !important; line-height: 1; }
.footer-layout .social-links-widget a:hover { background: var(--lp-green); border-color: var(--lp-green); color: #fff !important; text-decoration: none; }

/* Column 2 — customer service links */
.lpux-links { list-style: none; margin: 0; padding: 0; }
.lpux-links li { margin: 0 0 6px; padding: 0; }

/* Withdrawal button: kept clearly visible, but as a secondary button */
.footer-layout .kh-wd-btn,
.footer-layout .kh-wd-btn:link,
.footer-layout .kh-wd-btn:visited {
	background: transparent !important;
	color: var(--lp-ink) !important;
	border: 1.5px solid var(--lp-ink) !important;
	border-radius: 6px !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
	margin-top: 6px;
}
.footer-layout .kh-wd-btn:hover,
.footer-layout .kh-wd-btn:focus {
	background: var(--lp-ink) !important;
	border-color: var(--lp-ink) !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* Column 3 — delivery & payment */
.lpux-subhead { font-size: 13px !important; font-weight: 600; color: var(--lp-ink) !important; margin: 0 0 8px !important; }
.lpux-subhead ~ .lpux-subhead { margin-top: 18px !important; }
.lpux-logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lpux-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: 6px;
	height: 38px;
	padding: 6px 10px;
}
.lpux-logo img { display: block; max-height: 22px; width: auto; height: auto; }
.lpux-logo--carrier { min-width: 84px; }
.lpux-logo--bank { min-width: 64px; }
.lpux-logo--bank img { max-height: 24px; max-width: 64px; }
.lpux-logo--cards img { max-height: 22px; }
.lpux-chip {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lp-ink);
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: 6px;
}
.lpux-note { font-size: 13px !important; color: var(--lp-green-dark) !important; margin: 8px 0 0 !important; font-weight: 500; }

/* Column 4 — newsletter (Smaily) */
.footer-layout .footer-4 form { display: block; }
.footer-layout .footer-4 input[type="email"],
.footer-layout .footer-4 input[type="text"] {
	width: 100% !important;
	max-width: 100% !important;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #cfd4c9;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: var(--lp-ink);
	box-shadow: none;
	margin-bottom: 12px;
}
.footer-layout .footer-4 input[type="email"]:focus,
.footer-layout .footer-4 input[type="text"]:focus { border-color: var(--lp-green); outline: 3px solid rgba(95, 163, 15, .2); outline-offset: 0; }
.footer-layout .footer-4 label,
.footer-layout .footer-4 p { font-size: 13px; line-height: 1.5; }
.footer-layout .footer-4 input[type="checkbox"] { width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--lp-green); }
.footer-layout .footer-4 .g-recaptcha { margin: 12px 0; transform-origin: 0 0; }
.footer-layout .footer-4 button,
.footer-layout .footer-4 input[type="submit"] {
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 6px;
	background: var(--lp-green-dark) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s;
}
.footer-layout .footer-4 button:hover,
.footer-layout .footer-4 input[type="submit"]:hover { background: #2f5c06 !important; }

/* Bottom bar */
.footer-layout .footer-bottom { border-top: 1px solid var(--lp-line); padding: 20px 0 26px; }
.footer-layout .footer-bottom .footer-row { margin: 0; }
.footer-layout .footer-bottom .col-footer-copyright { width: 100% !important; padding: 0 !important; }
.footer-layout .footer-bottom .col-footer-payments { display: none !important; }
.lpux-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 13px; color: var(--lp-muted); }
.lpux-bottom a { color: var(--lp-text); text-decoration: none; }
.lpux-bottom a:hover { color: var(--lp-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.lpux-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; }
.lpux-legal span { color: #b0b4aa; }
.lpux-credit { margin-left: auto; }

@media (max-width: 1199px) {
	.footer-layout .footer-widgets.columns-4 { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}
@media (max-width: 600px) {
	.footer-layout .footer-content { padding-top: 36px; }
	.footer-layout .footer-widgets.columns-4 { grid-template-columns: 1fr; gap: 8px; }
	.lpux-bottom { flex-direction: column; align-items: flex-start; }
	.lpux-credit { margin-left: 0; }
}

/* ================================================================== */
/* PRODUCT CARDS (all product grids)                                   */
/* ================================================================== */

ul.products li.product h2 a,
ul.products li.product .woo-loop-product__title a,
ul.products li.product .woocommerce-loop-product__title a {
	color: var(--lp-ink) !important;
	font-weight: 500;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 4.2em;
}
ul.products li.product h2 a:hover,
ul.products li.product .woo-loop-product__title a:hover { color: var(--lp-green-dark) !important; }
ul.products li.product .product-inner { border-radius: var(--lp-radius); transition: box-shadow .2s, transform .2s; }
ul.products li.product:hover .product-inner { box-shadow: 0 10px 28px rgba(31, 38, 24, .10); }
ul.products li.product .mf-product-thumbnail img { border-radius: 8px; }

/* ================================================================== */
/* HOMEPAGE                                                            */
/* ================================================================== */

/* Section headings */
.home .vc_custom_heading {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: var(--lp-ink) !important;
	line-height: 1.25 !important;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 22px !important;
}
.home .vc_custom_heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background: var(--lp-green);
}
/* Remove the extra empty space that pushed products far below their heading */
.home .vc_custom_heading + .martfury-empty-space > div { height: 0 !important; }

/* USP strip */
.home .martfury-icons-list {
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	padding: 18px 10px;
}
.home .martfury-icons-list .mf-icon { color: var(--lp-green) !important; }
.home .martfury-icons-list h4,
.home .martfury-icons-list .title { color: var(--lp-ink); font-weight: 700; }

/* Category tiles */
.home .mf-image-box {
	background: #fff;
	border: 1px solid var(--lp-line) !important;
	border-radius: var(--lp-radius);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s, border-color .2s;
	height: 100%;
}
.home .mf-image-box:hover { border-color: var(--lp-green) !important; box-shadow: 0 10px 26px rgba(31, 38, 24, .10); transform: translateY(-2px); }
.home .mf-image-box img { transition: transform .3s; }
.home .mf-image-box:hover img { transform: scale(1.04); }
.home .mf-image-box .b-title,
.home .mf-image-box h3,
.home .mf-image-box .box-title { color: var(--lp-ink) !important; font-weight: 600 !important; font-size: 14px !important; }

/* "Ainult Loodusperes" banners: text never runs over the photo */
.home .mf-banner-medium { border-radius: 12px; overflow: hidden; }
.home .mf-banner-medium .banner-content .s-content { max-width: 46%; }
.home .mf-banner-medium .banner-content .s-content * { font-size: 21px !important; line-height: 1.25 !important; font-weight: 700 !important; color: var(--lp-ink) !important; }
.home .mf-banner-medium .link-box a,
.home .mf-banner-medium .link-box .btn {
	background: var(--lp-green-dark) !important;
	color: #fff !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	font-weight: 700;
}

/* Testimonials */
.home .martfury-testimonial-slides .testimonial-item,
.home .martfury-testimonial-slides .testi-item {
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	padding: 26px 28px;
}
.home .martfury-testimonial-slides p,
.home .martfury-testimonial-slides .testimonial-desc,
.home .martfury-testimonial-slides .desc { color: var(--lp-text) !important; font-size: 15px !important; line-height: 1.65 !important; font-weight: 400 !important; }

/* Blog & recipe cards */
.home .bdp_blog_template,
.home .blog_template { border-radius: var(--lp-radius); overflow: hidden; }
.home .bdp_blog_template h2,
.home .blog_template h2,
.home .bdp_blog_template .blog_header h2 a { color: var(--lp-ink) !important; font-size: 17px !important; line-height: 1.35 !important; }
.home .bdp_blog_template .post_content,
.home .blog_template .post_content { color: var(--lp-text) !important; font-weight: 400 !important; }
.home .bdp_blog_template a.more-tag,
.home .blog_template a.more-tag,
.home .bdp-more-tag a,
.home .read-more-class a {
	background: transparent !important;
	border: 1.5px solid var(--lp-green-dark) !important;
	color: var(--lp-green-dark) !important;
	border-radius: 6px !important;
	font-weight: 600 !important;
}
.home .bdp_blog_template a.more-tag:hover,
.home .blog_template a.more-tag:hover,
.home .bdp-more-tag a:hover,
.home .read-more-class a:hover { background: var(--lp-green-dark) !important; color: #fff !important; }

@media (max-width: 767px) {
	.home .vc_custom_heading { font-size: 20px !important; }
	.home .mf-banner-medium .banner-content .s-content { max-width: 58%; }
	.home .mf-banner-medium .banner-content .s-content * { font-size: 17px !important; }
}

/* ================================================================== */
/* CART & CHECKOUT                                                     */
/* ================================================================== */

/* Steps */
.lpux-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	list-style: none;
	margin: 0 auto 32px;
	padding: 0;
	counter-reset: none;
	max-width: 760px;
}
.lpux-steps li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; color: var(--lp-muted); font-size: 14px; font-weight: 500; flex: 1; }
.lpux-steps li + li::before { content: ""; flex: 1; height: 2px; background: var(--lp-line); margin: 0 14px 0 0; min-width: 24px; }
.lpux-steps li.is-done + li::before,
.lpux-steps li.is-active::before { background: var(--lp-green); }
.lpux-steps li:last-child { flex: 1; }
.lpux-step-num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid var(--lp-line);
	background: #fff;
	font-weight: 700;
	font-size: 13px;
	color: var(--lp-muted);
}
.lpux-step-num svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lpux-step-label { white-space: nowrap; }
.lpux-steps li.is-active { color: var(--lp-ink); font-weight: 700; }
.lpux-steps li.is-active .lpux-step-num { border-color: var(--lp-green); color: var(--lp-green-dark); }
.lpux-steps li.is-done .lpux-step-num { border-color: var(--lp-green); background: var(--lp-green); }
.lpux-steps li.is-done a { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
	.lpux-steps { margin-bottom: 22px; }
	.lpux-steps li { font-size: 12px; gap: 6px; }
	.lpux-steps li:not(.is-active) .lpux-step-label { display: none; }
	.lpux-step-label { white-space: normal; }
}

/* Free-shipping / coupon notices */
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message {
	background: var(--lp-green-soft) !important;
	border: 0 !important;
	border-left: 4px solid var(--lp-green) !important;
	border-radius: 8px !important;
	color: var(--lp-ink) !important;
	font-size: 14px;
}
.woocommerce-cart .woocommerce-info a,
.woocommerce-checkout .woocommerce-info a { color: var(--lp-green-dark) !important; font-weight: 700; }

/* Cart table */
.woocommerce-cart table.shop_table.cart { border: 1px solid var(--lp-line) !important; border-radius: var(--lp-radius); overflow: hidden; border-collapse: separate; }
.woocommerce-cart table.shop_table.cart thead th { background: #f6f7f4 !important; color: var(--lp-ink); font-size: 12px; letter-spacing: .04em; }
.woocommerce-cart table.shop_table.cart td { vertical-align: middle; }
.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--lp-ink) !important; font-weight: 600; }
.woocommerce-cart table.shop_table.cart td.product-thumbnail img { border-radius: 8px; }
.woocommerce-cart table.shop_table.cart td.product-remove a { color: var(--lp-muted) !important; }
.woocommerce-cart table.shop_table.cart td.product-remove a:hover { color: #c62828 !important; }
/* "Empty cart" is a destructive action — keep it low-key */
.woocommerce-cart .btn-clean,
.woocommerce-cart button[name="clear-cart"],
.woocommerce-cart .empty-cart,
.woocommerce-cart a.clear-cart {
	background: transparent !important;
	border: 0 !important;
	color: var(--lp-muted) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500 !important;
	box-shadow: none !important;
}

/* Totals card */
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .order-review,
.woocommerce-checkout .woocommerce-checkout-review-order {
	background: #fff !important;
	border: 1px solid var(--lp-line) !important;
	border-radius: 12px !important;
	box-shadow: 0 6px 24px rgba(31, 38, 24, .06);
}
.woocommerce-cart .cart_totals { padding: 22px 24px !important; }
.woocommerce-cart .cart_totals table,
.woocommerce-checkout #order_review table { background: transparent !important; }
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td,
.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td { font-size: 18px; color: var(--lp-ink); }
.woocommerce-cart .order-total .amount,
.woocommerce-checkout .order-total .amount { color: var(--lp-ink) !important; font-weight: 800; }

/* Shipping & payment options as selectable cards */
ul#shipping_method { margin: 6px 0 0 !important; padding: 0 !important; }
ul#shipping_method li {
	position: relative;
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px !important;
	padding: 11px 12px !important;
	background: #fff;
	border: 1.5px solid var(--lp-line);
	border-radius: 8px;
	transition: border-color .15s, background .15s;
	cursor: pointer;
}
ul#shipping_method li:hover { border-color: #b9c9a6; }
ul#shipping_method li:has(input:checked) { border-color: var(--lp-green); background: var(--lp-green-soft); }
ul#shipping_method li input[type="radio"] { margin: 0 !important; accent-color: var(--lp-green); width: 18px; height: 18px; flex: 0 0 auto; }
ul#shipping_method li label { flex: 1; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; margin: 0 !important; color: var(--lp-ink); font-weight: 500; cursor: pointer; }
ul#shipping_method li label img,
ul#shipping_method li .montonio-shipping-method-icon,
ul#shipping_method li img { max-height: 22px !important; height: 22px !important; width: auto !important; }
ul#shipping_method li .amount { color: var(--lp-ink) !important; font-weight: 700; }

.woocommerce-checkout #payment { background: transparent !important; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 0 0 16px !important; }
.woocommerce-checkout #payment ul.payment_methods > li {
	margin: 0 0 8px !important;
	padding: 12px 14px !important;
	background: #fff;
	border: 1.5px solid var(--lp-line);
	border-radius: 8px;
	transition: border-color .15s, background .15s;
}
.woocommerce-checkout #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--lp-green); background: #fbfdf8; }
.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"] { accent-color: var(--lp-green); width: 18px; height: 18px; vertical-align: -4px; }
.woocommerce-checkout #payment ul.payment_methods > li > label { color: var(--lp-ink); font-weight: 600; cursor: pointer; }
.woocommerce-checkout #payment div.payment_box { background: transparent !important; padding: 12px 0 0 !important; margin: 0 !important; }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }

/* Form fields */
.woocommerce-checkout .form-row label { color: var(--lp-ink); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.woocommerce-checkout .form-row .optional { color: var(--lp-muted); font-weight: 400; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single,
.woocommerce-cart .coupon input.input-text,
.woocommerce-checkout .checkout_coupon input.input-text {
	min-height: 48px;
	border: 1px solid #cfd4c9 !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 15px;
	color: var(--lp-ink);
	box-shadow: none !important;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-cart .coupon input.input-text:focus {
	border-color: var(--lp-green) !important;
	outline: 3px solid rgba(95, 163, 15, .2);
	outline-offset: 0;
}
.woocommerce-checkout .woocommerce-invalid input.input-text { border-color: #c62828 !important; }
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading { color: var(--lp-ink); font-weight: 700; font-size: 20px; }

/* Primary CTA */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
	min-height: 54px;
	border-radius: 8px !important;
	background: var(--lp-green-dark) !important;
	border-color: var(--lp-green-dark) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: .01em;
	box-shadow: 0 6px 16px rgba(63, 122, 8, .25);
	transition: background .15s, transform .1s;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: flex !important; align-items: center; justify-content: center; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover { background: #2f5c06 !important; border-color: #2f5c06 !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout #place_order:active { transform: translateY(1px); }

/* Terms checkbox */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 14px; }
.woocommerce-checkout .woocommerce-form__input-checkbox { accent-color: var(--lp-green); width: 18px; height: 18px; vertical-align: -4px; }

/* Trust box */
.lpux-trust { margin-top: 16px; padding: 14px 16px; background: #f6f7f4; border-radius: 10px; }
.lpux-trust ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.lpux-trust li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; font-size: 13px; color: var(--lp-text); line-height: 1.4; }
.lpux-trust svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--lp-green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lpux-logos--small { gap: 6px; }
.lpux-logos--small .lpux-logo { height: 30px; padding: 4px 7px; }
.lpux-logos--small .lpux-logo--bank { min-width: 0; }
.lpux-logos--small .lpux-logo img { max-height: 16px; }

/* Desktop: keep the order summary in view while filling the form */
@media (min-width: 992px) {
	.woocommerce-checkout #order_review { position: sticky; top: 100px; }
}

/* Mobile cart & checkout */
@media (max-width: 767px) {
	.woocommerce-cart .cart_totals { padding: 18px !important; }
	.woocommerce-checkout #place_order,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; }
}

/* ================================================================== */
/* CATEGORY MEGA MENU ("Otsi kategooria järgi")                        */
/* ================================================================== */

.products-cats-menu .toggle-product-cats { border-radius: 0 0 10px 10px; box-shadow: 0 16px 40px rgba(31, 38, 24, .12); }
#menu-shop-by-department > li > a { font-size: 14px; color: var(--lp-ink); padding-top: 9px; padding-bottom: 9px; transition: color .15s, background .15s; }
#menu-shop-by-department > li:hover > a,
#menu-shop-by-department > li > a:focus-visible { color: var(--lp-green-dark); background: var(--lp-green-soft); }

#menu-shop-by-department .dropdown-submenu {
	border-radius: 0 10px 10px 0;
	box-shadow: 0 16px 40px rgba(31, 38, 24, .12);
	padding: 18px 20px !important;
}
#menu-shop-by-department .mega-menu-content .row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
	gap: 2px 16px;
	margin: 0;
}
#menu-shop-by-department .mega-menu-content .row::before,
#menu-shop-by-department .mega-menu-content .row::after { content: none; }
#menu-shop-by-department .mega-menu-content .mr-col { width: auto !important; float: none !important; padding: 0 !important; min-height: 0 !important; }
#menu-shop-by-department .mega-menu-content .menu-item-mega { margin: 0 !important; padding: 0 !important; }
#menu-shop-by-department .mega-menu-content .menu-item-mega > a {
	display: block;
	padding: 8px 10px !important;
	border-radius: 6px;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	color: var(--lp-ink) !important;
	transition: background .15s, color .15s;
}
#menu-shop-by-department .mega-menu-content .menu-item-mega > a:hover,
#menu-shop-by-department .mega-menu-content .menu-item-mega > a:focus-visible {
	background: var(--lp-green-soft);
	color: var(--lp-green-dark) !important;
}
/* v1.0.2 fixes */
.home .vc_custom_heading.vc_gitem-post-data { font-size: inherit !important; font-weight: inherit !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
.home .vc_custom_heading.vc_gitem-post-data::after { content: none !important; }
.home .vc_gitem-post-data-source-post_title,
.home .vc_gitem-post-data-source-post_title * { font-size: 16px !important; line-height: 1.35 !important; font-weight: 700 !important; color: #1f2618 !important; }
.home .vc_gitem-post-data-source-post_excerpt,
.home .vc_gitem-post-data-source-post_excerpt * { font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; color: #4a4f45 !important; }
.home .vc_gitem-zone-c { padding: 18px 18px 22px !important; }
.home .vc_grid-item-mini { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e4e7e0; height: 100%; transition: box-shadow .2s; }
.home .vc_grid-item-mini:hover { box-shadow: 0 10px 26px rgba(31,38,24,.10); }
.home .vc_gitem-zone-c .vc_btn3,
.home .vc_gitem-zone-c .vc_gitem-link.vc_btn3 { background: transparent !important; border: 1.5px solid #3f7a08 !important; color: #3f7a08 !important; border-radius: 6px !important; font-weight: 600 !important; }
.home .vc_gitem-zone-c .vc_btn3:hover { background: #3f7a08 !important; color: #fff !important; }
.footer-layout .footer-widgets.columns-4 { margin-left: 0 !important; margin-right: 0 !important; }
.lpux-logo--carrier img { height: 20px !important; width: auto !important; max-height: none; }
.footer-layout .social-links-widget .social-links { margin: 4px 0 0 !important; padding: 0 !important; }
/* Blog card buttons + testimonials */
.home .vc_gitem-zone-c a.wpb_btn { background: transparent !important; border: 1.5px solid #3f7a08 !important; color: #3f7a08 !important; border-radius: 6px !important; font-weight: 600 !important; padding: 8px 16px !important; }
.home .vc_gitem-zone-c a.wpb_btn:hover { background: #3f7a08 !important; color: #fff !important; }
.home .martfury-testimonial-slides .testimonial-info { background: #fff; border: 1px solid #e4e7e0; border-radius: 10px; padding: 24px 26px !important; margin: 0 10px; }
.home .martfury-testimonial-slides .testimonial-info .desc,
.home .martfury-testimonial-slides .testimonial-info .desc * { color: #4a4f45 !important; font-size: 15px !important; line-height: 1.65 !important; font-weight: 400 !important; }
.home .martfury-testimonial-slides .testi-header * { color: #1f2618 !important; font-weight: 700 !important; }

/* PRODUCT PAGE */
.lpux-trust--product { display: none !important; }
.single-product .summary .product_title { font-size: 26px !important; line-height: 1.25 !important; font-weight: 700 !important; color: #1f2618 !important; }
.single-product .summary .price ins .amount,
.single-product .summary .price > .amount { font-size: 28px !important; font-weight: 800 !important; }
.single-product .woocommerce-product-gallery img { border-radius: 10px; }
.single-product .woocommerce-product-gallery { border: 1px solid #e4e7e0; border-radius: 12px; overflow: hidden; }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single-product form.cart .quantity { margin: 0 !important; }
.single-product form.cart .qty-box { border: 1px solid #cfd4c9 !important; border-radius: 8px !important; height: 52px; display: flex; align-items: center; overflow: hidden; background: #fff; }
.single-product form.cart .qty-box input.qty { border: 0 !important; height: 50px !important; font-weight: 700; color: #1f2618; }
.single-product .single_add_to_cart_button { background: #3f7a08 !important; border-color: #3f7a08 !important; border-radius: 8px !important; font-size: 16px !important; font-weight: 700 !important; min-width: 220px; box-shadow: 0 6px 16px rgba(63,122,8,.25); }
.single-product .single_add_to_cart_button:hover { background: #2f5c06 !important; }
.single-product .lp-delivery-info { background: #f6f7f4 !important; border: 1px solid #e4e7e0 !important; border-radius: 10px !important; padding: 14px 16px !important; }
.single-product .woocommerce-tabs ul.tabs li a { font-size: 16px !important; }
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3 { color: #1f2618; font-weight: 700; }
.single-product .woocommerce-tabs .panel { color: #3d4238; font-size: 15px; line-height: 1.7; }
.single-product .product_meta a { color: #3f7a08 !important; }

/* CATEGORY / SHOP */
.woocommerce-products-header__title, .page-header .entry-title { color: #1f2618; font-weight: 700; }
.mf-catalog-sidebar .widget, .catalog-sidebar .widget, #primary-sidebar.catalog-sidebar .widget { border-radius: 10px; }
.shop-toolbar select, .woocommerce-ordering select { border: 1px solid #cfd4c9 !important; border-radius: 8px !important; height: 40px; }
ul.products li.product .price ins { color: #d93a0f !important; }
@media (max-width: 767px) {
	.single-product .summary .product_title { font-size: 22px !important; }
	.single-product .single_add_to_cart_button { flex: 1; min-width: 0; }
}
/* MOBILE */
@media (max-width: 991px) {
	.footer-layout .footer-widgets,
	.footer-layout .footer-widgets .widget { text-align: left !important; }
	.footer-layout .footer-widgets .widget-title,
	.footer-layout .footer-widgets .widget .widget-title,
	.footer-layout .footer-widgets h4.widget-title { font-size: 16px !important; line-height: 1.3 !important; text-align: left !important; margin: 0 0 12px !important; }
	.footer-layout .footer-widgets .footer-sidebar { padding-top: 20px !important; border-top: 1px solid #e4e7e0; }
	.footer-layout .footer-widgets .footer-sidebar.footer-1 { border-top: 0; padding-top: 0 !important; }
	.lpux-subhead, .lpux-note { text-align: left !important; }
	.lpux-logos { justify-content: flex-start; }
	.footer-layout .footer-4 .widget, .footer-layout .footer-4 label { text-align: left !important; }
	.footer-layout .social-links-widget .social-links { justify-content: flex-start; }
}
@media (max-width: 767px) {
	.home .martfury-icons-list { padding: 8px 4px; }
	.home .martfury-icons-list .icons-list,
	.home .martfury-icons-list > ul,
	.home .martfury-icons-list > div { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px; }
	.home .martfury-icons-list li.martfury-icon-box { width: auto !important; margin: 0 !important; padding: 10px 8px !important; border: 0 !important; }
	.home .martfury-icons-list .mf-icon,
	.home .martfury-icons-list i { font-size: 26px !important; }
	.home .martfury-icons-list .box-title { font-size: 13px !important; line-height: 1.3 !important; }
	.home .martfury-icons-list .desc { font-size: 12px !important; }
	.home .martfury-icons-list li.martfury-icon-box .mf-icon { margin-right: 8px !important; }
	.home .vc_row:has(.mf-image-box) > .container > .row,
	.home .vc_row:has(.mf-image-box) > .row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 !important; }
	.home .vc_row:has(.mf-image-box) .wpb_column { width: auto !important; float: none !important; padding: 0 !important; }
	.home .vc_row:has(.mf-image-box) .martfury-empty-space { display: none; }
	.home .mf-image-box img { max-height: 90px; width: auto !important; margin: 0 auto; }
	.home .mf-image-box .b-title, .home .mf-image-box h3, .home .mf-image-box .box-title { font-size: 12px !important; line-height: 1.3 !important; }
}
@media (max-width: 767px) {
	.home .martfury-icons-list ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 !important; padding: 0 !important; }
	.home .martfury-icons-list ul::before, .home .martfury-icons-list ul::after { content: none !important; display: none !important; }
	.home .martfury-icons-list li.martfury-icon-box { float: none !important; display: flex !important; align-items: flex-start; }
	.home .vc_row:has(.mf-image-box) .row::before, .home .vc_row:has(.mf-image-box) .row::after { content: none !important; display: none !important; }
	.home .vc_row:has(.mf-image-box) .vc_column-inner { padding: 0 !important; height: 100%; }
	.home .vc_row:has(.mf-image-box) .wpb_wrapper { height: 100%; }
	.home .vc_row:has(.mf-image-box) .mf-image-box { width: 100% !important; height: 100%; margin: 0 !important; padding: 8px 6px 10px !important; }
}

/* v1.0.2 — blog/recipe grid: natural heights, button never overlaps text */
.home .vc_pageable-slide-wrapper { display: flex !important; flex-wrap: wrap; }
.home .vc_pageable-slide-wrapper::before, .home .vc_pageable-slide-wrapper::after { content: none !important; }
.home .vc_pageable-slide-wrapper > .vc_grid-item { display: flex !important; float: none !important; }
.home .vc_grid-item .vc_grid-item-mini { display: flex !important; flex-direction: column; width: 100%; height: auto !important; }
.home .vc_grid-item .vc_gitem-zone-c,
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem-zone-mini,
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem_row,
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem-col { height: auto !important; min-height: 0 !important; position: static !important; }
.home .vc_grid-item .vc_gitem-zone-c { flex: 1; display: flex; flex-direction: column; }
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem-zone-mini,
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem_row,
.home .vc_grid-item .vc_gitem-zone-c .vc_gitem-col { flex: 1; display: flex !important; flex-direction: column; }
.home .vc_grid-item .wpb_btn-container { margin-top: auto !important; padding-top: 14px; position: static !important; }
.home .vc_grid-item a.wpb_btn { position: static !important; }

/* v1.0.2 — steps: keep connector off the labels */
.lpux-step-label { margin-right: 14px; }

/* v1.0.2 — checkout summary card: one clean card, no double borders */
.woocommerce-checkout #order_review { padding: 20px !important; }
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table { border: 0 !important; background: transparent !important; margin-bottom: 8px; }
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td { padding-left: 0 !important; padding-right: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { background: transparent !important; padding: 0 !important; }
.woocommerce-checkout #payment .place-order { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { font-size: 13px; color: #6f746a; }

/* v1.0.2 — free-shipping progress bar */
.lp-free-shipping { display: none !important; }
.lpux-ship { background: #fff; border: 1px solid #e4e7e0; border-radius: 12px; padding: 16px 18px 30px; margin: 0 0 24px; }
.lpux-ship__msg { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px !important; font-size: 15px; color: #1f2618; line-height: 1.4; }
.lpux-ship__msg svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: #3f7a08; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lpux-ship__msg .amount { font-weight: 800; color: #1f2618; }
.lpux-ship__link { color: #3f7a08 !important; font-weight: 700; text-decoration: none; margin-left: auto; white-space: nowrap; }
.lpux-ship__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lpux-ship__track { position: relative; height: 10px; border-radius: 999px; background: #eceee8; }
.lpux-ship__fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #7cbf2a, #3f7a08); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.lpux-ship__mark { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid #cfd4c9; box-sizing: border-box; }
.lpux-ship__mark.is-on { border-color: #3f7a08; background: #3f7a08; }
.lpux-ship__mark--end { margin-left: -16px; }
.lpux-ship__mark em { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: #6f746a; white-space: nowrap; }
.lpux-ship__mark--end em { left: auto; right: -2px; transform: none; }
.lpux-ship--c { border-color: #b9dc8f; background: #f4faec; }
.lpux-ship--compact { padding: 12px 12px 26px; margin: 0 0 12px; border-radius: 10px; }
.lpux-ship--compact .lpux-ship__msg { font-size: 13px; margin-bottom: 10px !important; }
.lpux-ship--compact .lpux-ship__msg svg { width: 18px; height: 18px; flex-basis: 18px; }
@media (max-width: 600px) { .lpux-ship__link { margin-left: 0; } }

/* v1.0.3 — mobile menu info links */
.primary-mobile-nav .lpux-mobile-extra--first { margin-top: 10px; border-top: 6px solid #f3f4f1 !important; }
.primary-mobile-nav .lpux-mobile-extra > a { font-weight: 600; color: #3f7a08 !important; }
