/* =========================================================
   AI Electronics Redesign
   Colors: navy #121D48 (primary) · beige #F9EDD3 (secondary)
           gold gradient #FBE28F → #C5912D (accent only)
   Fonts:  Montserrat (headings) · Inter (everything else)
   ========================================================= */

/* ---------- 1. Site-wide: WoodMart theme variables ---------- */
html:root {
	--aie-navy: #121D48;
	--aie-navy-800: #1A2861;
	--aie-navy-700: #26357A;
	--aie-beige: #F9EDD3;
	--aie-bg: #FAF7F0;
	--aie-muted: #5B6280;
	--aie-border: #E8E4DA;
	--aie-gold: linear-gradient(100deg, #FBE28F 0%, #C5912D 100%);
	--aie-ease: cubic-bezier(.22, 1, .36, 1);
	--aie-shadow: 0 12px 32px -10px rgba(18, 29, 72, .10);
	--aie-shadow-h: 0 26px 52px -18px rgba(18, 29, 72, .22);

	--wd-primary-color: #121D48;
	--wd-alternative-color: #F9EDD3;
	--wd-link-color: #121D48;
	--wd-link-color-hover: #26357A;
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-color: #4A5068;
	--wd-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-title-color: #121D48;
	--wd-entities-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-entities-title-color: #121D48;
	--wd-entities-title-color-hover: #26357A;
	--wd-widget-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-color: #121D48;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-alternative-font: "Inter", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #121D48;
	--btn-default-bgcolor-hover: #26357A;
	--btn-default-color: #fff;
	--btn-default-color-hover: #fff;
	--btn-accented-bgcolor: #121D48;
	--btn-accented-bgcolor-hover: #26357A;
	--btn-accented-color: #fff;
	--btn-accented-color-hover: #fff;
}

/* Prices in navy, not the old gold */
.price, .price .amount, .amount { color: var(--aie-navy); }

/* No sale badges, crossed-out prices or sale countdowns anywhere */
.aie-no-sale .onsale,
.aie-no-sale .product-label.onsale,
.aie-no-sale .product-labels .onsale,
.aie-no-sale .wd-product-countdown,
.aie-no-sale .wd-timer-wrapper,
.aie-no-sale .product-countdown { display: none !important; }
.aie-no-sale .price del { display: none !important; }
.aie-no-sale .price ins { text-decoration: none; }

/* ---------- 2. Order on WhatsApp ---------- */
.aie-wa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	margin: 14px 0 0; padding: 14px 26px; border-radius: 999px;
	background: #1E9E54; color: #fff !important; font: 600 15px/1.2 "Inter", sans-serif;
	text-decoration: none !important; transition: background .25s, transform .25s var(--aie-ease);
}
.aie-wa-btn:hover { background: #17853F; transform: translateY(-1px); }
.aie-wa-btn--block { display: flex; width: 100%; margin-top: 12px; }
.aie-wa-checkout { clear: both; margin-top: 14px; text-align: center; }
.aie-wa-checkout .aie-or { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aie-muted, #5B6280); }
.aie-wa-checkout .aie-wa-btn { min-height: 52px; }
.aie-wa-ico { flex: none; }

/* ---------- 3. Homepage ([aie_home]) ---------- */
.aie-home {
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	background: var(--aie-bg); color: var(--aie-navy);
	font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.6;
	overflow-x: hidden;
}
.aie-home *, .aie-home *::before, .aie-home *::after { box-sizing: border-box; }
.aie-home h1, .aie-home h2, .aie-home h3 { font-family: "Montserrat", Arial, sans-serif; color: inherit; margin: 0; }
.aie-home a { text-decoration: none; }
.aie-home img { max-width: 100%; height: auto; display: block; }
.aie-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.aie-i { flex: none; }

/* Buttons */
.aie-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
	font: 600 15px/1.2 "Inter", sans-serif; white-space: nowrap;
	transition: transform .3s var(--aie-ease), background .3s, color .3s, border-color .3s;
}
.aie-btn .aie-i { transition: transform .3s var(--aie-ease); }
.aie-btn:hover .aie-i { transform: translateX(4px); }
.aie-btn--beige { background: var(--aie-beige); color: var(--aie-navy) !important; }
.aie-btn--beige:hover { background: #fff; transform: translateY(-2px); }
.aie-btn--ghost { border: 1px solid rgba(249, 237, 211, .5); color: #fff !important; }
.aie-btn--ghost:hover { border-color: var(--aie-beige); }
.aie-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.aie-gold { background: var(--aie-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.aie-hero {
	position: relative; color: #fff;
	background: var(--aie-navy) var(--aie-hero-bg) center / cover no-repeat;
}
.aie-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(18, 29, 72, .93) 0%, rgba(18, 29, 72, .8) 42%, rgba(18, 29, 72, .38) 75%, rgba(18, 29, 72, .2) 100%);
}
.aie-hero__grid { position: relative; display: grid; grid-template-columns: 1.12fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.aie-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22);
	color: var(--aie-beige); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.aie-hero h1 { margin: 24px 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.aie-lead { max-width: 540px; margin: 0 0 30px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.aie-hero__points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.aie-hero__points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.aie-hero__points .aie-i { color: var(--aie-beige); }

/* Hero product stage — as in the approved HTML design:
   white panel, floating product, overlapping info card, navy feature chip, arrows + dots */
.aie-stage { position: relative; height: 520px; }
.aie-glass { position: absolute; inset: 20px 0 20px 60px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -24px rgba(5, 9, 30, .55); }
.aie-slide {
	position: absolute; left: calc(50% + 30px); top: 50%; z-index: 1; width: 360px; height: 360px; display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(.94);
	transition: opacity .8s var(--aie-ease), transform .9s var(--aie-ease), visibility .8s;
}
.aie-slide.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.aie-slide__img { display: grid; place-items: center; width: 100%; height: 100%; }
.aie-slide.is-on .aie-slide__img { animation: aie-float 4.8s ease-in-out .9s infinite; }
.aie-home .aie-slide__img img { width: auto; height: auto; max-width: 100%; max-height: 340px; object-fit: contain; }
@keyframes aie-float { 0%, 100% { transform: none; } 50% { transform: translateY(-10px); } }
.aie-deal {
	position: absolute; left: 0; bottom: 56px; z-index: 3; display: block; min-width: 250px; max-width: 320px; padding: 18px 22px;
	border-radius: 20px; background: #fff; color: var(--aie-navy) !important; box-shadow: var(--aie-shadow-h);
}
.aie-deal__ey { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aie-muted); }
.aie-deal__nm { display: -webkit-box; margin: 4px 0 2px; font-weight: 700; font-size: 15.5px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aie-deal__pr, .aie-deal__pr .amount { display: block; font-size: 21px; font-weight: 800; color: var(--aie-navy); }
.aie-swap { display: block; transition: opacity .35s, transform .35s var(--aie-ease); }
.aie-fchip .aie-swap { display: inline; }
.aie-swap.is-out { opacity: 0; transform: translateY(6px); }
.aie-fchip { position: absolute; right: 0; top: 48px; z-index: 3; }
.aie-fchip[hidden] { display: none; }
.aie-fchip__in {
	display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--aie-navy-800);
	color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(5, 9, 30, .5); animation: aie-float2 5.5s ease-in-out 1.8s infinite;
}
.aie-fchip__in .aie-i { color: var(--aie-beige); }
@keyframes aie-float2 { 0%, 100% { transform: none; } 50% { transform: translateY(7px); } }
.aie-sctrl { position: absolute; right: 0; bottom: -40px; z-index: 3; display: flex; align-items: center; gap: 12px; }
body .aie-home .aie-ar {
	width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: transparent;
	color: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s;
}
body .aie-home .aie-ar:hover { border-color: var(--aie-beige); color: var(--aie-beige); }
.aie-dots { display: flex; gap: 6px; }
.aie-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .4s var(--aie-ease), background .4s; }
.aie-dots button.is-on { width: 28px; background: var(--aie-beige); }

/* Hero load-in */
.aie-ld { opacity: 0; transform: translateY(24px); animation: aie-in .8s var(--aie-ease) forwards; animation-delay: var(--d, 0s); }
.aie-ld-x { opacity: 0; transform: translateX(-48px); animation: aie-in .8s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes aie-in { to { opacity: 1; transform: none; } }

/* Trust strip */
.aie-trust { background: var(--aie-beige); }
.aie-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 26px; }
.aie-trust__item { display: flex; align-items: center; gap: 14px; padding: 4px 18px; }
.aie-trust__item + .aie-trust__item { border-left: 1px solid rgba(18, 29, 72, .12); }
.aie-trust__item:first-child { padding-left: 0; }
.aie-trust__ic { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--aie-navy); color: var(--aie-beige); }
.aie-trust__item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.aie-trust__item span { font-size: 13.5px; color: var(--aie-muted); line-height: 1.4; }

/* Sections */
.aie-sec { padding: 88px 0; }
.aie-sec--white { background: #fff; }
.aie-sec--tight { padding-top: 0; }
.aie-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.aie-head h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 700; }
.aie-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aie-muted); }
.aie-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--aie-gold); }
.aie-eyebrow--light { color: var(--aie-beige); }
.aie-view { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--aie-navy) !important; }
.aie-view .aie-i { transition: transform .3s var(--aie-ease); }
.aie-view:hover .aie-i { transform: translateX(4px); }

