:root {
    --ast-global-color-0: #000000;
    --ast-global-color-1: #222222;
    --ast-global-color-2: #111111;
    --ast-global-color-3: #000000;
    --ast-global-color-4: #646464;
    --ast-global-color-5: #ffffff;
    --ast-global-color-6: #f8f8f8;
    --ast-global-color-7: #f5f5f5;
    --ast-global-color-8: #ffffff;
    --e-global-color-astglobalcolor0: #000000;
    --e-global-color-astglobalcolor1: #222222;
    --e-global-color-astglobalcolor2: #111111;
    --e-global-color-astglobalcolor3: #000000;
    --e-global-color-astglobalcolor4: #646464;
    --e-global-color-astglobalcolor5: #ffffff;
    --e-global-color-astglobalcolor6: #f8f8f8;
    --e-global-color-astglobalcolor7: #f5f5f5;
    --e-global-color-astglobalcolor8: #ffffff;
}

/* Custom Nissan Enhancement & Responsive Carousel Styles */
@font-face {
    font-family: 'Nissan Brand Font';
    font-weight: 100;
    src: url('../fonts/NissanBrand-Light-1.ttf') format('truetype');
}
@font-face {
    font-family: 'Nissan Brand Font';
    font-weight: 400;
    src: url('../fonts/NissanBrand-Regular-1.ttf') format('truetype');
}
@font-face {
    font-family: 'Nissan Brand Font';
    font-weight: 700;
    src: url('../fonts/NissanBrand-Bold-1.ttf') format('truetype');
}

body, html {
    font-family: 'Nissan Brand Font', 'Nissan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Ensure images are fluid & responsive */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================================
   FULL-WIDTH EDGE-TO-EDGE HERO BANNER (NO SIDE BORDERS)
   ======================================================== */

.home.ast-page-builder-template .site-content > .ast-container,
.home .site-content > .ast-container,
.page-id-1013 .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.elementor-section.elementor-element-1209fc9 {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.elementor-section.elementor-element-1209fc9 > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-element-1209fc9 .elementor-column,
.elementor-element-1209fc9 .elementor-top-column,
.elementor-element-1209fc9 .elementor-widget-wrap,
.elementor-element-1209fc9 .elementor-element-populated,
.elementor-element-1209fc9 .elementor-widget,
.elementor-element-1209fc9 .elementor-widget-container,
.elementor-element-1209fc9 .elementor-image-carousel-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-element-1209fc9 .elementor-image-carousel-wrapper .swiper-wrapper,
.elementor-element-1209fc9 .elementor-image-carousel-wrapper .elementor-image-carousel {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.elementor-element-1209fc9 .elementor-image-carousel-wrapper .swiper-slide {
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.elementor-element-1209fc9 .elementor-image-carousel-wrapper .swiper-slide figure {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: normal !important;
    border-radius: 0 !important;
}

.elementor-element-1209fc9 .elementor-image-carousel-wrapper .swiper-slide-image,
.elementor-element-1209fc9 .elementor-image-carousel-wrapper .swiper-slide img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide navigation arrows and pagination bullets completely */
.elementor-swiper-button,
.elementor-swiper-button-prev,
.elementor-swiper-button-next,
.swiper-pagination,
.swiper-pagination-bullet {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ========================================================
   MOBILE & RESPONSIVE STYLES
   ======================================================== */

@media (max-width: 921px) {
    .main-header-menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 10px;
        background: transparent;
        border: none;
        outline: none;
    }
    .ast-mobile-menu-trigger-minimal .ast-mobile-svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
    .ast-mobile-header-wrap .ast-mobile-header-content {
        display: none;
        background: #ffffff;
        width: 100%;
        padding: 15px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .ast-mobile-header-wrap.ast-mobile-menu-active .ast-mobile-header-content,
    .ast-header-break-point.ast-mobile-menu-active .ast-mobile-header-content,
    .ast-mobile-header-wrap.active .ast-mobile-header-content,
    .main-header-bar-navigation.toggle-on {
        display: block !important;
    }
    .main-header-bar-navigation.toggle-on ul {
        display: flex !important;
        flex-direction: column !important;
    }
    .main-header-bar-navigation.toggle-on ul li {
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* Floating WhatsApp Button */
.ht-ctc-chat {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 999999 !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.ht-ctc-chat:hover {
    transform: scale(1.1);
}
.ht-ctc-chat svg {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

/* Payments Form */
.nissan-pay-box input[type="text"],
.nissan-pay-box input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.nissan-pay-box input[type="text"]:focus,
.nissan-pay-box input[type="number"]:focus {
    border-color: #000000;
    outline: none;
}
.nissan-pay-box button,
.nissan-pay-box .elementor-button {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.nissan-pay-box button:hover,
.nissan-pay-box .elementor-button:hover {
    background-color: #333333;
}

/* ========================================================
   PAGOS EN LINEA PAGE STYLES (MATCHING CREDINISSAN.COM.CO)
   ======================================================== */
.page-id-1036 .site-content {
    background-color: #f7f7f7;
    min-height: 60vh;
    padding-bottom: 50px;
}

.page-id-1036 .site-content > .ast-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

.elementor-1036 .elementor-element-4d4f625c {
    margin-top: 20px;
    margin-bottom: 40px;
}

.elementor-1036 .elementor-element-59967cb7 > .elementor-element-populated {
    background-color: #ffffff !important;
    box-shadow: 0px -25px 100px -35px rgba(0,0,0,0.5) !important;
    border-radius: 2px !important;
    margin: -40px 0px 20px 0px !important;
    padding: 30px 20px 40px 20px !important;
}

.elementor-1036 .elementor-element-759499b3 .elementor-heading-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-align: center !important;
    font-family: 'Nissan Brand Font', 'Nissan', sans-serif !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: 0px !important;
}

.elementor-1036 .elementor-element-784d80f {
    text-align: center !important;
    font-size: 16px !important;
    color: #000000 !important;
    margin: 0 25px 25px 25px !important;
    line-height: 1.5 !important;
}

.elementor-1036 .elementor-element-e7790b5 {
    text-align: center !important;
    margin-top: 15px !important;
}

.elementor-1036 .elementor-element-e7790b5 .elementor-button {
    display: inline-block !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: 'Nissan Brand Font', 'Nissan', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: 10px 20px !important;
    border: 10px solid #000000 !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.elementor-1036 .elementor-element-e7790b5 .elementor-button:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    transform: none !important;
    box-shadow: none !important;
}

