@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --xcmg-blue: #00469c;
    --xcmg-blue-dark: #003478;
    --xcmg-blue-light: #e8f0fa;
    --xcmg-gold: #F0AB00;
    --xcmg-gold-dark: #D49A00;
    --xcmg-gold-light: #FFF4D6;
    --xcmg-light: #F4F6F9;
    --xcmg-dark: #1a1f2e;
    --xcmg-text: #2d3748;
    --xcmg-text-muted: #6b7280;
    --xcmg-radius: 8px;
    --xcmg-shadow: 0 4px 20px rgba(0, 70, 156, 0.08);
    --xcmg-shadow-hover: 0 12px 40px rgba(0, 70, 156, 0.16);
    --xcmg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
pre {
    color: #fff;
    white-space: pre-wrap;
    font-family: 'Arimo', serif, Helvetica Neue, Helvetica, Arial, sans-serif;
}
.cursor-pointer { cursor: pointer; }
.cursor-zoomin { cursor: zoom-in; }

html, body {
    scroll-padding-top: 100px;
    position: relative;
    scroll-behavior: smooth;
}
::-moz-selection { color: white; background: var(--xcmg-blue); }
::selection { color: white; background: var(--xcmg-blue); }

body {
    background: var(--xcmg-light);
    font-family: "Arimo", serif, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: var(--xcmg-text);
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Arimo", serif, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: var(--xcmg-blue) !important;
    line-height: 1.3;
}
h1.text-light, h2.text-light, h3.text-light, h4.text-light, h5.text-light, h6.text-light,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white {
    text-shadow: none;
    color: #fff !important;
}
a { color: var(--xcmg-blue); text-decoration: none; }
a:hover { color: var(--xcmg-blue-dark); }

.bg-custom { background-color: #ffffff; }
.bg-xcmg-gold { background-color: var(--xcmg-gold); }
.bg-orange { background-color: var(--xcmg-gold); }
.text-shadow { text-shadow: 1px 1px 2px black; }

/* === BUTTONS === */
.btn-primary {
    background: var(--xcmg-blue) !important;
    border-color: var(--xcmg-blue) !important;
    padding: 10px 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--xcmg-transition);
}
.btn-primary:hover {
    background: var(--xcmg-blue-dark) !important;
    border-color: var(--xcmg-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 70, 156, 0.3);
}
.btn-dark {
    background: var(--xcmg-dark) !important;
    border-color: var(--xcmg-dark) !important;
    padding: 10px 28px;
    font-weight: 600;
    transition: var(--xcmg-transition);
}
.btn-dark:hover {
    background: var(--xcmg-blue) !important;
    border-color: var(--xcmg-blue) !important;
    transform: translateY(-1px);
}
.btn-gold {
    background: var(--xcmg-gold);
    border: 2px solid var(--xcmg-gold);
    color: var(--xcmg-dark);
    padding: 10px 28px;
    font-weight: 700;
    transition: var(--xcmg-transition);
}
.btn-gold:hover {
    background: var(--xcmg-gold-dark);
    border-color: var(--xcmg-gold-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-light {
    border-width: 2px;
    padding: 10px 28px;
    font-weight: 600;
    transition: var(--xcmg-transition);
}
.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* === SCROLLBAR === */
.scroll-swiper::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: transparent;
}
.scroll-swiper::-webkit-scrollbar {
    border-radius: 0 10px 10px 0;
    width: 12px;
    background-color: white;
}
.scroll-swiper::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: var(--xcmg-blue);
}

/* === NAVBAR === */
.navbar {
    transition: var(--xcmg-transition);
    padding: 10px 0;
}
.navbar .nav-link {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 8px 14px !important;
    transition: var(--xcmg-transition);
    white-space: nowrap;
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--xcmg-gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.navbar .nav-link:hover::after {
    transform: scaleX(1);
}

/* Transparent navbar (hero pages) */
.navbar.transparent {
    background: transparent !important;
}
.navbar.transparent .navbar-brand img {
    filter: brightness(0) invert(1);
}
.navbar.transparent .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.navbar.transparent .nav-link:hover {
    color: #fff !important;
}
.navbar.transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.transparent .nav-phone-link {
    color: #fff;
}

/* Scrolled / non-hero navbar */
.navbar.shrink {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0, 70, 156, 0.1);
    border-bottom: 3px solid var(--xcmg-gold);
    padding: 6px 0;
}
.navbar.shrink .navbar-brand img {
    filter: none;
}
.navbar.shrink .nav-link {
    color: var(--xcmg-text) !important;
    text-shadow: none;
}
.navbar.shrink .nav-link:hover {
    color: var(--xcmg-blue) !important;
}
.navbar.shrink .nav-phone-link {
    color: var(--xcmg-text);
}

