/* =========================================================
   Lada Moment – design (rugged off-road)
   Fonts and palette are set in Astra settings (scripts/apply-design-settings.php).
   ========================================================= */
:root {
	--lm-red: #dc143c;
	--lm-red-dark: #b3102f;
	--lm-ink: #121211;
	--lm-ink-2: #1d1d1b;
	--lm-ink-line: #34332f;
	--lm-sand: #f4f2ed;
	--lm-paper: #fbfaf7;
	--lm-text: #2b2a27;
	--lm-muted: #6f6c64;
	--lm-line: #e3dfd6;
	--lm-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--lm-ease: cubic-bezier(.22, 1, .36, 1);
	--lm-space: clamp(56px, 8vw, 112px);
}

html, body { overflow-x: clip; }
body { background: var(--lm-sand); color: var(--lm-text); }
h1, h2, h3, h4, .entry-title, .woocommerce-loop-product__title, .product_title {
	font-family: var(--lm-cond);
	letter-spacing: .01em;
}
h1, h2, .entry-title, .product_title { line-height: 1; }
::selection { background: var(--lm-red); color: #fff; }
a { transition: color .2s var(--lm-ease); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .ast-button, .button, button.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, input[type=submit], .wp-block-search__button {
	font-family: var(--lm-cond) !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	border-radius: 2px !important;
	padding: 14px 26px !important;
	line-height: 1.1 !important;
	transition: background-color .2s var(--lm-ease), color .2s var(--lm-ease), border-color .2s var(--lm-ease), transform .2s var(--lm-ease);
}
.wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	border: 2px solid currentColor !important;
	color: inherit !important;
	padding: 12px 24px !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--lm-red) !important; color: var(--lm-red) !important; }

/* ---------- Header ---------- */
.ast-primary-header-bar, .main-header-bar, #ast-mobile-header .ast-primary-header-bar {
	background: var(--lm-ink) !important;
	border-bottom: 1px solid var(--lm-ink-line) !important;
}
.ast-theme-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header #ast-mobile-header .ast-primary-header-bar {
	background: linear-gradient(180deg, rgba(10, 10, 9, .85), rgba(10, 10, 9, 0)) !important;
	border-bottom: 0 !important;
}
.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link {
	font-family: var(--lm-cond);
	font-weight: 600;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--lm-sand) !important;
	position: relative;
}
.ast-desktop .main-header-menu > .menu-item > .menu-link::after {
	content: ''; position: absolute; left: 1em; right: 1em; bottom: 6px; height: 2px;
	background: var(--lm-red); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--lm-ease);
}
.ast-desktop .main-header-menu > .menu-item:hover > .menu-link::after,
.ast-desktop .main-header-menu > .current-menu-item > .menu-link::after { transform: scaleX(1); }
.ast-header-search .astra-search-icon, .ast-header-search .ast-icon svg,
.ast-site-header-cart .ast-icon svg, .ast-site-header-cart .astra-icon { color: var(--lm-sand) !important; fill: var(--lm-sand) !important; }
.ast-site-header-cart .ast-addon-cart-wrap {
	border: 0 !important; background: transparent !important; padding: 6px 4px !important;
}
.ast-site-header-cart .ast-woo-header-cart-info-wrap {
	font-family: var(--lm-cond); font-weight: 600; font-size: 17px; letter-spacing: .04em; color: var(--lm-sand) !important;
}
.ast-site-header-cart .ast-icon-shopping-bag .count, .astra-icon.astra-icon::after, .ast-cart-menu-wrap .count {
	background: var(--lm-red) !important; color: #fff !important; border-color: var(--lm-red) !important;
}
.ast-mobile-menu-trigger-fill { background: var(--lm-red) !important; border-radius: 2px !important; }
.ast-mobile-popup-drawer .ast-mobile-popup-inner { background: var(--lm-ink); }
.ast-mobile-popup-drawer .menu-link { color: var(--lm-sand) !important; border-color: var(--lm-ink-line) !important; }