/* Tabs */
.aie-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.aie-tabs button {
	padding: 10px 20px; border-radius: 999px; border: 1px solid var(--aie-border); background: #fff;
	color: var(--aie-navy); font: 600 14px/1.2 "Inter", sans-serif; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.aie-tabs button:hover { border-color: var(--aie-navy); }
.aie-tabs button.is-on { background: var(--aie-navy); border-color: var(--aie-navy); color: #fff; }

/* Categories (original images) */
.aie-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.aie-cat {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aie-border); border-radius: 20px; overflow: hidden;
	color: var(--aie-navy) !important; transition: transform .4s var(--aie-ease), box-shadow .4s var(--aie-ease), border-color .3s;
}
.aie-cat:hover { transform: translateY(-5px); box-shadow: var(--aie-shadow-h); border-color: var(--aie-navy); }
.aie-cat__img { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.aie-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--aie-ease); }
.aie-cat:hover .aie-cat__img img { transform: scale(1.06); }
.aie-cat__name { display: block; padding: 12px 10px 14px; text-align: center; font-weight: 600; font-size: 14.5px; line-height: 1.35; }

/* Product cards */
.aie-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.aie-grid[hidden] { display: none; }
.aie-card {
	display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 18px; background: #fff;
	border: 1px solid var(--aie-border); border-radius: 22px; box-shadow: var(--aie-shadow);
	transition: transform .4s var(--aie-ease), box-shadow .4s var(--aie-ease), border-color .3s;
}
.aie-card:hover { transform: translateY(-5px); box-shadow: var(--aie-shadow-h); border-color: rgba(18, 29, 72, .35); }
.aie-card__media { display: grid; place-items: center; aspect-ratio: 1.15; border-radius: 16px; background: #fff; overflow: hidden; }
.aie-card__media img { width: 82%; height: 86%; object-fit: contain; transition: transform .7s var(--aie-ease); }
.aie-card:hover .aie-card__media img { transform: scale(1.06); }
.aie-card__info { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 0 6px; }
.aie-card__brand { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aie-muted); }
.aie-card__title { font-family: "Inter", sans-serif !important; font-size: 15.5px !important; font-weight: 600; line-height: 1.4 !important; }
.aie-card__title a { color: var(--aie-navy) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aie-card__ship { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--aie-muted); }
.aie-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px; }
.aie-card__price, .aie-card__price .amount { font-size: 19px; font-weight: 700; color: var(--aie-navy); line-height: 1.3; }
.aie-add {
	width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
	background: var(--aie-navy); color: #fff !important; transition: transform .35s var(--aie-ease), background .3s;
}
.aie-add:hover { background: var(--aie-navy-700); transform: rotate(-10deg); }
.aie-add.loading { opacity: .6; }
.aie-add.added { background: var(--aie-beige); color: var(--aie-navy) !important; }
.aie-home .added_to_cart { display: none !important; }

