/**
 * AI360 Theme — Flatsome shortcode compatibility layer (CLEAN-ROOM).
 * Renders legacy Flatsome shortcodes with a modern, lightweight stylesheet.
 * No Flatsome CSS/JS/markup is copied. All rules are original.
 *
 * Variables are filled from Flatsome theme_mods by Theme_Mods::css_vars().
 */
:root {
	--a360-primary: var(--ai360-primary, #00b4b4);
	--a360-primary-600: var(--ai360-primary-dark, #009a9a);
	--a360-accent: var(--ai360-accent, #25d366);
	--a360-dark: var(--ai360-heading, #0a2a3b);
	--a360-light: #f5f9fa;
	--a360-text: var(--ai360-text, #22303a);
	--a360-muted: #6b7c88;
	--a360-line: rgba(10, 42, 59, .12);
	--a360-radius: 14px;
	--a360-radius-sm: 8px;
	--a360-gap: var(--ai360-space-4, 30px);
	--a360-max: var(--ai360-content-width, 1200px);
	--a360-shadow: 0 12px 34px rgba(10, 42, 59, .10);
	--a360-shadow-lg: 0 26px 60px rgba(10, 42, 59, .16);
	--a360-ease: cubic-bezier(.22, .61, .36, 1);
	--a360-head: var(--ai360-heading-font, inherit);
	--a360-body: var(--ai360-body-font, var(--ai360-font, inherit));
}

/* ------------------------------------------------------------------ base */
.a360-container { max-width: var(--a360-max); margin-inline: auto; padding-inline: 20px; width: 100%; }
.a360-section { position: relative; width: 100%; }
.a360-section--full { width: 100vw; margin-inline: calc(50% - 50vw); }
.a360-section > .a360-container { position: relative; z-index: 2; }

.a360-row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--a360-gap) / -2); align-items: flex-start; }
.a360-col { padding: 0 calc(var(--a360-gap) / 2); box-sizing: border-box; min-width: 0; }

/* span -> widths (12u grid, matching Flatsome semantics) */
.a360-col.span-1 { width: 8.3333%; } .a360-col.span-2 { width: 16.6667%; }
.a360-col.span-3 { width: 25%; } .a360-col.span-4 { width: 33.3333%; }
.a360-col.span-5 { width: 41.6667%; } .a360-col.span-6 { width: 50%; }
.a360-col.span-7 { width: 58.3333%; } .a360-col.span-8 { width: 66.6667%; }
.a360-col.span-9 { width: 75%; } .a360-col.span-10 { width: 83.3333%; }
.a360-col.span-11 { width: 91.6667%; } .a360-col.span-12 { width: 100%; }
.a360-col.span-auto { width: auto; flex: 1 1 auto; }

.a360-row.h-center { justify-content: center; }
.a360-row.h-right { justify-content: flex-end; }
.a360-row.h-between { justify-content: space-between; }
.a360-row.v-middle { align-items: center; }
.a360-row.v-bottom { align-items: flex-end; }
.a360-row.v-stretch { align-items: stretch; }

.a360-gap { display: block; }

/* -------------------------------------------------------------- utilities */
.a360-text-center { text-align: center; }
.a360-text-right { text-align: right; }
.a360-dark, .a360-dark * { color: #fff; }
.a360-rounded { border-radius: var(--a360-radius); overflow: hidden; }

/* ---------------------------------------------------------------- section */
.a360-section[style*="background-image"] { background-size: cover; background-position: center; }
.a360-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* ----------------------------------------------------------------- banner */
.a360-banner {
	position: relative; display: flex; overflow: hidden;
	background-size: cover; background-position: center; background-repeat: no-repeat;
}
.a360-banner__inner { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 18px; width: 100%; }
.a360-banner__inner.pos-v-top { justify-content: flex-start; }
.a360-banner__inner.pos-v-center { justify-content: center; }
.a360-banner__inner.pos-v-bottom { justify-content: flex-end; }
.a360-banner__inner.pos-h-left { align-items: flex-start; text-align: left; }
.a360-banner__inner.pos-h-center { align-items: center; text-align: center; }
.a360-banner__inner.pos-h-right { align-items: flex-end; text-align: right; }
.a360-banner__title { margin: 0; font-family: var(--a360-head); line-height: 1.1; font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 700; }
.a360-banner__text { margin: 0; font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .92; max-width: 60ch; }
.a360-banner[data-parallax="1"] { background-attachment: fixed; }

/* ---------------------------------------------------------------- ux_text */
.a360-ux-text p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ image */
.a360-image { display: block; margin: 0; position: relative; overflow: hidden; }
.a360-image img { display: block; width: 100%; height: auto; }
.a360-image--hover-zoom img { transition: transform .5s var(--a360-ease); }
.a360-image--hover-zoom:hover img { transform: scale(1.06); }
.a360-image figcaption { font-size: .82rem; color: var(--a360-muted); padding: 6px 2px 0; }

/* ---------------------------------------------------------------- gallery */
.a360-gallery { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.a360-gallery a, .a360-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--a360-radius-sm); }

/* ----------------------------------------------------------------- slider */
.a360-slider { position: relative; overflow: hidden; border-radius: var(--a360-radius); }
.a360-slider__track { display: flex; transition: transform .55s var(--a360-ease); will-change: transform; }
.a360-slider__slide { min-width: 100%; flex: 0 0 100%; }
.a360-slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(10, 42, 59, .55); color: #fff; font-size: 20px; line-height: 1;
	display: grid; place-items: center; backdrop-filter: blur(6px);
}
.a360-slider__nav.prev { left: 12px; } .a360-slider__nav.next { right: 12px; }
.a360-slider__nav:hover { background: var(--a360-primary); }
.a360-slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.a360-slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.6); }
.a360-slider__dots button.is-active { background: var(--a360-primary); width: 22px; border-radius: 6px; }