/* Phone link in navbar */
.nav-phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--xcmg-transition);
    white-space: nowrap;
    color: var(--xcmg-text);
}
.nav-phone-link:hover {
    color: var(--xcmg-blue) !important;
}

/* Mobile menu */
@media screen and (max-width: 991px) {
    .navbar .navbar-collapse {
        background: #fff;
        box-shadow: 0 12px 40px rgba(0,0,0,0.12);
        border-radius: var(--xcmg-radius);
        padding: 16px;
        margin-top: 8px;
    }
    .navbar .navbar-collapse .nav-link {
        color: var(--xcmg-text) !important;
        text-shadow: none;
        padding: 10px 12px !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .navbar .navbar-collapse .nav-link:hover {
        color: var(--xcmg-blue) !important;
        background: var(--xcmg-blue-light);
        border-radius: 4px;
    }
    .navbar .navbar-collapse .nav-link::after {
        display: none;
    }
}

.anchor-border {
    border-top: 50px solid transparent;
}
.hero-image { max-width: 100%; }

@media screen and (max-width: 991px) {
    .anchor-border { border-top: 25px solid transparent; }
    .cover-button {
        display: block; width: 100%; font-size: 14px;
        box-sizing: border-box; padding: 5px 20px;
    }
}

/* === SECTION STYLING === */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--xcmg-gold-dark);
    margin-bottom: 8px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background: var(--xcmg-gold);
}
.section-accent {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--xcmg-gold), var(--xcmg-blue));
    margin-bottom: 12px;
    border-radius: 2px;
}
.section-bg-alt {
    background: #fff;
}

/* === HERO SWIPER === */
.swiper-hero { overflow: hidden; }
.swiper-hero, .swiper-hero .swiper-wrapper { width: 100vw; }
.swiper-hero .swiper-slide {
    position: relative;
}
.swiper-hero .overlay {
    position: absolute;
    min-width: 320px;
    max-width: 680px;
    padding: 32px;
    bottom: auto;
    top: 18%;
    left: 7%;
    z-index: 3;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--xcmg-radius);
    border-left: 4px solid var(--xcmg-gold);
}
.swiper-hero .overlay-1, .swiper-hero .overlay-2 { top: 18%; }
.swiper-hero .overlay .btn { width: 266px; padding: 12px 0; }
.swiper-hero .overlay h1,
.swiper-hero .overlay .h1,
.swiper-hero .overlay h2,
.swiper-hero .overlay .h2,
.swiper-hero .overlay p {
    color: #fff !important;
}
.swiper-hero .overlay h1,
.swiper-hero .overlay .h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}
.swiper-hero .overlay .lead {
    color: rgba(255,255,255,0.85) !important;
}
.swiper-hero .overlay2 {
    width: 100%; height: 100%; position: absolute;
    display: flex; mix-blend-mode: screen; opacity: 0.2;
}
.swiper-hero .overlay3 {
    width: 100%; height: 100%; position: absolute;
    background: linear-gradient(135deg, rgba(0,70,156,0.4) 0%, rgba(0,0,0,0.2) 100%);
}
.swiper-hero-image { overflow: hidden; height: 100%; width: auto; }
.swiper-hero-image img {
    width: 100%; height: inherit;
    object-fit: cover; object-position: bottom;
}
.swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    width: 12px; height: 12px;
    border-radius: 3px;
    opacity: 1;
    transition: 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: var(--xcmg-gold);
    width: 4rem; height: 12px;
    border-radius: 3px;
}
.slider-controls {
    position: absolute; top: 0; left: 0; right: 0; height: 100%;
}
.swiper-button-prev { left: 2rem; }
.swiper-button-next { right: 2rem; }
.swiper-button-prev, .swiper-button-next {
    background: rgba(0, 70, 156, 0.8);
    border-radius: var(--xcmg-radius);
    width: 3.5rem; height: 3.5rem;
    margin-top: -3.4rem;
    transition: var(--xcmg-transition);
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: var(--xcmg-gold);
}
.swiper-button-prev:after, .swiper-button-next:after { font-size: 22px; }
.swiper-container { width: 100%; height: 100%; }
.swiper-slide {
    font-size: 18px;
    display: flex; justify-content: center; align-items: center;
}
@media screen and (max-width: 991px) {
    .swiper-hero .overlay {
        width: calc(100% - 24px);
        max-width: none;
        top: auto;
        bottom: 12%;
        left: 12px;
        padding: 20px;
    }
    .swiper-hero .overlay h1,
    .swiper-hero .overlay .h1 { font-size: 1.4rem; }
    .swiper-hero-image { height: 85vh !important; }
    .swiper-hero-image img { width: 100%; min-width: auto; min-height: auto; }
    .swiper-button-prev, .swiper-button-next { display: none; }
}

