/*
 Theme Name:   Auto Landing Child
 Theme URI:    https://github.com/
 Description:  Child theme of Astra for the car-dealer landing site. Holds
               the WooCommerce catalog-mode snippet, analytics placeholders
               and template overrides for this project.
 Author:       Hyundai Phạm Văn Đồng
 Template:     astra
 Version:      1.0.0
 Text Domain:  auto-landing-child
*/

/*
 * ---------------------------------------------------------------------
 * Phase 06 — car model detail page: specs table + read-only trims list.
 * ---------------------------------------------------------------------
 * The add-to-cart form is replaced by `.auto-landing-trims` (see
 * woocommerce/single-product/add-to-cart/variable.php) and the spec table
 * is rendered in the summary by functions.php.
 */

.auto-landing-specs,
.auto-landing-trims-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	font-size: 0.95em;
}

.auto-landing-specs caption,
.auto-landing-trims-title {
	margin: 0 0 0.75em;
	font-size: 1.15em;
	font-weight: 600;
	text-align: left;
}

.auto-landing-specs th,
.auto-landing-specs td,
.auto-landing-trims-table th,
.auto-landing-trims-table td {
	padding: 0.6em 0.75em;
	border: 1px solid #e4e4e4;
	text-align: left;
	vertical-align: top;
}

.auto-landing-specs th,
.auto-landing-trims-table thead th {
	background: #f7f7f7;
	font-weight: 600;
}

.auto-landing-specs th {
	width: 40%;
}

.auto-landing-specs tbody tr:nth-child(even),
.auto-landing-trims-table tbody tr:nth-child(even) {
	background: #fbfbfb;
}

.auto-landing-trim-price {
	font-weight: 600;
	white-space: nowrap;
}

.auto-landing-trims-note,
.auto-landing-trims-empty {
	margin: 0.5em 0 1.25em;
	font-size: 0.85em;
	color: #666;
}

.auto-landing-cta {
	display: inline-block;
	margin-top: 0.5em;
}

/*
 * ---------------------------------------------------------------------
 * Phase 08 — showroom footer (footer.php) + floating call widget +
 * back-to-top button.
 * ---------------------------------------------------------------------
 * Colours come from the reference design: a navy gradient bar, white text,
 * a short underline below each column heading, and thin separators between
 * quick links. Selectors are deliberately two classes deep so they beat
 * Astra's own `.site-footer` rules regardless of load order.
 */

/* Site logo: the source is 520x40 (a wide wordmark), so cap width instead
   of Astra's height-only default to avoid overflowing the header/mobile. */
.ast-site-identity .custom-logo {
	max-width: 260px;
	width: auto;
	height: auto;
	max-height: 56px;
}

/* The wordmark logo already contains the showroom name; Astra still prints
   the site title beside it. Hide that duplicate text whenever a custom logo
   is set (both desktop and mobile headers). */
body.wp-custom-logo .ast-site-identity .ast-site-title-wrap {
	display: none;
}

.auto-landing-footer {
	background: linear-gradient(100deg, #123a72 0%, #0a2350 55%, #071a3d 100%);
	color: #fff;
	padding: 58px 0 112px;
	margin-top: 0;
	border-top: 0;
}

.auto-landing-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 28px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 0 64px;
	align-items: start;
}

/* Prominent CTA strip: the previous footer was too small to notice. */
.auto-landing-footer__cta {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 32px;
	margin-bottom: 46px;
	padding: 26px 34px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
}

.auto-landing-footer__cta-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.auto-landing-footer .auto-landing-footer__cta-label {
	color: rgba(255, 255, 255, 0.86);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.auto-landing-footer .auto-landing-footer__cta-phone {
	color: #fff;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.15;
}

.auto-landing-footer .auto-landing-footer__cta-phone a {
	color: #ff6b6b;
	text-decoration: none;
}

.auto-landing-footer .auto-landing-footer__cta-phone a:hover,
.auto-landing-footer .auto-landing-footer__cta-phone a:focus-visible {
	text-decoration: underline;
}

.auto-landing-footer .auto-landing-footer__cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 999px;
	background: #e02b2b;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease;
}

.auto-landing-footer .auto-landing-footer__cta-button:hover,
.auto-landing-footer .auto-landing-footer__cta-button:focus-visible {
	background: #c41c1c;
	transform: translateY(-2px);
}

.auto-landing-footer .auto-landing-footer__heading {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 14px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.auto-landing-footer .auto-landing-footer__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
}

/* Column 1: address / phone / email rows. */
.auto-landing-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.auto-landing-footer .auto-landing-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 8px 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 16px;
	line-height: 1.6;
}

.auto-landing-footer__icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 0.28em;
	color: #fff;
}