/* WhatsApp help banner */
.aie-banner {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
	padding: 56px 64px; border-radius: 28px; background: var(--aie-navy); color: #fff;
}
.aie-banner h2 { margin: 14px 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: #fff; }
.aie-banner p { max-width: 480px; margin: 0 0 26px; color: rgba(255, 255, 255, .75); }
.aie-banner .aie-btn--beige .aie-wa-ico { color: #1E9E54; }
.aie-banner__img { display: grid; place-items: center; padding: 20px; background: #fff; border-radius: 22px; }
.aie-banner__img img { max-height: 260px; width: auto; object-fit: contain; }

/* Brands marquee */
.aie-brands { background: var(--aie-beige); padding: 64px 0; overflow: hidden; }
.aie-brands__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.aie-brands__top h3 { font-size: 26px; font-weight: 600; }
.aie-brands__top span { font-size: 14px; color: var(--aie-muted); }
.aie-marquee { display: flex; width: max-content; gap: 14px; animation: aie-marq 40s linear infinite; }
.aie-marquee:hover { animation-play-state: paused; }
.aie-marquee a {
	min-width: 160px; height: 76px; padding: 0 22px; display: grid; place-items: center; background: #fff; border: 1px solid var(--aie-border);
	border-radius: 16px; color: var(--aie-navy) !important; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
	transition: border-color .25s, transform .25s var(--aie-ease);
}
.aie-marquee a:hover { border-color: var(--aie-navy); transform: translateY(-3px); }
@keyframes aie-marq { to { transform: translateX(calc(-50% - 7px)); } }

/* Outlets */
.aie-outlets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aie-outlet { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border: 1px solid var(--aie-border); border-radius: 22px; box-shadow: var(--aie-shadow); }
.aie-outlet h3 { font-size: 21px; font-weight: 600; }
.aie-outlet p { flex: 1; margin: 0; color: var(--aie-muted); }
.aie-outlet__ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--aie-beige); color: var(--aie-navy); }
.aie-outlet--main { background: var(--aie-navy); border-color: var(--aie-navy); color: #fff; }
.aie-outlet--main p { color: rgba(255, 255, 255, .75); }
.aie-outlet--main .aie-view { color: var(--aie-beige) !important; }

/* Scroll reveal */
.aie-rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--aie-ease), transform .8s var(--aie-ease); }
.aie-rv.is-in { opacity: 1; transform: none; }
.aie-no-js .aie-rv { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
	.aie-hero__grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
	.aie-stage { max-width: 560px; width: 100%; margin: 0 auto; }
	.aie-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.aie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aie-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
	.aie-trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
	.aie-banner { grid-template-columns: 1fr; padding: 44px 36px; }
	.aie-outlets { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.aie-wrap { padding-left: 16px; padding-right: 16px; }
	.aie-sec { padding: 60px 0; }
	.aie-hero__grid { padding-top: 32px; padding-bottom: 48px; gap: 32px; }
	.aie-hero::before { background: linear-gradient(180deg, rgba(18, 29, 72, .9) 0%, rgba(18, 29, 72, .82) 55%, rgba(18, 29, 72, .7) 100%); }
	.aie-chip { font-size: 11px; }
	.aie-lead { font-size: 15.5px; }
	.aie-ctas .aie-btn { flex: 1 1 100%; justify-content: center; }
	.aie-stage { height: 400px; }
	.aie-glass { inset: 10px 0; }
	.aie-slide { left: 50%; width: 250px; height: 250px; }
	.aie-home .aie-slide__img img { max-height: 230px; }
	.aie-deal { bottom: 44px; min-width: 0; max-width: 80%; padding: 14px 16px; }
	.aie-deal__nm { font-size: 14px; }
	.aie-deal__pr, .aie-deal__pr .amount { font-size: 18px; }
	.aie-fchip { top: 14px; right: 10px; }
	.aie-fchip__in { font-size: 12px; padding: 9px 14px 9px 12px; }
	.aie-sctrl { left: 0; right: 0; bottom: -30px; justify-content: center; }
	body .aie-home .aie-ar { display: none; }
	.aie-trust__grid { grid-template-columns: 1fr; gap: 14px; }
	.aie-trust__item { border-left: 0 !important; padding: 0; }
	.aie-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.aie-grid { gap: 12px; }
	.aie-card { padding: 10px 10px 14px; gap: 10px; }
	.aie-card__title { font-size: 13.5px !important; }
	.aie-card__ship { display: none; }
	.aie-card__price, .aie-card__price .amount { font-size: 15.5px; }
	.aie-add { width: 38px; height: 38px; }
	.aie-banner { padding: 34px 22px; }
	.aie-banner__img { display: none; }
	.aie-outlet { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.aie-home *, .aie-chat * { animation: none !important; transition: none !important; }
	.aie-rv, .aie-ld, .aie-ld-x { opacity: 1; transform: none; }
}

/* ---------- 4. Chatbot ---------- */
.aie-chat { position: fixed; left: 20px; bottom: 20px; z-index: 99990; font-family: "Inter", Arial, sans-serif; }
.aie-chat__launch {
	width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
	background: var(--aie-navy); color: var(--aie-beige); box-shadow: 0 14px 34px -10px rgba(18, 29, 72, .6);
	transition: transform .3s var(--aie-ease);
}
.aie-chat__launch:hover { transform: translateY(-3px); }
.aie-chat__launch .aie-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #1E9E54; border: 2px solid #fff; }
.aie-chat__panel {
	position: absolute; left: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 120px);
	display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 22px;
	box-shadow: 0 30px 70px -20px rgba(18, 29, 72, .45); border: 1px solid var(--aie-border);
	opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom left;
	transition: opacity .3s var(--aie-ease), transform .3s var(--aie-ease), visibility .3s;
}
.aie-chat.is-open .aie-chat__panel { opacity: 1; visibility: visible; transform: none; }
.aie-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--aie-navy); color: #fff; }
.aie-chat__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aie-beige); color: var(--aie-navy); font: 700 15px "Montserrat", sans-serif; flex: none; }
.aie-chat__head b { display: block; font-size: 15px; font-weight: 600; }
.aie-chat__head small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.aie-chat__close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.aie-chat__close:hover { background: rgba(255, 255, 255, .1); }
.aie-chat__body { flex: 1; overflow-y: auto; padding: 16px; background: var(--aie-bg); display: flex; flex-direction: column; gap: 10px; }
.aie-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-line; animation: aie-pop .3s var(--aie-ease); }
.aie-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--aie-border); color: var(--aie-navy); border-bottom-left-radius: 4px; }
.aie-msg--me { align-self: flex-end; background: var(--aie-navy); color: #fff; border-bottom-right-radius: 4px; }
.aie-msg a { color: var(--aie-navy); font-weight: 600; text-decoration: underline; }
.aie-msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aie-msg__actions a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--aie-navy); color: #fff !important; text-decoration: none !important; font-size: 13px; }
.aie-msg__actions a.is-wa { background: #1E9E54; }
.aie-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--aie-border); background: #fff; }
.aie-quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--aie-border); background: #fff; color: var(--aie-navy); font: 500 13px "Inter", sans-serif; cursor: pointer; }
.aie-quick button:hover { border-color: var(--aie-navy); }
.aie-chat__form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.aie-chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--aie-border); border-radius: 999px; font: 14px "Inter", sans-serif; color: var(--aie-navy); }
.aie-chat__form input:focus { outline: none; border-color: var(--aie-navy); }
.aie-chat__form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--aie-navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
@keyframes aie-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.aie-chat { left: 14px; bottom: 14px; }
	body.sticky-toolbar-on .aie-chat { bottom: 74px; }
	.aie-chat__panel { position: fixed; right: 10px; left: 10px; bottom: 84px; width: auto; max-width: none; height: min(560px, calc(100vh - 110px)); }
	body.sticky-toolbar-on .aie-chat__panel { bottom: 144px; height: min(540px, calc(100vh - 170px)); }
	.aie-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.aie-quick::-webkit-scrollbar { display: none; }
	.aie-quick button { flex: none; }
}

