:root {
    --primary: #ff5e3a;
    --primary-hover: #e04a28;
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #222222;
    --border: #e2e8f0;
    --success: #007b55;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(255, 94, 58, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg-main: #0f172a;
    --bg-surface: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 94, 58, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-header {
    padding: 40px 0 40px;
    background-color: var(--bg-surface);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-title { font-size: 2rem; }
    .page-header { padding: 100px 0 30px; }
    .page-title { font-size: 1.8rem; }
    .p-30 { padding: 20px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-whatsapp {
    background: var(--success);
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background: #0ea5e9;
    transform: scale(1.1);
}

.btn-block {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 94, 58, 0.15);
}

input[type="date"] {
    position: relative;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2364748b'%3E%3Cpath d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H64C28.7 64 0 92.7 0 128v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H152V24zM48 192h352v256c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
}

[data-theme="dark"] input[type="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2394a3b8'%3E%3Cpath d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H64C28.7 64 0 92.7 0 128v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H152V24zM48 192h352v256c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192z'/%3E%3C/svg%3E");
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 45px;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2364748b'%3E%3Cpath d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 45px;
    cursor: pointer;
}

[data-theme="dark"] select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2394a3b8'%3E%3Cpath d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-icon-wrap .form-control {
    padding-left: 50px;
}

.card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.d-block { display: block; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }
.mt-100 { margin-top: 100px; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.align-center { align-items: center; }
.container-sm { max-width: 800px; }
.text-primary { color: var(--primary); }
.bg-surface { background: var(--bg-surface); }
.flex-1 { flex: 1; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }

@media (min-width: 769px) {
    .md-flex { display: flex; }
}
@media (max-width: 768px) {
    .d-block.md-flex { display: flex; flex-direction: column; gap: 16px; }
}

.btn-submitting { opacity: 0.7; cursor: not-allowed; }
.btn-success { background: var(--success); border-color: var(--success); color: #fff !important; }
.btn-success:hover { background: var(--success); color: #fff !important; }
.btn-sm { padding: 10px; }
.btn-p-16 { padding: 16px; }
.btn-outline-light { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--text-main); }

.bg-success { background-color: var(--success); }
.text-success { color: var(--success); }
.bg-success-soft { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }
.success-icon { width: 80px; height: 80px; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; margin-bottom: 30px; border-radius: 50%; }

.floating-btn {
    position: fixed;
    bottom: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: #fff;
}

.floating-wa {
    left: 30px;
    width: var(--whatsapp-size, 48px);
    height: var(--whatsapp-size, 48px);
    font-size: calc(var(--whatsapp-size, 48px) * 0.45);
    background: var(--success);
}

.floating-wa:hover {
    background: #16a34a;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.floating-top {
    right: 30px;
    width: var(--back-to-top-size, 48px);
    height: var(--back-to-top-size, 48px);
    font-size: calc(var(--back-to-top-size, 48px) * 0.35);
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-top:hover {
    background: var(--primary-hover);
    box-shadow: 0 10px 25px rgba(255, 94, 58, 0.4);
}

@media (max-width: 768px) {
    .floating-wa {
        left: 20px;
        width: var(--whatsapp-size-mobile, 54px);
        height: var(--whatsapp-size-mobile, 54px);
        font-size: calc(var(--whatsapp-size-mobile, 54px) * 0.45);
    }
    .floating-top {
        right: 20px;
        width: var(--back-to-top-size-mobile, 54px);
        height: var(--back-to-top-size-mobile, 54px);
        font-size: calc(var(--back-to-top-size-mobile, 54px) * 0.35);
    }
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.car-actions a:not(.stretched-link),
.car-actions button {
    position: relative;
    z-index: 2;
}

.card:hover .car-title h3 {
    color: var(--primary);
}

.card:hover .blog-card-title a,
.card:hover .blog-card-title {
    color: var(--primary) !important;
}

.compare-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 90%;
    max-width: 600px;
}

[data-theme="dark"] .compare-bar {
    background: rgba(30, 41, 59, 0.85);
}

.compare-bar.show {
    transform: translateX(-50%) translateY(0);
}

.compare-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.compare-bar-items {
    display: flex;
    gap: 12px;
}

.compare-bar-item {
    position: relative;
    width: 70px;
    height: 50px;
    border-radius: var(--radius-sm);
}

.compare-bar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.compare-bar-item:hover img {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.compare-bar-item-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(255, 94, 58, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
    line-height: 1;
}

[data-theme="dark"] .compare-bar-item-remove {
    border-color: var(--bg-surface);
}

.compare-bar-item-remove:hover {
    background: #e04a28;
    transform: scale(1.15);
}

.compare-bar-actions {
    display: flex;
    gap: 8px;
}

.compare-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}

.compare-modal.show {
    opacity: 1;
    visibility: visible;
}

.compare-modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-modal.show .compare-modal-content {
    transform: scale(1);
}

.compare-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.compare-modal-close:hover {
    color: var(--text-main);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.compare-col {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compare-col img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.compare-col h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.compare-row-spec {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.compare-row-spec span {
    color: var(--text-main);
    font-weight: 700;
}

.compare-row-price {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.compare-row-price .price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

#btn-reset-filters {
    display: none;
}

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .text-right {
    text-align: left;
}

[dir="rtl"] .compare-modal-close {
    left: 20px;
    right: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--text-main);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--text-muted);
}

[dir="rtl"] .breadcrumb i {
    transform: scaleX(-1);
}

.timeline-wrap {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: 45%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg-main);
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.timeline-item:hover .timeline-badge {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 15px rgba(255, 94, 58, 0.4);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.timeline-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 45px;
    }
    .timeline-content {
        width: 100% !important;
        text-align: left !important;
    }
    .timeline-badge {
        left: 20px;
    }
    .timeline-item div:empty {
        display: none;
    }
}

.blog-layout {
    align-items: flex-start !important;
}

.confirm-card {
    max-width: 650px;
    margin: 40px auto;
    padding: 60px 40px !important;
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    font-size: 3rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 50%;
    animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.spec-detail-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.spec-detail-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.spec-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-detail-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.input-icon-wrap:has(select) {
    position: relative;
}

.input-icon-wrap:has(select)::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 11px;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.input-icon-wrap:has(select):hover::after {
    color: var(--primary);
}

.input-icon-wrap:has(select):focus-within::after {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

.input-icon-wrap select.form-control {
    background-image: none !important;
    padding-right: 45px;
}

.confirm-summary-box {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: left;
}

.summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.summary-car-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border);
}

.summary-car-img {
    width: 120px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    padding: 6px;
    border: 1px solid var(--border);
}

.summary-car-details {
    flex: 1;
}

.summary-car-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.summary-car-details .badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(255, 94, 58, 0.1);
    color: var(--primary);
}

.summary-car-price {
    text-align: right;
}

.summary-car-price .price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.summary-car-price .price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item .item-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-item .item-label i {
    color: var(--primary);
    font-size: 0.85rem;
}

.summary-item .item-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.summary-item .status-confirmed {
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-item .status-confirmed i {
    font-size: 0.5rem;
    animation: status-blink 1.5s infinite;
}

@keyframes status-blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

@media (max-width: 576px) {
    .summary-car-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .summary-car-price {
        text-align: center;
    }
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.page-link.active:hover {
    color: #fff;
}

.filter-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.filter-wrapper:hover {
    border-color: rgba(255, 94, 58, 0.2);
    box-shadow: var(--shadow-md);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.filter-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}

.stats-text {
    font-weight: 600;
    color: var(--text-main);
}

.btn-reset-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 8px;
}

.btn-reset-link:hover {
    color: var(--primary);
    background: rgba(255, 94, 58, 0.08);
}

.filter-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .filter-groups-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .filter-header > div {
        width: 100%;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.grid-4.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px dashed var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 20px;
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2364748b'%3E%3Cpath d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 36px 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.sort-select:hover, .sort-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.15);
}

[data-theme="dark"] .sort-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%2394a3b8'%3E%3Cpath d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
}

.promo-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.promo-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.promo-img-wrap .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.promo-card:hover .promo-img-wrap .card-img {
    transform: scale(1.05);
}

.promo-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

.promo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.promo-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.promo-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main);
    border: 1px dashed var(--border);
    padding: 8px 12px;
    border-radius: 12px;
    margin-top: auto;
    transition: var(--transition);
}

