/*
Theme Name: LD VISION
Theme URI: https://ldvision.example
Author: LD VISION
Description: قالب موقع LD VISION لحلول العرض البصري: واجهات زجاجية ذكية وشاشات LED شفافة ومرنة للمتاجر والسيارات. يدعم العربية بالكامل ومتجر WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ld-vision
Tags: rtl-language-support, full-site-editing, block-patterns, e-commerce, dark
*/

/* ===== Base ===== */
:root {
	--ldv-glow: 0 0 24px rgba(91, 192, 255, .35), 0 0 2px rgba(150, 215, 255, .6);
	--ldv-line: rgba(160, 200, 255, .14);
	--ldv-radius: 18px;
	--ldv-dots: radial-gradient(rgba(124, 200, 255, .16) 1px, transparent 1.6px);
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: #5bc0ff; color: #05070c; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }

/* ===== Header ===== */
.ldv-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 9, 15, .82);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--ldv-line);
}
.admin-bar .ldv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ldv-header { top: 46px; } }
.ldv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.ldv-brand img { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(91,192,255,.45)); }
.ldv-brand span { font-family: var(--wp--preset--font-family--latin); font-weight: 700; letter-spacing: .14em; font-size: 1.05rem; color: #e8eef6; direction: ltr; }
.ldv-header .wp-block-navigation a { font-weight: 500; opacity: .86; transition: opacity .2s, color .2s; }
.ldv-header .wp-block-navigation a:hover { opacity: 1; color: var(--wp--preset--color--accent); text-decoration: none; }
.ldv-header .wp-block-navigation .current-menu-item > a,
.ldv-header .wp-block-navigation a[aria-current="page"] { color: var(--wp--preset--color--accent); opacity: 1; }
.ldv-header .wp-block-navigation__responsive-container.is-menu-open { background: #07090f !important; padding: 2rem; }
.ldv-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { font-size: 1.3rem; }
.ldv-header .wp-block-woocommerce-mini-cart { color: var(--wp--preset--color--contrast); }
.ldv-header .ldv-cta .wp-block-button__link { padding: .6em 1.2em; font-size: .92rem; }
@media (max-width: 900px) { .ldv-header .ldv-cta { display: none; } }

/* ===== Buttons ===== */
.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { box-shadow: var(--ldv-glow); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid rgba(160, 210, 255, .45); background: transparent; color: var(--wp--preset--color--contrast); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.ldv-wa .wp-block-button__link { background: #1fae5b !important; color: #fff !important; }

/* ===== Section helpers ===== */
.ldv-section { position: relative; }
.ldv-eyebrow {
	display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
	color: var(--wp--preset--color--accent);
	padding: .35em .9em; border: 1px solid rgba(91, 192, 255, .35); border-radius: 999px;
	background: rgba(91, 192, 255, .07);
}
.ldv-muted { color: var(--wp--preset--color--muted); }
.ldv-dots { background-image: var(--ldv-dots); background-size: 22px 22px; }
.ldv-glow-text { text-shadow: 0 0 28px rgba(91, 192, 255, .35); }
.ldv-gradient-text {
	background: linear-gradient(90deg, #e9f4ff 0%, #8fd3ff 45%, #b9a6ff 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent !important;
}

/* ===== Hero ===== */
.ldv-hero.wp-block-cover { min-height: min(88vh, 780px); }
.ldv-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(5,7,12,.25) 0%, rgba(5,7,12,.78) 55%, rgba(5,7,12,.95) 100%) !important; opacity: 1 !important; }
.ldv-hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
	background: linear-gradient(to bottom, transparent, var(--wp--preset--color--base)); pointer-events: none; z-index: 1;
}
.ldv-hero h1 { line-height: 1.25; }
.ldv-page-hero { border-bottom: 1px solid var(--ldv-line); overflow: hidden; }
.ldv-page-hero::before {
	content: ""; position: absolute; inset: 0; background-image: var(--ldv-dots); background-size: 22px 22px;
	mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
	pointer-events: none;
}
.ldv-page-hero > * { position: relative; }

/* ===== Cards ===== */
.ldv-card {
	background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
	border: 1px solid var(--ldv-line); border-radius: var(--ldv-radius);
	transition: border-color .25s, transform .25s, box-shadow .25s;
	height: 100%;
}
.ldv-card:hover { border-color: rgba(91, 192, 255, .4); transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(91,192,255,.35); }
.ldv-card .wp-block-image img { border-radius: 12px; }
.ldv-icon {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	font-size: 1.5rem; line-height: 1; margin: 0 0 1rem !important;
	background: rgba(91,192,255,.1); border: 1px solid rgba(91,192,255,.3); box-shadow: inset 0 0 18px rgba(91,192,255,.15);
}
.wp-block-columns.ldv-equal > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns.ldv-equal > .wp-block-column > .ldv-card { flex: 1; }

/* Feature image framing */
.ldv-frame img { border-radius: var(--ldv-radius); border: 1px solid var(--ldv-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(91,192,255,.25); }

/* Path split cards (business / cars) */
.ldv-path { overflow: hidden; position: relative; }
.ldv-path .wp-block-image { margin: 0 0 1.25rem; }
.ldv-path .wp-block-image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* Steps */
.ldv-steps { counter-reset: ldvstep; }
.ldv-step { position: relative; }
.ldv-step .ldv-num {
	font-family: var(--wp--preset--font-family--latin); font-weight: 700; font-size: 2.6rem; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(124, 200, 255, .7); margin-bottom: .6rem !important;
}

/* Checklist */
.ldv-check { list-style: none; padding: 0 !important; }
.ldv-check li { position: relative; padding-inline-start: 1.9em; margin-bottom: .7em; }
.ldv-check li::before {
	content: "✓"; position: absolute; inset-inline-start: 0; top: .05em;
	width: 1.35em; height: 1.35em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; font-weight: 700;
	color: #05070c; background: var(--wp--preset--color--accent);
}

/* Stat strip */
.ldv-strip { border-top: 1px solid var(--ldv-line); border-bottom: 1px solid var(--ldv-line); background: rgba(255,255,255,.015); }
.ldv-strip p { margin: 0; }

/* CTA band */
.ldv-cta-band {
	border-radius: 28px; border: 1px solid rgba(91,192,255,.3); overflow: hidden;
	background:
		radial-gradient(ellipse at 15% 0%, rgba(91,192,255,.25), transparent 55%),
		radial-gradient(ellipse at 85% 100%, rgba(150,120,255,.2), transparent 55%),
		#0c111b;
}

/* Packages */
.ldv-plan.is-featured { border-color: rgba(91,192,255,.6); box-shadow: 0 0 0 1px rgba(91,192,255,.35), 0 24px 60px -24px rgba(91,192,255,.45); }
.ldv-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: var(--wp--preset--color--accent); color: #05070c; }

/* Notice */
.ldv-note { border-inline-start: 3px solid var(--wp--preset--color--accent); background: rgba(91,192,255,.06); border-radius: 10px; }

/* FAQ */
.ldv-faq details { border: 1px solid var(--ldv-line); border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: .8rem; background: rgba(255,255,255,.02); }
.ldv-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ldv-faq summary::-webkit-details-marker { display: none; }
.ldv-faq summary::after { content: "+"; color: var(--wp--preset--color--accent); font-size: 1.3em; line-height: 1; }
.ldv-faq details[open] summary::after { content: "−"; }
.ldv-faq details p { margin: .8rem 0 0; color: var(--wp--preset--color--muted); }

/* Contact info */
.ldv-contact-list p { margin: 0 0 .4rem; }
.ldv-contact-list a { color: var(--wp--preset--color--contrast); }

/* ===== Footer ===== */
.ldv-footer { border-top: 1px solid var(--ldv-line); background: #05070b; }
.ldv-footer a { color: var(--wp--preset--color--muted); text-decoration: none; }
.ldv-footer a:hover { color: var(--wp--preset--color--accent); }
.ldv-footer .wp-block-heading { letter-spacing: .02em; }
.ldv-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.ldv-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--ldv-line); font-size: .85rem; }
.ldv-social a:hover { border-color: var(--wp--preset--color--accent); }

/* Floating WhatsApp */
.ldv-float-wa {
	position: fixed; bottom: 22px; left: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: #1fae5b; color: #fff; box-shadow: 0 10px 30px -6px rgba(31,174,91,.6);
	transition: transform .2s;
}
.ldv-float-wa:hover { transform: scale(1.08); }
.ldv-float-wa svg { width: 30px; height: 30px; fill: currentColor; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
	.ldv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
	.ldv-reveal.is-visible { opacity: 1; transform: none; }
	.ldv-pulse { animation: ldvPulse 3.2s ease-in-out infinite; }
	@keyframes ldvPulse { 0%,100% { text-shadow: 0 0 18px rgba(91,192,255,.25); } 50% { text-shadow: 0 0 36px rgba(91,192,255,.6); } }
}

/* ===== WooCommerce ===== */
.woocommerce ul.products li.product,
.wc-block-grid__product,
.wc-block-product,
.wp-block-post.product {
	background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
	border: 1px solid var(--ldv-line); border-radius: var(--ldv-radius); padding: 14px 14px 20px !important;
	transition: border-color .25s, transform .25s;
}
.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wp-block-post.product:hover { border-color: rgba(91,192,255,.45); transform: translateY(-4px); }
.woocommerce ul.products li.product img,
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img { border-radius: 12px; background: #0e131d; }
.woocommerce .price, .wc-block-components-product-price, .wp-block-woocommerce-product-price { color: var(--wp--preset--color--accent) !important; font-weight: 700; }
.woocommerce .price del, .wc-block-components-product-price del { color: var(--wp--preset--color--muted) !important; opacity: .7; }
.woocommerce span.onsale, .wc-block-components-product-sale-badge { background: var(--wp--preset--color--accent) !important; color: #05070c !important; border-radius: 999px !important; border: 0 !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce .button,
.wc-block-components-button:not(.is-link), .wp-block-button.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button {
	background: var(--wp--preset--color--accent) !important; color: #05070c !important; border-radius: 999px !important;
	font-weight: 700 !important; border: 0 !important;
}
.woocommerce a.button:hover, .wc-block-components-button:not(.is-link):hover { box-shadow: var(--ldv-glow); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border-color: var(--ldv-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--wp--preset--color--base); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--ldv-line); }
.woocommerce .quantity .qty, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select,
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select {
	background: #0e131d !important; color: var(--wp--preset--color--contrast) !important; border: 1px solid var(--ldv-line) !important; border-radius: 10px !important;
}
.wc-block-components-text-input label { color: var(--wp--preset--color--muted) !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner {
	background: #0e131d !important; color: var(--wp--preset--color--contrast) !important; border-color: var(--wp--preset--color--accent) !important;
}
.wc-block-components-sidebar, .wc-block-components-totals-wrapper, .wc-block-cart-items, .wc-block-components-order-summary { border-color: var(--ldv-line) !important; }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer { background: #0b0f17 !important; color: var(--wp--preset--color--contrast); }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { color: var(--wp--preset--color--muted) !important; font-size: .9rem; }
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { color: var(--wp--preset--color--muted) !important; }
.woocommerce-products-header, .wp-block-query-title { margin-bottom: 1rem; }
.ldv-shop-intro { border-bottom: 1px solid var(--ldv-line); }

/* LED matrix canvas in hero */
.ldv-hero .wp-block-cover__inner-container { position: static; }
.ldv-hero .ldv-led-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ldv-hero .ldv-hero-content { position: relative; z-index: 2; margin-inline-start: 0 !important; }
.ldv-hero::after { z-index: 1; }
@media (max-width: 700px) {
	.ldv-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(5,7,12,.55), rgba(5,7,12,.92)) !important; }
	.ldv-hero .ldv-hero-content { padding-top: 140px !important; }
}
.ldv-eyebrow-wrap { margin-bottom: .2rem; }
.ldv-lead { max-width: 640px; margin-inline: auto; }
.ldv-step .ldv-num { margin-bottom: .2rem; }
.ldv-path .wp-block-buttons { margin-top: auto; }
.ldv-card > .wp-block-buttons:last-child { padding-top: .5rem; }
.ldv-plan { display: flex; flex-direction: column; }
.ldv-plan > .wp-block-buttons { margin-top: auto; }
.ldv-path { display: flex; flex-direction: column; }
.ldv-hero .ldv-hero-content > * { max-width: 620px; margin-inline-start: 0 !important; margin-inline-end: auto !important; }

/* ===== Language switcher ===== */
.ldv-lang { position: relative; }
.ldv-lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
	padding: .45em .8em; border-radius: 999px; border: 1px solid var(--ldv-line);
	font-size: .85rem; font-weight: 700; color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--latin); letter-spacing: .06em;
	transition: border-color .2s;
}
.ldv-lang summary::-webkit-details-marker { display: none; }
.ldv-lang summary:hover, .ldv-lang[open] summary { border-color: var(--wp--preset--color--accent); }
.ldv-lang summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.ldv-lang ul {
	position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 200; min-width: 180px;
	list-style: none; margin: 0; padding: 6px; border-radius: 14px;
	background: #0b0f17; border: 1px solid var(--ldv-line); box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
}
.ldv-lang li a {
	display: flex; align-items: center; gap: 10px; padding: .55em .8em; border-radius: 10px;
	color: var(--wp--preset--color--contrast); text-decoration: none; font-size: .95rem;
}
.ldv-lang li a:hover { background: rgba(91,192,255,.1); }
.ldv-lang li a[aria-current] { color: var(--wp--preset--color--accent); }
.ldv-lang-code { font-family: var(--wp--preset--font-family--latin); font-size: .72rem; font-weight: 700; opacity: .7; min-width: 24px; }

/* ===== Left-to-right languages ===== */
html[dir="ltr"] .ldv-hero .wp-block-cover__background { background: linear-gradient(270deg, rgba(5,7,12,.25) 0%, rgba(5,7,12,.78) 55%, rgba(5,7,12,.95) 100%) !important; }
@media (max-width: 700px) {
	html[dir="ltr"] .ldv-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(5,7,12,.55), rgba(5,7,12,.92)) !important; }
}
html[dir="ltr"] body { letter-spacing: 0; }
html[dir="ltr"] h1, html[dir="ltr"] h2 { letter-spacing: -.01em; }