/* ---------- Page banners + breadcrumbs ---------- */
.ast-primary-header-bar { margin-bottom: 0 !important; }
.site-footer [data-section^="section-fb-html"], .site-footer .ast-builder-html-element { text-align: left !important; }
#secondary .wc-block-product-filter-price-slider input[type=text], #secondary .wc-block-price-filter__amount, #secondary input.wc-block-components-price-slider__amount { width: 96px !important; min-width: 96px; }
.ast-archive-entry-banner, .ast-single-entry-banner[data-banner-layout="layout-2"] {
	background: var(--lm-ink) !important;
	padding: clamp(40px, 6vw, 72px) 0 !important;
}
.ast-archive-entry-banner h1, .ast-archive-entry-banner .ast-container > *, .ast-single-entry-banner h1 {
	color: var(--lm-sand) !important;
	font-size: clamp(40px, 6vw, 72px);
	text-align: left;
}
.ast-archive-entry-banner .ast-container { display: block; }
.ast-breadcrumbs-wrapper, .ast-breadcrumbs-wrapper + * { font-size: 14px; }
.ast-breadcrumbs-wrapper { padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.ast-breadcrumbs-wrapper, .ast-breadcrumbs-wrapper a { color: var(--lm-muted) !important; }
.ast-breadcrumbs-wrapper a:hover { color: var(--lm-red) !important; }

/* ---------- Containers: drop the white boxes ---------- */
.ast-separate-container .ast-article-single, .ast-separate-container .ast-woocommerce-container,
.ast-separate-container .ast-article-post, .ast-separate-container #primary .ast-article-single,
.ast-separate-container .comments-area, .ast-separate-container .ast-archive-description {
	background: transparent !important;
	box-shadow: none !important;
}
.ast-separate-container.woocommerce .ast-woocommerce-container,
.ast-separate-container.single-product .ast-article-single { padding: 0 !important; }
.ast-separate-container #content > .ast-container { max-width: 1240px; }

/* ---------- Product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(var(--lm-cols, 4), minmax(0, 1fr)) !important;
	gap: 28px 24px;
	margin: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products.columns-3 { --lm-cols: 3; }
.ast-left-sidebar.woocommerce ul.products { --lm-cols: 3; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	display: flex; flex-direction: column;
	background: var(--lm-paper);
	border: 1px solid var(--lm-line);
	transition: border-color .25s var(--lm-ease), transform .25s var(--lm-ease), box-shadow .25s var(--lm-ease);
}
.woocommerce ul.products li.product:hover {
	border-color: var(--lm-ink);
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -18px rgba(18, 18, 17, .45);
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { overflow: hidden; background: #e9e6df; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
	aspect-ratio: 1; object-fit: cover; margin: 0 !important; width: 100%;
	transition: transform .5s var(--lm-ease);
}
.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.04); }
.woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px;
}
.woocommerce ul.products li.product .ast-woo-product-category {
	font-family: var(--lm-cond); font-weight: 600; font-size: 13px;
	text-transform: uppercase; letter-spacing: .1em; color: var(--lm-red); margin-bottom: 6px; opacity: 1;
}
body .woocommerce ul.products li.product h2.woocommerce-loop-product__title, body.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
	font-family: var(--lm-cond) !important; font-weight: 700; font-size: 21px !important;
	line-height: 1.1 !important; text-transform: none; color: var(--lm-ink); margin-bottom: 10px !important;
}
.woocommerce ul.products li.product .price {
	font-family: var(--lm-cond); font-weight: 700; font-size: 22px !important; color: var(--lm-ink) !important;
	margin: auto 0 14px !important;
}
.woocommerce ul.products li.product .button {
	margin-top: 0 !important; width: 100%; text-align: center;
	background: var(--lm-ink) !important; color: var(--lm-sand) !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--lm-red) !important; color: #fff !important; }
.woocommerce ul.products li.product .added_to_cart { font-size: 14px; margin-top: 8px; }

/* Category tiles */
body .woocommerce ul.products li.product-category a .woocommerce-loop-category__title { left: 0 !important; right: auto !important; top: auto !important; bottom: auto !important; }
.woocommerce ul.products li.product-category { background: var(--lm-ink); border-color: var(--lm-ink); }
.woocommerce ul.products li.product-category > a { display: flex; flex-direction: column; flex: 1; position: relative; color: var(--lm-sand); }
.woocommerce ul.products li.product-category img {
	aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto !important; flex: 0 0 auto; margin: 0 !important; opacity: .92;
	transition: transform .5s var(--lm-ease), opacity .3s;
}
.woocommerce ul.products li.product-category:hover img { transform: scale(1.04); opacity: 1; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: relative !important; transform: none !important; width: auto !important; left: auto !important; bottom: auto !important; box-shadow: none !important; line-height: 1.1 !important;
	font-family: var(--lm-cond) !important; font-size: 20px !important; text-transform: uppercase; letter-spacing: .04em;
	color: var(--lm-sand) !important; padding: 14px 18px !important; margin: 0 !important; background: var(--lm-ink) !important;
	display: block; text-align: left !important; padding-right: 48px !important; flex: 1;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count {
	display: block; margin-top: 4px; background: none !important; color: rgba(244, 242, 237, .58) !important; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title::after {
	content: '→'; position: absolute; right: 18px; bottom: 16px; color: var(--lm-red); transition: transform .25s var(--lm-ease);
}
.woocommerce ul.products li.product-category:hover .woocommerce-loop-category__title::after { transform: translateX(4px); }

/* ---------- Shop page ---------- */
.woocommerce-result-count, .woocommerce-ordering select { font-size: 15px; color: var(--lm-muted); }
.woocommerce-ordering select { background-color: var(--lm-paper); border: 1px solid var(--lm-line); border-radius: 2px; }
#secondary .widget { background: transparent !important; padding: 0 0 28px !important; margin: 0 0 28px !important; border-bottom: 1px solid var(--lm-line); box-shadow: none !important; }
#secondary .widget h2, #secondary .wp-block-heading, #secondary .wp-block-search__label {
	font-family: var(--lm-cond); font-size: 20px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--lm-ink);
}
#secondary input[type=search], #secondary input[type=text], #secondary input[type=number] {
	border: 1px solid var(--lm-line); background: var(--lm-paper); border-radius: 2px;
}
.wc-block-product-filters__open-overlay {
	background: var(--lm-ink) !important; color: var(--lm-sand) !important; border-radius: 2px !important;
	font-family: var(--lm-cond) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 12px 20px !important;
}
.woocommerce-pagination ul.page-numbers li .page-numbers { border-radius: 2px; font-family: var(--lm-cond); font-weight: 700; }