.auto-landing-footer__label {
	flex: 0 0 auto;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.auto-landing-footer__value {
	flex: 1 1 auto;
	min-width: 0;
}

.auto-landing-footer .auto-landing-footer__contact a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.auto-landing-footer .auto-landing-footer__contact a:hover,
.auto-landing-footer .auto-landing-footer__contact a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

/* Column 2: quick links with the reference design's hairline dividers. */
.auto-landing-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.auto-landing-footer__links li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.auto-landing-footer .auto-landing-footer__links a {
	display: block;
	padding: 14px 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
}

.auto-landing-footer .auto-landing-footer__links a:hover,
.auto-landing-footer .auto-landing-footer__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

/* Column 3: fanpage embed (or a neutral note until the URL is filled in). */
.auto-landing-footer__fanpage iframe {
	width: 100%;
	max-width: 340px;
	border-radius: 6px;
	background: #fff;
}

.auto-landing-footer .auto-landing-footer__fanpage-empty {
	margin: 0;
	padding: 14px 16px;
	border: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

/* Floating call widget: red circle + hotline, bottom-left. */
.auto-landing-floating-contact {
	position: fixed;
	left: 18px;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.auto-landing-floating-phone {
	display: inline-flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.auto-landing-floating-phone__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, #ff4d4d, #d81f1f 72%);
	box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.auto-landing-floating-phone__icon svg {
	width: 26px;
	height: 26px;
	fill: #fff;
}

.auto-landing-floating-phone__number {
	position: relative;
	margin-left: -14px;
	padding: 8px 14px 8px 22px;
	border-radius: 999px;
	background: linear-gradient(90deg, #e02b2b, #c41c1c);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.auto-landing-floating-zalo {
	display: inline-flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}
.auto-landing-floating-zalo:hover { color: #fff; }

.auto-landing-floating-zalo__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, #3d8bff, #0057e0 72%);
	box-shadow: 0 0 0 8px rgba(0, 104, 255, 0.18);
	font-size: 14px;
	font-weight: 800;
}

.auto-landing-floating-zalo__label {
	margin-left: -14px;
	padding: 8px 14px 8px 22px;
	border-radius: 999px;
	background: linear-gradient(90deg, #1a77ff, #0057e0);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

/* One back-to-top button only: ours (footer.php); hide Astra's. */
#ast-scroll-top { display: none !important; }

/* Back-to-top button, bottom-right (the reference design's circled arrow). */
.auto-landing-to-top {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(7, 26, 61, 0.85);
	color: #fff;
	cursor: pointer;
}

.auto-landing-to-top[hidden] {
	display: none;
}

.auto-landing-to-top:hover,
.auto-landing-to-top:focus-visible {
	background: rgba(12, 44, 96, 0.95);
	border-color: #fff;
}

.auto-landing-to-top svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 1024px) {
	.auto-landing-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 40px;
	}

	.auto-landing-footer__col--fanpage {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.auto-landing-footer {
		padding: 30px 0 76px;
	}

	.auto-landing-footer__inner {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 0 18px;
	}

	.auto-landing-floating-contact {
		left: 12px;
		bottom: 16px;
		gap: 6px;
	}

	.auto-landing-floating-zalo__icon { width: 46px; height: 46px; font-size: 12px; }
	.auto-landing-floating-zalo__label { padding: 7px 12px 7px 20px; font-size: 13px; }

	.auto-landing-floating-phone__icon {
		width: 46px;
		height: 46px;
		box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
	}

	.auto-landing-floating-phone__icon svg {
		width: 22px;
		height: 22px;
	}

	.auto-landing-floating-phone__number {
		padding: 7px 12px 7px 20px;
		font-size: 13px;
	}

	.auto-landing-to-top {
		right: 12px;
		bottom: 16px;
		width: 38px;
		height: 38px;
	}
}


@media (max-width: 544px) {
	.auto-landing-specs th,
	.auto-landing-specs td,
	.auto-landing-trims-table th,
	.auto-landing-trims-table td {
		padding: 0.5em;
		font-size: 0.9em;
	}

	.auto-landing-trim-price {
		white-space: normal;
	}
}

/* ---------------------------------------------------------------------
 * Header hotline + homepage hero (visual pass)
 * --------------------------------------------------------------------- */

/* The hotline sits above the main header so it is the first thing a
   visitor reads. Astra's `astra_above_header` hook prints the markup. */
.al-topbar {
	background: #fff;
	border-bottom: 1px solid rgba(0, 44, 95, 0.12);
}

.al-topbar__inner {
	max-width: 1200px;
	min-height: 46px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.al-topbar__tagline {
	color: #002c5f;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.al-topbar .al-topbar__hotline {
	color: #002c5f;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.al-topbar .al-topbar__hotline strong {
	margin-left: 6px;
	color: #e02b2b;
	font-size: 20px;
	letter-spacing: 0.01em;
}

.al-topbar .al-topbar__hotline:hover strong,
.al-topbar .al-topbar__hotline:focus-visible strong {
	text-decoration: underline;
}

/* Astra renders the page title on every page. On the front page the hero
   supplies its own headline, so the "Trang chủ" label is pure duplication. */
body.home .entry-header {
	display: none;
}

/* Astra adds a 60px top margin to #primary; the hero should start directly
   under the header like a full-width banner. */
/* Astra's dynamic CSS uses `.ast-plain-container.ast-no-sidebar #primary`
   inside a min-width media query, which outranks a plain ID selector. */
body.home #primary {
	margin-top: 0 !important;
}

/* Let the hero break out of Elementor's boxed 1140px container. The first
   section now holds only the [auto_landing_hero] shortcode. */
.elementor-21 .elementor-section:first-child .elementor-container {
	max-width: none;
}

.elementor-21 .elementor-section:first-child .elementor-widget-wrap {
	padding: 0;
}

/* Prevent the 100vw hero from creating a horizontal scrollbar. */
html,
body {
	overflow-x: hidden;
}

.al-hero {
	position: relative;
	left: 50%;
	width: 100vw;
	height: clamp(420px, 40vw, 620px);
	transform: translateX(-50%);
	overflow: hidden;
	background: #071a3d;
}

.al-hero__stage,
.al-hero__slide,
.al-hero__shade {
	position: absolute;
	inset: 0;
}

.al-hero__slide {
	background-position: center 42%;
	background-size: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease;
}

.al-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

/* Darken the left side so the headline stays readable over any photo. */
.al-hero__shade {
	background: linear-gradient(90deg, rgba(4, 20, 48, 0.9) 0%, rgba(4, 20, 48, 0.62) 38%, rgba(4, 20, 48, 0.05) 78%);
}

.al-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 80px;
	color: #fff;
}

.al-hero__kicker {
	margin-bottom: 14px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.al-hero .al-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 5vw, 72px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.al-hero .al-hero__desc {
	margin: 18px 0 30px;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(17px, 2vw, 24px);
	line-height: 1.4;
}

.al-hero .al-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 30px;
	border-radius: 999px;
	background: #e02b2b;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
	transition: background 0.2s ease, transform 0.2s ease;
}

.al-hero .al-hero__cta:hover,
.al-hero .al-hero__cta:focus-visible {
	background: #c41c1c;
	transform: translateY(-2px);
}

.al-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	font-size: 38px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.al-hero__arrow:hover,
.al-hero__arrow:focus-visible {
	background: rgba(0, 0, 0, 0.42);
}

.al-hero__arrow--prev { left: 32px; }
.al-hero__arrow--next { right: 32px; }

.al-hero__dots {
	position: absolute;
	bottom: 26px;
	left: 50%;
	z-index: 3;
	display: flex;
	gap: 11px;
	transform: translateX(-50%);
}

.al-hero__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.al-hero__dot.is-active {
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}

@media (max-width: 768px) {
	.al-topbar__tagline { font-size: 11px; }
	.al-topbar .al-topbar__hotline { font-size: 12px; }
	.al-topbar .al-topbar__hotline strong { font-size: 16px; }

	.al-hero__content { padding: 0 44px; }
	.al-hero .al-hero__title { font-size: 36px; }
	.al-hero__shade {
		background: linear-gradient(90deg, rgba(4, 20, 48, 0.88) 0%, rgba(4, 20, 48, 0.55) 100%);
	}
	.al-hero__arrow { width: 34px; height: 34px; font-size: 24px; }
	.al-hero__arrow--prev { left: 8px; }
	.al-hero__arrow--next { right: 8px; }
	.al-hero__dots { bottom: 18px; }
	.al-hero .al-hero__cta { padding: 12px 22px; font-size: 15px; }
}


/* ---------- Catalog: model tiles, per-model sections, trim cards ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.auto-landing-tiles,
.auto-landing-model {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 16px;
	scroll-margin-top: 90px;
}

.auto-landing-heading {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 24px;
	text-align: center;
	text-transform: uppercase;
	font-size: 24px;
}
.auto-landing-heading::before,
.auto-landing-heading::after {
	content: "";
	flex: 1;
	border-top: 1px solid #d9d9d9;
}

.auto-landing-tiles__grid,
.auto-landing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.auto-landing-tile {
	display: block;
	text-align: center;
	text-decoration: none;
	color: inherit;
}
.auto-landing-tile img { width: 100%; height: auto; display: block; }
.auto-landing-tile__name {
	display: block;
	margin-top: 8px;
	font-weight: 700;
	text-transform: uppercase;
}
.auto-landing-tile:hover .auto-landing-tile__name { color: #c8102e; }

.auto-landing-card { text-align: center; }
.auto-landing-card__media img { width: 100%; height: auto; display: block; }
.auto-landing-card__title { margin: 10px 0 4px; font-size: 16px; }
.auto-landing-card__title a { color: inherit; text-decoration: none; }
.auto-landing-card__price { margin: 0 0 10px; color: #c8102e; font-weight: 700; }
.auto-landing-card__cta {
	display: inline-block;
	padding: 8px 18px;
	background: #c8102e;
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
	font-weight: 600;
}
.auto-landing-card__cta:hover { background: #a00d25; color: #fff; }

.auto-landing-back-to-tiles { display: block; margin-top: 16px; text-align: right; font-size: 14px; }

@media (max-width: 921px) {
	.auto-landing-tiles__grid, .auto-landing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.auto-landing-tiles__grid, .auto-landing-grid { grid-template-columns: 1fr; }
}

/* ---------- Category page + trim page ---------- */
.woocommerce ul.products.columns-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.woocommerce ul.products.columns-4::before,
.woocommerce ul.products.columns-4::after { display: none; }
.woocommerce ul.products li.auto-landing-loop-item {
	width: auto;
	margin: 0;
	float: none;
	padding: 0;
}
.woocommerce div.product .price,
.woocommerce div.product p.price { color: #c8102e; font-weight: 700; }
.auto-landing-offers ul { margin: 0 0 16px 1.2em; }
.auto-landing-share { margin: 16px 0; font-size: 14px; }
.auto-landing-share a { margin-left: 10px; }
@media (max-width: 921px) {
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.woocommerce ul.products.columns-4 { grid-template-columns: 1fr; }
}

/* Astra underlines content links; catalog links should not be underlined. */
.auto-landing-tiles a,
.auto-landing-model a,
.auto-landing-loop-item a,
.auto-landing-card a,
.woocommerce ul.products li.auto-landing-loop-item a { text-decoration: none; }
.auto-landing-card__title a:hover,
.auto-landing-tile:hover { text-decoration: none; }
.auto-landing-card a.auto-landing-card__cta,
.auto-landing-card a.auto-landing-card__cta:hover { color: #fff; }

/* Astra's `.ast-single-post .entry-content a` (underline) outranks the rules above on the homepage. */
.ast-single-post .entry-content :is(.auto-landing-tiles, .auto-landing-model) a { text-decoration: none; }
.ast-single-post .entry-content .auto-landing-back-to-tiles { text-decoration: underline; }
.ast-single-post .entry-content .auto-landing-card a.auto-landing-card__cta { color: #fff; }

/* ---------- Services ---------- */
.auto-landing-services { background: #f3f3f3; padding: 40px 16px; }
.auto-landing-services__inner { max-width: 1200px; margin: 0 auto; }
.auto-landing-services .auto-landing-heading { color: #002c5f; font-weight: 800; }
.auto-landing-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.auto-landing-service { display: flex; gap: 20px; align-items: flex-start; }
.auto-landing-service img { flex: none; width: 75px; height: 75px; object-fit: contain; }
.auto-landing-service h3 { margin: 0 0 8px; font-size: 20px; color: #002c5f; }
.auto-landing-service p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 921px) { .auto-landing-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .auto-landing-services__grid { grid-template-columns: 1fr; } }

/* Services band: full viewport width, flush against the footer. */
.auto-landing-services {
	position: relative;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
}
body.home #primary { margin-bottom: 0 !important; }
.elementor-21 .elementor-section:last-child .elementor-container { max-width: none; }
.elementor-21 .elementor-section:last-child .elementor-widget-wrap { padding: 0; }

/* Photos have mixed aspect ratios: show them whole (contain) in a fixed 4:3 frame instead of cropping. */
.auto-landing-tile,
.auto-landing-card {
	padding: 12px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.auto-landing-tile img,
.auto-landing-card__media img {
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #fff;
}

/* ---------- Model description article (tab "Mô tả") ---------- */
.auto-landing-article h3,
.woocommerce div.product .auto-landing-article h3 { margin: 64px 0 14px; font-size: 22px; color: #002c5f; }
.auto-landing-article p { margin: 0 0 18px; line-height: 1.8; }
.auto-landing-article__img { display: block; width: 100%; max-width: 100%; height: auto; margin: 20px 0 56px; border-radius: 8px; }

/* Article lists (the "Phiên bản" section). */
.auto-landing-article ul { margin: 0 0 20px 1.3em; padding: 0; }
.auto-landing-article li { margin: 0 0 10px; line-height: 1.7; }
.auto-landing-article strong { color: #002c5f; }
