/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.2.0
Text Domain:  Avada
*/

:root {
	--shavtieli-focus-outline: #35baf2;
	--shavtieli-ink: #0b1320;
	--shavtieli-accent: #35baf2;
	--shavtieli-shop-accent: #35baf2;
	--shavtieli-shop-ink: #0b1320;
	--shavtieli-shop-muted: #5a6575;
	--shavtieli-shop-line: #dbe2ea;
	--shavtieli-shop-surface: #f4f7fa;
	--shavtieli-shop-price: #2e8b57;
}

.skip-link:focus,
.skip-link:focus-visible {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 999999;
	background: var(--shavtieli-accent);
	color: var(--shavtieli-ink);
	padding: 10px 14px;
	border-radius: 8px;
	outline: 3px solid rgba(53, 186, 242, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ===== English catalog UX / LTR ===== */
html[lang^="en"],
html[lang^="en"] body,
.shavtieli-en-catalog {
	direction: ltr;
	text-align: start;
}

html[lang^="en"] .fusion-builder-row,
html[lang^="en"] .fusion-layout-column,
html[lang^="en"] .fusion-text,
html[lang^="en"] .woocommerce,
html[lang^="en"] .product {
	direction: ltr;
	text-align: start;
}

html[lang^="en"] img,
.shavtieli-en-catalog img {
	max-width: 100%;
	height: auto;
}

/* Hide cart everywhere on EN (desktop + mobile toggle) */
html[lang^="en"] .fusion-header-cart,
html[lang^="en"] .fusion-main-menu-cart,
html[lang^="en"] .fusion-custom-menu-item-contents,
html[lang^="en"] .awb-menu__cart,
html[lang^="en"] .avada-menu-cart,
html[lang^="en"] li.fusion-menu-cart,
html[lang^="en"] .fusion-mobile-menu-icons a[href*="cart"],
html[lang^="en"] .fusion-mobile-nav-holder .fusion-mobile-menu-cart,
html[lang^="en"] .fusion-icon-cart,
html[lang^="en"] a.fusion-icon-cart,
html[lang^="en"] .avada-mobile-cart,
.shavtieli-en-catalog .fusion-mobile-menu-icons .fusion-icon-cart,
.shavtieli-en-catalog .ajax_add_to_cart,
.shavtieli-en-catalog .single_add_to_cart_button,
.shavtieli-en-catalog .add_to_cart_button,
.shavtieli-en-catalog form.cart {
	display: none !important;
}

/* Language item in nav */
.fusion-main-menu .shavtieli-lang-item > a,
.fusion-menu .shavtieli-lang-item > a {
	font-weight: 600;
	text-decoration: none !important;
}

@media (min-width: 1025px) {
	.fusion-main-menu > ul > .shavtieli-lang-item,
	.fusion-menu > .shavtieli-lang-item {
		margin-inline-start: 0.75rem;
	}
}

/* Contact CTA fallback (shop.css overrides on Woo pages) */
.shavtieli-contact-cta {
	margin: 1.25rem 0;
	padding: 1.1rem 1.25rem;
	background: var(--shavtieli-shop-surface);
	border: 1px solid var(--shavtieli-shop-line);
	color: var(--shavtieli-ink);
	border-radius: 10px;
	text-align: start;
}

.shavtieli-contact-cta p,
.shavtieli-contact-cta__text {
	margin: 0 0 0.75rem;
}

.shavtieli-contact-cta a,
.shavtieli-contact-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--shavtieli-accent);
	color: var(--shavtieli-ink) !important;
	padding: 0.75rem 1.35rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	min-height: 44px;
	box-sizing: border-box;
}

.shavtieli-contact-cta a:hover,
.shavtieli-contact-cta a:focus,
.shavtieli-contact-cta__btn:hover,
.shavtieli-contact-cta__btn:focus {
	outline: 3px solid rgba(11, 19, 32, 0.35);
	outline-offset: 2px;
}

/* Shop grid LTR */
html[lang^="en"] .products,
html[lang^="en"] ul.products {
	direction: ltr;
	text-align: start;
}

html[lang^="en"] .products .product {
	text-align: start;
}

/* Laptop / tablet */
@media (min-width: 783px) and (max-width: 1024px) {
	html[lang^="en"] .fusion-fullwidth .fusion-row,
	html[lang^="en"] .fusion-builder-row-inner {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	html[lang^="en"] .fusion-title h1,
	html[lang^="en"] .fusion-title h2,
	html[lang^="en"] h1.entry-title {
		font-size: clamp(1.5rem, 3.2vw, 2.25rem);
		line-height: 1.25;
		overflow-wrap: anywhere;
	}
}

/* Mobile */
@media (max-width: 782px) {
	html[lang^="en"] .fusion-layout-column {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	html[lang^="en"] .fusion-builder-row,
	html[lang^="en"] .fusion-fullwidth {
		padding-left: 0.85rem !important;
		padding-right: 0.85rem !important;
	}

	html[lang^="en"] .fusion-title h1,
	html[lang^="en"] .fusion-title h2,
	html[lang^="en"] h1.entry-title,
	html[lang^="en"] .product_title {
		font-size: clamp(1.35rem, 6vw, 1.85rem);
		line-height: 1.3;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	html[lang^="en"] .fusion-button,
	html[lang^="en"] .shavtieli-contact-cta a,
	html[lang^="en"] .shavtieli-contact-cta__btn {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	html[lang^="en"] .fusion-mobile-nav-holder .shavtieli-lang-item > a,
	html[lang^="en"] .fusion-mobile-menu-design-modern .shavtieli-lang-item > a {
		display: block;
		padding: 0.85rem 1rem;
		font-weight: 700;
	}

	.shavtieli-contact-cta {
		margin: 1rem 0 1.5rem;
	}
}
