/* Aquaturbo Shorts de Produtos — estilos isolados */
.aqs-feed,
.aqs-feed * {
	box-sizing: border-box;
}

.aqs-feed {
	--aqs-blue: #0868f2;
	--aqs-navy: #062f63;
	--aqs-ink: #0b213d;
	--aqs-muted: #61758b;
	--aqs-line: #dce7f1;
	--aqs-soft: #f2f7fb;
	--aqs-gap: 16px;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(48px, 6vw, 88px) clamp(18px, 3vw, 28px);
	color: var(--aqs-ink);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

.aqs-feed a {
	text-decoration: none !important;
}

.aqs-feed button,
.aqs-feed a {
	-webkit-tap-highlight-color: transparent;
}

.aqs-feed__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 26px;
}

.aqs-feed__heading {
	max-width: 690px;
}

.aqs-feed__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--aqs-blue);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.aqs-feed__eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.aqs-feed__title {
	margin: 0 !important;
	color: var(--aqs-ink) !important;
	font: inherit !important;
	font-size: clamp(28px, 3vw, 42px) !important;
	font-weight: 750 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
	text-wrap: balance;
}

.aqs-feed__subtitle {
	max-width: 570px;
	margin: 12px 0 0 !important;
	color: var(--aqs-muted) !important;
	font: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
}

.aqs-feed__controls {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
}

.aqs-feed.aqs-has-overflow .aqs-feed__controls {
	display: flex;
}

.aqs-feed__arrow,
.aqs-feed__arrow:hover,
.aqs-feed__arrow:focus,
.aqs-feed__arrow:active {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-grid !important;
	place-items: center !important;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--aqs-line) !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--aqs-navy) !important;
	cursor: pointer;
	transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.aqs-feed__arrow:hover {
	border-color: var(--aqs-blue) !important;
	background: var(--aqs-blue) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.aqs-feed__arrow:disabled {
	opacity: 0.38;
	pointer-events: none;
}

.aqs-feed__arrow svg,
.aqs-card__watch svg,
.aqs-modal__footer a svg {
	width: 18px;
	height: 18px;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.aqs-feed__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--aqs-gap) * (var(--aqs-columns) - 1))) / var(--aqs-columns));
	gap: var(--aqs-gap);
	width: 100%;
	padding: 2px 2px 12px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
}

.aqs-feed__track::-webkit-scrollbar {
	display: none;
}

.aqs-card {
	min-width: 0;
	margin: 0 !important;
	scroll-snap-align: start;
}

.aqs-card__media {
	position: relative;
	isolation: isolate;
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border: 1px solid rgba(12, 48, 86, 0.12);
	border-radius: 18px;
	background: #e8f0f7;
	box-shadow: 0 10px 30px rgba(7, 38, 74, 0.08);
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.aqs-card__media:hover {
	border-color: rgba(8, 104, 242, 0.42);
	box-shadow: 0 18px 44px rgba(7, 38, 74, 0.15);
	transform: translateY(-3px);
}

.aqs-card__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 220ms ease;
}

.aqs-card__media:hover .aqs-card__image {
	transform: scale(1.055);
	filter: saturate(1.04);
}

.aqs-card__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(3, 24, 50, 0.08) 40%, rgba(3, 24, 50, 0.76) 100%);
}

.aqs-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 6px 16px rgba(4, 30, 63, 0.12);
	color: var(--aqs-navy);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.aqs-card__badge span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #25c99a;
	box-shadow: 0 0 0 4px rgba(37, 201, 154, 0.14);
}

.aqs-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 30px rgba(0, 22, 50, 0.22);
	color: var(--aqs-blue);
	transform: translate(-50%, -50%);
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
	backdrop-filter: blur(8px);
}

.aqs-card__play svg {
	width: 25px;
	height: 25px;
	margin-left: 2px;
	fill: currentColor !important;
}

.aqs-card__media:hover .aqs-card__play {
	background: var(--aqs-blue);
	color: #fff;
	transform: translate(-50%, -50%) scale(1.06);
}

