/*Chassis mount canopy page*/
/*background*/
.cmb-page {
    position: relative;
    background-color: #000000; 
    z-index: 0; 
    margin-top:-1px;
}

/*banner*/
.cmb-banner {
    width: 100%; 
    height: auto;
    position: relative;
    overflow: hidden; 
}
  
.cmb-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/*text content*/
.cmb-text {
    font-family: 'Lato', sans-serif; 
    padding: 0% 7.5% 5% 7.5%; 
}

.cmb-text > .cmb-paragraph {
    font-size: 18px; 
    line-height: 1.6; 
    color: #cccccc; 
    margin-bottom: 20px; 
}

@media (min-width: 1080px) {
    .cmb-text {
        padding-left: 25vw; 
        padding-right: 25vw; 
    }

    .cmb-subtitle {
        padding-left: 20vw; 
        padding-right: 20vw; 
    }
}

.cmb-subtitle {
    padding-top: 50px;
    padding-bottom: 50px;
}

.cmb-heading {
    text-align: center;
    font-size: 52px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    background:linear-gradient(45deg, #bbbbbb, #dddddd, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*standard inclusions*/
.cmb-container {
    padding: 5% 15% 7.5% 15%; 
}


@media (max-width: 768px) { 
    .cmb-container {
        padding: 2.5% 7.5% 10% 7.5%; 
    }
}

.cmb-subtitle1 {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: #f2f2f2;
    margin-bottom: 20px;
}

.cmb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.cmb-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.cmb-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index:1; 
}

.cmb-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.cmb-card-title {
    position: absolute;
    bottom: 40px;
    left: 10px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #f2f2f2;
    padding: 5px;
    z-index:2;
}

.cmb-card-body {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 14px;
    color: #f2f2f2;
    padding: 5px;
    z-index:2;
}

.cmb-card-large {
    grid-column: span 2;
    grid-row: span 1;
}

.cmb-card-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.cmb-card-small {
    grid-column: span 1;
    grid-row: span 1;
}

.cmb-card-tall {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .cmb-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .cmb-card {
        grid-column: span 1;
    }

    .cmb-card-large {
        grid-row: span 2;
    }

    .cmb-card-medium {
        grid-row: span 1;
    }

    .cmb-card-small {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .cmb-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}



/*cmb optional extra*/
.cmb-options {
    background: black;
    color: white;
    padding: 5% 7.5% 5% 7.5%;
}

@media (max-width: 767px) {
    .cmb-options {
        padding: 7.5%;
    }
}

.cmb-subtitle2 {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #f2f2f2;
    font-size: 32px;
    margin-bottom: 20px;
}

.cmb-op-scroll-container {
    display: flex;
    overflow: hidden;
    cursor: grab;
    border-radius: 10px;
}

.cmb-op-card {
    flex: 0 0 600px;
    border-radius: 10px;
    margin-right: 20px;
    position: relative;
}

.cmb-op-image {
    width: 100%;
    border-radius: 10px;
    user-select: none;
}

.cmb-op-title {
    font-size: 18px;
    color: #f2f2f2;
    margin-top: 20px;
    margin-bottom:12px;
    font-weight: 600;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(149deg, #ef0732 6.96%, #650a37 40.17%, #000000 73.39%);
}

.cmb-op-body {
    font-size: 16px;
    color: #f2f2f2;
    margin-top: 5px;
    background-color:#121212;
    border:2px solid #717171;
    padding:20px;
    border-radius:10px;
}

@media (max-width: 768px) {
    .cmb-op-card {
        flex: 0 0 100%;
        max-width: 90%;
    }

    .cmb-op-body {
        font-size: 14px;
    }
}

/*price section*/
.cmb-price-page {
    padding: 2.5% 7.5%;
    text-align: center;
    background-color: black; 
    background-image: radial-gradient(circle at 50% 80%, rgba(255, 69, 105, 0.15), transparent 60%); 
    color: #f5f5f5;
    font-size:24px;
    font-weight:900;
}

.cmb-price-title {
    font-size: 36px; 
    font-weight: bold; 
    color:#f2f2f2;
    margin-bottom: 20px; 
}

.cmb-price-container {
    display: flex; 
    overflow-x: auto;
    padding-top:20px;
    padding-bottom:20px;
    justify-content:center; 
    gap:20px
}

.cmb-price-card {
    background: linear-gradient(145deg, #141414, #1e1e1e);
    border: 1.5px solid rgba(184, 22, 47, 0.6); 
    border-radius: 12px;
    flex: 0 0 auto;
    width: 300px;
    padding: 20px;
    position: relative;
    color: #f5f5f5;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.5), 
        inset 0 0 8px rgba(184, 22, 47, 0.3); 
    transition: transform 0.3s, box-shadow 0.3s;
}

.cmb-price-card:hover {
    transform: translateY(-5px); 
}

/* 移动端禁用HOVER效果 */
@media (max-width: 768px) {
    .cmb-price-card:hover {
        transform: none;
    }
}

.cmb-price-image {
    width: 100%;
    height: auto; 
    position: relative; 
}

.cmb-price-image img {
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 8px;
}

.cmb-price-subtitle {
    font-size: 1.5em;
    font-weight: bold; 
    color: white;
    margin: 10px 0; 
}

.cmb-price-row {
    font-size: 0.9em; 
    color: #ccc; 
    border-bottom: 1px solid #444; 
    padding: 4px 0; 
    margin: 6px 0; 
}

.cmb-price-number {
    font-size: 1.1em; 
    font-weight: bold; 
    color: white; 
    margin-top: 12px; 
}


@media (max-width: 768px) {
    .cmb-price-container {
        flex-wrap: nowrap; 
        justify-content: flex-start; 
    }

    .cmb-price-card {
        min-width: 250px;
    }
}

/*cmb-config*/

.cmb-model-page {
    background-color: black;
    color: white;
    font-family: 'Lato', Arial, sans-serif;
    padding: 5% 7.5% 5% 7.5%;
}

@media (max-width: 767px) {
    .cmb-model-page {
        padding:7.5%;
    }
}


.cmb-model-title {
    font-size: 32px;
    font-weight: bold;
    color: #f2f2f2;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .cmb-model-title {
        text-align: left;
    }
}


.cmb-model-image {
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.cmb-model-image img {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
}


.cmb-model-cat {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.cmb-cat-title {
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    background-color: #2c2c2c;
    border-radius: 12px;
    transition: background-color 0.3s, color 0.3s;
}

.cmb-cat-title.active {
    color: #da2128;
    background-color: #333333;
}

.cmb-cat-title:hover {
    background-color: #454545;
}


.vertical-separator {
    width: 1px;
    height: 20px;
    background-color: #ffffff;
    opacity: 0.3;
}


.cmb-model-thumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.cmb-thumbnail-group {
    display: flex;
    gap: 10px;
}

.cmb-thumbnail {
    text-align: center;
    max-width: 120px;
    cursor: pointer;
    transition: transform 0.3s;
}

.cmb-thumbnail img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cmb-thumbnail.active img {
    border: 2px solid #da2128;
}

.cmb-thumb-title {
    margin-top: 5px;
    font-size: 14px;
    color: #ffffff;
    display: none;
}

.cmb-thumbnail.active .cmb-thumb-title {
    display: block;
}


@media (max-width: 768px) {
    
    .cmb-model-cat {
        overflow-x: scroll;
        gap: 5px;
        justify-content: flex-start; 
        -ms-overflow-style: none; 
        scrollbar-width: none;
    }
    
    
    .cmb-model-cat::-webkit-scrollbar,
    .cmb-model-thumb::-webkit-scrollbar {
        display: none;
    }
    
    
    .cmb-model-thumb {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start; 
    }
    
    .cmb-thumbnail {
        max-width: 80px;
        flex-shrink: 0;
    }
    
    .cmb-thumbnail img {
        border-radius: 5px;
    }

    
    .cmb-model-image img {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    
    .cmb-model-cat {
        overflow-x: hidden;
        justify-content: center;
    }

    
    .cmb-model-thumb {
        overflow-x: hidden;
        justify-content: center;
    }
}

/*ETB-cmbform*/
.cmbform-area{
    padding:2.5% 7.5% 5% 7.5%;
    background-color:black;
}

@media (max-width: 768px) { 
    .cmbform-area {
        padding: 2.5% 7.5% 10% 7.5%;
    }
}

.cmbform-section {
    margin-bottom: 40px; 
    background-color: #f2f2f2; 
    border-radius: 10px; 
    padding: 2.5% 7.5% 2.5% 7.5%; 
    overflow:hidden;
}

.cmb-centered-title {
    text-align: center; 
    padding: 30px
}

.cmbform-row {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 15px; 
}

.cmbform-group {
    flex: 1; 
    margin-right: 10px; 
}

.cmbform-group:last-child {
    margin-right: 0; 
}


@media (max-width: 768px) {
    .cmbform-row {
        flex-direction: column; 
    }

    .cmbform-group {
        margin-right: 0; 
        margin-bottom: 10px; 
    }
}


/* ============ Slider container ============ */
.cmb-prc-card-slider-container {
  display: flex;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.cmb-prc-card-slider-container::-webkit-scrollbar { display: none; }
.cmb-prc-card-slider-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============ Card ============ */
.cmb-prc-card {
  flex-shrink: 0;
  margin-right: 20px;
  padding: 25px 20px;
  width: 320px;
  background-color: #04060c;
  border: 2px solid #2E2C2C;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.cmb-prc-card:last-child { margin-right: 0; }


.cmb-prc-heading {
  color: #C9C7C7;
  font-weight: 600;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 5px;
}


.cmb-prc-subtitle {
  color: #C9C7C7;
  font-size: 14px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
}
.cmb-prc-content {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 15px;
}

.cmb-prc-card-des { flex-grow: 1; }
.cmb-prc-card-des :last-child { margin: 0 !important; }


.cmb-prc-price-label {
  color: #C9C7C7;
  font-size: 14px;
  margin-top: 0;          
  margin-bottom: 0;
}
.cmb-prc-card .cmb-prc-card-price {
  color: #fff;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 24px;
}


.cmb-prc-card hr,
.cmb-prc-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 12px 0;
  border: 0;
  border-top: 1px solid #383838;
  border-radius: 0;
  background: transparent;
}
.cmb-prc-card hr:last-of-type { margin-top: 12px; }
.cmb-prc-card hr:last-of-type + * { margin-top: auto !important; }


.cmb-prc-card-img { margin: 30px 0; width: 100%; }
.cmb-prc-card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Slider wrap */
.cmb-prc-card-slider { position: relative; }

@media (hover:hover) {
  .cmb-prc-card-arrow:hover { background: rgba(21, 26, 38, .92); }
}
.cmb-prc-card-slider .cmb-prc-card-slider-container { cursor: grab; }
.cmb-prc-card-slider .cmb-prc-card-slider-container.is-dragging { cursor: grabbing; }


.cmb-prc-card :last-child { margin-bottom: 0; }


.cmb-prc-card h2 + div { margin-bottom: 0 !important; }