/* ----------------------------------------------------------------- button */
.a360-btn {
	display: inline-flex; align-items: center; gap: .5em; justify-content: center;
	font-weight: 600; text-decoration: none; cursor: pointer; user-select: none;
	padding: .72em 1.5em; border-radius: 999px; border: 2px solid transparent;
	transition: transform .18s var(--a360-ease), background-color .18s var(--a360-ease), color .18s var(--a360-ease), box-shadow .18s var(--a360-ease);
	background: var(--a360-primary); color: #fff;
}
.a360-btn:hover { transform: translateY(-2px); box-shadow: var(--a360-shadow); color: #fff; }
.a360-btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.a360-btn--outline:hover { background: var(--a360-primary); border-color: var(--a360-primary); color: #fff; }
.a360-btn--white { background: #fff; color: var(--a360-dark); }
.a360-btn--dark { background: var(--a360-dark); color: #fff; }
.a360-btn--accent { background: var(--a360-accent); color: #fff; }
.a360-btn--ghost { background: transparent; color: inherit; border-color: var(--a360-line); }
.a360-btn--sm { padding: .55em 1.1em; font-size: .88rem; }
.a360-btn--lg { padding: .9em 1.9em; font-size: 1.08rem; }
.a360-btn--expand { width: 100%; }

/* ------------------------------------------------------------------- icon */
.a360-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.a360-icon--circle { border-radius: 50%; background: var(--a360-light); }
.a360-icon--circle i, .a360-icon--circle svg { padding: 28%; }

/* ---------------------------------------------------------------- counter */
.a360-counter { text-align: center; }
.a360-counter__value { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; font-family: var(--a360-head); color: var(--a360-primary); line-height: 1; }
.a360-counter__label { display: block; margin-top: .35em; color: inherit; opacity: .8; }

/* ------------------------------------------------------------------ tabs */
.a360-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--a360-line); margin-bottom: 20px; }
.a360-tabs__tab { border: 0; background: none; padding: 12px 18px; cursor: pointer; font-weight: 600; color: var(--a360-muted); position: relative; }
.a360-tabs__tab.is-active { color: var(--a360-primary); }
.a360-tabs__tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--a360-primary); }
.a360-tabs__panel { display: none; } .a360-tabs__panel.is-active { display: block; animation: a360-fade .35s var(--a360-ease); }

/* -------------------------------------------------------------- accordion */
.a360-accordion { border: 1px solid var(--a360-line); border-radius: var(--a360-radius-sm); overflow: hidden; }
.a360-accordion__item + .a360-accordion__item { border-top: 1px solid var(--a360-line); }
.a360-accordion__head { width: 100%; text-align: left; border: 0; background: none; padding: 16px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.a360-accordion__head::after { content: "+"; font-size: 1.3em; color: var(--a360-primary); transition: transform .25s var(--a360-ease); }
.a360-accordion__item.is-open .a360-accordion__head::after { transform: rotate(45deg); }
.a360-accordion__body { display: none; padding: 0 18px 18px; }
.a360-accordion__item.is-open .a360-accordion__body { display: block; animation: a360-fade .3s var(--a360-ease); }

/* --------------------------------------------------------------- products */
.a360-products { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.a360-product {
	background: #fff; border-radius: var(--a360-radius); overflow: hidden;
	border: 1px solid var(--a360-line); display: flex; flex-direction: column;
	transition: transform .25s var(--a360-ease), box-shadow .25s var(--a360-ease);
}
.a360-product:hover { transform: translateY(-4px); box-shadow: var(--a360-shadow); }
.a360-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.a360-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--a360-ease); }
.a360-product:hover .a360-product__media img { transform: scale(1.06); }
.a360-product__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.a360-product__title { margin: 0; font-size: 1.05rem; font-weight: 700; }
.a360-product__title a { color: inherit; text-decoration: none; }
.a360-product__price { color: var(--a360-primary); font-weight: 800; margin-top: auto; }
.a360-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); cursor: pointer; border: 0; }
.a360-fav.is-on { background: var(--a360-primary); color: #fff; }

/* ------------------------------------------------------------ testimonial */
.a360-testimonial { background: #fff; border: 1px solid var(--a360-line); border-radius: var(--a360-radius); padding: 26px; box-shadow: var(--a360-shadow); }
.a360-testimonial__quote { margin: 0 0 16px; font-size: 1.05rem; }
.a360-testimonial__meta { display: flex; align-items: center; gap: 12px; }
.a360-testimonial__meta img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ------------------------------------------------------------------- team */
.a360-team { text-align: center; }
.a360-team img { border-radius: var(--a360-radius); width: 100%; }
.a360-team__role { color: var(--a360-muted); font-size: .9rem; }

/* ------------------------------------------------------------------- logo */
.a360-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: center; }
.a360-logos img { max-height: 48px; width: auto; opacity: .75; filter: grayscale(1); transition: .25s; }
.a360-logos img:hover { opacity: 1; filter: none; }

/* ----------------------------------------------------------------- divider */
.a360-divider { display: flex; justify-content: center; }
.a360-divider span { display: block; height: 3px; background: var(--a360-primary); border-radius: 3px; }

/* ---------------------------------------------------------------- video/embed */
.a360-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--a360-radius); overflow: hidden; }
.a360-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------- animations */
[data-a360-anim] { opacity: 0; will-change: transform, opacity; transition: opacity .7s var(--a360-ease), transform .7s var(--a360-ease); }
[data-a360-anim="fadeIn"] { transform: none; }
[data-a360-anim="fadeInUp"] { transform: translateY(28px); }
[data-a360-anim="fadeInDown"] { transform: translateY(-28px); }
[data-a360-anim="fadeInLeft"] { transform: translateX(-34px); }
[data-a360-anim="fadeInRight"] { transform: translateX(34px); }
[data-a360-anim="zoomIn"] { transform: scale(.92); }
[data-a360-anim].is-in { opacity: 1; transform: none; }

