/* Ảnh chụp màn hình máy thật đè lên màn hình máy trong infographic, đổi qua lại mỗi 2 giây */
.agd-live-host { position: relative; }
.a3p-dev img.agd-live-shot, .agd-main-dev img.agd-live-shot { position: absolute !important; left: 20.5%; top: 10.9%; width: 59.4% !important; height: 79% !important; max-width: none; margin: 0 !important; object-fit: cover; border-radius: .8%; opacity: 0 !important; transition: opacity .5s ease; pointer-events: none; z-index: 2; }
.a3p-dev img.agd-live-shot.is-on, .agd-main-dev img.agd-live-shot.is-on { opacity: 1 !important; }

/* Ô chọn màu ở phần mua hàng */
.agd-colors { margin: 0 0 14px; }
.agd-colors-l { font-size: 13px; opacity: .8; margin-bottom: 8px; }
.agd-colors-l b { opacity: 1; font-weight: 600; }
.agd-colors-b { display: flex; gap: 10px; }
.agd-colors-sw { width: 34px; height: 34px; padding: 0; margin: 0; border-radius: 50%; border: 2px solid rgba(128,128,128,.45); cursor: pointer; background-clip: padding-box; box-shadow: 0 0 0 2px transparent; transition: box-shadow .15s, border-color .15s; }
.agd-colors-sw:hover { border-color: rgba(128,128,128,.9); }
.agd-colors-sw.is-on { border-color: #fff; box-shadow: 0 0 0 2px #6f7cf0; }
html[data-agd-theme="light"] .agd-colors-sw.is-on { border-color: #fff; box-shadow: 0 0 0 2px #3a45c9; }

/* Ảnh chính: mô hình máy theo màu, thay cho ảnh chụp ở khung đầu tiên */
.agd-main-host { position: relative; }
.agd-main-stage { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 40%, #1d2358 0%, #0d1028 70%); pointer-events: none; }
.agd-main-dev { position: relative; width: 100%; aspect-ratio: 1400 / 588; }
.agd-main-dev > img:not(.agd-live-shot) { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important; object-fit: contain; opacity: 0; transition: opacity .35s ease; }
.agd-main-dev > img:not(.agd-live-shot).is-on { opacity: 1; }
.agd-main-stage.is-hidden { display: none; }
