/*
 * AGTEK store — trang chủ cửa hàng, danh mục, sản phẩm, so sánh.
 * Bố cục/cỡ chữ/màu tham chiếu store.dji.com (đo 25/09/2026); token trong assets/site/site.css (:root --dj-*).
 * Mobile-first. Chỉ nạp trên trang cửa hàng. Không phụ thuộc hover.
 */
.ag-store { color: var(--dj-text); font-family: var(--dj-font); font-size: 16px; line-height: 24px; }
.ag-store *, .ag-store *::before, .ag-store *::after { box-sizing: border-box; }
.ag-store img { max-width: 100%; height: auto; }
.ag-store h1, .ag-store h2, .ag-store h3 { color: var(--dj-head); font-weight: 600; letter-spacing: 0; text-transform: none; }
.ag-store button, .ag-store .ag-btn, .ag-store th, .ag-store td, .ag-store dt, .ag-store dd, .ag-store label, .ag-store select, .ag-store summary { text-transform: none; letter-spacing: normal; }
.ag-store a { text-decoration: none; }
.ag-wrap { max-width: calc(var(--dj-wrap) + 2 * var(--dj-gutter)); margin: 0 auto; padding: 0 var(--dj-gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
body.ag-home-page .ag-hwrap { max-width: none; }

/* ---------- Buttons ---------- */
.ag-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 48px; padding: 14px 32px; margin: 0; border-radius: 3200px; border: 1px solid transparent;
	font-size: 16px; line-height: 20px; font-weight: 400; text-align: center; cursor: pointer; white-space: nowrap;
	background: var(--dj-blue); color: #fff; transition: background-color .15s, color .15s, border-color .15s;
}
.ag-btn:hover { background: #0052cc; color: #fff; }
.ag-btn:focus-visible, .ag-option:focus-visible, .ag-filter__opt input:focus-visible + span { outline: 2px solid var(--dj-blue); outline-offset: 2px; }
.ag-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ag-btn--primary { background: var(--dj-blue); color: #fff; }
.ag-btn--outline { background: #fff; color: var(--dj-blue); border-color: var(--dj-blue); }
.ag-btn--outline:hover { background: var(--dj-blue-soft); color: var(--dj-blue); }
.ag-btn--dark { background: var(--dj-black); color: #fff; }
.ag-btn--dark:hover { background: #000; }
.ag-btn--light { background: #fff; color: var(--dj-head); }
.ag-btn--light:hover { background: #f2f2f2; color: #000; }
.ag-btn--sm { min-height: 32px; padding: 6px 16px; font-size: 12px; line-height: 18px; }
.ag-btn .ag-i { width: 18px; height: 18px; }
.ag-link-btn { background: none; border: 0; padding: 8px 0; margin: 0; color: var(--dj-blue); font-size: 14px; cursor: pointer; min-height: 0; }
.ag-pill { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; margin: 0; border: 0; border-radius: 16px; background: var(--dj-blue-soft); color: var(--dj-blue); font-size: 14px; font-weight: 400; cursor: pointer; }
.ag-dot-arrow { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #222; color: #fff; align-items: center; justify-content: center; vertical-align: -3px; }
.ag-dot-arrow .ag-i { width: 12px; height: 12px; stroke-width: 2.4; }

/* ---------- Price ---------- */
.ag-price { margin: 0; color: var(--dj-head); font-weight: 400; }
.ag-price--lg .ag-price__amount { font-size: 24px; line-height: 32px; font-weight: 600; }
.ag-price--lg .ag-price__cur { font-size: 12px; margin-left: 2px; }
.ag-price--sm { font-size: 12px; line-height: 18px; }
.ag-price--sm .ag-price__cur { margin-left: 2px; }
.ag-price__from { font-size: 12px; }
.ag-price__was { margin-left: 6px; font-size: 12px; color: #636363; white-space: nowrap; }
.ag-card .ag-price--lg .ag-price__was { display: block; margin: 2px 0 0; }
.ag-price--quote { font-size: 14px; color: var(--dj-orange); font-weight: 600; }
.ag-price--sm.ag-price--quote { font-size: 12px; }

/* ---------- Product card ---------- */
.ag-card { position: relative; display: flex; flex-direction: column; background: var(--dj-card); overflow: hidden; }
.ag-card[hidden] { display: none; }
.ag-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 24px; }
.ag-card__media img { width: 100%; height: 100%; object-fit: contain; margin: 0; mix-blend-mode: multiply; }
.ag-card__body { display: flex; flex-direction: column; gap: 8px; padding: 0 24px 24px; flex: 1; }
.ag-card__title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.ag-card__title a { color: var(--dj-head); }
.ag-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ag-card:hover .ag-card__title a { color: var(--dj-blue); }
.ag-card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 0 6px; border: 1px solid currentColor; border-radius: 2px; font-size: 12px; line-height: 18px; color: var(--dj-orange); background: #fff; }
.ag-card__tag--giam-gia { color: var(--dj-red); }
.ag-card__tag--moi { color: var(--dj-blue); }
.ag-card__tag--het-hang { color: var(--dj-sub); }
/* Thẻ trang chủ: nền trắng, dòng mô tả nhỏ, tên lớn hơn */
.ag-card--home { background: #fff; border-radius: 4px; }
.ag-card--home .ag-card__media { background: #fafafa; aspect-ratio: 4 / 3; }
.ag-card--home .ag-card__body { padding: 12px 16px 16px; gap: 4px; }
.ag-card__eyebrow { margin: 0; font-size: 10px; line-height: 14px; color: var(--dj-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-card--home .ag-card__title { font-size: 16px; line-height: 22px; font-weight: 400; }
.ag-card--home .ag-price { margin-top: auto; padding-top: 12px; }

/* ---------- Grids ---------- */
.ag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .ag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 768px) { .ag-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ag-grid--home { gap: 8px; }

/* ---------- List page (danh mục / dòng) ---------- */
.ag-list { background: #fff; }
.ag-list__head { text-align: center; padding: 32px 0 40px; }
.ag-list__head .ag-wrap > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.ag-list__hero { margin: -32px 0 32px; }
.ag-list__hero img { width: 100%; max-height: 420px; object-fit: cover; }
.ag-list__title { margin: 0; font-size: 32px; line-height: 36px; }
.ag-list__intro { margin: 12px auto 0; color: var(--dj-muted); font-size: 16px; }
.ag-list__body { position: relative; display: flex; gap: 32px; padding-top: 32px; }
.ag-list__body::before { content: ""; position: absolute; top: 0; left: var(--dj-gutter); right: var(--dj-gutter); border-top: 1px solid var(--dj-line-2); }
.ag-filter { flex: 0 0 256px; padding: 0 24px; }
.ag-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ag-filter__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--dj-head); }
.ag-filter__close { display: none; background: none; border: 0; padding: 4px; margin: 0; cursor: pointer; min-height: 0; }
.ag-filter__group { border: 0; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--dj-line-2); }
.ag-filter__group legend { text-transform: none; letter-spacing: 0; border: 0; width: auto; padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--dj-head); }
.ag-filter__opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; margin: 0; font-size: 14px; font-weight: 400; color: var(--dj-text); cursor: pointer; }
.ag-filter__opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--dj-blue); }
.ag-filter__opt small { margin-left: auto; color: var(--dj-sub); font-size: 12px; }
.ag-results { flex: 1 1 auto; min-width: 0; padding: 0 24px 48px; }
.ag-results__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ag-results__count { margin: 0 auto 0 0; font-size: 14px; color: var(--dj-text); }
.ag-results__filter-btn { display: none; }
.ag-sort select { border: 0; background: transparent; color: var(--dj-blue); font-size: 14px; margin: 0; padding: 0 16px 0 0; height: 32px; box-shadow: none; cursor: pointer; }
.ag-sort span { white-space: nowrap; }
.ag-empty, .ag-empty-state, .ag-notice { padding: 24px; background: var(--dj-soft); color: var(--dj-muted); font-size: 14px; }
.ag-empty-state { margin: 0 auto 48px; text-align: center; max-width: 640px; }
@media (max-width: 1023px) {
	.ag-list__body { padding-top: 16px; }
	.ag-filter { position: fixed; inset: 0; z-index: 2147483000; overflow-y: auto; background: #fff; padding: 16px var(--dj-gutter) 32px; display: none; }
	.ag-filter.is-open { display: block; }
	.ag-filter__close { display: inline-flex; }
	.ag-results { padding: 0 0 32px; }
	.ag-results__filter-btn { display: inline-flex; }
}
@media (max-width: 767px) {
	.ag-list__title { font-size: 24px; line-height: 32px; }
	.ag-card__media { padding: 12px; }
	.ag-card__body { padding: 0 12px 16px; }
	.ag-price--lg .ag-price__amount { font-size: 18px; line-height: 24px; }
	.ag-sort span { display: none; }
}

/* ---------- Sections ---------- */
.ag-section { padding: 48px 0; scroll-margin-top: 80px; }
.ag-section + .ag-section { border-top: 1px solid var(--dj-line-2); }
.ag-section__title { margin: 0 0 24px; font-size: 32px; line-height: 40px; }
@media (max-width: 767px) { .ag-section__title { font-size: 24px; line-height: 32px; } .ag-section { padding: 32px 0; } }
.ag-chiplinks { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-chiplinks a { padding: 6px 16px; border-radius: 16px; background: var(--dj-soft); color: var(--dj-head); font-size: 14px; }
.ag-chiplinks a:hover { color: var(--dj-blue); }
.ag-seo-content { color: var(--dj-text); font-size: 14px; line-height: 24px; }
.ag-seo-content h2 { font-size: 24px; line-height: 32px; }
.ag-faq__item { border-bottom: 1px solid var(--dj-line-2); }
.ag-faq__item summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 16px; color: var(--dj-head); list-style: none; position: relative; }
.ag-faq__item summary::-webkit-details-marker { display: none; }
.ag-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 20px; color: var(--dj-sub); font-weight: 400; }
.ag-faq__item[open] summary::after { content: "−"; }
.ag-faq__answer { padding: 0 0 16px; font-size: 14px; }

/* ---------- PDP ---------- */
.ag-pdp { background: #fff; padding-bottom: 96px; }
.ag-buy { display: grid; gap: 24px; padding: 40px 0 48px; }
@media (min-width: 1024px) {
	.ag-buy { grid-template-columns: minmax(0, 655px) minmax(0, 500px); justify-content: space-between; gap: 45px; align-items: start; }
	.ag-gallery { position: sticky; top: 24px; }
}
@media (max-width: 1023px) { .ag-buy { padding-top: 0; } .ag-pdp > .ag-wrap:first-child { padding: 0; } .ag-buy__info { padding: 0 var(--dj-gutter); } }
.ag-gallery__stage { position: relative; }
.ag-gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--dj-card); scrollbar-width: none; }
.ag-gallery__main::-webkit-scrollbar { display: none; }
.ag-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.ag-gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ag-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; margin: 0; background: rgba(0, 0, 0, .25); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; min-height: 0; }
.ag-gallery__nav:hover { background: rgba(0, 0, 0, .45); }
.ag-gallery__nav--prev { left: 16px; }
.ag-gallery__nav--prev .ag-i { transform: rotate(180deg); }
.ag-gallery__nav--next { right: 16px; }
.ag-gallery__dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.ag-gallery__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; margin: 0; background: rgba(0, 0, 0, .2); cursor: pointer; min-height: 0; }
.ag-gallery__dot.is-active { background: rgba(0, 0, 0, .65); }
.ag-gallery__tabs { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.ag-gallery__tab { padding: 6px 16px; border-radius: 16px; font-size: 14px; color: var(--dj-head); }
.ag-gallery__tab.is-active { background: #222; color: #fff; }
@media (max-width: 1023px) { .ag-gallery__nav { display: none; } }

.ag-buy__info { display: flex; flex-direction: column; gap: 16px; }
.ag-buy__title { margin: 0; font-size: 32px; line-height: 36px; color: #333; }
@media (max-width: 767px) { .ag-buy__title { font-size: 24px; line-height: 30px; } }
.ag-buy__tagline { font-size: 14px; color: var(--dj-muted); }
.ag-buy__tagline p { margin: 0; }
.ag-infobox { background: var(--dj-soft); border-radius: 8px; }
.ag-infobox__row { display: flex; gap: 16px; padding: 16px 24px; font-size: 14px; line-height: 24px; color: var(--dj-text); }
.ag-infobox__row + .ag-infobox__row { border-top: 1px solid var(--dj-line-2); }
.ag-infobox__row .ag-i { width: 20px; height: 20px; margin-top: 2px; color: #333; }
.ag-infobox ul { list-style: none; margin: 0; padding: 0; }
.ag-infobox li { margin: 0; }
.ag-infobox a { color: var(--dj-text); }
.ag-options { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ag-options__title { margin: 0 0 8px; font-size: 20px; line-height: 24px; }
.ag-option { display: flex; align-items: center; gap: 24px; width: 100%; padding: 16px 24px; margin: 0; border: 1px dashed var(--dj-line-2); border-radius: 4px; background: #fff; text-align: left; cursor: pointer; min-height: 0; font: inherit; color: inherit; }
.ag-option.is-selected { border: 2px dashed var(--dj-blue); padding: 15px 23px; }
.ag-option__img { flex: 0 0 88px; }
.ag-option__img img { width: 88px; height: 88px; object-fit: contain; }
.ag-option__text { display: flex; flex-direction: column; gap: 6px; }
.ag-option__name { font-size: 18px; line-height: 24px; color: var(--dj-head); }
.ag-option__price .ag-price { font-size: 16px; }
.ag-option__stock { font-size: 14px; color: var(--dj-text); }
.ag-option__stock.is-out { color: var(--dj-red); }
.ag-buy__contact { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-accordion { background: var(--dj-soft); border-radius: 8px; }
.ag-accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 14px; color: var(--dj-head); cursor: pointer; list-style: none; }
.ag-accordion summary::-webkit-details-marker { display: none; }
.ag-accordion summary .ag-i { width: 16px; height: 16px; color: var(--dj-blue); }
.ag-accordion[open] summary .ag-i { transform: rotate(180deg); }
.ag-accordion > div { padding: 0 24px 20px; font-size: 14px; }
.ag-accordion p { margin: 0 0 12px; }
/* Form WooCommerce: giữ để xử lý giỏ hàng; nút/ô chọn thật ẩn (thẻ phiên bản + thanh mua điều khiển) */
.ag-woo-form form.cart { margin: 0; }
.ag-woo-form .variations, .ag-woo-form .reset_variations, .ag-woo-form .single_add_to_cart_button, .ag-woo-form .quantity { display: none !important; }
.ag-woo-form .woocommerce-variation-availability, .ag-woo-form .woocommerce-variation-price { display: none; }
.ag-woo-form .woocommerce-variation-description { font-size: 14px; color: var(--dj-muted); }

/* Feature tiles */
.ag-features { padding: 0 0 16px; }
.ag-features__grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .ag-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ag-feature.is-wide { grid-column: 1 / -1; } }
.ag-feature { position: relative; overflow: hidden; background: var(--dj-soft); min-height: 200px; display: flex; }
.ag-feature.has-image { background: #111; min-height: 360px; }
.ag-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-feature__text { position: relative; padding: 32px; max-width: 900px; }
.ag-feature h2 { margin: 0 0 8px; font-size: 32px; line-height: 40px; }
.ag-feature p { margin: 0; font-size: 16px; }
.ag-feature.has-image h2, .ag-feature.has-image p { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 767px) { .ag-feature h2 { font-size: 22px; line-height: 28px; } .ag-feature__text { padding: 24px; } }
.ag-video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; margin: 0; border: 0; overflow: hidden; background: #000; cursor: pointer; }
.ag-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.ag-video__play::after { content: "▶"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 26px; line-height: 72px; text-align: center; }
.ag-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ag-content { font-size: 16px; line-height: 28px; }

.ag-box { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .ag-box { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ag-box li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; }
.ag-box__img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; background: var(--dj-card); }
.ag-box__img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.ag-box__qty { color: var(--dj-sub); }
.ag-specs__group { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--dj-line-2); }
@media (min-width: 768px) { .ag-specs__group { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; } }
.ag-specs__group h3 { margin: 0; font-size: 18px; line-height: 24px; }
.ag-specs dl { margin: 0; }
.ag-specs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 8px 0; font-size: 14px; }
.ag-specs dt { margin: 0; font-weight: 400; color: #5c6064; opacity: 1; }
.ag-specs dd { margin: 0; color: var(--dj-head); }
.ag-downloads { margin: 0; padding-left: 20px; font-size: 14px; }
.ag-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .ag-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ag-posts li { margin: 0; }
.ag-posts a { display: flex; flex-direction: column; gap: 12px; color: var(--dj-head); font-size: 16px; }
.ag-posts img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Thanh mua dưới đáy */
.ag-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -1px 0 var(--dj-line), 0 -8px 24px rgba(0, 0, 0, .06); }
.ag-buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.ag-buybar__stock { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--dj-text); }
.ag-buybar__stock.is-out { color: var(--dj-red); }
.ag-buybar__stock .ag-i { color: var(--dj-sub); }
.ag-buybar__right { display: flex; align-items: center; gap: 16px; }
.ag-buybar__price .ag-price { font-size: 12px; }
.ag-buybar__price .ag-price__amount { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (max-width: 767px) {
	.ag-buybar__inner { min-height: 64px; gap: 8px; }
	.ag-buybar__stock { display: none; }
	.ag-buybar__right { width: 100%; }
	.ag-buybar__price { margin-right: auto; }
	.ag-buybar .ag-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
	.ag-buybar__add { display: none; }
}
body.ag-has-buybar .ag-footer { padding-bottom: 84px; }
/* Nút Zalo/gọi nổi (plugin button-contact-vr) — đẩy lên trên thanh mua */
body.ag-has-buybar #button-contact-vr { bottom: 84px !important; }
@media (max-width: 767px) { body.ag-has-buybar #button-contact-vr { bottom: 64px !important; } }

/* ---------- Store home ---------- */
.ag-home { background: var(--dj-bg); padding-bottom: 64px; }
.ag-home__title { margin: 0; padding: 32px 0 0; font-size: 32px; line-height: 40px; }
.ag-home-hero { position: relative; }
.ag-home-hero__slide { position: relative; display: block; color: var(--dj-head); }
.ag-home-hero__slide picture img { width: 100%; height: auto; display: block; }
.ag-home-hero__slide:not(.is-split) .ag-home-hero__text { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.ag-home-hero__slide.is-split { background: linear-gradient(115deg, #fbf3e8 0%, #f6e3c9 45%, #f1c9a0 100%); }
.ag-home-hero__slide.is-split .ag-home-hero__grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 24px; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .ag-home-hero__slide.is-split .ag-home-hero__grid { grid-template-columns: 1fr 1fr; min-height: 610px; } }
.ag-home-hero__media img { width: 100%; max-height: 520px; object-fit: contain; }
.ag-home-hero__text h2 { margin: 0 0 16px; font-size: 64px; line-height: 72px; color: var(--dj-head); }
.ag-home-hero__text p { margin: 0 0 40px; font-size: 28px; line-height: 36px; color: var(--dj-head); }
@media (max-width: 767px) {
	.ag-home-hero__slide:not(.is-split) .ag-home-hero__text { top: auto; bottom: 24px; transform: none; }
	.ag-home-hero__text h2 { font-size: 32px; line-height: 40px; }
	.ag-home-hero__text p { font-size: 16px; line-height: 24px; margin-bottom: 16px; }
	.ag-home-hero__slide.is-split .ag-home-hero__grid { min-height: 0; padding-top: 32px; }
}
.ag-home-section { padding: 48px 0 0; }
.ag-home-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ag-home-section__head h2 { margin: 0; font-size: 32px; line-height: 36px; }
.ag-home-section__head a { font-size: 14px; color: var(--dj-text); }
@media (max-width: 767px) { .ag-home-section__head h2 { font-size: 24px; line-height: 32px; } .ag-home-section { padding-top: 32px; } }

.ag-showcase__banner { position: relative; overflow: hidden; background: linear-gradient(120deg, #eef1f5, #dfe6ef); border-radius: 4px; min-height: 320px; display: flex; align-items: center; }
.ag-showcase__banner.has-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-showcase__product { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 40%; max-height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.ag-showcase__text { position: relative; padding: 48px; max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ag-showcase__text h3 { margin: 0; font-size: 32px; line-height: 36px; }
.ag-showcase__sub { margin: 0; font-size: 14px; color: var(--dj-muted); }
.ag-showcase__text .ag-price { margin: 16px 0; font-size: 14px; }
.ag-showcase__banner.has-image .ag-showcase__text h3, .ag-showcase__banner.has-image .ag-showcase__sub, .ag-showcase__banner.has-image .ag-price { color: #fff; }
.ag-showcase__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
@media (min-width: 768px) { .ag-showcase__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.ag-showcase__banner { min-height: 0; flex-direction: column; align-items: stretch; }
	.ag-showcase__banner.has-image { min-height: 320px; justify-content: flex-end; }
	.ag-showcase__product { position: static; transform: none; width: 60%; max-height: 200px; margin: 24px auto 0; }
	.ag-showcase__text { padding: 16px 24px 24px; }
	.ag-showcase__text h3 { font-size: 22px; line-height: 28px; }
}
.ag-showcase__side { display: flex; flex-direction: column; gap: 8px; }
.ag-guidecard, .ag-morecard { display: flex; background: #fff; border-radius: 4px; color: var(--dj-head); }
.ag-guidecard { flex: 1; flex-direction: column; gap: 4px; padding: 20px 16px; min-height: 160px; }
.ag-guidecard__eyebrow { font-size: 10px; line-height: 14px; }
.ag-guidecard__title { font-size: 16px; line-height: 22px; }
.ag-morecard { align-items: center; justify-content: center; gap: 6px; min-height: 48px; font-size: 14px; }
.ag-guidecard:hover .ag-guidecard__title, .ag-morecard:hover { color: var(--dj-blue); }

.ag-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .ag-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ag-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding: 20px 16px; min-height: 180px; background: #fff; border-radius: 4px; color: var(--dj-head); font-size: 14px; text-align: center; }
.ag-tile img { max-height: 110px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ag-tile:hover { color: var(--dj-blue); }
.ag-usp-strip { display: grid; gap: 8px; }
@media (min-width: 768px) { .ag-usp-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ag-usp-strip > div { padding: 24px 16px; background: #fff; border-radius: 4px; text-align: center; font-size: 14px; }
.ag-usp-strip strong { display: block; margin-bottom: 4px; font-weight: 600; color: var(--dj-head); }
.ag-home .ag-posts a { background: #fff; border-radius: 4px; overflow: hidden; padding-bottom: 16px; }
.ag-home .ag-posts span { padding: 0 16px; }
.ag-banner { display: block; border-radius: 4px; overflow: hidden; }
.ag-banner img { width: 100%; display: block; }

/* ---------- Compare ---------- */
.ag-compare { background: #fff; padding: 32px 0 64px; }
.ag-compare .ag-list__title { text-align: center; margin-bottom: 24px; }
.ag-compare__pick { display: grid; gap: 8px; margin: 0 0 32px; }
@media (min-width: 768px) { .ag-compare__pick { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; } }
.ag-compare__pick select { height: 48px; border-radius: 4px; margin: 0; width: 100%; }
.ag-compare__scroll { overflow-x: auto; }
.ag-compare__table { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; }
.ag-compare__table th, .ag-compare__table td { padding: 12px 16px; border-bottom: 1px solid var(--dj-line-2); text-align: left; vertical-align: top; font-size: 14px; }
.ag-compare__table thead th { vertical-align: bottom; border-bottom: 0; }
.ag-compare__table thead a { display: flex; flex-direction: column; gap: 8px; color: var(--dj-head); font-size: 16px; font-weight: 600; }
.ag-compare__table thead img { width: 160px; background: var(--dj-card); mix-blend-mode: multiply; }
.ag-compare__table tbody th[scope="row"] { color: var(--dj-sub); font-weight: 400; width: 25%; }
.ag-compare__group th { padding-top: 32px; font-size: 18px; font-weight: 600; color: var(--dj-head); border-bottom: 1px solid #000 !important; }
.ag-compare__table td.is-best { color: var(--dj-blue); font-weight: 600; }
.ag-compare__legend { font-size: 12px; color: var(--dj-sub); }
.ag-compare__legend .is-best { color: var(--dj-blue); font-weight: 600; }

/* Khay so sánh (nằm trên thanh mua) */
.ag-compare-tray { position: fixed; left: 0; right: 0; bottom: 84px; z-index: 95; background: #222; color: #fff; padding: 10px 0; }
.ag-compare-tray__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ag-compare-tray__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; font-size: 13px; }
.ag-compare-tray__list li { margin: 0; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 4px 12px; }
.ag-compare-tray__note { margin: 0; font-size: 13px; color: #cfd4d9; flex: 1 1 100%; }
.ag-compare-tray__note:empty { display: none; }
.ag-compare-tray .ag-link-btn { color: #cfd4d9; }
.ag-compare-tray__actions { display: flex; gap: 8px; align-items: center; }
.ag-compare-tray [aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 767px) { .ag-compare-tray { bottom: 64px; } }

.ag-related-terms .ag-section__title { font-size: 20px; line-height: 28px; margin-bottom: 16px; }

/* Ô liên kết trang chủ */
.ag-ltiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1024px) { .ag-ltiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ag-ltile { position: relative; display: flex; overflow: hidden; border-radius: 4px; color: var(--dj-head); }
.ag-ltiles--dark .ag-ltile { min-height: 420px; background: #1d1d1f; color: #fff; align-items: flex-start; }
.ag-ltiles--dark .ag-ltile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ag-ltiles--dark .ag-ltile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%); }
.ag-ltiles--dark .ag-ltile__text { position: relative; z-index: 1; padding: 32px; }
.ag-ltiles--dark .ag-ltile__title { display: block; font-size: 28px; line-height: 32px; font-weight: 600; color: #fff; }
.ag-ltiles--dark .ag-ltile__sub { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .85); }
.ag-ltiles--dark .ag-ltile:hover .ag-ltile__img { transform: scale(1.03); }
.ag-ltiles--light .ag-ltile { flex-direction: column-reverse; justify-content: flex-end; background: #fff; min-height: 240px; }
.ag-ltiles--light .ag-ltile__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: auto; }
.ag-ltiles--light .ag-ltile__text { padding: 16px 16px 12px; text-align: center; }
.ag-ltiles--light .ag-ltile__title { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.ag-ltiles--light .ag-ltile__sub { display: block; font-size: 12px; color: var(--dj-sub); }
.ag-ltiles--light .ag-ltile:hover .ag-ltile__title { color: var(--dj-blue); }
@media (max-width: 767px) { .ag-ltiles--dark .ag-ltile { min-height: 260px; } .ag-ltiles--dark .ag-ltile__text { padding: 16px; } .ag-ltiles--dark .ag-ltile__title { font-size: 18px; line-height: 24px; } }
/* Đoạn nội dung SEO trên trang chủ */
.ag-home-text { background: #fff; border-radius: 4px; padding: 40px 48px; font-size: 14px; line-height: 24px; column-gap: 48px; }
@media (min-width: 1024px) { .ag-home-text { columns: 2; } .ag-home-text h2, .ag-home-text h3 { break-after: avoid; } .ag-home-text p { break-inside: avoid; } }
.ag-home-text h2 { font-size: 18px; line-height: 26px; margin: 0 0 8px; }
.ag-home-text h2:not(:first-child) { margin-top: 24px; }
.ag-home-text p { margin: 0 0 12px; }
@media (max-width: 767px) { .ag-home-text { padding: 24px 16px; } }
.ag-home-hero__title { margin: 0 0 16px; font-size: 64px; line-height: 72px; font-weight: 600; color: var(--dj-head); }
@media (max-width: 767px) { .ag-home-hero__title { font-size: 32px; line-height: 40px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .ag-home-hero__title { font-size: 48px; line-height: 56px; } }