@keyframes a360-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	[data-a360-anim] { opacity: 1 !important; transform: none !important; }
	.a360-slider__track { transition: none; }
}

/* ------------------------------------------------------------------ sticky */
.a360-sticky { position: sticky; top: 0; z-index: 50; }

/* ------------------------------------------------ FASE 2 (scanner gaps) */
.a360-title { margin: 0 0 .5em; font-family: var(--a360-head); line-height: 1.2; }
.a360-title--bold { font-weight: 800; }

.a360-featured_box { display: flex; gap: 16px; }
.a360-featured_box--top { flex-direction: column; align-items: flex-start; }
.a360-featured_box--left { flex-direction: row; align-items: flex-start; }
.a360-featured_box--center { flex-direction: column; align-items: center; text-align: center; }
.a360-featured_box__icon { font-size: 2rem; color: var(--a360-primary); }
.a360-featured_box__img { max-width: 100%; height: auto; border-radius: var(--a360-radius-sm); }
.a360-featured_box__title { margin: .2em 0; font-size: 1.15rem; }
.a360-featured_box__link { text-decoration: none; color: inherit; display: block; }

.a360-text_box { background: var(--a360-light); border-radius: var(--a360-radius); padding: 26px; }
.a360-text_box__title { margin: 0 0 .4em; font-size: 1.3rem; }
.a360-text_box__cta { margin-top: 14px; }
.a360-text_box__link { text-decoration: none; color: inherit; display: block; }

