/* ===== Card xe ===== */
.oto365c-card { border-radius: 8px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.12); background: #fff; }
.oto365c-card-img { display: block; position: relative; }
.oto365c-card-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.oto365c-card-body { background: #1b2430; color: #fff; padding: 16px; }
.oto365c-card-name { display: block; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 8px; }
.oto365c-price { color: #ff6a00; font-size: 19px; font-weight: 700; }
.oto365c-tra-truoc { color: #c7ccd4; font-size: 13px; margin-top: 2px; margin-bottom: 10px; }
.oto365c-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.oto365c-badge { background: #ff6a00; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; }
.oto365c-icon { flex-shrink: 0; }

/* ===== [oto365c_list] tabs + grid ===== */
.oto365c-title { text-align: center; margin-bottom: 20px; }
.oto365c-tabs { display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid #e2e2e2; margin-bottom: 25px; flex-wrap: wrap; }
.oto365c-tab { padding: 10px 4px; cursor: pointer; font-weight: 600; color: #666; letter-spacing: .5px; text-transform: uppercase; font-size: 13px; border-bottom: 2px solid transparent; }
.oto365c-tab.active { color: #ff6a00; border-bottom-color: #ff6a00; }
.oto365c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .oto365c-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .oto365c-grid { grid-template-columns: 1fr; } }

/* ===== [oto365c_archive] toolbar + filter + grid ===== */
.oto365c-archive-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.oto365c-archive-search { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 6px; padding: 0 14px; height: 44px; flex: 1; min-width: 220px; }
.oto365c-archive-search input { border: none; outline: none; flex: 1; font-size: 14px; }
.oto365c-archive-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.oto365c-archive-sort select { padding: 8px 10px; border-radius: 6px; border: 1px solid #ddd; }

.oto365c-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.oto365c-filter-dropdown { position: relative; height: 44px; flex-shrink: 0; }
.oto365c-filter-btn { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 0 14px; height: 100%; font-size: 13px; cursor: pointer; color: #333; white-space: nowrap; }
.oto365c-filter-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.1); padding: 10px 0; min-width: 220px; z-index: 30; max-height: 340px; overflow-y: auto; }
.oto365c-filter-dropdown.open .oto365c-filter-panel { display: block; }
.oto365c-filter-panel label { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.oto365c-filter-panel label:hover { background: #f7f7f7; }
.oto365c-filter-search-btn { display: flex; align-items: center; gap: 8px; background: #ff6a00; color: #fff; border: none; border-radius: 6px; padding: 0 20px; height: 44px; font-weight: 700; cursor: pointer; }

.oto365c-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; min-height: 100px; transition: opacity .2s; }
@media (max-width: 900px) { .oto365c-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .oto365c-archive-grid { grid-template-columns: 1fr; } }
.oto365c-archive-loadmore-wrap { text-align: center; margin-top: 28px; }
.oto365c-loadmore-btn { background: #fff; border: 1px solid #ff6a00; color: #ff6a00; padding: 10px 26px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.oto365c-loadmore-btn:hover { background: #fff3ea; }
.oto365c-no-results { text-align: center; grid-column: 1/-1; color: #888; }

@media (max-width: 700px) {
	.oto365c-filter-dropdown { width: 100%; }
	.oto365c-filter-btn { width: 100%; justify-content: space-between; }
}

/* ===== Trang chi tiết xe ===== */
.oto365c-single-wrap { max-width: 1200px; margin: 0 auto; }
.oto365c-single-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.oto365c-single-header h1 { margin: 0; font-size: 26px; }
.oto365c-header-price { color: #ff6a00; font-size: 24px; font-weight: 700; }
.oto365c-single-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 20px; align-items: start; }
@media (max-width: 900px) { .oto365c-single-columns { grid-template-columns: 1fr; } }

.oto365c-slider { position: relative; border-radius: 8px; overflow: hidden; background: #eee; }
.oto365c-slide { display: none; }
.oto365c-slide.active { display: block; }
.oto365c-slide img { width: 100%; display: block; }
.oto365c-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 18px; z-index: 2; }
.oto365c-slider-arrow.prev { left: 14px; }
.oto365c-slider-arrow.next { right: 14px; }
.oto365c-slider-count { position: absolute; bottom: 12px; right: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

.oto365c-description { margin-top: 24px; }
.oto365c-description h3 { font-weight: 700; margin-bottom: 10px; }

/* ===== Sidebar: hotline / specs / showroom ===== */
.oto365c-btn-hotline { display: flex; align-items: center; justify-content: center; gap: 8px; background: #ff6a00; color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 6px; margin-bottom: 16px; }
.oto365c-specs-table { width: 100%; background: #f5f6f8; border-radius: 6px; padding: 6px 16px; border-collapse: collapse; }
.oto365c-specs-table td { padding: 8px 0; border-bottom: 1px solid #e4e6e9; font-size: 14px; }
.oto365c-specs-table tr:last-child td { border-bottom: none; }
.oto365c-specs-label { color: #666; width: 45%; }
.oto365c-specs-value { font-weight: 600; color: #1b2430; }
.oto365c-showroom-box { margin-top: 14px; font-size: 14px; line-height: 1.6; }

/* ===== Máy tính vay & chi phí ra biển ===== */
.oto365c-calculators { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
@media (max-width: 700px) { .oto365c-calculators { grid-template-columns: 1fr; } }
.oto365c-calc-box { background: #1b2430; color: #fff; border-radius: 8px; padding: 20px; }
.oto365c-calc-box h3 { color: #fff; border-bottom: 1px solid #333d4a; padding-bottom: 12px; margin: 0 0 16px; font-size: 16px; letter-spacing: .5px; }
.oto365c-calc-box label { display: block; font-size: 13px; color: #c7ccd4; margin-bottom: 12px; }
.oto365c-calc-box input[type="text"], .oto365c-calc-box select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border-radius: 4px; border: none; background: #fff; color: #1b2430; font-size: 14px; }
.oto365c-btn-tinh { background: #ff6a00; color: #fff; border: none; padding: 10px 24px; border-radius: 4px; font-weight: 700; cursor: pointer; margin-bottom: 16px; }
.oto365c-result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #333d4a; font-size: 14px; }
.oto365c-result-row strong { color: #ff6a00; }
.oto365c-checkbox-row { display: flex !important; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #333d4a; cursor: pointer; }
.oto365c-checkbox-row span { flex: 1; color: #fff; font-size: 14px; }
.oto365c-checkbox-row strong { color: #ff6a00; font-size: 14px; }
.oto365c-checkbox-row input[type="checkbox"] { width: auto; }
.oto365c-province-row { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.oto365c-province-row select { flex: 1; }
.oto365c-onroad-total { font-size: 16px; border-bottom: none; margin-top: 6px; }
.oto365c-onroad-total strong { font-size: 18px; }
.oto365c-note { font-size: 12px; color: #8a93a1; font-style: italic; margin-top: 10px; }
