/* ========================================
   RPM Car Detail Page - Premium Styles
   ======================================== */

/* Font Import - Using condensed font stack */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --color-black: #111;
    --color-red: #e21c1c;
    --color-white: #fff;
    --color-gray-bg: #f5f5f5;
    --color-gray-light: #e8e8e8;
    --color-gray-medium: #999;
    --color-gray-dark: #666;
    --card-radius: 16px;
    --card-radius-sm: 12px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    color: var(--color-black);
    background-color: var(--color-gray-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   Header
   ======================================== */
.main-header {
    background-color: var(--color-black);
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.rpm-logo {
    height: 40px;
    width: auto;
}

/* ========================================
   Breadcrumb Bar
   ======================================== */
.breadcrumb-bar {
    background-color: var(--color-black);
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.breadcrumb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--color-gray-medium);
    font-size: 12px;
}

.breadcrumb-item a {
    color: var(--color-gray-medium);
}

.breadcrumb-item.active {
    color: var(--color-white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--color-gray-medium);
    content: ">";
    padding: 0 8px;
}

.back-link a {
    color: var(--color-white);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.back-link i {
    font-size: 10px;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    padding: 32px 0;
}

.container-fluid {
    max-width: 1400px;
    padding: 0 24px;
}

/* ========================================
   Title Block
   ======================================== */
.title-block {
    margin-bottom: 24px;
}

.car-title-ar {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
    line-height: 1.2;
}

.car-title-en {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gray-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-label {
    font-size: 14px;
    color: var(--color-gray-dark);
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-red);
}

/* ========================================
   Hero Gallery
   ======================================== */
.hero-gallery {
    margin-bottom: 16px;
}

.gallery-main {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    background-color: var(--color-white);
}

.main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.availability-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #007bff;
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background-color: var(--color-white);
}

.gallery-nav.prev {
    right: 16px;
}

.gallery-nav.next {
    left: 16px;
}

.gallery-nav i {
    font-size: 20px;
    color: var(--color-black);
}

.gallery-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-icon i {
    color: var(--color-white);
    font-size: 18px;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    position: relative;
    padding: 0 32px;
}

.thumbnail {
    flex: 1;
    max-width: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.thumbnail.active {
    border-color: var(--color-red);
}

.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.thumbnail-nav i {
    color: var(--color-white);
    font-size: 12px;
}

.thumbnail-nav.prev-thumb {
    right: 0;
}

.thumbnail-nav.next-thumb {
    left: 0;
}

/* Gallery Tabs - Always Side by Side */
.tab-images.nav-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 8px;
}

.tab-images.nav-tabs .nav-item {
    flex: 1;
}

.tab-images.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid var(--color-gray-light);
    background-color: var(--color-white);
    color: var(--color-gray-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-images.nav-tabs .nav-link.active {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.tab-images.nav-tabs .nav-link:hover:not(.active) {
    border-color: var(--color-gray-medium);
}

/* ========================================
   Action Row
   ======================================== */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 24px;
}

.save-action,
.share-action {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-black);
    font-size: 14px;
    transition: color 0.2s ease;
}

.save-action:hover,
.share-action:hover {
    color: var(--color-red);
}

.save-action i,
.share-action i {
    font-size: 18px;
}

.save-action.saved i {
    color: var(--color-red);
}

/* ========================================
   Specs Icons Row
   ======================================== */
.specs-icons-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.spec-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 80px;
}

.spec-icon-item i {
    font-size: 24px;
    color: var(--color-red);
}

.spec-label {
    font-size: 13px;
    color: var(--color-black);
    text-align: center;
}

/* ========================================
   Key Specs
   ======================================== */
.key-specs {
    margin-bottom: 24px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.spec-name {
    font-size: 14px;
    color: var(--color-black);
}

.spec-value {
    font-size: 14px;
    color: var(--color-black);
    font-weight: 500;
}

/* ========================================
   Accordion Sections
   ======================================== */
.accordion-sections {
    margin-bottom: 32px;
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-light);
}

.accordion-header {
    width: 100%;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
    cursor: pointer;
    text-align: right;
}

.accordion-icon {
    color: var(--color-red);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 500px;
}

.content-inner {
    padding: 0 0 20px 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-black);
    position: relative;
    padding-right: 16px;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--color-red);
}

/* Color Options */
.color-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.color-option span {
    font-size: 13px;
    color: var(--color-black);
}

/* Engine Specs */
.engine-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.engine-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.engine-spec-row:last-child {
    border-bottom: none;
}

.engine-spec-row span:first-child {
    color: var(--color-gray-dark);
    font-size: 14px;
}

.engine-spec-row span:last-child {
    color: var(--color-black);
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   Side Panel
   ======================================== */
.side-panel {
    position: relative;
}

.side-panel-sticky {
    position: sticky;
    top: 24px;
}

.summary-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 16px;
    text-align: center;
}

.summary-image {
    border-radius: var(--card-radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
}

.summary-image img {
    width: 100%;
    height: auto;
    display: block;
}

.summary-car-info {
    text-align: center;
    margin-bottom: 16px;
}

.car-name-ar {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
}

.car-name-en {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
}

.monthly-price {
    font-size: 14px;
    color: var(--color-red);
    font-weight: 500;
}

.summary-details {
    border-top: 1px solid var(--color-gray-light);
    padding-top: 16px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row .label {
    color: var(--color-gray-dark);
}

.summary-row .value {
    color: var(--color-black);
    font-weight: 500;
}

.summary-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-red);
}

.btn-outline:hover {
    border-color: var(--color-red);
    background-color: rgba(226, 28, 28, 0.05);
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red);
}

/* Help Block */
.help-block {
    text-align: center;
    padding: 24px;
}

.help-text {
    font-size: 14px;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
}

.phone-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 24px;
}

.help-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-help {
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-help:hover {
    background-color: var(--color-red);
}

.btn-help i {
    color: var(--color-red);
    font-size: 18px;
}

.btn-help:hover i {
    color: var(--color-white);
}

/* ========================================
   End Summary Section
   ======================================== */
.end-summary-section {
    padding: 32px 0;
    background-color: var(--color-gray-bg);
}

.end-summary-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.summary-rows {
    margin-bottom: 24px;
}

.summary-row-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-light);
    font-size: 14px;
}

.summary-row-item:last-child {
    border-bottom: none;
}

.summary-row-item .label {
    color: var(--color-black);
}

.summary-row-item .value {
    color: var(--color-black);
    font-weight: 500;
}

.summary-row-item.total {
    font-size: 16px;
    font-weight: 700;
}

.summary-row-item.total .label,
.summary-row-item.total .value {
    font-weight: 700;
}

.btn-cta {
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 24px;
}

.btn-cta:hover {
    background-color: var(--color-red);
}

/* End Help Block */
.end-help-block {
    text-align: center;
    padding: 24px;
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	margin-top:20px
}

.end-help-block .help-text {
    font-size: 23px;
    color: #212529;
    margin-bottom: 12px;
	font-weight: bold
	
}

.end-help-block .phone-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 24px;
}

.end-help-block .help-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 8px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content i {
    color: #28a745;
    font-size: 20px;
}

/* ========================================
   Sticky CTA (Mobile)
   ======================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 12px 16px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.btn-sticky {
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 24px;
}

.btn-sticky:hover {
    background-color: var(--color-red);
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 991px) {
    .header-nav {
        display: none;
    }

    .breadcrumb-bar {
        display: none;
    }

    .container-fluid {
        padding: 0 16px;
    }

    .main-content {
        padding: 16px 0;
    }

    .car-title-ar {
        font-size: 22px;
    }

    .car-title-en {
        font-size: 16px;
    }

    .price-value {
        font-size: 24px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav.prev {
        right: 8px;
    }

    .gallery-nav.next {
        left: 8px;
    }

    .specs-icons-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .spec-icon-item {
        min-width: auto;
    }

    .side-panel {
        order: 2;
    }

    .content-column {
        order: 1;
    }

    .side-panel-sticky {
        position: relative;
        top: 0;
    }

    .summary-card {
        display: none;
    }

    .help-block {
        display: none;
    }

    .sticky-cta {
        display: block;
    }

    .end-summary-section {
        padding-bottom: 100px;
    }

    .end-help-block .phone-number {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .specs-icons-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumbnail {
        max-width: 80px;
    }

    .thumbnail img {
        height: 50px;
    }

    .accordion-header {
        font-size: 15px;
        padding: 16px 0;
    }

    .end-help-block .phone-number {
        font-size: 24px;
    }
}

@media (max-width: 414px) {
    .container-fluid {
        padding: 0 12px;
    }

    .car-title-ar {
        font-size: 20px;
    }

    .price-value {
        font-size: 22px;
    }

    .specs-icons-row {
        gap: 12px;
    }

    .spec-icon-item i {
        font-size: 20px;
    }

    .spec-label {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .car-title-ar {
        font-size: 18px;
    }

    .car-title-en {
        font-size: 14px;
    }

    .price-value {
        font-size: 20px;
    }

    .specs-icons-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .end-help-block .phone-number {
        font-size: 22px;
    }
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    FONT-SIZE: 15PX;
    FONT-WEIGHT: 500;
}

/* 
   ======================================== */
   
/* =========================================
   LEFT SIDE QUOTE SUMMARY BLOCK (ONLY)
   Target: .price-summary-card
   ========================================= */
/* الكارد */
.price-summary-card{
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  direction: rtl;
}

/* ============================
   Desktop Layout (Top Split)
   ============================ */
