/* =========================================================
   MAYUR LIGHTS — UNIVERSAL TRELUM SUBPAGE STYLES
   Shared by every Trelum product-detail page.
   ========================================================= */

:root {
    --trelum-red: #ed3038;
    --trelum-red-dark: #c91f27;
    --trelum-dark: #252525;
    --trelum-text: #333333;
    --trelum-muted: #6b6b6b;
    --trelum-border: #e7e7e7;
    --trelum-soft: #f7f7f7;
    --trelum-white: #ffffff;
}

/* Shared section layout */
.series-content-section,
.mars-content-section {
    padding: 38px 0 10px;
}

.series-section-title,
.mars-section-title {
    margin: 0 0 20px;
    color: var(--trelum-dark);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
}

.series-section-title::after,
.mars-section-title::after {
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--trelum-red);
}

.series-lead,
.series-copy,
.mars-lead,
.mars-copy {
    color: #222;
    font-size: 15px;
    line-height: 1.9;
}

/* Product image and table alignment */
.series-product-row {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.series-product-image {
    display: block;
    width: 100%;
    max-width: 430px;
    height: 320px;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;
}

.series-secondary-image {
    margin-top: 22px;
    margin-bottom: 25px;
}

.series-model-table {
    width: 100% !important;
    margin: 18px 0 0 !important;
    table-layout: fixed;
}

.series-model-table thead tr {
    background: var(--trelum-red);
    color: var(--trelum-white);
}

.series-model-table th,
.series-model-table td {
    padding: 11px 8px !important;
    vertical-align: middle !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: center;
}

.series-model-table td:last-child,
.series-model-table th:last-child {
    text-align: left;
}

.series-model-table th:nth-child(1),
.series-model-table td:nth-child(1) {
    width: 12%;
}

.series-model-table th:nth-child(2),
.series-model-table td:nth-child(2) {
    width: 22%;
}

.series-model-table th:nth-child(3),
.series-model-table td:nth-child(3) {
    width: 66%;
}

/* Feature and information cards */
.series-feature-box,
.series-industry-card {
    height: 100%;
    margin-bottom: 25px;
    padding: 26px 24px;
    border: 1px solid #ececec;
    background: var(--trelum-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.series-feature-icon,
.series-industry-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--trelum-red);
    color: var(--trelum-white);
    font-size: 25px;
    line-height: 58px;
    text-align: center;
}

.series-feature-box h3,
.series-industry-card h3 {
    margin: 0 0 12px;
    color: #242424;
    font-size: 21px;
    line-height: 1.35;
    text-align: center;
}

.series-industry-card p {
    margin-bottom: 0;
    color: var(--trelum-text);
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}

.series-mini-feature {
    min-height: 218px;
}

.series-list-intro {
    max-width: 900px;
    margin: 0 auto 18px;
    text-align: center;
}

/* Application grid */
.series-grid,
.mars-grid {
    margin: 5px -8px 0;
    padding: 0;
    list-style: none;
}

.series-grid li,
.mars-grid li {
    display: inline-block;
    width: calc(25% - 19px);
    min-height: 92px;
    margin: 8px;
    padding: 18px 12px;
    vertical-align: top;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    color: #242424;
    font-size: 15px;
    text-align: center;
}

.series-grid li i,
.mars-grid li i {
    display: block;
    margin-bottom: 9px;
    color: var(--trelum-red);
    font-size: 23px;
}

.series-benefits li {
    min-height: 76px;
}

/* Highlight box */
.series-highlight,
.mars-highlight {
    margin-top: 28px;
    padding: 32px;
    border-left: 5px solid var(--trelum-red);
    background: var(--trelum-soft);
}

.series-highlight h2,
.mars-highlight h2 {
    margin-top: 0;
    font-size: 26px;
}

/* =========================================================
   UNIVERSAL OWL TESTIMONIAL SLIDER
   ========================================================= */
.trelum-testimonial-slider {
    position: relative;
    width: 100%;
    margin-top: 15px;
    padding: 0 58px 18px;
}

.trelum-testimonial-slider .owl-stage-outer {
    padding: 10px 2px 16px;
}

.trelum-testimonial-slider .owl-stage {
    display: flex;
}

.trelum-testimonial-slider .owl-item {
    display: flex;
}

.trelum-testimonial-item {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 7px;
}

.trelum-testimonial-slider .series-testimonial,
.trelum-testimonial-slider .mars-testimonial {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 260px;
    margin: 0;
    padding: 25px;
    border: 1px solid var(--trelum-border);
    background: var(--trelum-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.trelum-testimonial-slider .series-testimonial strong,
.trelum-testimonial-slider .mars-testimonial strong {
    margin-top: auto;
}

.trelum-testimonial-slider .series-stars,
.trelum-testimonial-slider .mars-stars {
    margin-bottom: 14px;
    color: #f3b600;
    font-size: 19px;
    letter-spacing: 2px;
}

.trelum-testimonial-slider .series-testimonial p,
.trelum-testimonial-slider .mars-testimonial p {
    margin: 0 0 14px;
    color: #252525;
    font-size: 15px;
    line-height: 1.8;
    font-style: italic;
}

/* Arrow buttons placed on the left and right */
.trelum-testimonial-slider .owl-nav {
    margin: 0 !important;
}

.trelum-testimonial-slider .owl-nav button.owl-prev,
.trelum-testimonial-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: var(--trelum-dark) !important;
    color: var(--trelum-white) !important;
    font-size: 26px !important;
    line-height: 1 !important;
    transform: translateY(-50%);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.trelum-testimonial-slider .owl-nav button.owl-prev {
    left: 0;
}

.trelum-testimonial-slider .owl-nav button.owl-next {
    right: 0;
}

.trelum-testimonial-slider .owl-nav button.owl-prev:hover,
.trelum-testimonial-slider .owl-nav button.owl-next:hover,
.trelum-testimonial-slider .owl-nav button.owl-prev:focus,
.trelum-testimonial-slider .owl-nav button.owl-next:focus {
    background: var(--trelum-red) !important;
    outline: none;
}

.trelum-testimonial-slider .owl-nav button.owl-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.trelum-testimonial-slider .owl-nav button.owl-next:hover {
    transform: translateY(-50%) translateX(2px);
}

/* Slider dots */
.trelum-testimonial-slider .owl-dots {
    margin-top: 8px !important;
    text-align: center;
}

.trelum-testimonial-slider .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 5px !important;
    border-radius: 20px !important;
    background: #c9c9c9 !important;
    transition: width 0.25s ease, background 0.25s ease;
}

.trelum-testimonial-slider .owl-dot.active span,
.trelum-testimonial-slider .owl-dot:hover span {
    width: 26px !important;
    background: var(--trelum-red) !important;
}

/* FAQ */
.series-faq .panel,
.mars-faq .panel {
    border: 1px solid #e6e6e6;
    border-radius: 0;
    box-shadow: none;
}

.series-faq .panel-heading,
.mars-faq .panel-heading {
    padding: 0;
    background: var(--trelum-white);
}

.series-faq .panel-title a,
.mars-faq .panel-title a {
    position: relative;
    display: block;
    padding: 17px 48px 17px 18px;
    color: #202020;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
}

.series-faq .panel-title a::after,
.mars-faq .panel-title a::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--trelum-red);
    font-family: FontAwesome;
    font-size: 18px;
    transform: translateY(-50%);
}

