/* Đại lý Froga trên toàn quốc — /dai-ly/ (dai-ly.php, dai-ly.js). */
.froga-dl-so { display: flex; flex-wrap: wrap; gap: 10px 26px; color: #E7F2E4; font-size: 14.5px; }
.froga-dl-so strong { font-family: 'Be Vietnam Pro', sans-serif; font-size: 22px; color: #FCC232; margin-right: 4px; }

.froga-dl-vo { max-width: 1180px; margin: 0 auto; padding: clamp(22px, 4vw, 34px) clamp(16px, 4vw, 24px) 72px; }

/* Điều khiển */
.froga-dl-dieu-khien { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.froga-dl-vung { display: flex; gap: 6px; background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 14px; padding: 4px; }
.froga-dl-nut { border: 0; border-radius: 10px; background: transparent; color: #1E3B27; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.froga-dl-nut:hover { background: #F1F8EE; }
.froga-dl-nut--chon { background: #1A582C; color: #FFFFFF; }
.froga-dl-nut--chon:hover { background: #1A582C; }
.froga-dl-nut--gan { background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 14px; padding: 12px 16px; }
.froga-dl-nut--chinh { text-align: center; justify-content: center; background: #FCC232; border-radius: 12px; padding: 13px 24px; font-size: 15px; box-shadow: 0 6px 16px rgba(30, 59, 39, .12); }
.froga-dl-nut--chinh:hover { background: #F5B818; }
.froga-dl-chon-tinh select, .froga-dl-tim input { font: inherit; font-size: 15px; color: #1E3B27; background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 14px; padding: 11px 14px; min-width: 200px; }
.froga-dl-tim { flex: 1 1 220px; }
.froga-dl-tim input { width: 100%; }
.froga-dl-chon-tinh select:focus, .froga-dl-tim input:focus { outline: 2px solid #23773C; outline-offset: 1px; }

/* Bản đồ + danh sách */
.froga-dl-than { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
.froga-dl-ban-do { position: relative; background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 24px; padding: 10px; }
.froga-dl-ban-do svg.froga-bd { display: block; width: 100%; height: auto; transition: none; }
.froga-dl-ban-do svg.froga-bd.bd-chuyen { transition: none; }
.froga-dl-chu-thich { position: absolute; left: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #3F5C47; background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 10px 12px; pointer-events: none; }
.froga-dl-ct { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.froga-dl-ct--npp { background: #C62828; } /* 07/09/2026 anh: màu phải phân biệt rõ — đỏ / xanh dương / cam / xanh lá / xám */
.froga-dl-ct--dl { background: #F59E0B; }
.froga-dl-ct--kho { background: #23773C; }
.froga-dl-ct--st { background: #1E6FD9; }
.froga-dl-ct--trao { background: #9AA5A0; }
.froga-dl-ve { position: absolute; right: 22px; top: 22px; border: 1px solid #E4DDC9; background: #FFFFFF; border-radius: 10px; font: inherit; font-weight: 700; font-size: 13px; padding: 8px 12px; cursor: pointer; color: #1A582C; }

/* Nét bờ biển, đảo giữ 1px màn hình dù phóng sâu */
.froga-bd .bd-dat path, .froga-bd .bd-dao circle { vector-effect: non-scaling-stroke; }

/* Ếch */
.froga-bd .ech { cursor: pointer; }
.froga-bd .ech .ghim { transition: transform .18s ease; transform-box: fill-box; transform-origin: 50% 100%; }
.froga-bd .ech:hover .ghim, .froga-bd .ech.chon .ghim { transform: scale(1.15); }
.froga-bd .ech.chon .ghim { animation: froga-ech-nhay .55s ease 1; }
@keyframes froga-ech-nhay { 0% { transform: scale(1.15) translateY(0); } 40% { transform: scale(1.15) translateY(-10px); } 70% { transform: scale(1.15) translateY(0); } 85% { transform: scale(1.15) translateY(-4px); } 100% { transform: scale(1.15) translateY(0); } }
.froga-bd .ech.mo { opacity: .28; }
.froga-bd .ech.trao .ghim image { filter: grayscale(.35) opacity(.85); }
.froga-bd .ech.trao text.ten { fill: #5F6B58; }
.froga-bd .ech text { font-family: 'Be Vietnam Pro', sans-serif; font-size: 12px; font-weight: 700; fill: #1E3B27; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.froga-bd .ech .so { font-size: 11px; font-weight: 700; fill: #FFFFFF; stroke: none; text-anchor: middle; dominant-baseline: central; }
.froga-bd .ech.cum .ghim { transform-origin: 50% 100%; }

/* Thẻ đại lý nổi trên bản đồ */
.froga-dl-the { position: absolute; z-index: 5; width: min(320px, calc(100% - 44px)); background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 16px; padding: 14px 16px; box-shadow: 0 14px 34px rgba(30, 59, 39, .18); font-size: 14px; line-height: 1.5; color: #42563F; }
.froga-dl-the[hidden] { display: none; }
.froga-dl-the h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 16px; margin: 0 26px 4px 0; color: #1E3B27; line-height: 1.3; }
.froga-dl-the .froga-dl-loai { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8A3A3E; background: #FDECEA; border-radius: 8px; padding: 2px 8px; margin-bottom: 8px; }
.froga-dl-the .froga-dl-loai--kho { color: #1A582C; background: #E7F2E4; }
.froga-dl-the .froga-dl-loai--trao { color: #7A5A00; background: #FFF3CF; }
.froga-dl-the .froga-dl-trao-nhac { background: #FBF8F0; border-radius: 10px; padding: 8px 10px; font-size: 13px; color: #42563F; margin: 6px 0 2px; }
.froga-dl-the p { margin: 0 0 4px; }
.froga-dl-the .froga-dl-nut-dong { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: #5F6B58; cursor: pointer; }
.froga-dl-hanh-dong { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.froga-dl-hanh-dong a { display: inline-block; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13.5px; text-decoration: none; border: 1px solid #E7F2E4; color: #1A582C; background: #F1F8EE; }
.froga-dl-hanh-dong a.froga-dl-goi { background: #1A582C; color: #FFFFFF; border-color: #1A582C; }
.froga-dl-the img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; margin: 6px 0 8px; }
.froga-dl-the-ds { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.froga-dl-the-ds a { font-weight: 700; color: #1A582C; text-decoration: none; }
.froga-dl-the-ds small { display: block; color: #5F6B58; font-size: 12.5px; }
.froga-dl-uoc { font-size: 12.5px; color: #5F6B58; }

/* Danh sách */
.froga-dl-danh-sach { background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 24px; padding: 18px; max-height: 720px; overflow: auto; }
.froga-dl-ds-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.froga-dl-ds-dau h2 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 17px; margin: 0; color: #1E3B27; }
.froga-dl-ds-dau span { font-size: 13px; color: #5F6B58; white-space: nowrap; }
.froga-dl-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.froga-dl-muc { border: 1px solid #EEE9DC; border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.froga-dl-muc:hover { border-color: #E7F2E4; background: #FBFDF9; }
.froga-dl-muc.chon { border-color: #1A582C; background: #F1F8EE; }
.froga-dl-muc h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; margin: 0 0 2px; color: #1E3B27; display: flex; gap: 8px; align-items: baseline; }
.froga-dl-muc h3 small { font-weight: 700; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: #8A3A3E; }
.froga-dl-muc h3 small.kho { color: #1A582C; }
.froga-dl-muc h3 small.trao { color: #7A5A00; }
.froga-dl-muc.trao { background: #FCFBF6; border-style: dashed; }
.froga-dl-muc p { margin: 0; font-size: 13.5px; color: #5F6B58; line-height: 1.45; }
.froga-dl-muc .froga-dl-km { color: #1A582C; font-weight: 700; }
.froga-dl-tinh-nhom { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #8FB397; margin: 10px 0 2px; }
.froga-dl-trong { background: #FBF8F0; border: 1px solid #DAD2BA; border-radius: 14px; padding: 16px; font-size: 14.5px; line-height: 1.55; color: #42563F; }
.froga-dl-trong[hidden] { display: none; }
.froga-dl-trong strong { color: #1E3B27; }
.froga-dl-trong a { display: inline-block; margin-top: 8px; margin-right: 10px; font-weight: 700; color: #1A582C; }

/* Kênh bán hàng */
.froga-dl-kenh { margin-top: clamp(28px, 5vw, 44px); }
.froga-dl-kenh-dau { margin-bottom: 16px; }
.froga-dl-kenh-dau .froga-dl-nhan { color: #8FB397; }
.froga-dl-kenh h2 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700; font-size:clamp(17px,3vw,26px); margin: 0 0 6px; color: #1E3B27; letter-spacing: -0.01em; }
.froga-dl-kenh-dau p { margin: 0; font-size: 15px; line-height: 1.6; color: #42563F; max-width: 720px; }
.froga-dl-kenh-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.froga-dl-kenh-the { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 18px; padding: 18px; text-decoration: none; color: #1E3B27; transition: border-color .15s ease, transform .15s ease; }
a.froga-dl-kenh-the:hover { border-color: #23773C; transform: translateY(-2px); }
.froga-dl-kenh-the--chinh { background: #1A582C; border-color: #1A582C; color: #FFFFFF; }
.froga-dl-kenh-the--chinh .froga-dl-kenh-mo { color: #E7F2E4; }
.froga-dl-kenh-the--chinh .froga-dl-kenh-nut { background: #FCC232; color: #1E3B27; }
.froga-dl-kenh-the--cho { background: #FBF8F0; border-style: dashed; color: #5F6B58; }
.froga-dl-kenh-the--cho .froga-dl-kenh-nut { background: transparent; border: 1px solid #DAD2BA; color: #5F6B58; }
.froga-dl-kenh-bieu { font-size: 26px; line-height: 1; }
.froga-dl-kenh-the strong { font-family: 'Be Vietnam Pro', sans-serif; font-size: 16px; }
.froga-dl-kenh-mo { font-size: 13.5px; line-height: 1.5; color: #42563F; }
.froga-dl-kenh-nut { justify-self: start; margin-top: 4px; font-weight: 700; font-size: 13.5px; background: #F1F8EE; color: #1A582C; border-radius: 10px; padding: 7px 12px; }

/* Kiểm tra đại lý */
.froga-dl-kiem { margin-top: clamp(28px, 5vw, 44px); background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 24px; padding: clamp(20px, 3.5vw, 30px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 22px; align-items: center; }
.froga-dl-kiem h2, .froga-dl-tuyen h2, .froga-dl-hoi h2 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700; font-size:clamp(17px,3vw,26px); margin: 0 0 8px; color: #1E3B27; letter-spacing: -0.01em; }
.froga-dl-kiem p { margin: 0; font-size: 15px; line-height: 1.6; color: #42563F; }
.froga-dl-kiem-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.froga-dl-kiem-form input { font: inherit; font-size: 15px; border: 1px solid #DAD2BA; border-radius: 12px; padding: 12px 14px; min-width: 0; }
.froga-dl-kiem-kq { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14.5px; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.froga-dl-kiem-kq.dung { background: #E7F2E4; color: #1A582C; }
.froga-dl-kiem-kq.sai { background: #FDECEA; color: #8A3A3E; }

/* Tuyển đại lý */
.froga-dl-tuyen { margin-top: clamp(28px, 5vw, 44px); background: #1A582C; color: #FFFFFF; border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr); gap: clamp(22px, 4vw, 44px); }
.froga-dl-nhan { font-weight: 700; font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #E7F2E4; margin-bottom: 8px; }
.froga-dl-tuyen h2 { color: #FFFFFF; }
.froga-dl-tuyen-chu p { font-size: 15.5px; line-height: 1.65; color: #E7F2E4; margin: 0 0 14px; }
.froga-dl-loi-ich { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.froga-dl-loi-ich li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; color: #E7F2E4; }
.froga-dl-loi-ich li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #FCC232; font-weight: 700; }
.froga-dl-loi-ich strong { color: #FFFFFF; }
.froga-dl-buoc { margin: 0; padding: 0 0 0 20px; display: grid; gap: 4px; font-size: 14.5px; color: #E7F2E4; }
.froga-dl-form { background: #FFFFFF; color: #1E3B27; border-radius: 18px; padding: clamp(18px, 3vw, 26px); display: grid; gap: 10px; }
.froga-dl-form h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 18px; margin: 0 0 4px; }
.froga-dl-form label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 600; color: #5F6B58; }
.froga-dl-form input, .froga-dl-form select, .froga-dl-form textarea { font: inherit; font-size: 15px; color: #1E3B27; border: 1px solid #DAD2BA; border-radius: 12px; padding: 10px 12px; background: #FFFFFF; width: 100%; box-sizing: border-box; }
.froga-dl-form input:focus, .froga-dl-form select:focus, .froga-dl-form textarea:focus { outline: 2px solid #23773C; outline-offset: 1px; }
.froga-dl-loi { color: #A3341C; font-weight: 600; font-size: 14px; margin: 0; }
.froga-dl-loi[hidden], .froga-dl-xong[hidden] { display: none; }
.froga-dl-ghi { font-size: 12.5px; color: #5F6B58; margin: 0; line-height: 1.5; }
.froga-dl-ghi a { color: #1A582C; font-weight: 700; }
.froga-dl-xong { background: #E7F2E4; color: #1A582C; border-radius: 12px; padding: 14px; font-size: 15px; line-height: 1.5; }

/* Cộng tác viên */
.froga-dl-ctv { margin-top: clamp(28px, 5vw, 44px); background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.froga-dl-ctv h2 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700; font-size:clamp(17px,3vw,26px); margin: 0 0 8px; color: #1E3B27; letter-spacing: -0.01em; }
.froga-dl-ctv .froga-dl-nhan { color: #8FB397; }
.froga-dl-ctv-chu > p { font-size: 15.5px; line-height: 1.65; color: #42563F; margin: 0 0 18px; max-width: 760px; }
.froga-dl-ctv-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.froga-dl-ctv-luoi div { background: #F1F8EE; border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; }
.froga-dl-ctv-luoi strong { font-size: 15px; color: #1A582C; }
.froga-dl-ctv-luoi span { font-size: 14px; line-height: 1.5; color: #42563F; }
.froga-dl-buoc--ctv { color: #42563F; margin-bottom: 14px; }
.froga-dl-ctv-hop { font-size: 14px !important; color: #5F6B58 !important; }
.froga-dl-ctv a.froga-dl-nut--chinh { display: inline-block; text-decoration: none; color: #1E3B27; }
.froga-dl-vai { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.froga-dl-vai label { position: relative; cursor: pointer; display: block; }
.froga-dl-vai input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.froga-dl-vai span { display: block; text-align: center; border: 1.5px solid #E7F2E4; border-radius: 12px; padding: 10px 8px; font-weight: 700; font-size: 14px; color: #1E3B27; }
.froga-dl-vai input:checked + span { background: #1A582C; border-color: #1A582C; color: #FFFFFF; }
.froga-dl-vai input:focus-visible + span { outline: 2px solid #23773C; outline-offset: 2px; }
.froga-dl-form label[hidden] { display: none; }

/* FAQ */
.froga-dl-hoi { margin-top: clamp(28px, 5vw, 44px); max-width: 820px; }
.froga-dl-hoi details { background: #FFFFFF; border: 1px solid #E4DDC9; border-radius: 14px; padding: 4px 18px; margin-bottom: 8px; }
.froga-dl-hoi summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 12px 0; color: #1E3B27; }
.froga-dl-hoi p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #42563F; }

/* Điện thoại: bản đồ trên, danh sách dưới; thẻ trượt lên từ đáy */
@media (max-width: 900px) {
	.froga-dl-than { grid-template-columns: 1fr; }
	.froga-dl-danh-sach { max-height: none; }
	.froga-dl-kiem, .froga-dl-tuyen { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.froga-dl-so strong { font-size: 19px; }
	.froga-dl-vung { width: 100%; justify-content: space-between; }
	.froga-dl-nut { padding: 9px 8px; font-size: 13px; flex: 1; }
	.froga-dl-chon-tinh { flex: 1 1 100%; }
	.froga-dl-chon-tinh select { width: 100%; min-width: 0; }
	.froga-dl-tim { flex: 1 1 60%; }
	.froga-dl-nut--gan { flex: 0 0 auto; padding: 11px 12px; }
	.froga-dl-ban-do { padding: 6px; border-radius: 18px; }
	.froga-dl-chu-thich { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; justify-content: center; font-size: 12px; padding: 8px 6px 2px; background: transparent; } /* điện thoại: chú thích dưới bản đồ, kẻo đè ếch miền Tây */
	.froga-dl-ve { right: 12px; top: 12px; }
	.froga-bd .ech text.ten { display: none; }
	.froga-dl-the { position: fixed; left: 0; right: 0; bottom: 0; width: auto; border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(30, 59, 39, .22); z-index: 90; }
	.froga-dl-danh-sach { padding: 14px; border-radius: 18px; }
	.froga-dl-kiem-form { grid-template-columns: 1fr; }
	.froga-dl-form { padding: 16px; }
}