/* يقسم الجزء العلوي لنصفين: يمين نص / يسار صورة */
.price-summary-card .ps-content{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* يمين: اسم + بيانات + سعر */
.price-summary-card .ps-right{
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  order: 1;
}

/* يسار: الصورة */
.price-summary-card .ps-left{
  flex: 0 0 186px;
  width: 186px;
  order: 2;
}

/* الهيدر: اسم السيارة يمين + السعر تحت/جنب */
.price-summary-card .ps-header{
  text-align: right;
  margin-bottom: 12px;
}

.price-summary-card .car-ar{
  font-size: 24px;
  font-weight: 800;            /* بولد أقوى */
  line-height: 1.25;
  margin: 0 0 4px 0;
  color: var(--color-black);   /* أسود */
}

.price-summary-card .car-en{
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: var(--color-gray-dark);
}

/* سطر السعر (يمين) + رمز الريال + "شامل الضريبة" */
.price-summary-card .ps-total{
  text-align: right;
  margin: 10px 0 14px;
}

.price-summary-card .ps-total-line{
 
  justify-content: flex-end;  /* يمين */
  align-items: baseline;
  gap: 10px;
  direction: rtl;            /* الرقم ثم الرمز */
}

.price-summary-card .total-label{
  font-size: 28px;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1;
}

.price-summary-card .currency{
  display: inline-flex;
  align-items: baseline;
}

.price-summary-card .icon-saudi_riyal{
  font-size: 24px;
  display: inline-block;
  min-width: 1em;
  line-height: 1;
  vertical-align: middle;
}

/* "شامل الضريبة" */
.price-summary-card .vat{
  display: block;
  font-size: 12px;
  color: var(--color-gray-medium);
  margin-top: 6px;
}

/* صورة السيارة */
.price-summary-card .ps-image{
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  margin: 0;                 /* في الديسكتوب خليها محاذية للأعلى */
}

.price-summary-card .ps-image img{
  width: 186px;              /* تثبيت عرض الصورة */
  height: 110px;
  object-fit: cover;
  display: block;
}

/* Breakdown: labels يمين / values شمال (line-left) */
.price-summary-card .ps-breakdown{
  border-top: 1px solid var(--color-gray-light);
  padding-top: 14px;
  margin-top: 14px;
}

.price-summary-card .ps-row{

  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

/* العناوين يمين وبولد */
.price-summary-card .ps-row .label{
  text-align: right;
  font-weight: 700;
  color: var(--color-black);
}

/* القيم شمال (ALL LINE LEFT) */
.price-summary-card .ps-row .value{
  margin-left: auto;         /* يدفعها لأقصى اليسار داخل الصف */
  direction: ltr;            /* أرقام ثابتة */
  text-align: left;          /* align left */
  font-weight: 800;
  color: var(--color-black);
  min-width: 110px;          /* توحيد المحاذاة */
}

/* صف الإجمالي أقوى */
.price-summary-card .ps-row.total .label,
.price-summary-card .ps-row.total .value{
  font-size: 15px;
  font-weight: 800;
}

/* زر تسجيل طلب شراء: أسود + Hover أحمر + النص أبيض */
.price-summary-card .ps-action-btn{
  width: 100%;
  margin-top: 14px;
  padding: 14px 0;
  border: none;
  border-radius: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.price-summary-card .ps-action-btn:hover{
  background: var(--color-red);
  color: var(--color-white);
}

.price-summary-card .ps-action-btn:active{
  transform: scale(0.99);
}

/* زر تجربة قيادة: أبيض + Border رمادي + Hover أسود */
.price-summary-card .ps-secondary-btn{
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 0;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease, transform .15s ease;
}

.price-summary-card .ps-secondary-btn:hover{
  border-color: var(--color-black);
  background: #f9f9f9;
  color: var(--color-black);
}

.price-summary-card .ps-secondary-btn:active{
  transform: scale(0.99);
}

/* ============================
   Mobile: Top shows text first
   and image becomes before button
   ============================ */
@media (max-width: 991px){
  .price-summary-card{
    padding: 18px;
  }

  /* نخليها عمود واحد */
  .price-summary-card .ps-content{
    flex-direction: column;
    gap: 12px;
  }

  /* أعلى الكارد: الاسم + السعر */
  .price-summary-card .ps-right{
    order: 1;
    width: 100%;
  }

  /* breakdown بعد النص */
  .price-summary-card .ps-breakdown{
    order: 2;
    width: 100%;
  }

  /* الصورة قبل زر الحجز مباشرة */
  .price-summary-card .ps-left{
    order: 3;
    width: 100%;
    flex: 0 0 auto;
  }

  .price-summary-card .ps-image{
    margin: 0;
  }

  .price-summary-card .ps-image img{
    width: 100%;
    height: 160px;
  }

  /* الزر آخر شيء */
  .price-summary-card .ps-action-btn{
    order: 4;
    font-size: 16px;
  }

  .price-summary-card .total-label{
    font-size: 24px;
  }

  .price-summary-card .ps-row{
    font-size: 15px;
  }

  .price-summary-card .ps-row .value{
    min-width: 105px;
  }
}


   
  .price-summary-card .ps-breakdown{
  border-top: 1px solid var(--color-gray-light);
  padding-top: 0;           /* زي اللي تحت */
  margin-top: 14px;
}

/* كل صف يبقى زي جدول: يمين/يسار + خط */
.price-summary-card .ps-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;          /* مساحة زي اللي تحت */
  border-bottom: 1px solid var(--color-gray-light);
  margin: 0;                /* إلغاء أي مسافات قديمة */
  font-size: 14px;
}

/* آخر صف بدون خط */
.price-summary-card .ps-row:last-child{
  border-bottom: none;
}

/* اليمين: عنوان */
.price-summary-card .ps-row .label{
  text-align: right;
  font-weight: 500;         /* زي اللي تحت */
  color: var(--color-black);
}

/* الشمال: قيمة */
.price-summary-card .ps-row .value{
  margin-left: 0;           /* إلغاء auto القديمة */
  direction: ltr;
  text-align: left;
  font-weight: 600;
  color: var(--color-black);
  min-width: auto;          /* مش لازم تثبيت */
}

/* الإجمالي أقوى */
.price-summary-card .ps-row.total .label,
.price-summary-card .ps-row.total .value{
  font-weight: 700;
  font-size: 15px;
}
/* تكبير وتغميق النص العربي (Labels) */
.price-summary-card .ps-row .label{
  font-size: 15.5px;   /* أكبر شوية */
  font-weight: 700;    /* Bold */
  color: var(--color-black);
}

/* الإجمالي يكون أوضح */
.price-summary-card .ps-row.total .label{
  font-size: 16.5px;
  font-weight: 800;
} 

.sar-symbol{
  font-size: 28px;          /* نفس حجم السعر */
  font-weight: 600;
  line-height: 1;
  display: inline-block;
  margin-inline-start: 4px; /* مسافة بسيطة بعد الرقم */
  vertical-align: baseline;
}

.sar-icon{
  width: 22px;           /* كبر الحجم */
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-inline-start: 4px;

  /* إحساس Bold */
  filter: drop-shadow(0 0 0.4px #000);
}

@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
        background: var(--color-white);
        border-radius: var(--card-radius);
        padding: 22px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
        direction: rtl;
    }
}


.availability-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background-color: #198754;
    color: var(--color-white);
    padding: 0px 6px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 991px) {
    .content-column {
        order: 1;
        background: var(--color-white);
        border-radius: var(--card-radius);
        padding: 22px;
        direction: rtl;
    }
}

.spec-name {
    font-size: 16px;
    color: var(--color-black);
    font-weight: bold;
}

@media (max-width: 576px) {
    .accordion-header {
        font-size: 17px;
        font-weight: bold;
    }
}

.engine-spec-row span:first-child {
    color: #dc3545;
    font-size: 15px;
    font-weight: bold;
}


.container-fluid {
    max-width: 1859px;
    padding: 0 24px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 16px;
}

/* ========================================
   RPM Header - Premium Mercedes-like Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-black: #000;
    --color-black-hover: #111;
    --color-white: #fff;
    --color-gray-light: #F2F2F2;
    --color-gray-border: rgba(255, 255, 255, 0.1);
    --color-text: #000;
    --font-family: Arial, "Segoe UI", sans-serif;
    --header-height-logo: 80px;
    --header-height-nav: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-dropdown: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-dropdown: 16px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-black);
}

/* Header Rows */
.header__row {
    width: 100%;
}

.header__row--logo {
    height: var(--header-height-logo);
    display: flex;
    align-items: center;
}

.header__row--nav {
    height: var(--header-height-nav);
    display: flex;
    align-items: center;
}

/* Logo Wrapper */
.header__logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transform: translateY(-5px); /* رفعه أكثر */
}

@media (min-width: 992px) {
    .header__logo img {
        height: 48px; /* تكبيره قليلاً في الديسكتوب */
        transform: translateY(-8px); /* رفعه أكثر في الديسكتوب */
    }
    
    .header__logo-wrapper {
        justify-content: flex-start;
    }
}

/* Burger Button */
.header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.header__burger:hover,
.header__burger:focus {
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.header__burger:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .header__burger {
        display: none;
    }
}

/* Header Separator */
.header__separator {
    height: 1px;
    background-color: var(--color-gray-border);
}

.header__separator--bottom {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ========================================
   Desktop Navigation
   ======================================== */
.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.header__nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.header__nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
    outline: none;
}

.header__nav-link:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 4px;
    border-radius: 4px;
}

.header__nav-link::after {
    display: none; /* Remove Bootstrap default caret */
}

/* Chevron Icon */
.header__chevron {
    transition: transform var(--transition-fast);
    opacity: 0.7;
}

.header__nav-link.show .header__chevron {
    transform: rotate(180deg);
}

/* ========================================
   Desktop Dropdown
   ======================================== */
.header__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 12px 0;
    margin-top: 8px;
    background-color: var(--color-white);
    border: none;
    border-radius: var(--radius-dropdown);
    box-shadow: var(--shadow-dropdown);
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header__dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition-fast);
}

.header__dropdown-item:hover,
.header__dropdown-item:focus {
    background-color: var(--color-gray-light);
    color: var(--color-text);
}

.header__dropdown-item:focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: -2px;
}

/* ========================================
   Mobile Offcanvas
   ======================================== */
.offcanvas-mobile {
    width: 100% !important;
    max-width: 100%;
    border: none;
    background-color: var(--color-white);
}

@media (min-width: 576px) {
    .offcanvas-mobile {
        width: 380px !important;
        max-width: 380px;
    }
}

.offcanvas-mobile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-gray-light);
}

.offcanvas-mobile__logo {
    display: flex;
    align-items: center;
}

.offcanvas-mobile__logo img {
    height: 28px;
    width: auto;
    filter: brightness(0);
}

.offcanvas-mobile__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.offcanvas-mobile__close:hover,
.offcanvas-mobile__close:focus {
    background-color: var(--color-gray-light);
    outline: none;
}

/* Offcanvas Body */
.offcanvas-mobile__body {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.offcanvas-mobile__nav {
    padding: 8px 0;
}

/* Accordion */
.offcanvas-mobile__accordion {
    border-bottom: 1px solid var(--color-gray-light);
}

.offcanvas-mobile__accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    transition: var(--transition-fast);
}

.offcanvas-mobile__accordion-header:hover {
    background-color: var(--color-gray-light);
}

.offcanvas-mobile__accordion-header:focus {
    outline: none;
}

.offcanvas-mobile__accordion-header:focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: -2px;
}

/* Accordion Icon */
.offcanvas-mobile__accordion-icon {
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.offcanvas-mobile__accordion-header.active .offcanvas-mobile__accordion-icon {
    transform: rotate(45deg);
}

/* Accordion Body */
.offcanvas-mobile__accordion-body {
    padding: 0 20px 16px 20px;
}

.offcanvas-mobile__link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 4px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.offcanvas-mobile__link:hover,
.offcanvas-mobile__link:focus {
    background-color: var(--color-gray-light);
    color: var(--color-text);
}

.offcanvas-mobile__link:last-child {
    margin-bottom: 0;
}

/* Icon Buttons Row */
.offcanvas-mobile__icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px 20px;
    margin-top: auto;
    border-top: 1px solid var(--color-gray-light);
}

.offcanvas-mobile__icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.offcanvas-mobile__icon-btn:hover,
.offcanvas-mobile__icon-btn:focus {
    background-color: var(--color-gray-light);
    color: var(--color-text);
}

.offcanvas-mobile__icon-btn svg {
    opacity: 0.8;
}

.offcanvas-mobile__icon-btn span {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Footer (Sticky Bottom) */
.offcanvas-mobile__footer {
    display: flex;
    background-color: var(--color-black);
}

.offcanvas-mobile__footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 16px 12px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.offcanvas-mobile__footer-btn:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-mobile__footer-btn:hover,
.offcanvas-mobile__footer-btn:focus {
    background-color: var(--color-black-hover);
    color: var(--color-white);
}

.offcanvas-mobile__footer-btn svg {
    flex-shrink: 0;
}

/* ========================================
   Page Content (Placeholder)
   ======================================== */
.page-content {
    padding: 40px 0;
    min-height: 100vh;
}

.page-content__placeholder {
    text-align: center;
}

.page-content__placeholder h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.page-content__placeholder p {
    font-size: 16px;
    color: #666;
}

.page-content__spacer {
    height: 300px;
}

/* ========================================
   Utility Overrides
   ======================================== */

/* Override Bootstrap dropdown styles */
.dropdown-menu {
    border: none;
}

.dropdown-item:active {
    background-color: var(--color-gray-light);
    color: var(--color-text);
}

/* Override Bootstrap offcanvas backdrop */
.offcanvas-backdrop.show {
    opacity: 0.5;
}

/* Focus visible polyfill */
.focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: 2px;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 991px) {
    .header__row--logo {
        height: 56px;
    }
    
    .header__logo img {
        height: 28px;
    }
}