/* ---------- Single product ---------- */
.single-product div.product .product_title {
	font-size: clamp(34px, 4.5vw, 56px) !important; font-weight: 700 !important; color: var(--lm-ink); margin-bottom: 14px;
}
.single-product div.product .single-product-category a, .single-product div.product .ast-woo-product-category {
	font-family: var(--lm-cond); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--lm-red);
}
.single-product div.product p.price, .single-product div.product span.price {
	font-family: var(--lm-cond); font-weight: 700; font-size: 34px !important; color: var(--lm-ink) !important;
}
.single-product div.product form.cart { display: flex; gap: 10px; align-items: stretch; padding: 18px 0; border-top: 1px solid var(--lm-line); border-bottom: 1px solid var(--lm-line); }
.single-product div.product form.cart .quantity .qty { height: 100%; min-height: 50px; border-radius: 2px; border: 1px solid var(--lm-line); background: var(--lm-paper); }
.single-product div.product form.cart .single_add_to_cart_button { flex: 1; max-width: 320px; padding: 16px 30px !important; }
.single-product .woocommerce-tabs ul.tabs li a { font-family: var(--lm-cond); font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.single-product .related.products > h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 76px !important; flex: 0 0 76px; margin: 0 !important; }

/* ---------- Home sections ---------- */
.lm-wrap { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.lm-section { padding-top: var(--lm-space); padding-bottom: 0; }
.lm-section--tight { padding-top: clamp(48px, 6vw, 88px); }
.lm-kicker {
	font-family: var(--lm-cond); font-weight: 600; font-size: 15px; text-transform: uppercase;
	letter-spacing: .22em; color: var(--lm-red); margin: 0 0 14px !important;
	display: flex; align-items: center; gap: 12px;
}
.lm-kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.lm-title { font-size: clamp(36px, 5vw, 60px) !important; margin: 0 !important; color: var(--lm-ink); }
.lm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--lm-ink); }
.lm-more { margin: 0 !important; font-family: var(--lm-cond); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; }
.lm-more a { color: var(--lm-ink); text-decoration: none; }
.lm-more a:hover { color: var(--lm-red); }
.lm-section--tight > .lm-title { margin-bottom: 28px !important; padding-bottom: 16px; border-bottom: 2px solid var(--lm-ink); }
.lm-red { color: var(--lm-red); }
.lm-actions { gap: 12px; }