/* === CATEGORY CARDS === */
.teh-category-card {
    border: none !important;
    transition: var(--xcmg-transition);
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--xcmg-radius) !important;
    background: #fff;
    position: relative;
}
.teh-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xcmg-blue), var(--xcmg-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.teh-category-card:hover::after {
    transform: scaleX(1);
}
.teh-category-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--xcmg-transition);
    z-index: 10;
    position: relative;
}
.teh-category-card:hover img { transform: scale(1.05); }
.teh-category-card:hover {
    box-shadow: var(--xcmg-shadow-hover) !important;
    transform: translateY(-4px);
}
.teh-category-card .card-body {
    padding: 0 16px !important;
}
.teh-category-card .card-footer {
    padding: 12px 16px;
}

/* === PRODUCT / MODEL CARDS === */
.teh-model-card {
    transition: var(--xcmg-transition);
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-radius: var(--xcmg-radius) !important;
    background: #fff;
    position: relative;
}
.teh-model-card .card-img-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 200px;
    background: linear-gradient(180deg, var(--xcmg-blue-light) 0%, #fff 100%);
    position: relative;
}
.teh-model-card .card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.teh-model-card .card-divider {
    height: 3px;
    background: linear-gradient(90deg, var(--xcmg-blue), var(--xcmg-gold));
    margin: 0;
    border: none;
    opacity: 1;
}
.teh-model-card:hover {
    cursor: pointer;
    border-color: var(--xcmg-blue);
    box-shadow: var(--xcmg-shadow-hover) !important;
    transform: translateY(-6px);
}
.teh-model-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}
.teh-model-card .card-body {
    padding: 16px;
    flex: 1;
}
.teh-model-card .card-body h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.teh-model-card .card-footer {
    background: transparent;
    border-top: 1px solid #e5e9f0;
    padding: 12px 16px;
}
.teh-model-card .card-footer .price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--xcmg-blue);
}
.teh-model-card .card-footer .price-request {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--xcmg-text-muted);
}
.specials-table {
    font-size: .78rem;
    color: var(--xcmg-text-muted);
    overflow: hidden;
}
.specials-table table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
}
.specials-table table td,
.specials-table table th {
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none !important;
    font-size: .78rem;
}
.specials-table table td:first-child {
    color: var(--xcmg-text-muted);
    width: 55%;
}
.specials-table table td:last-child {
    font-weight: 600;
    color: var(--xcmg-text);
}
.specials-table .table-responsive {
    overflow: hidden;
}

#models table { border: transparent; border-color: transparent; }

/* Force CKEditor tables to fit */
.specials-table table[style*="width"],
.product-specs-table table[style*="width"],
.product-chars-table table[style*="width"],
.product-content-card table[style*="width"],
.table-responsive table[style*="width"] {
    width: 100% !important;
    max-width: 100% !important;
}

@media screen and (max-width: 991px) {
    .teh-category-card img {
        transition: var(--xcmg-transition);
    }
    .teh-category-card:hover img { transform: none; }
}