@media (max-width: 575px) {
    .offcanvas-mobile__icons {
        gap: 16px;
        padding: 20px 16px;
    }
    
    .offcanvas-mobile__icon-btn {
        padding: 10px;
    }
    
    .offcanvas-mobile__icon-btn span {
        font-size: 11px;
    }
    
    .offcanvas-mobile__footer-btn {
        padding: 14px 10px;
        font-size: 12px;
        gap: 6px;
    }
    
    .offcanvas-mobile__footer-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Safe area for notched devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .offcanvas-mobile__footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
@media (min-width: 992px) {
    .header__logo img {
        height: 60px;
        margin-top: 102PX;
    }
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
    margin-top: 9px;
}

.header__nav-link:hover, .header__nav-link:focus {
    color: #dc3545;
    outline: none;
    font-size: 19px;
    font-weight: bold;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
}

.header__dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition-fast);
}


.header__dropdown-item:hover, .header__dropdown-item:focus {
    background-color: var(--color-gray-light);
    color: #f12034;
}

@media (max-width: 991px) {
    .header__logo img {
        height: 50px;
        margin: 17px;
    }
}


@media (max-width: 991px) {
    .header__row--logo {
        height: 88px;
    }
}

.header__burger:hover, .header__burger:focus {
    background-color: rgb(255 255 255 / 25%);
    outline: none;
}


.offcanvas-mobile__logo img {
    height: 56px;
    width: auto;
    filter: brightness(0);
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
    font-size: 19px;
    font-weight: bold;
}


.offcanvas-mobile__link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 4px;
    color: #e5041a;
    font-size: 17px;
    font-weight: 450;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.offcanvas-mobile__link:hover, .offcanvas-mobile__link:focus {
    background-color: var(--color-gray-light);
    color: #000000;
}

a.offcanvas-mobile__icon-btn {
    background: #f2f2f2;
    min-inline-size: 117px;
}

.offcanvas-mobile__footer-btn:first-child {
    border-left: 1px solid rgb(255 255 255 / 30%);
}

@media (max-width: 575px) {
    .offcanvas-mobile__footer-btn {
        padding: 14px 10px;
        font-size: 16px;
        gap: 6px;
        font-weight: bold;
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .offcanvas-mobile__footer {
        padding-bottom: env(safe-area-inset-bottom);
        height: 61px;
    }
}



/* ========================================
   Footer
   ======================================== */
.main-footer {
    background-color: var(--mb-black);
    color: var(--mb-white);
    padding: 60px 0 0;
    position: relative;
}

.footer-widget h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--mb-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--mb-silver);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--mb-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 40px;
}

.copyright {
    font-size: 13px;
    color: #fff;
    margin: 0;
}

.footer-legal {
    display: flex;
    list-style: none;
    gap: 24px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
	color: #d9d9d9 ;
}

.footer-legal a {
    font-size: 13px;
    color: #fff;
	font-weight: 200;
}

.footer-legal a:hover {
    color: var(--mb-white);
}

/* Back to Top */
.back-to-top {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #000000;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mb-white);
    transition: var(--transition-normal);
}

.back-to-top:hover {
    background-color: #f12034;
    border-color: var(--mb-blue);
}

.back-to-top i {
    font-size: 16px;
	COLOR: aliceblue;
}

.back-to-top span {
    font-size: 10px;
    margin-top: 2px;
	color: #ffffff;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 42px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu li a {
        font-size: 13px;
    }
    
    .category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .top-bar {
        padding: 8px 16px;
    }
    
    .main-navbar {
        padding: 12px 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-text {
        padding: 24px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cars-slider-wrapper {
        padding: 0 40px;
    }
    
    .recommendation-card {
        height: 300px;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 16px;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .anniversary-badge .years {
        font-size: 24px;
    }
    
    .anniversary-badge .text {
        font-size: 8px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .car-image {
        height: 220px;
    }
    
    .tool-card {
        padding: 24px 16px;
    }
}

.main-footer {
    background-color: #000000;
    position: relative;
}

.footer-widget h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffff;
}

.footer-links a {
    color: #bdbdbd;
    font-size: 14px;
    transition: var(--transition-normal);
    font-weight: 400;
}

.footer-links li {
    margin-bottom: 12px;
    color: #f12034;
}


/* ========================================
   Animations
   ======================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideIn {
    animation: slideIn 0.6s ease forwards;
}

/* Smooth hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:active {
    transform: scale(0.98);
}



/* =========================
   HERO SLIDER (Landing)
========================= */
.hero-section{
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  direction: rtl;
}

.hero-slider{
  height: 100%;
  position: relative;
}

/* Slides */
.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
}

.hero-slide.active{
  opacity: 1;
  visibility: visible;
}

/* Overlay (stronger on the right for RTL) */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,0,0,.86) 0%,
    rgba(0,0,0,.55) 35%,
    rgba(0,0,0,.15) 70%,
    rgba(0,0,0,0) 100%
  );
}

/* Content: vertically centered + right aligned */
.hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;          /* center vertically */
}

.hero-content .row{
  width: 100%;
  align-items: center;          /* center vertically inside bootstrap row */
  justify-content: flex-end;    /* push column to the right */
}

.hero-text{
  color: #fff;
  text-align: right;
  max-width: 680px;
  margin-left: auto;            /* stick to right side */
}

.hero-title{
  font-size: 40px;
  font-weight: 300;
  line-height: 1.35;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 22px rgba(0,0,0,.35);
}

.hero-subtitle{
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 26px rgba(0,0,0,.35);
}

/* Optional third line (if exists) */
.hero-line-3,
.hero-text h3{
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 22px 0;
  text-shadow: 0 2px 22px rgba(0,0,0,.35);
}