/* ===== Urdu (Nastaliq) ===== */
html[lang="ur"], html[lang="ur"] body {
	--wp--preset--font-family--body: "Noto Nastaliq Urdu", "IBM Plex Sans Arabic", serif;
	--wp--preset--font-family--heading: "Noto Nastaliq Urdu", "IBM Plex Sans Arabic", serif;
}
html[lang="ur"] body { line-height: 2.25; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4 { line-height: 1.9; font-weight: 700; }
html[lang="ur"] .wp-block-button__link { line-height: 2; padding-top: .55em; padding-bottom: .55em; }

/* Logo artwork sits directly on the page background, without a frame */
.ldv-frame img[src*="logo-full"], img[src*="logo-full"] { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; }

/* ===== Photo gallery ===== */
.ldv-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 1.5rem; }
@media (max-width: 900px) { .ldv-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ldv-gal-item { position: relative; margin: 0; border-radius: var(--ldv-radius); overflow: hidden; border: 1px solid var(--ldv-line); background: #0e131d; aspect-ratio: 1 / 1; }
.ldv-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ldv-gal-item:hover img { transform: scale(1.06); }
.ldv-gal-item figcaption {
	position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; font-size: .9rem; font-weight: 600; color: #fff;
	background: linear-gradient(to top, rgba(5,7,12,.92), transparent);
}
/* Image cards */
.ldv-card-img { margin: 0 0 1rem !important; }
.ldv-card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }

/* Samples-visit banner */
.ldv-demo .ldv-badge { font-size: .85rem; }
.ldv-demo .wp-block-image img { aspect-ratio: 14 / 9; object-fit: cover; width: 100%; }
.ldv-note-text { border-inline-start: 3px solid var(--wp--preset--color--accent); padding: .7rem 1rem; border-radius: 10px; background: rgba(91,192,255,.07); font-size: .95rem; }

/* Currency switcher and notice */
.ldv-cur summary { min-width: 64px; justify-content: center; }
.ldv-cur ul { min-width: 210px; max-height: 70vh; overflow-y: auto; }
.ldv-cur-note { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 10px; font-size: .9rem; border-inline-start: 3px solid var(--wp--preset--color--accent); background: rgba(91,192,255,.08); color: var(--wp--preset--color--contrast); }
@media (max-width: 600px) { .ldv-header .ldv-lang summary span { display: none; } .ldv-header .ldv-cur summary span { display: inline; } }

/* ===== Samples-visit card: compact, on the left ===== */
.ldv-section:has(> .ldv-demo) { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
.ldv-section > .ldv-demo.ldv-demo {
	max-width: 640px !important; margin-left: max(0px, calc((100% - 1240px) / 2)) !important; margin-right: auto !important;
	padding: 18px !important; border-radius: 20px; border-color: rgba(91,192,255,.22);
	background: linear-gradient(135deg, rgba(91,192,255,.10), rgba(167,139,250,.06) 60%, rgba(255,255,255,.02)), #0b1019;
	box-shadow: 0 18px 40px -24px rgba(0,0,0,.8);
}
.ldv-demo .wp-block-columns { gap: 18px !important; margin: 0 !important; align-items: flex-start !important; }
.ldv-demo .wp-block-column:first-child { flex: 0 0 34% !important; }
.ldv-demo .wp-block-image img { aspect-ratio: 1 / 1 !important; border-radius: 14px !important; }
.ldv-demo .wp-block-column > * { margin-top: 0 !important; margin-bottom: .55rem !important; }
.ldv-demo .ldv-badge { font-size: .7rem; padding: .2em .65em; }
.ldv-demo h2 { font-size: 1.2rem !important; line-height: 1.5; }
.ldv-demo p { font-size: .88rem; line-height: 1.7; }
.ldv-demo .ldv-check { display: flex; flex-wrap: wrap; gap: 6px; }
.ldv-demo .ldv-check li {
	margin: 0; padding: .28em .75em; font-size: .74rem; line-height: 1.5; border-radius: 999px;
	border: 1px solid rgba(91,192,255,.28); background: rgba(91,192,255,.06); color: var(--wp--preset--color--steel);
}
.ldv-demo .ldv-check li::before { display: none; }
.ldv-demo .ldv-check li:last-child { display: none; }
.ldv-demo .ldv-note-text { font-size: .8rem; padding: .5rem .75rem; }
.ldv-demo .wp-block-buttons { gap: 8px; }
.ldv-demo .wp-block-button__link { padding: .55em 1.1em !important; font-size: .85rem !important; }
@media (max-width: 781px) {
	.ldv-section > .ldv-demo.ldv-demo { max-width: 100% !important; }
	.ldv-demo .wp-block-column:first-child { flex-basis: 100% !important; }
	.ldv-demo .wp-block-image img { aspect-ratio: 16 / 9 !important; }
}

/* ===== Layout widths that do not depend on generated block CSS (Elementor pages) ===== */
.ldv-section.ldv-section > *,
.ldv-strip.ldv-strip > *,
.ldv-hero .wp-block-cover__inner-container > *:not(.ldv-hero-content):not(.ldv-led-canvas) { max-width: 1240px; margin-left: auto; margin-right: auto; }
.ldv-cta-band.ldv-cta-band:not(.ldv-demo) > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.ldv-faq.ldv-faq > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.ldv-hero .ldv-hero-content { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.elementor .ldv-section > .ldv-demo.ldv-demo { max-width: 640px !important; }

/* =====================================================================
   LIGHT MODE  (html[data-theme="light"])
   Dark is the brand default; the toggle in the header switches themes.
   ===================================================================== */
.ldv-hero {
	/* The hero is always a dark, cinematic stage in both themes */
	--wp--preset--color--contrast: #eef4fb;
	--wp--preset--color--steel: #c9d2dc;
	--wp--preset--color--muted: #a9b4c6;
	color: #eef4fb;
}
html[data-theme="light"],
html[data-theme="light"] body {
	--wp--preset--color--base: #f4f7fb;
	--wp--preset--color--surface: #ffffff;
	--wp--preset--color--contrast: #0c1424;
	--wp--preset--color--muted: #566275;
	--wp--preset--color--accent: #0b7fd1;
	--wp--preset--color--accent-2: #6d4fe0;
	--wp--preset--color--steel: #2c3a4f;
	--ldv-line: rgba(18, 38, 74, .11);
	--ldv-dots: radial-gradient(rgba(11, 127, 209, .13) 1px, transparent 1.6px);
	--ldv-glow: 0 10px 26px -10px rgba(11, 127, 209, .45);
	color-scheme: light;
}
html[data-theme="light"] .ldv-hero { --wp--preset--color--accent: #5bc0ff; }
html[data-theme="light"] ::selection { background: #0b7fd1; color: #fff; }

/* Header & footer */
html[data-theme="light"] .ldv-header { background: rgba(255, 255, 255, .86); box-shadow: 0 6px 24px -18px rgba(12, 20, 36, .45); }
html[data-theme="light"] .ldv-footer { background: #eaf0f7; }
html[data-theme="light"] .ldv-brand img, html[data-theme="light"] .wp-block-site-logo img { filter: drop-shadow(0 2px 6px rgba(11,127,209,.35)); }

/* Buttons: white text on the deeper light-mode blue */
html[data-theme="light"] .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html[data-theme="light"] .wp-element-button:not(.is-style-outline *) { color: #fff; }
html[data-theme="light"] .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #0969ae; color: #fff; }
html[data-theme="light"] .ldv-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { color: #05070c; }
html[data-theme="light"] .wp-block-button.is-style-outline .wp-block-button__link { border-color: rgba(11, 127, 209, .45); }
html[data-theme="light"] .ldv-hero .wp-block-button.is-style-outline .wp-block-button__link { border-color: rgba(160, 210, 255, .5); color: #eef4fb; }

/* Text accents */
html[data-theme="light"] .ldv-gradient-text { background: linear-gradient(90deg, #0c1424 0%, #0b7fd1 50%, #6d4fe0 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .ldv-hero .ldv-gradient-text { background: linear-gradient(90deg, #e9f4ff 0%, #8fd3ff 45%, #b9a6ff 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .ldv-glow-text:not(.ldv-hero *) { text-shadow: none; }
html[data-theme="light"] .ldv-eyebrow { background: rgba(11, 127, 209, .08); border-color: rgba(11, 127, 209, .28); }
html[data-theme="light"] .ldv-step .ldv-num { -webkit-text-stroke: 1px rgba(11, 127, 209, .65); }
html[data-theme="light"] .ldv-check li::before, html[data-theme="light"] .ldv-badge { color: #fff; }

/* Cards & surfaces */
html[data-theme="light"] .ldv-card,
html[data-theme="light"] .woocommerce ul.products li.product,
html[data-theme="light"] .wc-block-product,
html[data-theme="light"] .wp-block-post.product,
html[data-theme="light"] .ldv-faq details {
	background: #fff; border-color: var(--ldv-line); box-shadow: 0 1px 2px rgba(12, 20, 36, .04), 0 12px 32px -22px rgba(12, 20, 36, .35);
}
html[data-theme="light"] .ldv-card:hover,
html[data-theme="light"] .woocommerce ul.products li.product:hover { border-color: rgba(11, 127, 209, .4); box-shadow: 0 22px 44px -24px rgba(11, 127, 209, .45); }
html[data-theme="light"] .ldv-icon { background: rgba(11, 127, 209, .08); border-color: rgba(11, 127, 209, .25); box-shadow: none; }
html[data-theme="light"] .ldv-icon svg { stroke: #0b7fd1; }
html[data-theme="light"] .ldv-strip { background: #fff; }
html[data-theme="light"] .ldv-frame img { box-shadow: 0 26px 50px -30px rgba(12, 20, 36, .55); }
html[data-theme="light"] img[src*="logo-full"] { border-radius: 18px !important; }
html[data-theme="light"] .ldv-gal-item { background: #e7edf5; }

/* CTA band and samples card */
html[data-theme="light"] .ldv-cta-band {
	border-color: rgba(11, 127, 209, .22);
	background:
		radial-gradient(ellipse at 15% 0%, rgba(11, 127, 209, .14), transparent 55%),
		radial-gradient(ellipse at 85% 100%, rgba(109, 79, 224, .12), transparent 55%),
		#ffffff;
	box-shadow: 0 24px 50px -32px rgba(12, 20, 36, .4);
}
html[data-theme="light"] .ldv-section > .ldv-demo.ldv-demo {
	background: linear-gradient(135deg, rgba(11, 127, 209, .08), rgba(109, 79, 224, .05) 60%, transparent), #ffffff;
	border-color: rgba(11, 127, 209, .2);
	box-shadow: 0 18px 40px -26px rgba(12, 20, 36, .45);
}
html[data-theme="light"] .ldv-demo .ldv-check li { color: var(--wp--preset--color--steel); background: rgba(11, 127, 209, .06); border-color: rgba(11, 127, 209, .22); }
html[data-theme="light"] .ldv-note, html[data-theme="light"] .ldv-note-text, html[data-theme="light"] .ldv-cur-note { background: rgba(11, 127, 209, .07); }

/* Dropdowns */
html[data-theme="light"] .ldv-lang ul { background: #fff; box-shadow: 0 22px 44px -18px rgba(12, 20, 36, .35); }
html[data-theme="light"] .ldv-lang li a:hover { background: rgba(11, 127, 209, .08); }

/* WooCommerce */
html[data-theme="light"] .woocommerce ul.products li.product img,
html[data-theme="light"] .wc-block-components-product-image img,
html[data-theme="light"] .wp-block-woocommerce-product-image img { background: #eef2f7; }
html[data-theme="light"] .woocommerce a.button, html[data-theme="light"] .woocommerce button.button, html[data-theme="light"] .woocommerce .button,
html[data-theme="light"] .wc-block-components-button:not(.is-link), html[data-theme="light"] .wc-block-components-product-button__button,
html[data-theme="light"] .woocommerce span.onsale, html[data-theme="light"] .wc-block-components-product-sale-badge { color: #fff !important; }
html[data-theme="light"] .woocommerce .quantity .qty, html[data-theme="light"] .woocommerce input.input-text, html[data-theme="light"] .woocommerce textarea, html[data-theme="light"] .woocommerce select,
html[data-theme="light"] .wc-block-components-text-input input, html[data-theme="light"] .wc-block-components-textarea, html[data-theme="light"] .wc-blocks-components-select__select,
html[data-theme="light"] .woocommerce-info, html[data-theme="light"] .woocommerce-message, html[data-theme="light"] .woocommerce-error, html[data-theme="light"] .wc-block-components-notice-banner { background: #fff !important; }
html[data-theme="light"] .wc-block-mini-cart__drawer .components-modal__content, html[data-theme="light"] .wc-block-mini-cart__drawer { background: #fff !important; }

/* ===== Theme toggle button ===== */
.ldv-theme-toggle {
	position: relative; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; cursor: pointer; padding: 0;
	display: inline-grid; place-items: center; overflow: hidden;
	color: var(--wp--preset--color--contrast); background: transparent; border: 1px solid var(--ldv-line);
	transition: border-color .2s, background .2s, transform .2s;
}
.ldv-theme-toggle:hover { border-color: var(--wp--preset--color--accent); transform: rotate(-12deg); }
.ldv-theme-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.ldv-theme-toggle svg { position: absolute; width: 18px; height: 18px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.ldv-theme-toggle .ldv-sun { opacity: 0; transform: translateY(18px) rotate(-90deg); }
.ldv-theme-toggle .ldv-moon { opacity: 1; transform: none; }
html[data-theme="light"] .ldv-theme-toggle .ldv-sun { opacity: 1; transform: none; color: #f59e0b; }
html[data-theme="light"] .ldv-theme-toggle .ldv-moon { opacity: 0; transform: translateY(-18px) rotate(90deg); }

/* Smooth cross-fade only while switching (never on page load) */
html.ldv-theme-switching, html.ldv-theme-switching *, html.ldv-theme-switching *::before, html.ldv-theme-switching *::after {
	transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, fill .35s ease !important;
}
@media (prefers-reduced-motion: reduce) { html.ldv-theme-switching * { transition: none !important; } }
html[data-theme="light"] { --ldv-on-accent: #ffffff; --ldv-accent-hover: #0969ae; }
html[data-theme="light"] .ldv-hero { --ldv-on-accent: #05070c; --ldv-accent-hover: #8fd3ff; }
/* Light mode: the silver logo sits on a small dark tile so it keeps its glow */
html[data-theme="light"] .wp-block-site-logo img { background: radial-gradient(circle at 50% 45%, #13233a, #070b14 75%); border-radius: 12px; padding: 4px; box-sizing: content-box; filter: none; }

/* ===== WhatsApp order page ===== */
.ldv-order { padding: clamp(2rem, 5vw, 4rem) clamp(16px, 4vw, 40px) clamp(3rem, 7vw, 5rem); }
.ldv-order-wrap { max-width: 1080px; margin: 0 auto; }
.ldv-order-head { text-align: center; margin-bottom: 2rem; }
.ldv-order-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .8rem 0 .4rem; }
.ldv-order-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .ldv-order-grid { grid-template-columns: 1fr; } .ldv-order-summary { order: -1; } }
.ldv-order-card {
	background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--ldv-line);
	border-radius: var(--ldv-radius); padding: clamp(18px, 3vw, 28px);
}
html[data-theme="light"] .ldv-order-card { background: #fff; box-shadow: 0 14px 36px -26px rgba(12,20,36,.4); }
.ldv-order-card h2 { font-size: 1.15rem; margin: 0 0 1rem; }
.ldv-order-form label, .ldv-order-form legend { display: block; font-size: .88rem; font-weight: 600; margin: .9rem 0 .35rem; color: var(--wp--preset--color--steel); }
.ldv-order-form fieldset { border: 0; padding: 0; margin: 0; }
.ldv-order-form input[type="text"], .ldv-order-form input[type="tel"], .ldv-order-form input[type="date"], .ldv-order-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: .95rem; padding: .7em .9em; border-radius: 12px;
	color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface); border: 1px solid var(--ldv-line);
	transition: border-color .2s, box-shadow .2s;
}
.ldv-order-form input:focus, .ldv-order-form textarea:focus { outline: none; border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 3px rgba(91,192,255,.18); }
.ldv-order-row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 10px; align-items: center; }
@media (max-width: 520px) { .ldv-order-row { grid-template-columns: 1fr; } }
.ldv-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.ldv-slots label { margin: 0 !important; cursor: pointer; }
.ldv-slots input { position: absolute; opacity: 0; pointer-events: none; }
.ldv-slots span { display: inline-block; padding: .5em .85em; border-radius: 999px; border: 1px solid var(--ldv-line); font-size: .82rem; font-weight: 600; transition: all .2s; }
.ldv-slots input:checked + span { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--ldv-on-accent, #05070c); }
.ldv-slots input:focus-visible + span { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.ldv-order-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 1.3rem;
	padding: .95em 1.4em; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700; font-size: 1rem;
	background: var(--wp--preset--color--accent); color: var(--ldv-on-accent, #05070c); transition: transform .2s, box-shadow .2s;
}
.ldv-order-btn:hover { transform: translateY(-2px); box-shadow: var(--ldv-glow); }
.ldv-order-btn.ldv-order-wa { background: #1fae5b; color: #fff; }
.ldv-order-btn.ldv-order-wa:hover { box-shadow: 0 12px 28px -10px rgba(31,174,91,.6); }
.ldv-order-btn svg { width: 22px; height: 22px; }
.ldv-order-fine { font-size: .8rem; color: var(--wp--preset--color--muted); text-align: center; margin: .9rem 0 0; }
.ldv-order-summary ul { list-style: none; margin: 0; padding: 0; }
.ldv-order-summary li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--ldv-line); }
.ldv-order-summary li img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.ldv-order-name { font-size: .9rem; font-weight: 600; line-height: 1.5; }
.ldv-order-name em { font-style: normal; color: var(--wp--preset--color--muted); font-weight: 500; }
.ldv-order-price { font-size: .88rem; font-weight: 700; color: var(--wp--preset--color--accent); text-align: end; font-variant-numeric: tabular-nums; direction: ltr; }
.ldv-order-price small, .ldv-order-total small { display: block; font-weight: 500; color: var(--wp--preset--color--muted); font-size: .75rem; }
.ldv-order-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; font-size: 1.05rem; }
.ldv-order-total strong { font-size: 1.25rem; direction: ltr; font-variant-numeric: tabular-nums; text-align: end; }
.ldv-order-link { display: inline-block; margin-top: 1rem; font-size: .88rem; }
.ldv-order-done, .ldv-order-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.ldv-order-done h1, .ldv-order-empty h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: .6rem 0; }
.ldv-order-no strong { font-size: 1.15rem; color: var(--wp--preset--color--accent); }
.ldv-order-check { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(31,174,91,.14); color: #1fae5b; box-shadow: 0 0 0 10px rgba(31,174,91,.06); }
.ldv-order-check svg { width: 36px; height: 36px; }


/* Elementor pages use the full screen width; each section keeps its own inner width. */
.wp-block-post-content.is-layout-constrained > .elementor {
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px)) !important;
}

/* Product grids: right-to-left order, and a short last row sits in the middle. */
.woocommerce ul.products { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; clear: none !important; margin: 0 !important; width: calc((100% - 5rem) / 3) !important; }
.woocommerce ul.products.columns-2 li.product { width: calc((100% - 2.5rem) / 2) !important; }
.woocommerce ul.products.columns-4 li.product { width: calc((100% - 7.5rem) / 4) !important; }
@media (max-width: 900px) {
	.woocommerce ul.products { gap: 1.25rem; }
	.woocommerce ul.products[class*="columns-"] li.product { width: calc((100% - 1.25rem) / 2) !important; }
}
@media (max-width: 560px) {
	.woocommerce ul.products[class*="columns-"] li.product { width: 100% !important; }
}
/* Samples-visit card: wider and centred so it lines up with the product grid. */
.ldv-section > .ldv-demo.ldv-demo,
.elementor .ldv-section > .ldv-demo.ldv-demo { max-width: 880px !important; margin-left: auto !important; margin-right: auto !important; }
.ldv-demo .wp-block-column:first-child { flex: 0 0 38% !important; }
.ldv-demo .wp-block-image img { aspect-ratio: 4 / 3 !important; }
@media (max-width: 781px) {
	.ldv-section > .ldv-demo.ldv-demo, .elementor .ldv-section > .ldv-demo.ldv-demo { max-width: 100% !important; }
	.ldv-demo .wp-block-column:first-child { flex-basis: 100% !important; }
	.ldv-demo .wp-block-image img { aspect-ratio: 16 / 9 !important; }
}
/* The hidden mini-cart drawer sits off-screen and widened RTL pages on phones. */
html, body { overflow-x: clip; }
.wc-block-components-drawer { max-width: 100vw; }
/* Phone header: tighter spacing so every button fits on screen. */
@media (max-width: 600px) {
	.ldv-header .wp-block-group.is-nowrap.is-layout-flex { gap: 6px !important; }
	.ldv-header .ldv-lang summary, .ldv-header .ldv-cur summary { padding-left: .55em !important; padding-right: .55em !important; }
}
@media (max-width: 420px) {
	.ldv-header .wp-block-woocommerce-customer-account { display: none !important; }
}