/* Hero */
.lm-hero { position: relative; min-height: min(100svh, 780px); display: flex; align-items: center; background: var(--lm-ink); overflow: hidden; margin-top: 0 !important; margin-bottom: 0 !important; }
.lm-hero__bg { position: absolute !important; inset: 0; margin: 0 !important; }
.lm-hero .lm-hero__bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 60%; }
.lm-hero::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(12, 12, 11, .9) 0%, rgba(12, 12, 11, .62) 45%, rgba(12, 12, 11, .1) 100%),
		linear-gradient(0deg, rgba(12, 12, 11, .75) 0%, rgba(12, 12, 11, 0) 50%);
}
.lm-hero__content { position: relative; z-index: 1; width: 100%; padding-top: 128px; padding-bottom: 48px; color: var(--lm-sand); }
.lm-hero__title {
	font-size: clamp(44px, min(6vw, 10.5vh), 96px) !important; line-height: .92 !important; font-weight: 800;
	color: var(--lm-sand) !important; max-width: 11ch; margin: 0 0 24px !important;
}
.lm-hero__lead { max-width: 60ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: rgba(244, 242, 237, .86); margin: 0 0 26px !important; }
.lm-hero .is-style-outline > .wp-block-button__link { color: var(--lm-sand) !important; }
.lm-hero > * , .lm-hero__content > * { animation: lm-rise .9s var(--lm-ease) both; }
.lm-hero__content > :nth-child(2) { animation-delay: .08s; }
.lm-hero__content > :nth-child(3) { animation-delay: .16s; }
.lm-hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes lm-rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .lm-hero__content > * { animation: none; } }

/* Trust strip */
.lm-trust {
	list-style: none; width: 100vw; max-width: none !important; margin: 0 calc(50% - 50vw) !important; padding: 0 max(24px, calc((100vw - 1192px) / 2)); box-sizing: border-box;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--lm-ink-2); color: var(--lm-sand); border-top: 3px solid var(--lm-red);
}
.lm-trust li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-left: 1px solid var(--lm-ink-line); }
.lm-trust li:first-child { border-left: 0; padding-left: 0; }
.lm-trust svg { width: 30px; height: 30px; flex: 0 0 30px; fill: none; stroke: var(--lm-red); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.lm-trust strong { display: block; font-family: var(--lm-cond); font-size: 18px; text-transform: uppercase; letter-spacing: .05em; }
.lm-trust span { font-size: 14px; line-height: 1.35; color: rgba(244, 242, 237, .7); }

/* Dark about band */
.lm-dark { background: var(--lm-ink); color: rgba(244, 242, 237, .82); margin-top: clamp(56px, 7vw, 96px) !important; padding: var(--lm-space) 0; }
.lm-dark .lm-title { color: var(--lm-sand); margin-bottom: 22px !important; }
.lm-dark .is-style-outline > .wp-block-button__link { color: var(--lm-sand) !important; }
.lm-about { gap: clamp(32px, 6vw, 96px) !important; align-items: center !important; }
.lm-about__img { margin: 0 !important; position: relative; }
.lm-about__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lm-about__img::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--lm-red); z-index: 0; }
.lm-about__img img { position: relative; z-index: 1; }
.lm-about__text p { font-size: 18px; line-height: 1.7; max-width: 56ch; }