.hero-buttons{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons: one solid black, one transparent with white border */
.hero-buttons .btn{
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.hero-buttons .btn.btn-primary{
  background: #f12034;
  border: 1px solid #000;
  color: #fff;
}

.hero-buttons .btn.btn-primary:hover{
  background: #111;
  border-color: #111;
}

.hero-buttons .btn.btn-outline-light{
  background: transparent;
  border: 1px solid rgba(255,255,255,.9);
  color: #fff;
}

.hero-buttons .btn.btn-outline-light:hover{
  background: rgba(255,255,255,.08);
}

/* Slider navigation: dots only (no arrows) */
.slider-nav{
  position: absolute;
  right: 70px;
  bottom: 34px;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

/* Hide any arrow buttons (even if present) */
.slider-prev,
.slider-next,
.slider-nav button{
  display: none !important;
}

.slider-dots{
  display: flex;
  gap: 10px;
}

.slider-dots span{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.slider-dots span.active{
  background: #fff;
  transform: scale(1.15);
}

/* =========================
   OUR CARS
========================= */
.our-cars-section{
  padding: 80px 0;
  background: #fff;
}

.section-title{
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: right;
}

.category-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.tab-btn{
  padding: 12px 22px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.tab-btn.active{
  background: #000;
  color: #fff;
  border-color: #000;
}

.cars-slider-wrapper{
  position: relative;
  padding: 0 60px;
}

.cars-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
}

.cars-nav.prev{ right: 0; }
.cars-nav.next{ left: 0; }

.cars-slide{ display: none; }
.cars-slide.active{ display: block; }

.car-card{
  background: #fff;
  border: 1px solid #eee;
}

.car-image{
  position: relative;
  height: 260px;
  overflow: hidden;
}

.car-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.car-card:hover img{
  transform: scale(1.06);
}

.car-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .3s;
}

.car-card:hover .car-overlay{
  opacity: 1;
}

.car-buttons{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-info{
  padding: 20px;
  text-align: center;
}

.car-name{
  font-size: 18px;
  font-weight: 700;
}

.car-price{
  font-size: 14px;
  color: #555;
}

.cars-pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}

.page-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.page-dot.active{
  background: #000;
}

/* =========================
   RECOMMENDATIONS
========================= */
.recommendations-section{
  padding: 80px 0;
  background: #f4f4f4;
}

.recommendation-card{
  height: 380px;
  overflow: hidden;
  position: relative;
}

.rec-image,
.rec-image img{
  width: 100%;
  height: 100%;
}

.rec-image img{
  object-fit: cover;
  transition: .6s;
}

.recommendation-card:hover img{
  transform: scale(1.07);
}

.rec-overlay{
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  color: #fff;
}

.rec-overlay h3{
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.rec-overlay p{
  font-size: 14px;
  opacity: .92;
  margin: 0;
}

.rec-buttons{
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* =========================
   RESPONSIVE (Landing)
========================= */
@media (max-width: 991px){
  .hero-title{ font-size: 28px; }
  .hero-subtitle{ font-size: 42px; }
  .hero-line-3, .hero-text h3{ font-size: 32px; }

  .cars-slider-wrapper{ padding: 0 40px; }
  .recommendation-card{ height: 300px; }
}

/* Mobile: image on top + black panel under (Mercedes-like) */
@media (max-width: 576px){
  .hero-section{
    height: auto;
    min-height: 0;
  }

  .hero-slide{
    position: relative;
    height: auto;
    min-height: 0;
  }

  /* show only active slide so they don't stack */
  .hero-slide{ display: none; }
  .hero-slide.active{ display: block; }

  /* top image */
  .hero-slide::before{
    content:"";
    display:block;
    height: 240px;
    background: inherit;          /* use same slide background */
    background-size: cover;
    background-position: center;
  }

  /* remove overlay on mobile (panel will handle contrast) */
  .hero-overlay{ display:none; }

  /* black panel */
  .hero-content{
    height: auto;
    display: block;
    background: #000;
    padding: 22px 18px 58px;     /* extra bottom so dots stay inside */
  }

  .hero-text{
    max-width: 100%;
    margin: 0;
  }

  .hero-title{ font-size: 18px; }
  .hero-subtitle{ font-size: 34px; }
  .hero-line-3, .hero-text h3{ font-size: 26px; margin-bottom: 18px; }

  .hero-buttons{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-buttons .btn{
    width: 100%;
    padding: 12px 18px;
  }

  /* dots inside the slide (bottom-right) */
  .slider-nav{
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 50;
  }
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

/* ===== Fix: remove big white space under hero on mobile ===== */
@media (max-width: 576px){

  .hero-section{
    height: auto !important;
    min-height: 0 !important;
  }

  .hero-slider{
    height: auto !important;
    min-height: 0 !important;
  }

  /* مهم: نلغي absolute من الديسكتوب ونخلي السلايد يدخل في الـ flow */
  .hero-slide,
  .hero-slide.active{
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* نخلي الـ panel الأسود ما يزودش ارتفاع زيادة */
  .hero-content{
    padding-bottom: 26px !important; /* كان ممكن كبير يسبب احساس فراغ */
  }
}

/* ===== Smooth crossfade + no white flash ===== */
.hero-section,
.hero-slider{
  background:#000; /* يمنع أي فلاش أبيض */
}

/* السلايدات بتفضل موجودة، بس بنغيّر opacity */
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  will-change: opacity;
}

/* السلايد النشط */
.hero-slide.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition: opacity 900ms ease;
}

/* مهم: بطل تستخدم display:none في الديسكتوب (لو موجود عندك) */
@media (min-width: 577px){
  .hero-slide{ display:block !important; }
}

/* في الموبايل (Panel layout) نخلي نفس الانتقال، بس نحافظ إن غير النشط ما يطلعش */
@media (max-width: 576px){
  .hero-slide{ display:block !important; }
  .hero-slide:not(.active){ opacity:0; visibility:hidden; }
}

/* Mobile: show ONE slide only (prevent stacking) */
@media (max-width: 576px){
  .hero-section .hero-slide{ display:none !important; }
  .hero-section .hero-slide.active{ display:block !important; }
}

/* Desktop-only smooth dropdown animation (Bootstrap 5) */
@media (min-width: 992px){
  .navbar .dropdown-menu{
    display: block;              /* نخليها قابلة للأنيميشن */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    margin-top: 10px;
    pointer-events: none;
  }


}

/* =========================
   Desktop Hover Dropdown (manual) - safe
   (No effect on mobile)
========================= 
/* =========================
   Desktop Hover Dropdown (manual) - safe
   (No effect on mobile)
========================= */
@media (min-width: 992px){

  /* اقفل أي dropdown افتراضي من Bootstrap */
  .navbar .dropdown-menu{
    display: block !important;          /* عشان الأنيميشن */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    margin-top: 10px !important;
  }

  /* افتح فقط لما نضيف hover-open */
  .navbar .dropdown.hover-open > .dropdown-menu{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* منع تكديس/فلاش: حتى لو Bootstrap حط .show بالغلط، نخليه مقفول إلا مع hover-open */
  .navbar .dropdown:not(.hover-open) > .dropdown-menu.show{
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
  }
}

@media (min-width: 992px){
  .navbar .dropdown-menu{
    display:block !important;
    opacity:0 !important;
    visibility:hidden !important;
    transform: translateY(10px) !important;
    pointer-events:none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    margin-top: 10px !important;
  }

  .navbar .dropdown.hover-open > .dropdown-menu{
    opacity:1 !important;
    visibility:visible !important;
    transform: translateY(0) !important;
    pointer-events:auto !important;
  }

  /* تمنع Bootstrap show من إنه يفتح لوحده */
  .navbar .dropdown-menu.show{
    opacity:0 !important;
    visibility:hidden !important;
    transform: translateY(10px) !important;
    pointer-events:none !important;
  }

  .navbar .dropdown.hover-open > .dropdown-menu.show{
    opacity:1 !important;
    visibility:visible !important;
    transform: translateY(0) !important;
    pointer-events:auto !important;
  }
}


@media (min-width: 992px){
  .navbar .dropdown-menu{
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .navbar .dropdown.hover-open > .dropdown-menu{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* حتى لو Bootstrap حط show بالغلط، مايفتحش إلا مع hover-open */
  .navbar .dropdown:not(.hover-open) > .dropdown-menu.show{
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
  }
}


/* الكارد بدون بوردر */
.car-card{
  background:#fff;
  border:0 !important;        /* شيل البوردر الرصاصي */
  border-radius:0;            /* لو عندك rounded مش عايزه خليه 0 */
  overflow:hidden;
  position:relative;
}

/* الصورة */
.car-card__media{
  position:relative;
  overflow:hidden;
  background:#fff;
}

.car-card__img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* لو عندك Overlay أسود قديم، ده يجبره يختفي */
.car-card__media::before,
.car-card__media::after,
.car-card .overlay,
.car-card .image-overlay{
  display:none !important;
  opacity:0 !important;
  background:transparent !important;
}

/* الأزرار (مخفية افتراضيًا) */
.car-card__actions{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:flex;
  gap:12px;
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
  z-index:5;
}

/* إظهار الأزرار عند hover على الكارد */
.car-card:hover .car-card__actions{
  opacity:1;
  pointer-events:auto;
}

/* شكل الأزرار جنب بعض */
.car-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 150px;
  padding: 12px 16px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  transition:.15s ease;
  white-space:nowrap;
}

/* زر أسود */
.car-btn--primary{
  background:#000;
  color:#fff;
}
.car-btn--primary:hover{ filter:brightness(1.05); }

/* زر أبيض */
.car-btn--secondary{
  background:#fff;
  color:#000;
  border-color:#e9ecef;
}
.car-btn--secondary:hover{ background:#f2f2f2; }

/* (اختياري) بدون أي تأثير تعتيم للصورة */
.car-card:hover .car-card__img{
  filter:none;
}

@media (min-width: 992px){
  .navbar .dropdown-menu{
    display:block !important;
    opacity:0 !important;
    visibility:hidden !important;
    transform: translateY(10px) !important;
    pointer-events:none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    margin-top: 10px !important;
  }

  .navbar .dropdown.hover-open > .dropdown-menu{
    opacity:1 !important;
    visibility:visible !important;
    transform: translateY(0) !important;
    pointer-events:auto !important;
  }

  /* لو Bootstrap حط show لأي سبب، تفضل مقفولة إلا مع hover-open */
  .navbar .dropdown:not(.hover-open) > .dropdown-menu.show{
    opacity:0 !important;
    visibility:hidden !important;
    transform: translateY(10px) !important;
    pointer-events:none !important;
  }
}

/* نخلي البلوك الأساسي position relative */
.car-card,
.car-item,
.product-card {
  position: relative;
}

/* نخفي الزرارين افتراضيًا */
.car-actions{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
  z-index: 5;
}

/* يظهروا عند hover على الكارد */
.car-card:hover .car-actions,
.car-item:hover .car-actions,
.product-card:hover .car-actions{
  opacity: 1;
  visibility: visible;
}

/* شكل الأزرار */
.car-btn{
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: .15s ease;
  font-size: 14px;
}

/* زر طلب شراء (أسود) */
.car-btn-buy{
  background: #000;
  color: #fff;
}
.car-btn-buy:hover{
  background: #111;
}

/* زر تجربة قيادة (أبيض) */
.car-btn-test{
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
}
.car-btn-test:hover{
  background: #f2f2f2;
}

/* نلغي زر اكتشف المزيد لو لسه موجود */
.car-link{
  display: none !important;
}

/* الكارد */
.car-card{
  background:#fff;
  border:0;              /* بدون بوردر */
}

/* الصورة */
.car-image img{
  width:100%;
  display:block;
}

/* المحتوى */
.car-content{
  text-align:center;
  padding:16px;
}

.car-title{
  font-weight:700;
  margin-bottom:8px;
}

.car-price{
  font-size:14px;
  margin-bottom:16px;
}

/* الأزرار تحت النص */
.car-bottom-actions{
  display:flex;
  justify-content:center;
  gap:12px;
}

/* زر طلب شراء */
.btn-buy{
  background:#000;
  color:#fff;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
}

/* زر تجربة قيادة */
.btn-test{
  background:#fff;
  color:#000;
  padding:12px 20px;
  border-radius:10px;
  border:1px solid #ddd;
  text-decoration:none;
  font-weight:700;
}

/* Hover بسيط */
.btn-buy:hover{ background:#111; }
.btn-test:hover{ background:#f2f2f2; }


/* Desktop-only: smooth dropdown + prevent random open */
@media (min-width: 992px){

  /* نخليها قابلة للأنيميشن */
  .dropdown-menu{
    display: block !important;        /* مهم للـ animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    margin-top: 10px !important;
  }

  /* تفتح فقط لما الـ parent dropdown يكون عليه show (Bootstrap) */
  .dropdown.show > .dropdown-menu{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* لو حصلت .show على المينو لوحدها لأي سبب، ما تفتحش إلا مع parent.show */
  .dropdown-menu.show{
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
  }
  .dropdown.show > .dropdown-menu.show{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* 1) منع تقطيع الصورة وقت hover + تثبيت مساحة الصورة */
.car-card{
  background:#fff;
  border:0;
  position:relative;
  /* لا تعمل overflow hidden على الكارد كله */
  overflow: visible;
}

/* حاوية الصورة */
.car-image{
  background:#fff;
  /* لو عندك overflow hidden هنا وبيسبب قص، خليه visible */
  overflow: visible;
}

/* الصورة نفسها */
.car-image img{
  width:100%;
  height:auto;
  display:block;

  /* مهم: امنع أي transform/scale من كود قديم */
  transform: none !important;
  transition: none !important;
}

/* لو عندك قواعد قديمة بتكبر الصورة عند hover (زي .car-card:hover img) اقفلها هنا */
.car-card:hover .car-image img{
  transform: none !important;
  filter: none !important;
}

/* 2) اخفاء الزرارين افتراضيًا */
.car-bottom-actions{
  display:flex;
  justify-content:center;
  gap:12px;

  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: .2s ease;
  pointer-events:none;
}

/* اظهار الزرارين عند hover على الكارد (ديسكتوب فقط) */
@media (hover: hover) and (pointer: fine){
  .car-card:hover .car-bottom-actions{
    opacity:1;
    visibility:visible;
    transform: translateY(0);
    pointer-events:auto;
  }
}

/* موبايل (لا يوجد hover) — خليهم ظاهرين دائمًا */
@media (hover: none){
  .car-bottom-actions{
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }
}

/* شكل الأزرار */
.btn-buy{
  background:#000;
  color:#fff;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
}
.btn-buy:hover{ background:#111; }

.btn-test{
  background:#fff;
  color:#000;
  padding:12px 20px;
  border-radius:10px;
  border:1px solid #ddd;
  text-decoration:none;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
}
.btn-test:hover{ background:#f2f2f2; }

/* 3) تأكيد حذف أي أزرار/اوفرلاي فوق الصورة (لو موجودة من قبل) */
.car-image .car-actions,
.car-image .overlay,
.car-image .image-overlay,
.car-image a.car-link,
.car-image button{
  display:none !important;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1700px;
		margin-bottom: 71px;
    }
}

.section-title {
    font-size: 34px;
    font-weight: Bold;
    margin-bottom: 9px;
    text-align: right;
}


@media (hover: hover) and (pointer: fine){
  .car-card:hover .car-image img{
    transform: scale(1.06) translateY(-2px);
  }
}
/* ====== CARD ====== */
.car-card{
  position: relative;
  background: #fff;
  border: 0;
  overflow: visible;           /* مهم: الكارد نفسه لا يقص */
}

/* ====== IMAGE WRAPPER ====== */
.car-card .car-image{
  position: relative;
  overflow: hidden;            /* القص هنا فقط */
  background: #fff;
}

/* ====== IMAGE ====== */
.car-card .car-image img{
  width: 100%;
  height: auto;
  display: block;

  transform: scale(1);
  transition: transform .35s ease;
  will-change: transform;
}

/* Zoom in on hover (DESKTOP only) */
@media (hover: hover) and (pointer: fine){
  .car-card:hover .car-image img{
    transform: scale(1.06);    /* عدّل النسبة لو حابب */
  }
}

/* ====== REMOVE ANY OLD IMAGE EFFECTS ====== */
.car-card:hover img{
  filter: none !important;
}

/* ====== ACTION BUTTONS (UNDER TEXT) ====== */
.car-card .car-bottom-actions{
  display: flex;
  justify-content: center;
  gap: 12px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  pointer-events: none;
}

/* show buttons on hover (desktop) */
@media (hover: hover) and (pointer: fine){
  .car-card:hover .car-bottom-actions{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* mobile: always visible (no hover) */
@media (hover: none){
  .car-card .car-bottom-actions{
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

/* ====== BUTTON STYLES ====== */
.car-card .btn-buy{
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  min-width: 140px;
  text-align: center;
}
.car-card .btn-buy:hover{ background: #111; }

.car-card .btn-test{
  background: #fff;
  color: #000;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  font-weight: 700;
  min-width: 140px;
  text-align: center;
}
.car-card .btn-test:hover{ background: #f2f2f2; }

/* ====== FORCE REMOVE ANY BUTTONS OVER IMAGE ====== */
.car-card .car-image a,
.car-card .car-image button,
.car-card .car-image .overlay,
.car-card .car-image .car-actions{
  /* display: none !important; */
}


/* ==============================
   Desktop header dropdown (HOVER)
   - no auto-open
   - smooth animation
   - no stacking
   ============================== */
@media (min-width: 992px) {
  /* لازم يكون الأب position:relative عشان الدروب داون تتثبت تحت اللينك */
  .header__nav-item { 
    position: relative; 
  }

  /* اقفلها افتراضيًا */
  .header__dropdown{
    display: block;              /* نخليها قابلة للأنيميشن */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 9999;
  }

  /* افتحها لما الـ JS يحط .is-open */
  .header__nav-item.is-open > .header__dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}


.category-tabs {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 40px;
}


/* =========================
   Desktop header dropdown: hover + smooth + safe
   (does NOT affect mobile)
========================= */
@media (min-width: 992px){

  .header__nav .header__nav-item{
    position: relative;
  }

  /* افتراضيًا مقفولة */
  .header__nav .header__dropdown{
    display: block !important;            /* للأنيميشن */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    margin-top: 10px !important;
  }

  /* تفتح فقط لما نضيف class .is-open */
  .header__nav .header__nav-item.is-open > .header__dropdown{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* إلغاء أي show من Bootstrap على الديسكتوب */
  .header__nav .header__dropdown.show{
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
  }
  .header__nav .header__nav-item.is-open > .header__dropdown.show{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}


:root{
  --reco-card-radius: 16px;
  --reco-card-h: 460px;     /* الطول */
  --reco-card-w: 360px;     /* العرض */
  --reco-text: #fff;
  --reco-muted: #6c757d;
}

.reco-wrap{
  padding: 40px 0 30px;
  background: #fff;
}

.reco-headings{
  text-align: right;
  margin: 0 0 22px;
  padding: 0 24px;
}

.reco-title{
  font-weight: 800;
  font-size: clamp(24px, 3vw, 40px);
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.reco-sub{
  color: var(--reco-muted);
  font-size: 14px;
  margin: 0;
}

/* Swiper */
.myRecoSwiper{
  padding: 0 24px 34px; /* يمين/يسار + مساحة للنقط */
}

.myRecoSwiper .swiper-slide{
  width: var(--reco-card-w);
}

.reco-card{
  position: relative;
  height: var(--reco-card-h);
  border-radius: var(--reco-card-radius);
  overflow: hidden;
  background: #e9ecef;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transform: translateZ(0);
}

.reco-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* تدرّج أسفل الصورة */
.reco-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.55) 25%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,0) 72%
  );
  pointer-events:none;
}

.reco-text{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 2;
  color: var(--reco-text);
  text-align: center;
}

.reco-kicker{
  font-size: 12px;
  opacity: .9;
  margin-bottom: 6px;
  letter-spacing: .3px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reco-head{
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.25;
}

.reco-desc{
  font-size: 13px;
  opacity: .92;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination dots */
.myRecoSwiper .swiper-pagination{
  bottom: 0 !important;
  text-align: center;
}

.myRecoSwiper .swiper-pagination-bullet{
  width: 7px;
  height: 7px;
  background: #cfd4da;
  opacity: 1;
  margin: 0 5px !important;
}

.myRecoSwiper .swiper-pagination-bullet-active{
  background: #212529;
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 576px){
  :root{
    --reco-card-h: 420px;
    --reco-card-w: 300px;
  }
  .reco-wrap{ padding: 26px 0 22px; }
  .reco-headings{ padding: 0 16px; }
  .myRecoSwiper{ padding: 0 16px 34px; }
}


/* Fix huge empty space under the slider */
.reco-wrap { 
  min-height: auto !important;
  height: auto !important;
}

.myRecoSwiper {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 34px; /* زي ما هو للنقط */
}

.myRecoSwiper .swiper-wrapper,
.myRecoSwiper .swiper-slide {
  height: auto !important;
}










/**
 * Swiper 11.2.10
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: June 28, 2025
 */
@font-face {
    font-family: swiper-icons;
    src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');
    font-weight: 400;
    font-style: normal
}

:root {
    --swiper-theme-color: #007aff
}

:host {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    display: block; 
	margin-bottom: 70px;  
	
	
}

.swiper-vertical>.swiper-wrapper {
    flex-direction: column
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function,initial);
    box-sizing: content-box;
	padding-bottom: 30px;
}

.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper {
    transform: translate3d(0px,0,0)
}

.swiper-horizontal {
    touch-action: pan-y
}

.swiper-vertical {
    touch-action: pan-x
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block
}

.swiper-slide-invisible-blank {
    visibility: hidden
}

.swiper-autoheight,.swiper-autoheight .swiper-slide {
    height: auto
}

.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform,height
}

.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-3d.swiper-css-mode .swiper-wrapper {
    perspective: 1200px
}

.swiper-3d .swiper-wrapper {
    transform-style: preserve-3d
}

.swiper-3d {
    perspective: 1200px
}

.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide {
    transform-style: preserve-3d
}

.swiper-css-mode>.swiper-wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
    display: none
}

.swiper-css-mode>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: start start
}

.swiper-css-mode.swiper-horizontal>.swiper-wrapper {
    scroll-snap-type: x mandatory
}

.swiper-css-mode.swiper-vertical>.swiper-wrapper {
    scroll-snap-type: y mandatory
}

.swiper-css-mode.swiper-free-mode>.swiper-wrapper {
    scroll-snap-type: none
}

.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: none
}

.swiper-css-mode.swiper-centered>.swiper-wrapper::before {
    content: '';
    flex-shrink: 0;
    order: 9999
}

.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: center center;
    scroll-snap-stop:always}

.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child {
    margin-inline-start:var(--swiper-centered-offset-before)}

.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before {
    height:100%;
    min-height: 1px;
    width: var(--swiper-centered-offset-after)
}

.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child {
    margin-block-start:var(--swiper-centered-offset-before)}

.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before {
    width:100%;
    min-width: 1px;
    height: var(--swiper-centered-offset-after)
}

.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10; 
	
}

.swiper-3d .swiper-slide-shadow {
    background: rgba(0,0,0,.15)
}

.swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-top {
    background-image: linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-3d .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))
}

.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    box-sizing: border-box;
    border: 4px solid var(--swiper-preloader-color,var(--swiper-theme-color));
    border-radius: 50%;
    border-top-color: transparent
}

.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fff
}

.swiper-lazy-preloader-black {
    --swiper-preloader-color: #000
}

@keyframes swiper-preloader-spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.swiper-virtual .swiper-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0)
}

.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none
}

.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
    height: 1px;
    width: var(--swiper-virtual-size)
}

.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
    width: 1px;
    height: var(--swiper-virtual-size)
}

:root {
    --swiper-navigation-size: 44px
}

.swiper-button-next,.swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset,50%);
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color,var(--swiper-theme-color))
}

.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none
}

.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none
}

.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev {
    display: none!important
}

.swiper-button-next svg,.swiper-button-prev svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center
}