.promo-card:hover .promo-code-box {
    border-color: rgba(255, 94, 58, 0.4);
    background: rgba(255, 94, 58, 0.03);
}

.promo-code-text {
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1.2px;
}

.promo-code-box .copy-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.coupon-input-wrap {
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    text-transform: uppercase;
}

.coupon-msg {
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.coupon-msg.success {
    color: #2ecc71;
}

.coupon-msg.error {
    color: #e74c3c;
}

@media (max-width: 480px) {
    .promo-code-box {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 12px;
    }
    .promo-code-box .btn {
        width: 100%;
        justify-content: center;
    }
    .coupon-input-wrap {
        flex-direction: column;
    }
    .coupon-input-wrap button {
        width: 100%;
    }
}

/* ==========================================
   PREMIUM CAR CARD STYLES (UNIFIED)
   ========================================== */
.card.car-item-card {
    font-family: var(--font-family);
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card.car-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.car-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-main);
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card.car-item-card:hover .card-img {
    transform: scale(1.05);
}
.car-badge-left {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--success);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.car-badge-right {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.car-badge-electric {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
    z-index: 3;
}
.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-surface);
}
.car-title {
    margin: 0;
}
.car-title h3 {
    font-family: var(--font-family);
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}
.car-specs {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-family);
}
.car-specs li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.car-specs i {
    color: var(--primary);
    font-size: 14px;
}
.car-divider {
    border-top: 1px solid var(--border);
    margin: 2px 0;
}
.car-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
    padding: 16px 20px;
    border-radius: 16px;
    margin: 0;
}
.price-item {
    display: flex;
    flex-direction: column;
}
.price-label {
    font-family: var(--font-family);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}
.car-price-val {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.price-unit {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}
.price-dep {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}
.car-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.car-actions-row {
    display: flex;
    gap: 12px;
    width: 100%;
}
.car-actions .btn-detail {
    font-family: var(--font-family);
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}
.car-actions .btn-detail:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary);
}
.car-actions .btn-rent {
    font-family: var(--font-family);
    flex: 1;
    background: var(--primary);
    border: none;
    color: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    text-decoration: none;
}
.car-actions .btn-rent:hover {
    background: var(--primary-hover);
}
.car-actions .btn-compare {
    font-family: var(--font-family);
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
.car-actions .btn-compare:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary);
}

.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-80 { margin-bottom: 80px !important; }