/* ---------- 5. Product titles + homepage page layout ---------- */
.single-product .product_title { font-family: "Montserrat", "Inter", Arial, sans-serif; font-weight: 700; letter-spacing: -.01em; color: var(--aie-navy); }
body.aie-home-page .wd-page-title,
body.aie-home-page .wd-sidebar,
body.aie-home-page .wd-toolbar-sidebar { display: none !important; }
body.aie-home-page .wd-content-layout { display: block; padding-top: 0; padding-bottom: 0; }
body.aie-home-page .wd-content-area { width: 100%; max-width: 100%; flex: 0 0 100%; }
body.aie-home-page { overflow-x: clip; }

/* ---------- 6. Shield our buttons from the theme's global button styles ---------- */
body .aie-home button, body .aie-chat button { min-height: 0; text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.2; }
body .aie-dots button { width: 8px; height: 8px; padding: 0; border-radius: 8px; background: rgba(255, 255, 255, .35); }
body .aie-dots button.is-on { width: 28px; background: var(--aie-beige); }
body .aie-chat .aie-chat__launch { width: 60px; height: 60px; padding: 0; border-radius: 50%; background: var(--aie-navy); color: var(--aie-beige); box-shadow: 0 14px 34px -10px rgba(18, 29, 72, .6); }
body .aie-chat .aie-chat__close { height: auto; padding: 6px; border-radius: 8px; background: none; color: #fff; }
body .aie-chat .aie-chat__close:hover { background: rgba(255, 255, 255, .1); }
body .aie-chat .aie-chat__form button { width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--aie-navy); color: #fff; }
body .aie-chat .aie-quick button { height: auto; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--aie-navy); }