.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg {
    transform: rotate(180deg)
}

.swiper-button-prev,.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset,10px);
    right: auto
}

.swiper-button-next,.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset,10px);
    left: auto
}

.swiper-button-lock {
    display: none
}

.swiper-button-next:after,.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1
}

.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after {
    content: 'prev'
}

.swiper-button-next,.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset,10px);
    left: auto
}

.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after {
    content: 'next'
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0,0,0);
    z-index: 10
}

.swiper-pagination.swiper-pagination-hidden {
    opacity: 0
}

.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled {
    display: none!important
}

.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom,8px);
    top: var(--swiper-pagination-top,auto);
    left: 0;
    width: 100%
}

.swiper-pagination-bullets-dynamic {
    overflow: hidden;
    font-size: 0
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(.33);
    position: relative
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    transform: scale(.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
    transform: scale(.33)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    transform: scale(.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    transform: scale(.33)
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));
    display: inline-block;
    border-radius: var(--swiper-pagination-bullet-border-radius,50%);
    background: var(--swiper-pagination-bullet-inactive-color,#000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, .2)
}

button.swiper-pagination-bullet {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer
}

.swiper-pagination-bullet:only-child {
    display: none!important
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color,var(--swiper-theme-color))
}

.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets {
    right: var(--swiper-pagination-right,8px);
    left: var(--swiper-pagination-left,auto);
    top: 50%;
    transform: translate3d(0px,-50%,0)
}

.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap,6px) 0;
    display: block
}

.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px
}

.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    display: inline-block;
    transition: .2s transform,.2s top
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap,4px)
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: .2s transform,.2s left
}

.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: .2s transform,.2s right
}

.swiper-pagination-fraction {
    color: var(--swiper-pagination-fraction-color,inherit)
}

.swiper-pagination-progressbar {
    background: var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));
    position: absolute
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color,var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top
}

.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    transform-origin: right top
}

.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size,4px);
    left: 0;
    top: 0
}

.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar {
    width: var(--swiper-pagination-progressbar-size,4px);
    height: 100%;
    left: 0;
    top: 0
}

.swiper-pagination-lock {
    display: none
}

.swiper-scrollbar {
    border-radius: var(--swiper-scrollbar-border-radius,10px);
    position: relative;
    touch-action: none;
    background: var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))
}

.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled {
    display: none!important
}

.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    left: var(--swiper-scrollbar-sides-offset,1%);
    bottom: var(--swiper-scrollbar-bottom,4px);
    top: var(--swiper-scrollbar-top,auto);
    z-index: 50;
    height: var(--swiper-scrollbar-size,4px);
    width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))
}

.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar {
    position: absolute;
    left: var(--swiper-scrollbar-left,auto);
    right: var(--swiper-scrollbar-right,4px);
    top: var(--swiper-scrollbar-sides-offset,1%);
    z-index: 50;
    width: var(--swiper-scrollbar-size,4px);
    height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));
    border-radius: var(--swiper-scrollbar-border-radius,10px);
    left: 0;
    top: 0
}

.swiper-scrollbar-cursor-drag {
    cursor: move
}

.swiper-scrollbar-lock {
    display: none
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center
}

.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.swiper-slide-zoomed {
    cursor: move;
    touch-action: none
}

.swiper .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000
}

.swiper-free-mode>.swiper-wrapper {
    transition-timing-function: ease-out;
    margin: 0 auto
}

.swiper-grid>.swiper-wrapper {
    flex-wrap: wrap
}

.swiper-grid-column>.swiper-wrapper {
    flex-wrap: wrap;
    flex-direction: column
}

.swiper-fade.swiper-free-mode .swiper-slide {
    transition-timing-function: ease-out
}

.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity
}

.swiper-fade .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto
}

.swiper-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper.swiper-cube {
    overflow: visible
}

.swiper-cube .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    transform-origin: 0 0;
    width: 100%;
    height: 100%
}

.swiper-cube .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-cube.swiper-rtl .swiper-slide {
    transform-origin: 100% 0
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev {
    pointer-events: auto;
    visibility: visible
}

.swiper-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    opacity: .6;
    z-index: 0
}

.swiper-cube .swiper-cube-shadow:before {
    content: '';
    background: #000;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    filter: blur(50px)
}

.swiper-cube .swiper-slide-next+.swiper-slide {
    pointer-events: auto;
    visibility: visible
}

.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper.swiper-flip {
    overflow: visible
}

.swiper-flip .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1
}

.swiper-flip .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-creative .swiper-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    transition-property: transform,opacity,height
}

.swiper.swiper-cards {
    overflow: visible
}

.swiper-cards .swiper-slide {
    transform-origin: center bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden
}

/* HERO SECTION */
.hero-x{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 0;
}

/* نفس الإحساس: كبير و"سينمائي" */
.hero-x{
  min-height: clamp(520px, 62vh, 760px);
}

/* Background image */
.hero-x__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02); /* لمسة بسيطة */
}

/* Overlay gradients (يمين/أسفل زي الصورة) */
.hero-x__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
    background: radial-gradient(1200px 600px at 85% 40%, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .55) 55%, rgb(0 0 0 / 29%) 100%), linear-gradient(to left, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 28%) 28%, rgba(0, 0, 0, .12) 55%, rgba(0, 0, 0, 0) 72%), linear-gradient(to top, rgb(0 0 0 / 51%) 0%, rgba(0, 0, 0, .25) 52%, rgba(0, 0, 0, 0) 70%);
}

.hero-x__container{
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(16px, 3vw, 44px);
  min-height: inherit;
  display: flex;
  align-items: center;
}

.hero-x__content{
  margin-inline-start: auto; /* يخلي المحتوى يمين */
  width: min(560px, 92%);
  text-align: right;
  color: #fff;
}

.hero-x__kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  opacity: .95;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

/* لو عندك لوجو SVG/أيقونة: استبدله بخلفية */
.hero-x__logo{
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}