.aqs-card__watch {
	position: absolute;
	right: 15px;
	bottom: 15px;
	left: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.aqs-card__watch svg {
	width: 16px;
	height: 16px;
}

.aqs-card__content {
	padding: 14px 4px 2px;
}

.aqs-card__label {
	display: block;
	margin-bottom: 5px;
	color: var(--aqs-muted);
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.aqs-card__product {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--aqs-ink) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.38;
	transition: color 180ms ease;
}

.aqs-card__product:hover {
	color: var(--aqs-blue) !important;
}

.aqs-feed :where(a, button):focus-visible {
	outline: 3px solid rgba(8, 104, 242, 0.3) !important;
	outline-offset: 3px !important;
}

.aqs-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.aqs-admin-note {
	max-width: 960px;
	margin: 20px auto;
	padding: 14px 16px;
	border: 1px solid #c8dcf2;
	border-left: 3px solid #0868f2;
	border-radius: 10px;
	background: #f3f8fd;
	color: #25435f;
	font: 14px/1.5 sans-serif;
}

/* O modal é movido para o body pelo JavaScript para evitar recortes do Elementor. */
.aqs-modal[hidden] {
	display: none !important;
}

.aqs-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.aqs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 17, 34, 0.82);
	backdrop-filter: blur(8px);
}

.aqs-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(440px, 100%);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	background: #07192d;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
	animation: aqs-modal-in 200ms ease-out both;
}

.aqs-modal__close,
.aqs-modal__close:hover,
.aqs-modal__close:focus,
.aqs-modal__close:active {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	z-index: 2 !important;
	display: grid !important;
	place-items: center !important;
	width: 42px !important;
	min-width: 42px !important;
	height: 42px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	border-radius: 50% !important;
	background: rgba(5, 26, 49, 0.68) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.aqs-modal__close:hover {
	background: #fff !important;
	color: #072d5b !important;
}

.aqs-modal__close svg {
	width: 20px;
	height: 20px;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.aqs-modal__player {
	width: min(390px, calc((100vh - 158px) * 0.5625), 100%);
	width: min(390px, calc((100dvh - 158px) * 0.5625), 100%);
	min-width: 0;
	aspect-ratio: 9 / 16;
	background: #000;
}

.aqs-modal__player iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	background: #000;
}

.aqs-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-width: 0;
	padding: 15px 18px 17px;
	background: #fff;
}

.aqs-modal__footer > div {
	min-width: 0;
}

.aqs-modal__footer span {
	display: block;
	margin-bottom: 3px;
	color: #6b7d8e;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aqs-modal__footer strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #0b213d;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
}

.aqs-modal__footer a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 38px;
	padding: 0 12px;
	border-radius: 9px;
	background: #edf5ff;
	color: #0868f2 !important;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.aqs-modal__footer a:hover {
	background: #0868f2;
	color: #fff !important;
}

.aqs-modal__footer a svg {
	width: 14px;
	height: 14px;
}

body.aqs-modal-open {
	overflow: hidden !important;
}

@keyframes aqs-modal-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 1100px) {
	.aqs-feed__track {
		grid-auto-columns: calc((100% - (var(--aqs-gap) * 3)) / 4);
	}
}

@media (max-width: 820px) {
	.aqs-feed__track {
		grid-auto-columns: calc((100% - (var(--aqs-gap) * 2)) / 3);
	}
}

@media (max-width: 580px) {
	.aqs-feed {
		--aqs-gap: 12px;
		padding: 42px 16px;
	}

	.aqs-feed__header {
		align-items: center;
		gap: 14px;
		margin-bottom: 20px;
	}

	.aqs-feed__eyebrow {
		font-size: 10px;
	}

	.aqs-feed__title {
		font-size: 29px !important;
	}

	.aqs-feed__subtitle {
		font-size: 14px !important;
	}

	.aqs-feed__controls {
		display: none !important;
	}

	.aqs-feed__track {
		grid-auto-columns: calc((100% - var(--aqs-gap)) / 2);
		margin-right: -16px;
		padding-right: 16px;
	}

	.aqs-card__media {
		border-radius: 15px;
	}

	.aqs-card__badge {
		top: 9px;
		left: 9px;
		min-height: 25px;
		padding: 0 8px;
		font-size: 9px;
	}

	.aqs-card__play {
		width: 50px;
		height: 50px;
	}

	.aqs-card__watch {
		right: 11px;
		bottom: 12px;
		left: 11px;
		font-size: 10px;
	}

	.aqs-card__content {
		padding-top: 11px;
	}

	.aqs-card__product {
		font-size: 12px;
		-webkit-line-clamp: 3;
	}

	.aqs-modal {
		padding: 10px;
	}

	.aqs-modal__dialog {
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		border-radius: 16px;
	}

	.aqs-modal__player {
		width: min(100%, calc((100vh - 132px) * 0.5625));
		width: min(100%, calc((100dvh - 132px) * 0.5625));
	}

	.aqs-modal__footer {
		padding: 12px 13px 14px;
	}

	.aqs-modal__footer a {
		padding: 0 10px;
	}
}

@media (max-width: 360px) {
	.aqs-feed__track {
		grid-auto-columns: 84%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aqs-feed *,
	.aqs-modal * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