/* ---------- 7. Inner pages (Top Picks, Brands, Categories, Track order) ---------- */
.aie-muted { color: var(--aie-muted); }
.aie-empty { padding: 40px 0 0; text-align: center; color: var(--aie-muted); }
.aie-empty .aie-view { margin-left: 8px; }
.aie-empty[hidden], .aie-home [data-aie-name][hidden], .aie-home [data-aie-cat][hidden] { display: none !important; }
.aie-sec--banner { padding-top: 72px; padding-bottom: 88px; }

/* Page header */
.aie-phero { position: relative; color: #fff; background: var(--aie-navy) var(--aie-hero-bg) center 40% / cover no-repeat; }
.aie-phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 29, 72, .95) 0%, rgba(18, 29, 72, .87) 55%, rgba(18, 29, 72, .62) 100%); }
.aie-phero__in { position: relative; padding-top: 44px; padding-bottom: 60px; }
.aie-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.aie-crumbs a { color: rgba(255, 255, 255, .85) !important; }
.aie-crumbs a:hover { color: var(--aie-beige) !important; }
.aie-phero h1 { margin: 18px 0 12px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.aie-phero .aie-lead { margin: 0; }
.aie-search { position: relative; display: block; max-width: 520px; margin: 28px 0 0; }
.aie-search .aie-i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--aie-muted); pointer-events: none; z-index: 1; }
body .aie-home .aie-search input {
	width: 100%; height: 56px; margin: 0; padding: 0 22px 0 52px; border: 1px solid transparent; border-radius: 999px;
	background: #fff; color: var(--aie-navy); font: 15px "Inter", sans-serif; box-shadow: 0 18px 40px -18px rgba(5, 9, 30, .6);
}
body .aie-home .aie-search input:focus { outline: none; border-color: var(--aie-beige); }