.hero-x__title{
  font-weight: 900;
  line-height: 1.06;
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 62px);
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.hero-x__desc{
  margin: 0 0 18px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  max-width: 52ch;
}

/* Button similar to screenshot */
.hero-x__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #f12034;     
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(13,110,253,.32);
  transition: transform .15s ease, filter .15s ease;
}
.hero-x__btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.hero-x__btn:active{
  transform: translateY(0);
}

/* Mobile tweaks */
@media (max-width: 768px){
  .hero-x{
    min-height: 520px;
  }
  .hero-x__content{
    width: min(520px, 100%);
  }
  .hero-x__desc{
    max-width: 100%;
  }
}


/* ===== Rent Section ===== */
.rent-hero{
  width: 100%;
  background: #fff;
  padding: clamp(28px, 4vw, 60px) 0;
  overflow: hidden;
  margin-bottom: 0;
}

/* Container */
.rent-hero__inner{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);

  display: grid;
  grid-template-columns: 1.1fr .9fr; /* النص يمين أكبر - الصورة يسار */
  align-items: center;
  gap: clamp(18px, 3vw, 40px);

  position: relative;
}

/* Subtle dotted/map-like background (اختياري) */
.rent-hero__inner::before{
  content:"";
  position:absolute;
  inset: -40px -80px;
  z-index: 0;
  opacity: .25;
  pointer-events: none;

  /* شكل نقاط خفيف */
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.18) 1px, transparent 1.2px) 0 0/12px 12px;
  mask-image: linear-gradient(to left, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* Content */
.rent-hero__content{
  position: relative;
  z-index: 1;
  text-align: right;
}

.rent-hero__title{
  margin: 0 0 14px;
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
  font-size: clamp(22px, 2.3vw, 34px);
}

.rent-hero__desc{
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.9;
  font-size: clamp(13px, 1.05vw, 16px);
  max-width: 62ch;
}

/* Button black */
.rent-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

.rent-hero__btn:hover{
  background:#000;
  transform: translateY(-1px);
}

.rent-hero__btn:active{
  transform: translateY(0);
}

/* Media */
.rent-hero__media{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start; /* الصورة على اليسار */
  align-items: center;
}

.rent-hero__car{
  width: min(520px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.18));
  transform: translateZ(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .rent-hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rent-hero__content{
    text-align: right;
  }

  .rent-hero__media{
    order: -1; /* الصورة فوق في الموبايل */
    justify-content: center;
  }

  .rent-hero__desc{
    max-width: 100%;
  }
}

@media (max-width: 576px){
  .rent-hero__btn{
    width: 100%;
    border-radius: 12px;
  }
}


* {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 20px;
}

.brand-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 1px;
  gap: 6px;
}

.brand-tab {
  background: transparent;
  border: none;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.brand-tab:hover {
  background: #f3f3f3;
}

.brand-tab.active {
  background: #000;
  color: #fff;
}
.brand-tabs {
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* wrapper علشان السنترة */
.brand-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

/* container الرئيسي */
.brand-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 40px; /* ناعم مش شارب */
  padding: 0px;
  gap: 6px;
}

/* التابات */
.brand-tab {
  background: transparent;
  border: none;
  padding: 12px 28px;
  border-radius: 32px; /* حواف ناعمة */
  font-size: 15px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* هوفر أسود */
.brand-tab:hover {
  background: #000;
  color: #fff;
}

/* التاب النشط */
.brand-tab.active {
  background: #000;
  color: #fff;
  border-radius: 35px;
}


.brand-tabs-wrapper{
  display:flex;
  justify-content:center;
  margin: 20px 0;
}

.brand-tabs{
  display:inline-flex;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:40px;
  padding:6px;
  gap:6px;
}

.brand-tab{
  background:transparent;
  border:0;
  padding:12px 28px;
  border-radius:32px;
  font-size:15px;
  font-weight:600;
  color:#000;
  cursor:pointer;
  transition: all .2s ease;
  white-space:nowrap;

  /* مهم: يمنع “تحديد/فريم” */
  outline: none;
  box-shadow: none;
}

/* Hover أسود فقط لغير الـ active */
.brand-tab:not(.active):hover{
  background:#000;
  color:#fff;
}

/* Active */
.brand-tab.active{
  background:#000;
  color:#fff;
 border-radius: 35px;
}

/* لو Bootstrap عامل focus shadow */
.brand-tab:focus,
.brand-tab:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}









/* ===== Brand Tabs (Mercedes Style) ===== */
.brand-tabs-wrapper{
  display:flex;
  justify-content:center;
  margin: 20px 0 24px;
}

.brand-tabs{
  display:inline-flex;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:40px;
  padding:1px;
  gap:6px;
}

.brand-tab{
  border:0;
  background:transparent;
  padding:12px 28px;
  border-radius:32px;
  font-size:15px;
  font-weight:600;
  color:#000;
  cursor:pointer;
  transition: all .2s ease;
  white-space:nowrap;
  outline:none;
  box-shadow:none;
}

.brand-tab:not(.active):hover{
  background:#000;
  color:#fff;
}

.brand-tab.active{
  background:#000;
  color:#fff;
  border-radius: 35px;
}

/* ===== Slider Base ===== */
.cars-slider-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  gap: 12px;
}

.cars-viewport{
  overflow:hidden;
  width:100%;
  border-radius:18px;
}

.cars-track{
  display:flex;
  transition: transform .35s ease;
  will-change: transform;
}

.cars-slide{
  min-width:100%;
  padding: 4px;
}

/* arrows */
.cars-nav{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid #e6e6e6;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: all .2s ease;
  flex: 0 0 auto;
}

.cars-nav:hover{
  background:#000;
  color:#fff;
  border-color:#000;
}

/* dots */
.cars-pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:16px;
}

.cars-pagination .page-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ddd;
  cursor:pointer;
  transition: all .2s ease;
}

.cars-pagination .page-dot.active{
  background:#000;
  transform: scale(1.1);
}

/* Responsive: arrows smaller + tabs scroll */
@media (max-width: 576px){
  .brand-tabs{
    max-width: 100%;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .brand-tabs::-webkit-scrollbar{ display:none; }

  .cars-nav{
    width:38px;
    height:38px;
  }
}
.cars-slide [class*="col-"] { display: block !important; }
.car-card { display: block !important; }






/* ===== FIX RTL + Make slides visible ===== */
.cars-slider-wrapper .cars-viewport,
.cars-slider-wrapper .cars-track {
  direction: ltr;               /* مهم علشان flex/transform */
}

.cars-slider-wrapper .cars-slide {
  direction: rtl;               /* رجّع محتوى الكروت عربي */
  flex: 0 0 100%;
  min-width: 100%;
}

.cars-slider-wrapper .cars-track {
  display: flex;
  transform: translateX(0);     /* البداية */
}

.cars-slider-wrapper .cars-viewport {
  overflow: hidden;
  width: 100%;
}

/* تأكيد إن الأعمدة ما تتخفيش بسبب override قديم */
.cars-slider-wrapper .cars-slide [class*="col-"],
.cars-slider-wrapper .car-card {
  display: block;
}



/* ===== Slider Base ===== */
.cars-slider-wrapper{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cars-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.cars-slider-wrapper .cars-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cars-slider-wrapper .cars-nav.prev {
    right: 0;
}

.cars-slider-wrapper .cars-nav.next {
    left: 0;
}

.cars-slider-wrapper .cars-nav:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.cars-dots-container{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:16px;
}

.cars-dots-container .page-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ddd;
  cursor:pointer;
  transition:all .2s ease;
}

.cars-dots-container .page-dot.active{
  background:#000;
  transform:scale(1.1);
}
/* FORCE SHOW SLIDES (override old code) */
.cars-slider-wrapper .cars-track { 
  display: flex !important; 
  position: relative !important;
}

.cars-slider-wrapper .cars-slide { 
  display: block !important; 
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  flex: 0 0 100% !important;
  min-width: 100% !important;
}

.cars-slider-wrapper .cars-viewport{
  overflow: hidden !important;
}


.brand-tab.active {
    background: #000000;
    color: #fff;
    border-radius: 35px;
}

/* ===== Offers Slider (RTL safe) ===== */
.offers-slider-container .offers-viewport,
.offers-slider-container .offers-track { direction: ltr; }

.offers-slider-container .offers-slide { direction: rtl; flex: 0 0 100%; min-width: 100%; }

.offers-slider-container .offers-viewport { overflow: hidden; width: 100%; }
.offers-slider-container .offers-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }

/* Arrows */
.offers-slider-container{
  position: relative;
  display:flex;
  align-items:center;
  gap:12px;
}

.offers-slider-container .offers-nav{
  width:42px;height:42px;border-radius:999px;
  border:1px solid #e6e6e6;background:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .2s ease;flex:0 0 auto;
}
.offers-slider-container .offers-nav:hover{
  background:#000;color:#fff;border-color:#000;
}

/* Dots */
.offersDots{
  display:flex;gap:8px;justify-content:center;margin-top:16px;
}
.offersDots .page-dot{
  width:10px;height:10px;border-radius:999px;background:#ddd;
  cursor:pointer;transition:all .2s ease;
}
.offersDots .page-dot.active{ background:#000; transform:scale(1.1); }

/* Offer Card */
.offer-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.offer-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }

.offer-image{
  position:relative;
  padding: 18px 18px 0;
  display:flex;
  justify-content:center;
}
.offer-image img{
  max-width: 100%;
  
  object-fit: contain;
}

.offer-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:#000;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

.offer-content{
  padding: 14px 18px 18px;
  text-align:center;
}

.offer-title{
  font-size:22px;
  font-weight:800;
  margin: 6px 0 10px;
}

.offer-prices{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:baseline;
  margin-bottom: 14px;
}

.old-price{
  color:#8a8a8a;
  text-decoration: line-through;
  font-size:14px;
}

.new-price{
  color:#000;
  font-size:18px;
  font-weight:900;
}

.offer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  transition: all .2s ease;
}
.offer-cta:hover{
  background:#e00000; /* لو عاوزه أحمر في الهوفر */
  color:#fff;
}

@media (max-width: 576px){
  .offers-slider-container .offers-nav{ width:38px;height:38px; }
  .offer-title{ font-size:18px; }
  .offer-image img{ height: 170px; }
}