/* Stories (lada-moment-gallery plugin) */
.lm-stories .lada-gallery-header { text-align: left; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--lm-ink); }
.lm-stories .lada-gallery-section { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.lm-stories .lada-gallery-title { font-size: clamp(36px, 5vw, 60px) !important; margin: 0 0 6px; color: var(--lm-ink); }
.lm-stories .lada-gallery-title::after { display: none !important; }
.lm-stories .lada-gallery-subtitle { margin: 0; color: var(--lm-muted); }
.lm-stories .lada-gallery-grid { display: block !important; }
.lm-stories .lada-card {
	display: grid !important; grid-template-columns: 1.25fr 1fr; background: var(--lm-ink) !important; color: var(--lm-sand);
	border-radius: 0 !important; overflow: hidden; box-shadow: none !important; max-width: none !important;
}
.lm-stories .lada-card__image { margin: 0 !important; height: 100%; }
.lm-stories .lada-card__image img { width: 100%; height: 100% !important; min-height: 380px; object-fit: cover; mask-image: none !important; -webkit-mask-image: none !important; }
.lm-stories .lada-card__image::after { display: none !important; }
.lm-stories .lada-card__content { padding: clamp(28px, 4vw, 56px) !important; display: flex; flex-direction: column; justify-content: center; }
.lm-stories .lada-card__title { font-size: clamp(28px, 3vw, 40px) !important; color: var(--lm-sand) !important; line-height: 1.02; margin: 0 0 18px; }
.lm-stories .lada-card__desc { color: rgba(244, 242, 237, .8) !important; font-size: 17px; font-style: normal !important; border-left: 3px solid var(--lm-red); padding-left: 16px; }
.lm-stories .lada-card__quote-author { display: block; margin-top: 10px; color: var(--lm-red) !important; font-family: var(--lm-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; font-style: normal; }
.lm-stories .lada-card__btn { align-self: flex-start; margin-top: 18px; border-radius: 2px !important; background: var(--lm-red) !important; font-family: var(--lm-cond); text-transform: uppercase; letter-spacing: .08em; }
.lm-stories .lada-card__meta { display: none !important; }

/* Blog cards */
.lm-posts.wp-block-latest-posts { gap: 24px; margin: 0 !important; padding: 0; }
.lm-posts.wp-block-latest-posts.is-grid li { margin: 0 !important; width: auto !important; background: var(--lm-paper); border: 1px solid var(--lm-line); display: flex; flex-direction: column; }
.lm-posts.is-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-posts .wp-block-latest-posts__featured-image { margin: 0 !important; overflow: hidden; }
.lm-posts .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s var(--lm-ease); }
.lm-posts li:hover .wp-block-latest-posts__featured-image img { transform: scale(1.04); }
.lm-posts .wp-block-latest-posts__post-title { display: block; padding: 18px 20px 0; font-family: var(--lm-cond); font-weight: 700; font-size: 23px; line-height: 1.1; color: var(--lm-ink); text-decoration: none; }
.lm-posts .wp-block-latest-posts__post-title:hover { color: var(--lm-red); }
.lm-posts .wp-block-latest-posts__post-date { padding: 8px 20px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); }
.lm-posts .wp-block-latest-posts__post-excerpt { padding: 8px 20px 20px; margin: 0; font-size: 15px; color: var(--lm-muted); }
.lm-posts .wp-block-latest-posts__post-excerpt a { display: none; }

/* Gallery */
.lm-section .gallery { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 !important; }
.lm-section .gallery br { display: none; }
.lm-section .gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden; }
.lm-section .gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 0 !important; display: block; transition: transform .5s var(--lm-ease), filter .3s; }
.lm-section .gallery .gallery-item:hover img { transform: scale(1.05); }

/* CTA */
.lm-cta { position: relative; overflow: hidden; background: var(--lm-ink); margin-top: clamp(56px, 7vw, 96px) !important; padding: var(--lm-space) 0; text-align: left; }
.lm-cta__bg { position: absolute !important; inset: 0; margin: 0 !important; }
.lm-cta .lm-cta__bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 45%; }
.lm-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 11, .92), rgba(12, 12, 11, .55)); }
.lm-cta__content { position: relative; z-index: 1; color: rgba(244, 242, 237, .85); }
.lm-cta__content .lm-title { color: var(--lm-sand); margin-bottom: 18px !important; }
.lm-cta__content p { max-width: 56ch; font-size: 18px; margin-bottom: 28px; }
.lm-cta .is-style-outline > .wp-block-button__link { color: var(--lm-sand) !important; }