/* Filter chips */
.aie-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
body .aie-home .aie-chips button {
	height: auto; padding: 10px 20px; border: 1px solid var(--aie-border); border-radius: 999px; background: #fff;
	color: var(--aie-navy); font: 600 14px/1.2 "Inter", sans-serif; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
body .aie-home .aie-chips button:hover { border-color: var(--aie-navy); }
body .aie-home .aie-chips button.is-on { background: var(--aie-navy); border-color: var(--aie-navy); color: #fff; }

/* Banner without image */
.aie-banner--solo { grid-template-columns: 1fr auto; }
.aie-banner__list { list-style: none; margin: 0; padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.aie-banner__list li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; color: rgba(255, 255, 255, .9); }
.aie-banner__list .aie-i { color: var(--aie-beige); }

/* Brands */
.aie-brandgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.aie-brand {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aie-border); border-radius: 20px; overflow: hidden;
	color: var(--aie-navy) !important; transition: transform .4s var(--aie-ease), box-shadow .4s var(--aie-ease), border-color .3s;
}
.aie-brand:hover { transform: translateY(-5px); box-shadow: var(--aie-shadow-h); border-color: var(--aie-navy); }
.aie-brand__logo { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 20px 24px; background: #fff; }
.aie-home .aie-brand__logo img { width: auto; max-width: 78%; max-height: 74px; object-fit: contain; transition: transform .6s var(--aie-ease); }
.aie-brand:hover .aie-brand__logo img { transform: scale(1.06); }
.aie-brand__mono { font: 700 20px/1.2 "Montserrat", sans-serif; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.aie-brand__info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px 15px; border-top: 1px solid var(--aie-border); }
.aie-brand__info b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.aie-brand__info small { display: block; font-size: 12.5px; color: var(--aie-muted); }
.aie-brand__info .aie-i { transition: transform .3s var(--aie-ease); }
.aie-brand:hover .aie-brand__info .aie-i { transform: translateX(4px); }

/* Categories */
.aie-catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.aie-catcard {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aie-border); border-radius: 22px; overflow: hidden;
	box-shadow: var(--aie-shadow); transition: transform .4s var(--aie-ease), box-shadow .4s var(--aie-ease), border-color .3s;
}
.aie-catcard:hover { transform: translateY(-5px); box-shadow: var(--aie-shadow-h); border-color: rgba(18, 29, 72, .35); }
.aie-catcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.aie-home .aie-catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--aie-ease); }
.aie-catcard:hover .aie-catcard__media img { transform: scale(1.05); }
.aie-catcard__media--empty { display: grid; place-items: center; background: var(--aie-beige); color: var(--aie-navy); }
.aie-catcard__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 22px; }
.aie-catcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.aie-catcard h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.aie-catcard h2 a { color: var(--aie-navy) !important; }
.aie-catcard__count { flex: none; font-size: 12.5px; color: var(--aie-muted); }
.aie-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.aie-subs a { padding: 6px 12px; border: 1px solid var(--aie-border); border-radius: 999px; background: #fff; color: var(--aie-navy) !important; font-size: 13px; line-height: 1.3; transition: border-color .25s, background .25s; }
.aie-subs a:hover { border-color: var(--aie-navy); background: var(--aie-bg); }
.aie-catcard__go { margin-top: auto; padding-top: 4px; }

/* Track order */
.aie-track { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.aie-track__side { display: flex; flex-direction: column; gap: 22px; }
.aie-panel { padding: 34px; background: #fff; border: 1px solid var(--aie-border); border-radius: 24px; box-shadow: var(--aie-shadow); }
.aie-panel h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.aie-panel > p { margin: 0 0 22px; }
.aie-panel--navy { background: var(--aie-navy); border-color: var(--aie-navy); color: #fff; }
.aie-panel--navy h2 { color: #fff; }
.aie-panel--navy p { color: rgba(255, 255, 255, .75); }
.aie-panel--navy .aie-btn { padding: 13px 22px; font-size: 14px; }
.aie-panel--navy .aie-btn--beige .aie-wa-ico { color: #1E9E54; }
.aie-track__form .track_order > p:not(.form-row) { display: none; }
.aie-track__form .track_order .form-row { float: none; width: 100%; margin: 0 0 16px; padding: 0; }
.aie-track__form .track_order label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--aie-navy); }
body .aie-home .aie-track__form .track_order input.input-text {
	width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--aie-border); border-radius: 14px; background: var(--aie-bg);
	color: var(--aie-navy); font: 15px "Inter", sans-serif;
}
body .aie-home .aie-track__form .track_order input.input-text:focus { outline: none; border-color: var(--aie-navy); background: #fff; }
body .aie-home .aie-track__form .track_order button {
	width: 100%; height: 54px; margin-top: 6px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--aie-navy); color: #fff;
	font: 600 15px/1.2 "Inter", sans-serif; cursor: pointer; transition: background .25s;
}
body .aie-home .aie-track__form .track_order button:hover { background: var(--aie-navy-700); }
.aie-track__form .clear { clear: both; }
.aie-steps { list-style: none; margin: 18px 0 0; padding: 0; }
.aie-step { position: relative; display: flex; gap: 14px; margin: 0; padding-bottom: 22px; }
.aie-step:last-child { padding-bottom: 0; }
.aie-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--aie-border); }
.aie-step__ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--aie-beige); color: var(--aie-navy); }
.aie-step b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; padding-top: 2px; }
.aie-step div > span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--aie-muted); }

@media (max-width: 1024px) {
	.aie-brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aie-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aie-track { grid-template-columns: 1fr; }
	.aie-banner--solo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.aie-phero__in { padding-top: 28px; padding-bottom: 44px; }
	.aie-crumbs { margin-bottom: 18px; }
	.aie-brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.aie-brand__logo { padding: 14px 16px; }
	.aie-home .aie-brand__logo img { max-height: 54px; }
	.aie-brand__info { padding: 10px 12px 12px; }
	.aie-brand__info b { font-size: 14px; }
	.aie-brand__info .aie-i { display: none; }
	.aie-catgrid { grid-template-columns: 1fr; gap: 16px; }
	.aie-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.aie-chips::-webkit-scrollbar { display: none; }
	body .aie-home .aie-chips button { flex: none; }
	.aie-panel { padding: 24px 20px; }
	.aie-banner__list { padding: 20px; }
	.aie-sec--banner { padding-top: 48px; padding-bottom: 60px; }
}
