/* ===== Card danh sách sản phẩm ===== */
.oto365-card {
    list-style: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    margin-bottom: 24px;
}
.oto365-card-thumb {
    display: block;
    position: relative;
}
.oto365-card-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.oto365-card-body {
    background: #1b2430;
    color: #fff;
    padding: 16px;
}
.oto365-card-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.oto365-card-price {
    color: #ff6a00;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.oto365-card-tra-truoc {
    color: #c7ccd4;
    font-size: 13px;
    margin-bottom: 12px;
}
.oto365-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.oto365-badge {
    background: #ff6a00;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.oto365-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* ===== Trang chi tiết sản phẩm ===== */
.oto365-btn-hotline {
    display: inline-block;
    background: #ff6a00;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 10px 0;
}
.oto365-specs-table {
    width: 100%;
    background: #f5f6f8;
    border-radius: 6px;
    padding: 6px 16px;
    border-collapse: collapse;
    margin: 10px 0;
}
.oto365-specs-table td {
    padding: 8px 0;
    border-bottom: 1px solid #e4e6e9;
    font-size: 14px;
}
.oto365-specs-table tr:last-child td {
    border-bottom: none;
}
.oto365-specs-label {
    color: #666;
    width: 45%;
}
.oto365-specs-value {
    font-weight: 600;
    color: #1b2430;
}
.oto365-showroom-box {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Mô tả + máy tính ===== */
.oto365-detail-wrap {
    margin-top: 40px;
}
.oto365-description h3 {
    font-weight: 700;
    margin-bottom: 10px;
}
.oto365-calculators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}
@media (max-width: 782px) {
    .oto365-calculators { grid-template-columns: 1fr; }
}
.oto365-calc-box {
    background: #1b2430;
    color: #fff;
    border-radius: 8px;
    padding: 20px;
}
.oto365-calc-box h3 {
    color: #fff;
    border-bottom: 1px solid #333d4a;
    padding-bottom: 12px;
    margin: 0 0 16px;
    font-size: 16px;
    letter-spacing: .5px;
}
.oto365-calc-box label {
    display: block;
    font-size: 13px;
    color: #c7ccd4;
    margin-bottom: 12px;
}
.oto365-calc-box input[type="text"],
.oto365-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;
}
.oto365-btn-tinh {
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 16px;
}
.oto365-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #333d4a;
    font-size: 14px;
}
.oto365-result-row strong {
    color: #ff6a00;
}
.oto365-checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed #333d4a;
    cursor: pointer;
}
.oto365-checkbox-row span {
    flex: 1;
    color: #fff;
    font-size: 14px;
}
.oto365-checkbox-row strong {
    color: #ff6a00;
    font-size: 14px;
}
.oto365-checkbox-row input[type="checkbox"] {
    width: auto;
}
.oto365-province-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}
.oto365-province-row select {
    flex: 1;
}
.oto365-onroad-total {
    font-size: 16px;
    border-bottom: none;
    margin-top: 6px;
}
.oto365-onroad-total strong {
    font-size: 18px;
}
.oto365-note {
    font-size: 12px;
    color: #8a93a1;
    font-style: italic;
    margin-top: 10px;
}

/* ===== Shortcode [oto365_preview] ===== */
.oto365-preview-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
.oto365-preview-grid.oto365-cols-1 { grid-template-columns: repeat(1, 1fr); }
.oto365-preview-grid.oto365-cols-2 { grid-template-columns: repeat(2, 1fr); }
.oto365-preview-grid.oto365-cols-3 { grid-template-columns: repeat(3, 1fr); }
.oto365-preview-grid.oto365-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 782px) {
    .oto365-preview-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .oto365-preview-grid { grid-template-columns: 1fr !important; }
}
.oto365-card-shortcode {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* ===== Shortcode [oto365_full] ===== */
.oto365-full-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.oto365-full-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
}
@media (max-width: 782px) {
    .oto365-full-top { grid-template-columns: 1fr; }
}
.oto365-full-main-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.oto365-full-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.oto365-gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: .6;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.oto365-gallery-thumb.is-active,
.oto365-gallery-thumb:hover {
    opacity: 1;
    border-color: #ff6a00;
}
.oto365-full-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}
.oto365-full-price {
    color: #ff6a00;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
}