.series-faq .panel-title a.collapsed::after,
.mars-faq .panel-title a.collapsed::after {
    content: "\f105";
}

.series-faq .panel-body,
.mars-faq .panel-body {
    color: var(--trelum-text);
    font-size: 15px;
    line-height: 1.8;
}

/* Contact call-to-action */
.series-buy-box,
.mars-buy-box {
    margin: 35px 0 45px;
    padding: 32px 25px;
    background: var(--trelum-dark);
    color: var(--trelum-white);
    text-align: center;
}

.series-buy-box h2,
.mars-buy-box h2 {
    margin: 0 0 12px;
    color: var(--trelum-white);
    font-size: 27px;
}

.series-buy-box p,
.mars-buy-box p {
    max-width: 850px;
    margin: 0 auto 20px;
    color: var(--trelum-white);
    font-size: 15px;
    line-height: 1.8;
}

.series-buy-button,
.mars-buy-button {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--trelum-red);
    background: var(--trelum-red);
    color: var(--trelum-white) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.25s ease;
}

.series-buy-button:hover,
.series-buy-button:focus,
.mars-buy-button:hover,
.mars-buy-button:focus {
    background: transparent;
    color: var(--trelum-white) !important;
}

@media (max-width: 991px) {
    .series-grid li,
    .mars-grid li {
        width: calc(50% - 19px);
    }

    .trelum-testimonial-slider {
        padding-right: 52px;
        padding-left: 52px;
    }
}

@media (max-width: 767px) {
    .series-content-section,
    .mars-content-section {
        padding-top: 28px;
    }

    .series-section-title,
    .mars-section-title {
        font-size: 25px;
    }

    .series-lead,
    .series-copy,
    .mars-lead,
    .mars-copy {
        font-size: 14px;
    }

    .series-product-row {
        display: block;
    }

    .series-product-image {
        max-width: 100%;
        height: 250px;
    }

    .series-model-table {
        margin-top: 25px !important;
    }

    .series-model-table th,
    .series-model-table td {
        padding: 9px 6px !important;
        font-size: 11px !important;
        line-height: 1.45;
    }

    .series-model-table th:nth-child(1),
    .series-model-table td:nth-child(1) {
        width: 14%;
    }

    .series-model-table th:nth-child(2),
    .series-model-table td:nth-child(2) {
        width: 24%;
    }

    .series-model-table th:nth-child(3),
    .series-model-table td:nth-child(3) {
        width: 62%;
    }

    .series-grid,
    .mars-grid {
        margin-right: 0;
        margin-left: 0;
    }

    .series-grid li,
    .mars-grid li {
        display: block;
        width: 100%;
        margin: 0 0 12px;
    }

    .series-highlight,
    .mars-highlight,
    .series-buy-box,
    .mars-buy-box {
        padding: 24px 18px;
    }

    .series-highlight h2,
    .mars-highlight h2,
    .series-buy-box h2,
    .mars-buy-box h2 {
        font-size: 23px;
    }

    .trelum-testimonial-slider {
        padding: 0 0 15px;
    }

    .trelum-testimonial-item {
        padding: 5px;
    }

    .trelum-testimonial-slider .series-testimonial,
    .trelum-testimonial-slider .mars-testimonial {
        min-height: 0;
    }

    .trelum-testimonial-slider .owl-nav {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 12px !important;
    }

    .trelum-testimonial-slider .owl-nav button.owl-prev,
    .trelum-testimonial-slider .owl-nav button.owl-next {
        position: static;
        width: 42px;
        height: 42px;
        transform: none !important;
    }
}