/* نفس شكل زرارين كروت السيارات */
.car-bottom-actions.offer-actions{
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

/* الزر الأسود */
.car-bottom-actions.offer-actions .btn-buy{
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 12px 26px;
  border-radius: 14px; /* زي الصورة */
  font-weight: 800;
  text-decoration: none;
  min-width: 160px;
  text-align: center;
  transition: all .2s ease;
}

/* الزر الأبيض */
.car-bottom-actions.offer-actions .btn-test{
  background: #fff;
  color: #000;
  border: 1px solid #d9d9d9;
  padding: 12px 26px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  min-width: 160px;
  text-align: center;
  transition: all .2s ease;
}

/* Hover (اختياري) */
.car-bottom-actions.offer-actions .btn-buy:hover{
  background:#111;
  border-color:#111;
}

.car-bottom-actions.offer-actions .btn-test:hover{
  border-color:#000;
}
@media (max-width: 576px){
  .car-bottom-actions.offer-actions{
    flex-direction: column;
    gap: 10px;
  }
  .car-bottom-actions.offer-actions .btn-buy,
  .car-bottom-actions.offer-actions .btn-test{
    min-width: 100%;
  }
}


/* FORCE SHOW buttons in offers */
.car-bottom-actions.offer-actions{
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
}
/* الحالة الافتراضية: مخفي */
.offer-card .car-bottom-actions.offer-actions{
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
}

/* عند الهوفر على كارت العرض */
.offer-card:hover .car-bottom-actions.offer-actions{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 1) افتراضي: اخفاء الزرارين */
.offer-card .car-bottom-actions.offer-actions{
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;              /* مهم: يمنع الضغط وهم مخفيين */
  transition: opacity .2s ease, transform .25s ease, visibility .2s ease;
}

/* 2) عند الهوفر على الكارد: إظهار الزرارين */
.offer-card:hover .car-bottom-actions.offer-actions{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 3) لمسة احترافية: لو عايز تظهر كمان عند focus داخل الكارد (كيبورد) */
.offer-card:focus-within .car-bottom-actions.offer-actions{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 4) للموبايل: لو الكارد واخد كلاس open (هنضيفه بالـ JS) */
.offer-card.is-open .car-bottom-actions.offer-actions{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Fix for white space at the bottom of the page */
html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

.main-footer {
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.container, .container-fluid {
    margin-bottom: 0 !important;
}

/* Premium Contact Page Styles (Mercedes Style) */
.premium-enquiry-wrapper {
    position: relative;
    min-height: 100vh;
    background-color: #000;
    background-image: url('../contact-us-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start; 
    padding-top: 120px; /* زيادة المسافة ليصعد المحتوى بشكل متوازن */
    overflow: hidden;
}

.premium-enquiry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.premium-grid {
    position: relative;
    z-index: 2;
}

.buy-request-wrapper {
    background-image: url('../buy-purchase-bg.png');
}

.maintenance-wrapper {
    background-image: url('../maintenance-bg.png');
}

.premium-text-content {
    color: #fff;
    text-align: right;
    margin-top: 0; /* تم رفع المحتوى */
}

.premium-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.premium-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.premium-form-card {
    background: #fff;
    padding: 50px;
    border-radius: 4px;
    max-width: 850px; /* ضبط العرض ليكون متناسقاً */
}

.premium-form-body {
    padding-top: 10px;
}

.premium-form-group {
    display: flex;
    align-items: center;
    gap: 15px; /* تقليل المسافة بين الليبل والـ input */
    margin-bottom: 25px;
}

.premium-form-group .form-label {
    flex: 0 0 160px; /* عرض كافٍ للـ labels العربية */
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: right;
    color: #000;
}

.form-control, 
.premium-form-group .form-select,
.premium-form-group .input-group {
    flex: 1;
    border-radius: 2px;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.premium-form-group .form-control:focus, 
.premium-form-group .form-select:focus {
    border-color: #000;
    background-color: #fff;
    box-shadow: none;
}

.premium-form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

@media (max-width: 768px) {
    .premium-form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .premium-form-group .form-label {
        flex: none;
        text-align: right;
    }
}

.btn-premium-black {
    background-color: #000;
    color: #fff;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: none;
}

.btn-premium-black:hover {
    background-color: #333;
    color: #fff;
}

@media (max-width: 991px) {
    .premium-enquiry-wrapper {
        padding: 80px 0;
        min-height: auto;
    }
    .premium-title {
        font-size: 2.5rem;
    }
    .premium-form-card {
        padding: 30px 20px;
    }
    .premium-text-content {
        text-align: center;
        margin-bottom: 40px;
    }
    .premium-description {
        margin: 0 auto;
    }
}


/* ========================================
   Enquiry Form & Premium Buttons
   ======================================== */
.enquiry-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 60px !important;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
}

.form-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #000;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 10px;
}

.enquiry-form .form-label {
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.enquiry-form .form-control, 
.enquiry-form .form-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    background-color: #fcfcfc;
    transition: all 0.2s ease;
}

.enquiry-form .form-control:focus, 
.enquiry-form .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    background-color: #fff;
}

.btn-submit-premium {
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-submit-premium:hover {
    background: #222;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.btn-submit-premium:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .enquiry-container {
        padding: 30px 20px !important;
    }
}

.type-tabs-premium {
    display: flex;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 50px;
    max-width: 400px;
    margin: 0 auto 60px;
    border: 1px solid #e0e0e0;
}

.type-tab-btn-premium {
    flex: 1;
    padding: 12px 25px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #666;
    transition: all 0.3s;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
}

.type-tab-btn-premium.active {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.payment-toggle-premium {
    display: flex;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 50px;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.toggle-btn-premium {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #666;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
}

.toggle-btn-premium.active {
    background: #000;
    color: #fff;
}

.hidden-section {
    display: none !important;
}


/* WhatsApp Floating Button - Luxurious Design */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(18, 140, 126, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(18, 140, 126, 0.6);
    background: linear-gradient(135deg, #28e06d 0%, #149c8d 100%);
    color: #fff !important;
}

.whatsapp-float i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Pulsing Background Layers */
.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse-animation 2s infinite ease-out;
}

/* Second pulse for more depth */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse-animation 2s infinite ease-out 0.5s;
}

@keyframes whatsapp-pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* RTL Support */
body[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 30px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
        font-size: 28px;
    }
    body[dir="rtl"] .whatsapp-float {
        left: auto;
        right: 20px;
    }
}


.btn-buy:hover {
    background: #333;
}

.btn-test {
    background: #fff;
    color: #000 !important;
    border: 1px solid #000;
}

.btn-test:hover {
    background: #f8f8f8;
}

/* Sidebar Filters */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filters-sidebar .form-select {
    border-radius: 0;
    border: 1px solid #ddd;
    height: 50px;
    font-size: 15px;
}

.filters-sidebar .accordion-button {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: #000;
    background: none;
    box-shadow: none;
}

.filters-sidebar .accordion-button:not(.collapsed) {
    color: #000;
}

.filters-sidebar .accordion-item {
    border-left: none;
    border-right: none;
}

.save-badge-v3 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #c5a059;
    color: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.save-badge-v3 span {
    font-size: 9px;
    font-weight: 500;
    margin-bottom: 3px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    color: #c5a059;
}

.save-badge-v3 strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ========================================
   Refined Section Titles
   ======================================== */
.car-title-details {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-black);
    margin: 60px 0 30px 0;
    padding: 0 15px 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    border-right: 5px solid #ff0000;
    background: transparent;
}

.car-title-details::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #ff0000;
}

/* Redundant but keeping for safety if used elsewhere */
.premium-heavy-accent {
    position: relative;
    padding-right: 25px;
    font-weight: 800 !important;
    font-size: 22px !important;
    color: #111 !important;
}

.premium-heavy-accent::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 100%;
    background: #ff0000;
}

/* ========================================
   Accordion Refinements
   ======================================== */
.accordion-header.active {
    background: #111 !important;
    color: #fff !important;
    border-radius: 12px 12px 0 0 !important;
    margin-bottom: 0 !important;
}

.accordion-header.active span {
    color: #fff !important;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
    color: #ff0000;
}

.accordion-content.open {
    max-height: 1200px;
    padding: 0;
    border: 1px solid #f0f0f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

/* ========================================
   Branches Section
   ======================================== */
.branches__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.branch-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #ff0000;
}

.branch-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
}

.branch-card__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.branch-card__label {
    color: #666;
    font-weight: 500;
}

.branch-card__value {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.branch-card__btn {
    display: inline-block;
    padding: 10px 20px;
    background: #111;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.branch-card__btn:hover {
    background: #ff0000;
    color: #fff;
}

@media (max-width: 768px) {
    .branches__grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Best Offers Section & Slider (RTL safe)
   ======================================== */
.best-offers-section {
    padding: 80px 0;
    background-color: #fff;
}

.offers-head .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.offers-head .section-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

.offers-slider-container,
.cars-slider-wrapper {
    position: relative;
    padding: 0 50px; /* Space for absolute arrows */
}

.offers-slider-container .offers-viewport,
.offers-slider-container .offers-track,
.cars-slider-wrapper .cars-viewport,
.cars-slider-wrapper .cars-track { 
    direction: ltr; 
}

.offers-slider-container .offers-slide,
.cars-slider-wrapper .cars-slide { 
    direction: rtl; 
    flex: 0 0 100%; 
    min-width: 100%; 
}

.offers-slider-container .offers-viewport,
.cars-slider-wrapper .cars-viewport { 
    overflow: hidden; 
    width: 100%; 
}

.offers-slider-container .offers-track,
.cars-slider-wrapper .cars-track { 
    display: flex; 
    transition: transform .45s cubic-bezier(.4, 0, .2, 1); 
}

/* Arrows */
.offers-slider-container .offers-nav,
.cars-slider-wrapper .cars-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.offers-slider-container .offers-nav.prev,
.cars-slider-wrapper .cars-nav.prev {
    right: 0;
}

.offers-slider-container .offers-nav.next,
.cars-slider-wrapper .cars-nav.next {
    left: 0;
}

.offers-slider-container .offers-nav:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.offersDots,
.cars-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.offersDots .page-dot,
.cars-pagination .page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all .2s ease;
}

.offersDots .page-dot.active,
.cars-pagination .page-dot.active {
    background: #000;
}

.offer-card,
.car-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto; /* Changed from 100% to auto to ensure content visibility */
    min-height: 480px; /* Base height for car cards */
    display: flex;
    flex-direction: column;
}

.offer-card:hover,
.car-card:hover { 
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

/* Card Image Optimization (Latest & Featured) */
.car-card .car-image,
.offer-card .offer-image {
    position: relative;
    padding: 32px 20px 10px;
    display: flex;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.car-card .car-image img,
.offer-card .offer-image img {
    width: 100% !important;
    height: 200px !important;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
    transition: transform .35s ease;
}

.car-card:hover .car-image img,
.offer-card:hover .offer-image img {
    transform: scale(1.05);
}



.offer-content,
.car-content {
    padding: 10px 20px 25px;
    text-align: center;
}

.offer-title,
.car-title {
    font-size: 19px;
    font-weight: 800;
    margin: 8px 0 12px;
    color: #111;
}

.offer-title a,
.car-title a {
    color: #111;
    text-decoration: none;
}

.offer-prices,
.car-price-wrapper,
.feature-list-2__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.new-price,
.feature-list-2__price .box-title {
    color: #000 !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    margin: 0 !important;
}

.old-price,
.feature-list-2__price span {
    color: #a0a0a0 !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: normal !important;
}

.old-price {
    text-decoration: line-through;
}

.offer-actions,
.car-bottom-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for buttons if needed */
    gap: 12px;
    margin-top: auto; /* Push actions to bottom */
    padding-top: 15px;
}

.offer-actions form,
.car-bottom-actions form {
    display: block;
    margin: 0;
    padding: 0;
}

.offer-actions .btn-buy,
.offer-actions .btn-test,
.car-bottom-actions .btn-buy,
.car-bottom-actions .btn-test {
    padding: 12px 0;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 140px;
    text-align: center;
    display: block;
    line-height: normal;
    font-family: inherit;
}

.offer-actions .btn-buy,
.car-bottom-actions .btn-buy {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.offer-actions .btn-test,
.car-bottom-actions .btn-test {
    background: #fff;
    color: #000 !important;
    border: 1px solid #e0e0e0;
}

.offer-actions .btn-buy:hover,
.car-bottom-actions .btn-buy:hover {
    background: #222;
}

.offer-actions .btn-test:hover,
.car-bottom-actions .btn-test:hover {
    border-color: #000;
}

@media (max-width: 576px) {
    .offers-slider-container, 
    .cars-slider-wrapper { padding: 0 40px; }
    
    .offers-slider-container .offers-nav,
    .cars-slider-wrapper .cars-nav { width: 36px; height: 36px; }
    
    .offer-title, .car-title { font-size: 17px; }
    
    .offer-image img, .car-image img { height: 160px; }
    
    .offer-actions .btn-buy, 
    .offer-actions .btn-test,
    .car-bottom-actions .btn-buy,
    .car-bottom-actions .btn-test { width: 100%; }

    .offer-actions form,
    .car-bottom-actions form { width: 100%; }
    
    .offer-actions, .car-bottom-actions { flex-direction: column; gap: 8px; }
}

/* Test Drive Form Redesign */
.test-drive-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -30px; /* Adjust based on header */
}

.test-drive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.test-drive-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.test-drive-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin: 0;
}