/* === ABOUT SECTION === */
.about-card {
    min-height: 500px;
    background-image: url('/static/media/xcmg/about.jpg');
    background-size: cover; background-position-y: center;
}
.about-card2 {
    min-height: 500px;
    background-image: url('/static/media/xcmg/content_Image3_XCMG_Mining_Solution_Package_At_The_Mine_Site_.jpg');
    background-size: cover; background-position-y: center;
}
.about-hero-image {
    background-image: url('/static/media/xcmg/bg2.jpg');
    background-size: cover; background-position-y: center;
    position: relative;
}
.about-hero-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,70,156,0.5) 0%, rgba(0,0,0,0.3) 100%);
}
.about-hero-image .container {
    position: relative;
    z-index: 1;
}
.about-hero-image h1,
.about-hero-image .h2 {
    color: #fff !important;
}

/* ADVANTAGES */
.advantages-row {
    background: #fff;
    border-radius: var(--xcmg-radius);
    padding: 32px 16px;
    box-shadow: var(--xcmg-shadow);
}
.advantage-item {
    text-align: center;
    padding: 16px 8px;
}
.advantage-item .advantage-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--xcmg-gold) !important;
    line-height: 1;
    margin-bottom: 12px;
}
.advantage-item .advantage-icon {
    width: 48px;
    height: 48px;
    background: var(--xcmg-blue-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.advantage-item .advantage-icon svg {
    width: 24px;
    height: 24px;
}
.advantage-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--xcmg-text);
    line-height: 1.4;
}

/* ABOUT PAGE SECTIONS */
.about-section-row {
    margin-bottom: 2rem;
}
.about-section-row img {
    border-radius: var(--xcmg-radius);
    box-shadow: var(--xcmg-shadow);
}

/* === INSTAGRAM === */
.instagram-share-button {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

/* === DELIVERY SECTION === */
@media screen and (max-width: 991px) {
    .delivery-card { background-position-x: 50%; }
    .delivery-card .overlay { width: 100%; }
}

/* === CTA / LEAVE REQUEST SECTIONS === */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.cta-section .cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.cta-section .cta-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cta-section .cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 70, 156, 0.9) 0%, rgba(0, 52, 120, 0.85) 100%);
    z-index: 1;
}
.cta-section .container {
    position: relative;
    z-index: 2;
}
.cta-section h2 {
    color: #fff !important;
    font-size: 2rem;
    font-weight: 800;
}
.cta-section p {
    color: rgba(255,255,255,0.85);
}

.cta-section-gold {
    position: relative;
    overflow: hidden;
}
.cta-section-gold .cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.cta-section-gold .cta-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cta-section-gold .cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--xcmg-gold) 0%, var(--xcmg-gold-dark) 100%);
    opacity: 0.92;
    z-index: 1;
}
.cta-section-gold .container {
    position: relative;
    z-index: 2;
}

/* === FAQ === */
.faq-section {
    background: #fff;
    border-radius: var(--xcmg-radius);
    overflow: hidden;
}
.faq-section .faq-image {
    overflow: hidden;
}
.faq-section .faq-image img {
    transition: transform 6s ease;
}
.faq-section:hover .faq-image img {
    transform: scale(1.05);
}
.accordion-item {
    border: none !important;
    border-bottom: 1px solid #e5e9f0 !important;
    margin-bottom: 0;
}
.accordion-button {
    font-weight: 600;
    color: var(--xcmg-text);
    padding: 16px 20px;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.95rem;
}
.accordion-button:not(.collapsed) {
    color: var(--xcmg-blue);
    background: var(--xcmg-blue-light) !important;
}
.accordion-button::after {
    background-size: 16px;
}
.accordion-body {
    padding: 12px 20px 20px;
    color: var(--xcmg-text-muted);
    line-height: 1.7;
}

/* === NEWS CARDS === */
.news-card {
    transition: var(--xcmg-transition);
    overflow: hidden;
    border-radius: var(--xcmg-radius) !important;
    border: 1px solid #e5e9f0 !important;
}
.news-card:hover {
    box-shadow: var(--xcmg-shadow-hover) !important;
    transform: translateY(-4px);
    border-color: var(--xcmg-blue) !important;
}
.news-card .img-wrapper {
    overflow: hidden;
    max-height: 200px;
}
.news-card .img-wrapper img {
    transition: transform 0.4s ease;
}
.news-card:hover .img-wrapper img {
    transform: scale(1.06);
}
.news-card .card-body {
    padding: 16px;
}
.news-card .card-footer {
    background: transparent;
    border-top: 1px solid #e5e9f0;
    padding: 12px 16px;
}