/* ---------- Content pages ---------- */
.entry-content p.wp-block-spectra-content { font-size: clamp(17px, 1.3vw, 19px) !important; line-height: 1.75 !important; letter-spacing: 0 !important; text-align: left !important; width: 100%; max-width: 68ch; margin-left: auto; margin-right: auto; padding-left: 0 !important; padding-right: 0 !important; font-weight: 400 !important; }
.entry-content .wp-block-gallery:has(> figure:only-child) { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.blog .ast-article-post, .archive .ast-article-post { background: var(--lm-paper) !important; border: 1px solid var(--lm-line); }
.blog .entry-title a, .archive .entry-title a { font-family: var(--lm-cond); color: var(--lm-ink); }
.blog .ast-blog-featured-section img, .archive .ast-blog-featured-section img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* ---------- Checkout (CartFlows) + page titles ---------- */
.cartflows-instant-checkout .main-header--wrapper { background: var(--lm-ink) !important; border-bottom: 3px solid var(--lm-red); }
.cartflows-instant-checkout .main-header--wrapper, .cartflows-instant-checkout .main-header--content, .cartflows-instant-checkout .main-header--site-logo { height: auto !important; max-height: none !important; overflow: visible !important; }
.cartflows-instant-checkout .main-header--content { padding: 14px 0; }
.cartflows-instant-checkout .main-header--site-logo img.custom-logo, .cartflows-instant-checkout .main-header--site-logo .custom-logo-link { width: 220px !important; max-width: none !important; height: auto !important; }
.cartflows-instant-checkout #place_order { background: var(--lm-red) !important; font-size: 18px !important; padding: 18px 28px !important; }
.cartflows-instant-checkout h3, .cartflows-instant-checkout .wcf-customer-info-main-wrapper h3 { font-family: var(--lm-cond) !important; text-transform: uppercase; letter-spacing: .04em; }
.page .entry-header .entry-title { font-size: clamp(36px, 5vw, 56px); color: var(--lm-ink); }

/* ---------- Forms (SureForms) ---------- */
.srfm-form-container { background: transparent !important; padding: 0 !important; box-shadow: none !important; }
.srfm-form .srfm-input-common, .srfm-form input, .srfm-form textarea { border-radius: 2px !important; background: var(--lm-paper) !important; border-color: var(--lm-line) !important; font-family: inherit !important; }
.srfm-form .srfm-submit-button {
	font-family: var(--lm-cond) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .08em;
	border-radius: 2px !important; padding: 14px 30px !important; color: #fff !important;
}

/* ---------- Footer ---------- */
.site-footer, .site-primary-footer-wrap, .site-below-footer-wrap {
	background: var(--lm-ink) !important; color: rgba(244, 242, 237, .72) !important;
}
.site-primary-footer-wrap { padding: 64px 0 40px !important; border-top: 3px solid var(--lm-red); }
.site-below-footer-wrap { border-top: 1px solid var(--lm-ink-line) !important; padding: 18px 0 !important; font-size: 14px; }
.site-footer a, .site-footer .menu-link { color: var(--lm-sand) !important; }
.site-footer a:hover { color: var(--lm-red) !important; }
.site-footer .footer-widget-area .menu-link, .site-footer .ast-builder-menu .menu-link {
	font-family: var(--lm-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 17px;
}
.site-footer .astra-footer-horizontal-menu { flex-direction: column; align-items: flex-start; justify-content: start !important; justify-items: start !important; }
.site-footer .site-footer-section { justify-content: flex-start !important; text-align: left !important; align-items: flex-start !important; }
.site-footer .ast-builder-html-element, .site-footer .ast-builder-html-element p, .site-footer .ast-footer-copyright, .site-footer .ast-footer-copyright p { color: rgba(244, 242, 237, .66) !important; }
.site-footer .ast-builder-menu .menu-item .menu-link { padding: 4px 0 !important; }
.lm-footer-logo { width: 120px; height: auto; margin-bottom: 12px; }
.lm-footer-head { font-family: var(--lm-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lm-sand); margin-bottom: 8px; }
.site-footer .lm-footer-pay { font-size: 14px; color: var(--lm-red) !important; font-family: var(--lm-cond); text-transform: uppercase; letter-spacing: .08em; }
.site-footer .ast-footer-social-wrap .ast-builder-social-element { color: var(--lm-sand) !important; }
.site-footer .ast-footer-social-wrap svg { fill: var(--lm-sand) !important; }

/* ---------- Bug fixes (2026-11-09) ---------- */
/* Envira gallery: lock tiles to 4:3 (thumbnails are not cropped). */
.envira-gallery-wrap .envira-lazy { padding-bottom: 75% !important; height: 0 !important; }
.envira-gallery-wrap .envira-lazy img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
/* Floating cart button hidden: Modern Cart 1.1.1 ignores its own setting. */
.moderncart-floating-cart-button { display: none !important; }
/* Mobile header cart: icon and count only. */
#ast-mobile-header .ast-woo-header-cart-info-wrap { display: none; }
#ast-mobile-header .ast-addon-cart-wrap { border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 921px) {
	.site-footer .footer-nav-wrap, .site-footer .ast-builder-menu, .site-footer .ast-footer-social-wrap, .site-footer .footer-social-inner-wrap { justify-content: flex-start !important; text-align: left !important; }
	.site-footer .menu-item { text-align: left !important; justify-content: flex-start !important; }
	.site-footer .site-footer-section { margin-bottom: 20px; }
	.site-footer .ast-builder-grid-row-container { padding-left: 20px !important; padding-right: 20px !important; }
	.site-footer .ast-footer-copyright { text-align: left !important; }
	.woocommerce.ast-left-sidebar #content > .ast-container { display: flex; flex-direction: column; }
	.woocommerce.ast-left-sidebar #secondary { order: -1; }
	.woocommerce.ast-left-sidebar #secondary { margin: 24px 0 0 !important; }
	.woocommerce.ast-left-sidebar #primary { padding-top: 16px !important; }
	.woocommerce.ast-left-sidebar #secondary .widget { margin-bottom: 1em !important; padding-bottom: 1em !important; }
	.woocommerce ul.products, .ast-left-sidebar.woocommerce ul.products { --lm-cols: 2; gap: 16px 12px; }
	.lm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lm-trust li:nth-child(3) { border-left: 0; padding-left: 0; }
	.lm-trust li { border-top: 1px solid var(--lm-ink-line); }
	.lm-trust li:nth-child(-n+2) { border-top: 0; }
	.lm-posts.is-grid { grid-template-columns: 1fr; }
	.lm-stories .lada-card { grid-template-columns: 1fr; }
	.lm-stories .lada-card__image img { min-height: 240px; }
	.lm-section .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lm-about__img::before { inset: 12px -12px -12px 12px; }
}
@media (max-width: 544px) {
	.woocommerce ul.products li.product .button { font-size: 12px !important; letter-spacing: .02em; padding: 11px 4px !important; white-space: nowrap; }
	.woocommerce ul.products li.product .ast-woo-product-category { font-size: 11px; letter-spacing: .06em; }
	.woocommerce ul.products li.product-category .woocommerce-loop-category__title { font-size: 16px !important; padding: 12px 30px 12px 12px !important; }
	body .woocommerce ul.products li.product-category .woocommerce-loop-category__title::after { right: 10px; bottom: 12px; }
	.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count { font-size: 11px; letter-spacing: .04em; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 12px; }
	body .woocommerce ul.products li.product h2.woocommerce-loop-product__title, body.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-size: 18px !important; }
	.woocommerce ul.products li.product .price { font-size: 19px !important; }
	.woocommerce ul.products li.product .button { padding: 12px 10px !important; font-size: 14px !important; letter-spacing: .04em; }
	.lm-trust { padding: 0 16px; }
	.lm-trust li { padding: 16px 10px; gap: 10px; }
	.lm-trust strong { font-size: 16px; }
	.lm-trust span { font-size: 13px; }
	.lm-hero { min-height: 100svh; }
	.lm-wrap { padding-left: 16px; padding-right: 16px; }
	.lm-section.lm-wrap { padding-left: 0; padding-right: 0; }
}