.a360-message { padding: 16px 20px; border-radius: var(--a360-radius-sm); border-left: 4px solid var(--a360-primary); background: var(--a360-light); }
.a360-message p:last-child { margin-bottom: 0; }
.a360-message--success { border-left-color: #22a06b; }
.a360-message--warning { border-left-color: #f7a823; }
.a360-message--error, .a360-message--alert { border-left-color: #e5484d; }

.a360-follow { display: flex; flex-wrap: wrap; gap: 10px; }
.a360-follow__i { text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--a360-dark); padding: 8px 14px; border: 1px solid var(--a360-line); border-radius: 999px; transition: .2s var(--a360-ease); }
.a360-follow__i:hover { background: var(--a360-primary); color: #fff; border-color: var(--a360-primary); }
.a360-follow--circle .a360-follow__i { border-radius: 50%; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; font-size: 0; }
.a360-follow--circle .a360-follow__i::first-letter { font-size: .95rem; }

.a360-image_box { border: 1px solid var(--a360-line); border-radius: var(--a360-radius); overflow: hidden; background: #fff; }
.a360-image_box__media { aspect-ratio: 4/3; overflow: hidden; }
.a360-image_box__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a360-image_box__body { padding: 18px; }
.a360-image_box__link { text-decoration: none; color: inherit; display: block; }

.a360-countdown { display: inline-flex; flex-direction: column; align-items: center; }
.a360-countdown__num { font-size: 2.6rem; font-weight: 800; color: var(--a360-primary); line-height: 1; }
.a360-countdown__lbl { color: var(--a360-muted); font-size: .85rem; margin-top: .2em; }

.a360-lightbox img { border-radius: var(--a360-radius); width: 100%; height: auto; cursor: zoom-in; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 849px) {
	.a360-row { margin-inline: -10px; }
	.a360-col { padding-inline: 10px; }
	.a360-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.a360-products, .a360-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a360-banner[data-parallax="1"] { background-attachment: scroll; }
}
@media (max-width: 549px) {
	.a360-col[class*="span-"] { width: 100%; flex-basis: 100%; }
	.a360-products, .a360-gallery { grid-template-columns: 1fr; }
	.a360-tabs__tab { padding: 10px 12px; }
}


/* ------------------------------------------------ AI360 Flatsome hardening/responsive overrides */
.a360-btn:focus-visible,
.a360-slider__nav:focus-visible,
.a360-slider__dots button:focus-visible,
.a360-tabs__tab:focus-visible,
.a360-accordion__head:focus-visible,
.a360-fav:focus-visible,
.a360-follow__i:focus-visible {
	outline: 3px solid var(--ai360-focus, #38a3de);
	outline-offset: 3px;
}

.a360-tabs__panel[hidden],
.a360-accordion__body[hidden] {
	display: none !important;
}

.a360-slider__slide[aria-hidden="true"] {
	visibility: hidden;
}

.a360-slider__dots button[aria-current="true"] {
	background: var(--a360-primary);
	width: 22px;
	border-radius: 6px;
}

@media (max-width: 849px) {
	.a360-col.a360-span-md-1 { width: 8.3333%; flex-basis: 8.3333%; }
	.a360-col.a360-span-md-2 { width: 16.6667%; flex-basis: 16.6667%; }
	.a360-col.a360-span-md-3 { width: 25%; flex-basis: 25%; }
	.a360-col.a360-span-md-4 { width: 33.3333%; flex-basis: 33.3333%; }
	.a360-col.a360-span-md-5 { width: 41.6667%; flex-basis: 41.6667%; }
	.a360-col.a360-span-md-6 { width: 50%; flex-basis: 50%; }
	.a360-col.a360-span-md-7 { width: 58.3333%; flex-basis: 58.3333%; }
	.a360-col.a360-span-md-8 { width: 66.6667%; flex-basis: 66.6667%; }
	.a360-col.a360-span-md-9 { width: 75%; flex-basis: 75%; }
	.a360-col.a360-span-md-10 { width: 83.3333%; flex-basis: 83.3333%; }
	.a360-col.a360-span-md-11 { width: 91.6667%; flex-basis: 91.6667%; }
	.a360-col.a360-span-md-12 { width: 100%; flex-basis: 100%; }
}

@media (max-width: 549px) {
	.a360-col.a360-span-sm-1 { width: 8.3333%; flex-basis: 8.3333%; }
	.a360-col.a360-span-sm-2 { width: 16.6667%; flex-basis: 16.6667%; }
	.a360-col.a360-span-sm-3 { width: 25%; flex-basis: 25%; }
	.a360-col.a360-span-sm-4 { width: 33.3333%; flex-basis: 33.3333%; }
	.a360-col.a360-span-sm-5 { width: 41.6667%; flex-basis: 41.6667%; }
	.a360-col.a360-span-sm-6 { width: 50%; flex-basis: 50%; }
	.a360-col.a360-span-sm-7 { width: 58.3333%; flex-basis: 58.3333%; }
	.a360-col.a360-span-sm-8 { width: 66.6667%; flex-basis: 66.6667%; }
	.a360-col.a360-span-sm-9 { width: 75%; flex-basis: 75%; }
	.a360-col.a360-span-sm-10 { width: 83.3333%; flex-basis: 83.3333%; }
	.a360-col.a360-span-sm-11 { width: 91.6667%; flex-basis: 91.6667%; }
	.a360-col.a360-span-sm-12 { width: 100%; flex-basis: 100%; }
	.a360-col.a360-first-sm { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
	.a360-slider__track,
	.a360-btn,
	.a360-image--hover-zoom img,
	.a360-accordion__head::after {
		transition: none !important;
	}
}