/* === CONTACT SECTION === */
.contact-section {
    border-radius: var(--xcmg-radius);
    overflow: hidden;
    box-shadow: var(--xcmg-shadow);
    border: none !important;
}
.contact-info {
    background: linear-gradient(135deg, var(--xcmg-blue) 0%, var(--xcmg-blue-dark) 100%);
    padding: 32px;
}
.contact-info h2 { color: #fff !important; }
.contact-info a {
    color: #fff;
    transition: var(--xcmg-transition);
}
.contact-info a:hover { color: var(--xcmg-gold); }
.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.contact-info .contact-item svg {
    fill: #fff;
    flex-shrink: 0;
}

/* === PARTNERS SECTION === */
.partners-section {
    background: linear-gradient(135deg, var(--xcmg-blue) 0%, var(--xcmg-blue-dark) 100%);
    padding: 40px 0;
}
.partners-section img {
    opacity: 0.85;
    transition: var(--xcmg-transition);
    background: #fff;
    border-radius: 6px;
    padding: 8px;
}
.partners-section img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* === DELIVERY SECTION === */
.delivery-section {
    background: #fff;
    border-radius: var(--xcmg-radius);
    overflow: hidden;
    box-shadow: var(--xcmg-shadow);
}
.delivery-section img {
    transition: transform 0.6s ease;
}
.delivery-section:hover img {
    transform: scale(1.02);
}

/* === PRODUCT DETAIL PAGE === */
.product-image-card {
    background: #fff;
    border-radius: var(--xcmg-radius);
    box-shadow: var(--xcmg-shadow);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    height: 100%;
}
.product-image-card img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}
.product-info-card {
    background: #fff;
    border-radius: var(--xcmg-radius);
    box-shadow: var(--xcmg-shadow);
    padding: 28px;
    height: 100%;
    border-top: 4px solid var(--xcmg-blue);
}
.product-specs-table {
    background: var(--xcmg-blue-light);
    border-radius: 6px;
    padding: 12px;
    overflow: hidden;
}
.product-specs-table table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    margin: 0;
    border-collapse: collapse;
}
.product-specs-table table td,
.product-specs-table table th {
    padding: 6px 8px;
    border: none !important;
    border-bottom: 1px solid rgba(0,70,156,0.1) !important;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-specs-table table td:first-child {
    color: var(--xcmg-text-muted);
    width: 55%;
}
.product-specs-table table td:last-child {
    font-weight: 700;
    color: var(--xcmg-text);
}
.product-price-block {
    background: linear-gradient(135deg, var(--xcmg-blue) 0%, var(--xcmg-blue-dark) 100%);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-price-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 500;
}
.product-price-value {
    color: var(--xcmg-gold);
    font-size: 1.4rem;
    font-weight: 800;
}
.product-managers {
    border-top: 1px solid #e5e9f0;
    padding-top: 12px;
}
.product-manager-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--xcmg-text);
    text-decoration: none;
    transition: var(--xcmg-transition);
    font-size: 0.9rem;
}
.product-manager-item:hover {
    color: var(--xcmg-blue);
}
.product-manager-item span {
    font-weight: 600;
}
.product-content-card {
    background: #fff;
    border-radius: var(--xcmg-radius);
    box-shadow: var(--xcmg-shadow);
    padding: 24px;
}
.product-content-card p {
    line-height: 1.7;
}
.product-chars-table table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
}
.product-chars-table table td,
.product-chars-table table th {
    padding: 8px 10px;
    border: none !important;
    border-bottom: 1px solid #e5e9f0 !important;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-chars-table table td:first-child,
.product-chars-table table th:first-child {
    color: var(--xcmg-text-muted);
    width: 50%;
}
.product-chars-table table td:last-child,
.product-chars-table table th:last-child {
    font-weight: 600;
    color: var(--xcmg-text);
}
.product-chars-table table thead th {
    color: var(--xcmg-blue) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--xcmg-blue) !important;
}
.product-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--xcmg-blue), var(--xcmg-gold), var(--xcmg-blue));
    border: none;
    opacity: 1;
    margin: 0;
}