.form-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.test-drive-form {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: visible !important; /* Ensure datepicker is not cut off */
}

.test-drive-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #000;
}

.test-drive-form .form-control, 
.test-drive-form .form-select {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.test-drive-form .form-control:focus, 
.test-drive-form .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    outline: none;
}

.btn-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-submit:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
}

/* Car Details Card */
.car-details-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.car-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car-info {
    padding: 30px;
}

.car-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.car-info-row:last-child {
    border-bottom: none;
}

.car-info-label {
    font-size: 0.9rem;
    color: #666;
}

.car-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
}

@media (max-width: 991px) {
    .car-details-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .test-drive-hero h1 {
        font-size: 2rem;
    }
    
    .test-drive-form {
        padding: 30px 20px;
    }
}

/* Car Loan Form Redesign */
.loan-calculator-wrapper {
    margin: 40px 0;
}

.loan-calculator-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
}

.calculator-inputs-section {
    background: #ffffff;
    border-left: 1px solid #f5f5f5;
}

.calculator-results-section {
    background: #fafafa;
    position: relative;
}

.section-padding {
    padding: 60px;
}

.results-inner {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calculator-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.calculator-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-label-custom {
    display: block;
    font-weight: 700;
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.input-with-icon-wrapper {
    position: relative;
}

.form-control-custom {
    width: 100%;
    height: 60px;
    background: #fcfcfc;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 0 45px 0 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.05);
    outline: none;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.2rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-with-icon-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}

/* Term Grid Styling */
.loan-term-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.term-option {
    cursor: pointer;
}

.term-box {
    background: #f8f9fa;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85px;
}

.term-years {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.term-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
}

.term-option input:checked + .term-box {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(var(--primary-color-rgb), 0.25);
}

.term-option input:checked + .term-box .term-years,
.term-option input:checked + .term-box .term-label {
    color: #fff;
}

/* Results Section Styling */
.monthly-payment-highlight {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.monthly-payment-highlight .label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 10px;
}

.amount-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.currency-symbol {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.est-monthly-payment {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -2px;
}

.per-month {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6c757d;
}

.detailed-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e5e5;
}

.result-label {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.95rem;
}

.result-value {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.05rem;
}

.last-payment-row {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.btn-loan-apply {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    height: 65px;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.btn-loan-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff5c62 100%);
}

.results-footer-text {
    font-size: 0.85rem;
    color: #adb5bd;
    line-height: 1.6;
    text-align: center;
}

/* RTL Adjustments */
body[dir="rtl"] .form-control-custom {
    padding: 0 45px 0 20px;
}

body[dir="rtl"] .input-icon {
    right: 18px;
    left: auto;
}

@media (max-width: 991px) {
    .section-padding, .results-inner {
        padding: 40px 30px;
    }
    
    .calculator-inputs-section {
        border-left: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .loan-term-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .loan-term-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .est-monthly-payment {
        font-size: 2.5rem;
    }
}
/* ========================================
   Redesigned Contact Form - Premium Mercedes-like Styles
   ========================================= */
.premium-enquiry-wrapper {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.premium-enquiry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.premium-enquiry-wrapper .container {
    position: relative;
    z-index: 2;
}

.premium-text-content {
    max-width: 500px;
}

.premium-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
}

.premium-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.premium-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 2px; /* Square edges for that sleek look */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    color: #000;
    max-width: 700px;
    margin-left: auto;
}

/* Premium Grid Group - Label Right, Input Left */
.premium-grid-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.premium-grid-label {
    flex: 0 0 160px;
    background: #fff;
    padding: 12px 20px;
    margin-bottom: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-align: right;
    border-left: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-height: 54px;
}

.premium-grid-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    box-shadow: none !important;
    height: 100% !important;
    min-height: 54px;
}

.premium-grid-input::placeholder {
    color: #999;
}

textarea.premium-grid-input {
    min-height: 120px;
}

/* Premium Select2 overrides (Match the new box style) */
.select2-container--maintenance .select2-selection--single {
    border: 1px solid #ddd !important;
    background-color: #f9f9f9 !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 2px !important;
}

.select2-container--maintenance .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding-right: 10px !important;
    text-align: right !important;
    width: 100% !important;
    direction: rtl !important;
}

.select2-container--maintenance .select2-selection--single .select2-selection__arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    top: 0 !important;
    left: 10px !important;
    right: auto !important;
}

.select2-container--maintenance.select2-container--open .select2-selection--single {
    border-color: #000 !important;
    background-color: #fff !important;
}

.select2-container--maintenance.select2-container--open .select2-dropdown {
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 4px 4px !important;
}

.premium-grid-input-wrapper {
    background: #fff;
    min-height: 54px;
}

/* Premium Form Section Title (RBM Match) */
.premium-form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    display: inline-block;
    color: #000;
}

/* Premium Form Group (RBM Match - Labels Outside) */


.premium-form-group .form-label {
    flex: 0 0 160px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: right;
    color: #000;
}

.premium-form-group .form-control,
.premium-form-group .form-select,
.premium-form-group .input-group {
    flex: 1;
    border-radius: 2px !important;
    border: 1px solid #ddd !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    background-color: #f9f9f9 !important;
    transition: all 0.2s ease;
    height: auto !important;
    min-height: 48px;
}

.premium-form-group .form-control:focus,
.premium-form-group .form-select:focus {
    border-color: #000 !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

/* Override for textarea in group */
.premium-form-group.align-items-start .form-label {
    padding-top: 10px;
}

.premium-form-group textarea.form-control {
    min-height: 120px;
}

/* Premium Button (Mercedes Style) */
.btn-premium-black {
    background-color: #000 !important;
    color: #fff !important;
    padding: 16px 45px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-transform: none !important;
}

.btn-premium-black:hover {
    background-color: #333 !important;
    color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .premium-enquiry-wrapper {
        padding: 60px 0;
        min-height: auto;
    }
    
    .premium-title {
        font-size: 2.5rem;
    }
    
    .premium-form-card {
        padding: 25px;
        margin-top: 40px;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .premium-grid-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .premium-grid-label {
        flex: none;
        border-left: none;
        border-bottom: 1px solid #e0e0e0;
        text-align: right;
        justify-content: flex-start;
        background: #f9f9f9;
    }
    
    .premium-title {
        font-size: 2rem;
    }
}


/* ========================================
   New Footer Styling (RBM Match)
   ======================================== */
.main-footer {
    background-color: #000 !important;
    color: #fff !important;
    padding: 60px 0 0;
    position: relative;
    border-top: none;
}

/* Widget Titles */
.footer-widget h4,
.widget-title,
.text-linear-3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff !important;
}

/* Footer Links List */
.footer-links,
.menu-footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.menu-footer li {
    margin-bottom: 12px;
}

.footer-links a,
.menu-footer a {
    color: #aaa !important;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover,
.menu-footer a:hover {
    color: #fff !important;
    padding-right: 5px; /* Subtle movement on hover for RTL */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 40px;
}

.copyright,
.footer-bottom p {
    font-size: 13px;
    color: #fff !important;
    margin: 0;
}

/* Legal Links */
.footer-legal {
    display: flex;
    list-style: none;
    gap: 24px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    color: #d9d9d9;
}

.footer-legal li a,
.footer-legal a {
    font-size: 13px;
    color: #d9d9d9 !important;
    font-weight: 200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal li a:hover,
.footer-legal a:hover {
    color: #fff !important;
}

/* Social Icons */
.icon-socials {
    color: #fff !important;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.icon-socials:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
}

.icon-socials svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer-widget, .footer-3 {
        margin-bottom: 30px;
    }
    .footer-legal {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    .copyright {
        text-align: center;
    }
}

/* Brand Style 3 Premium Redesign */
.brand-style-3 .brand-item {
    background-color: var(--bs-background-card, #fff) !important;
    border: 1px solid var(--bs-border-color, #eef1f6);
    border-radius: 16px;
    padding: 24px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.brand-style-3 .brand-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color) !important;
}

.brand-style-3 .brand-item img {
    max-width: 90%;
    max-height: 90px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.brand-style-3 .brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brand-style-3 .col h6 {
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.brand-style-3 .col h6 a span {
    color: var(--bs-neutral-1000) !important;
    transition: color 0.3s ease;
}

.brand-style-3 .col:hover h6 a span {
    color: var(--primary-color) !important;
}

[data-bs-theme="dark"] .brand-style-3 .brand-item {
    background-color: var(--bs-background-card, #1e1e1e) !important;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .brand-style-3 .brand-item img {
    filter: grayscale(100%) brightness(2);
}

[data-bs-theme="dark"] .brand-style-3 .brand-item:hover img {
    filter: grayscale(0%) brightness(1.2);
}

img.dark-mode {
    display: none;
}

/* Premium Accordion Styles */
.premium-accordion .accordion-item {
    background-color: var(--bs-background-card, #fff);
    border: 1px solid var(--bs-border-color, #eef1f6);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.premium-accordion .accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.premium-accordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 24px;
    background-color: transparent;
    color: var(--bs-neutral-1000, #101010);
    box-shadow: none !important;
}

.premium-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
}

.premium-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.premium-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fd5056'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.premium-accordion .accordion-body {
    padding: 0 24px 24px 24px;
    color: var(--bs-neutral-500, #666);
    font-size: 1rem;
    line-height: 1.6;
}

[data-bs-theme="dark"] .premium-accordion .accordion-item {
    background-color: var(--bs-background-card, #1e1e1e);
    border-color: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .premium-accordion .accordion-button {
    color: #fff;
}

[data-bs-theme="dark"] .premium-accordion .accordion-button::after {
    filter: invert(1);
}

[data-bs-theme="dark"] .premium-accordion .accordion-button:not(.collapsed)::after {
     filter: none; /* Keep the colored one */
}

/* Modern Minimalist Accordion Styles */
.modern-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--bs-border-color, #eef1f6);
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.modern-accordion .accordion-item:last-child {
    border-bottom: none;
}

.modern-accordion .accordion-button {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 24px 0; /* No side padding for clean look */
    background-color: transparent;
    color: var(--bs-neutral-1000, #101010);
    box-shadow: none !important;
}

.modern-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
}

/* Plus/Minus Icon using CSS Pseudo-elements */
.modern-accordion .accordion-button::after {
    background-image: none !important;
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transform: none;
    transition: transform 0.3s ease;
}

.modern-accordion .accordion-button:not(.collapsed)::after {
    content: "-";
    transform: rotate(180deg); /* Optional rotation for effect */
    color: var(--primary-color);
}

.modern-accordion .accordion-body {
    padding: 0 0 24px 0; /* Align with header */
    color: var(--bs-neutral-500, #666);
    font-size: 1rem;
    line-height: 1.7;
}

[data-bs-theme="dark"] .modern-accordion .accordion-item {
    background-color: transparent;
    border-color: rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .modern-accordion .accordion-button {
    color: #fff;
}

/* ========================================
   Pagination Redesign - premium
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    border: 1px solid #eee;
    background-color: #fff;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pagination .page-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2px;
}

.pagination .page-link:hover {
    background-color: var(--color-red, #e21c1c);
    border-color: var(--color-red, #e21c1c);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 28, 28, 0.3);
}

.pagination .page-link.active {
    background-color: var(--color-black, #111) !important;
    border-color: var(--color-black, #111) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination .page-link.disabled {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
    box-shadow: none;
}

.pagination .page-link.disabled:hover {
    transform: none;
    background-color: #f9f9f9;
    border-color: #eee;
    color: #ccc;
}
.offcanvas-header .light-mode{
    display: none !important;
}
.offcanvas-header .dark-mode{
    display: block !important;
}

@media (max-width: 768px) {
    .header__logo-wrapper img, 
    .header-logo img {
        height: 40px !important;
        width: auto !important;
    }
    .premium-form-group .form-label{
            flex: 0 0 20px !important;
    }
}