.car-model-navbar { box-shadow: 0px 2px 5px #0f1113; }
.car-model-navbar a { color: #fff; }
.car-model-navbar a:hover { color: #999; }
.model-hero {
    position: relative; max-height: 100vh; overflow: hidden;
}
.model-hero, .swiper-hero .swiper-wrapper { width: 100vw; }
.model-hero .overlay {
    position: absolute; min-width: 320px; padding: 20px;
    border-radius: 16px; bottom: 60%; left: 7%; z-index: 3;
}
.model-hero-image { width: inherit; }
.model-hero-image img { min-width: 100%; min-height: 100vh; }
.car-color-image {
    width: 70%; height: 320px; background-size: cover;
    background-position: center 62%; transition: all 0.3s ease-in-out 0s;
}
@media screen and (max-width: 991px) {
    .model-hero .overlay {
        width: 100%; border: 1px solid #ffffff70; border-radius: 16px;
        background-color: #00000060; bottom: 6%; left: 0;
    }
    .model-hero-image img { width: 100%; min-width: auto; min-height: auto; }
    .car-color-image { width: 100%; height: 230px; }
}

#info svg { margin: 12px 0; }

/* === FIXED PHONE & WHATSAPP === */
.phone {
    position: fixed; width: 50px; height: 50px;
    bottom: 20px; left: 20px;
    background: var(--xcmg-blue);
    color: #FFF; border-radius: 50%;
    text-align: center; font-size: 30px;
    z-index: 100; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--xcmg-transition);
    box-shadow: 0 4px 12px rgba(0, 70, 156, 0.3);
}
.phone svg { width: 28px; height: 28px; }
.phone:hover {
    color: white;
    background: var(--xcmg-gold);
    box-shadow: 0 4px 16px rgba(240, 171, 0, 0.4);
    transform: scale(1.1);
}

.whatsapp {
    position: fixed; width: 50px; height: 50px;
    bottom: 20px; right: 20px;
    background: #25D366;
    color: #FFF; border-radius: 50%;
    text-align: center; font-size: 30px;
    z-index: 100; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--xcmg-transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.whatsapp svg { width: 28px; height: 28px; }
.whatsapp:hover {
    color: white;
    background: #128C7E;
    box-shadow: 0 4px 16px rgba(18, 140, 126, 0.4);
    transform: scale(1.1);
}
.ringanimation {
    position: absolute;
    width: 42px; height: 42px;
    top: 4px; left: 4px;
    background: transparent;
    border: 1px solid currentColor;
    z-index: 9; box-sizing: border-box;
    border-radius: 100%;
    animation: ringanimation 1.2s infinite;
    opacity: 0.15;
}
.ringanimation1 { animation-delay: .6s; }
.ringanimation2 { animation-delay: .8s; }
.ringanimation3 { animation-delay: 1s; }

@keyframes ringanimation {
    0% { opacity: 0.25; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.8); }
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, var(--xcmg-dark) 0%, #0d1117 100%);
    color: rgba(255,255,255,0.8);
    padding-top: 48px;
}
footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--xcmg-transition);
}
footer a:hover {
    color: var(--xcmg-gold);
    padding-left: 4px;
}
footer .footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--xcmg-gold);
}
footer hr {
    border-color: rgba(255,255,255,0.1);
}
footer .copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* === PRELOADER === */
.preloader {
    position: fixed; display: flex;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1000;
    background: linear-gradient(135deg, var(--xcmg-blue) 0%, var(--xcmg-blue-dark) 100%);
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
}

/* === HERO PAGES (category, contact, etc) === */
.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.page-hero .page-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.page-hero .page-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.page-hero .page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,70,156,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 { color: #fff !important; }
.page-hero p, .page-hero .lead { color: rgba(255,255,255,0.9); }

/* === STATS COUNTER === */
.stat-counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--xcmg-gold);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-counter::after {
    content: '+';
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* === BREADCRUMBS === */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumb-item a {
    color: var(--xcmg-text-muted);
}
.breadcrumb-item a:hover {
    color: var(--xcmg-blue);
}
.breadcrumb-item.active {
    color: var(--xcmg-text);
}

/* === MISC === */
.bg-cover {
    position: absolute; display: flex;
    height: 80vh; right: 10%; z-index: -1;
}
.swiper-slide-thumb-active {
    background: rgb(26, 28, 34);
    border: 5px solid #0d0e11; border-top: 0;
}
