/* Solution Hero Banner */


.electres-hero-banner {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    background: #0d0d0d;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.electres-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;

    opacity: 0;
    clip-path: inset(25% 25% 25% 25% round 0px);
    animation: shedFrameExpand 3s cubic-bezier(0.77, 0, 0.175, 1) 0s forwards;
}

@keyframes shedFrameExpand {
    0% {
        opacity: 0;
        clip-path: inset(25% 25% 25% 25% round 0px);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0% 0% 0% 0% round 0px);
    }
}

.hero-video-base {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;

    transform: scale(1.15);
    animation: luxuriousZoomDown 3s cubic-bezier(0.77, 0, 0.175, 1) 0s forwards;
}

.flash-seq-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.6s ease-out;
    transform: scale(1.15);
    animation: luxuriousZoomDown 3s cubic-bezier(0.77, 0, 0.175, 1) 0s forwards;
}

.flash-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: opacity;
}

@keyframes luxuriousZoomDown {
    0% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.electres-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;

    background: linear-gradient(to top, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 20%) 40%, rgb(0 0 0 / 40%) 100%);
}

.electres-hero-content {
    position: relative;
    z-index: 4;
    padding: 5rem 4rem;
    width: 100%;
    margin: 0 auto;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpText 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}

@keyframes fadeUpText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.electres-hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    line-height: 1.1;
    max-width: 900px;
}

.electres-hero-subtitle {
    font-size: 1.15rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

@media (max-width: 991px) {
    .electres-hero-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 767px) {
    .electres-hero-banner {
        height: 80dvh;
        min-height: 450px;
    }

    .electres-hero-content {
        padding: 2.5rem 1.2rem;
    }

    .electres-hero-subtitle {
        font-size: 1rem;
    }
}

/* FAQ Page */
.product-faq-section {
    padding: 3rem 1.5rem 5rem;
    font-family: inherit;
}

.product-faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* ── Left Column Styling ── */
.product-faq-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-faq-title {
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 600;
    color: #000;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.product-faq-subtitle {
    font-size: clamp(16px, 2.4vw, 20px);
    color: #000;
    margin: 0 0 2rem 0;
    line-height: 1.5;
    opacity: 0.5;
}

.product-faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e31837;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-faq-btn:hover,
.product-faq-btn:focus,
.product-faq-btn:active {
    background-color: #E21E31;
    transform: translateY(-2px);
    color: #fff;
}

/* ── Right Column (Accordion) ── */
.product-faq-right {
    width: 100%;
}

/* .product-faq-accordion {
    border-top:1px solid rgba(207, 202, 194, 0.45);

} */

.product-faq-item {
    border-bottom: 1px solid rgba(207, 202, 194, 0.45);

}

.product-faq-item:first-child {
    border-top: none;
    padding-top: 0;
}

.product-faq-item:first-child {
    border-top: none;
}

.product-faq-item:first-child .product-faq-question {
    padding-top: 0.55rem;
}

.product-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s ease;
}



.product-faq-question:hover {
    color: #e31837;
    background-color: transparent;
}

.product-faq-item.active .product-faq-question {
    color: #1a1a1a;
    background-color: transparent;
}

/* Icons */
.product-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.product-faq-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Default state */
.icon-plus {
    display: block;
}

.icon-minus {
    display: none;
}

/* Active state */
.product-faq-item.active .icon-plus {
    display: none;
}

.product-faq-item.active .icon-minus {
    display: block;
}

/* Answer Wrapper (Hidden by default) */
.product-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Answer Inner Content */
.product-faq-answer {
    padding-bottom: 1.5rem;
    color: #000;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.8;
}

.product-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ── Responsive Refinements ── */
@media (max-width: 991px) {
    .product-faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-faq-section {
        padding: 3rem 1.5rem;
    }
}


/* FramerSlide layout */

.product-framerslide-section {
    padding: 60px 20px 110px;
    background: #ffffff;
    font-family: inherit;
}

.product-framerslide-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 6rem;
    align-items: start;
}

/* ── LEFT COLUMN (Sticky Magic) ── */

.product-framerslide-left {
    position: relative;
    height: 100%;
}

.product-framerslide-sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.product-framerslide-title {
    font-size: clamp(1.5rem, 2.25vw, 2.5rem);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 12px;
}

.product-framerslide-desc {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    color: #000000;
    line-height: 140%;
    margin: 0;
    max-width: 95%;
    opacity: 0.5;
}

.product-framerslide-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 0;
    aspect-ratio: 16/10;
}

/* ── RIGHT COLUMN (Cards Configuration) ── */
.product-framerslide-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.product-framerslide-card {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 140px;
    transition: all .5s ease;
    transform: scale(.92) translateY(60px);
    opacity: 1;
    z-index: 1;
}

.product-framerslide-card.active {
    opacity: 1;
    z-index: 5;
}


/* Custom Folder Tab Styling */
.product-framerslide-tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid #eaeaea;
    /* border-bottom: none; */
    background: #ffffff;
    align-self: flex-start;
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    min-width: 290px;
}

.product-framerslide-icon {
    display: inline-flex;
    align-items: center;
    color: #666666;
}

.product-framerslide-icon img,
.product-framerslide-icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Main Box Body */
.product-framerslide-box {
    border: 1px solid #eaeaea;
    padding: 2.5rem 3rem;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

/* Problem Block */
.product-framerslide-problem {
    margin-bottom: 2.5rem;
    border-left: 2px solid rgba(207, 202, 194, 0.45);
    padding-left: 1.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.product-framerslide-label {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 600;
    color: #000000;
    margin: 0 0 0.4rem 0;
    line-height: 140%;
}

.product-framerslide-text-content {
    color: var(--Black, #000);
    font-size: clamp(0.95rem, 1.25vw, 1rem);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    opacity: 0.5;
}

/* Solution Block */
.product-framerslide-solution {
    border-left: 2px solid #e31837;
    padding-left: 1.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.product-framerslide-sol-label {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 600;
    color: #E21E31;
    margin: 0 0 0.4rem 0;
    line-height: 140%;
}

.product-framerslide-text-content.sol-desc-bold p {
    color: #1a1a1a;
    font-weight: 500;
}

/* ── Responsive Refinements ── */
@media (max-width: 1200px) {
    .product-framerslide-container {
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .product-framerslide-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-framerslide-sticky {
        position: relative;
        top: auto;
    }

    .product-framerslide-box {
        padding: 2rem 1.5rem;
    }

    .product-framerslide-section {
        padding: 2rem 1.25rem 4rem;
    }
}

/*animation css */
.product-framerslide-card {
    position: sticky;
    top: 140px;
    transition: transform .35s ease;
}

/* active */
.product-framerslide-card.active {
    transform: scale(1);
}

/* previous based on data-index */
.product-framerslide-card[data-index="0"].prev {
    transform: scale(.94);
}

.product-framerslide-card[data-index="1"].prev {
    transform: scale(.96);
}

.product-framerslide-card[data-index="2"].prev {
    transform: scale(.98);
}

.product-framerslide-card.prev {
    transform: scale(.98);
}

/* next */
.product-framerslide-card.next {
    transform: scale(1);
}

/* LEFT IMAGE */
.product-framerslide-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    margin-top: 3rem;
}

.product-framerslide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.product-framerslide-img.active {
    opacity: 1;
}

/* CARD DEFAULT */
.product-framerslide-card {
    position: sticky;
    top: 140px;
    transform: scale(1);
    z-index: 2;
}

/* CURRENT ACTIVE */
.product-framerslide-card:nth-child(1) {
    z-index: 1;
}

.product-framerslide-card:nth-child(2) {
    z-index: 2;
}

.product-framerslide-card:nth-child(3) {
    z-index: 3;
}

.product-framerslide-card:nth-child(4) {
    z-index: 4;
}

.product-framerslide-card:nth-child(5) {
    z-index: 5;
}

.product-framerslide-card:nth-child(6) {
    z-index: 6;
}

.product-framerslide-img {
    opacity: 0;
    transition: opacity .35s ease;
}

.product-framerslide-img.active {
    opacity: 1;
}


/* industries layout */


.product-industries-section {
    padding: 6rem 1.25rem;
    background: #ffffff;
    font-family: inherit;
}


/* ── Header Area ── */
.product-industries-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}

.product-industries-subtitle {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    color: #000;
    line-height: 1.6;
    margin: 0 0 3.5rem 0;
    opacity: 0.5;
}

/* ── Tab Buttons ── */
.product-industries-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: -2px;
    margin-bottom: 2.5rem;
    padding: 2px;
}

.product-industries-tab-btn {
    background: #ffffff;
    border: none;
    color: #1a1a1a;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    line-height: 1;
    /* Match compact padding */
    min-height: 42px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.product-industries-tab-btn:hover {
    background: #e31837;
    color: #fff;
    box-shadow: #e31837 0px 1px 3px 0px, #e31837 0px 0px 0px 1px;
}

.product-industries-tab-btn.active {
    background: #e31837;
    /* Distinctive Red Layout Style */
    color: #ffffff;
    box-shadow: #e31837 0px 1px 3px 0px, #e31837 0px 0px 0px 1px;
}

/* ── Content Panels ── */
.product-industries-content {
    position: relative;
    width: 100%;
}

.product-industries-panel {
    display: none;
    /* Hide inactive tabs naturally */
    position: relative;
    width: 100%;
    animation: fadeContent 0.5s ease;
    border-radius: 0px;
    /* Layout displays hard-edges instead of rounded */
    overflow: hidden;
}

.product-industries-panel.active {
    display: block;
    /* Reveal on active */
}

/* Smooth fade-up animation when switching tabs */
@keyframes fadeContent {
    from {
        opacity: 0;
        transform: scale(0.99) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Image Configuration */
.product-industries-panel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    /* Eliminate arbitrary bottom margin text gaps */
    aspect-ratio: 21 / 9;
    /* Very wide horizontal framing mimicking photo */
    background: #f4f5f5;
    /* Skeleton state */
}

/* ── Image Overlay Text Layer ── */
.product-industries-panel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Subtle gradient purely matching screenshot design perfectly */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 6rem 3rem 2.5rem 3rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.product-industries-panel-overlay h3 {
    font-size: clamp(1.6rem, 2vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.3px;
}

.product-industries-overlay-text p {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    max-width: 800px;
    opacity: 0.8;
}

/* ── Responsive Refinements ── */
@media (max-width: 991px) {
    .product-industries-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .product-industries-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .product-industries-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .product-industries-panel img {
        aspect-ratio: 16 / 10;
        /* Taller on tablet so text fits cleanly */
        min-height: 450px;
    }
}

@media (max-width: 767px) {
    .product-industries-section {
        padding: 2.5rem 1.25rem;
    }

    .product-industries-tabs-nav {
        gap: 8px;
        margin-bottom: 2rem;
    }



    .product-industries-panel img {
        aspect-ratio: 6 / 8;
        /* Taller portrait size on mobile */

    }

    .product-industries-panel-overlay {
        padding: 4rem 1.5rem 1.5rem 1.5rem;
    }



}

/* Marquee */
.global-marquee-section {
    background: #000000;
    color: #ffffff;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100vw;
    white-space: nowrap;
}

.global-marquee-section:hover .global-marquee-track {
    animation-play-state: paused;
}

.global-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

.global-marquee-group {
    display: flex;
    align-items: center;
}

/* ── Flex Items Component ── */
.global-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 4rem;
    position: relative;
}

.global-marquee-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px;
    background: #333333;
}

.global-marquee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.global-marquee-icon img,
.global-marquee-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.global-marquee-text {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #eeeeee;
    font-family: inherit;
}

@media (max-width: 991px) {
    .global-marquee-item {
        padding: 0 2rem;
    }
}

@media (max-width: 767px) {
    .global-marquee-item {
        padding: 0 1.5rem;
    }

    .global-marquee-text {
        font-size: 0.95rem;
    }

    .global-marquee-icon img,
    .global-marquee-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Product Layout */


.grid-modal-wrapper {
    display: flex;
    flex-direction: column;

    width: 100%;
    overflow: hidden;
}

.grid-modal-section {
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.grid-modal-container {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #F4F4F4;
}

.grid-modal-badge {
    background: #ffffff;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.grid-modal-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.grid-modal-desc>* {
    color: #000000;
    font-size: clamp(0.95rem, 1.55vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.5;
}

.grid-modal-general-specs {
    margin-bottom: 2.5rem;
}

.grid-modal-general-specs .general-specs-title {
    font-size: clamp(1rem, 1.75vw, 1.5rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.grid-modal-general-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grid-modal-general-specs ul li {
    position: relative;
    padding-left: 20px;
    color: #8E8E8E;
    font-size: clamp(0.95rem, 1.55vw, 1rem);
    margin-bottom: 0.8rem;

}

.grid-modal-general-specs ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: #e31837;
    border-radius: 50%;
}

.grid-modal-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.grid-modal-actions .grid-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e31837;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-modal-actions .grid-modal-btn:hover {
    background: #E21E31;
}

.grid-modal-spec-icon {
    margin-bottom: 8px;
    display: flex;
}

.grid-modal-spec-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.grid-modal-spec-text {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

.grid-modal-spec-text strong {
    color: #000000;
    font-weight: 500;

}

@media (min-width: 992px) {

    .grid-modal-mobile-img,
    .grid-modal-mobile-specs {
        display: none;
    }

    .grid-modal-main-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        padding-bottom: 1rem;
    }

    .grid-modal-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-left: 1.5rem;
        padding-top: 1.5rem;
        height: 100%;
        row-gap: 2rem;
    }

    .grid-modal-content-top {
        display: flex;
        flex-direction: column;
    }

    .grid-modal-desktop-img-wrap {
        width: 100%;
        height: 100%;
        display: flex;
        /* align-items: center; */
    }

    .grid-modal-desktop-img {
        width: 100%;
        height: auto;
        max-height: 800px;
        object-fit: cover;
        display: block;
    }

    .grid-modal-desktop-specs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 1rem;
    }


    .grid-modal-desktop-specs .grid-modal-spec-card {
        background: #ffffff;
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .page-template-solutions #main-header.header a {
        color: #ffffff;
    }

}

@media (max-width: 991px) {

    .grid-modal-desktop-img,
    .grid-modal-desktop-specs {
        display: none;
    }

    .grid-modal-mobile-img {
        width: calc(100% + 3rem);
        /* margin: 0 -1.5rem; */
        height: auto;
        object-fit: cover;
        display: block;
        aspect-ratio: 3 / 3;
    }

    .grid-modal-content {
        padding: 2rem 0 1.2rem;
        display: flex;
        flex-direction: column;
    }

    .grid-modal-content-top {
        display: flex;
        flex-direction: column;
    }

    .grid-modal-badge {
        order: -1;
        margin-bottom: 24px;
    }

    .grid-modal-mobile-specs {
        margin-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .grid-modal-desc p {
        margin-bottom: 24px;
    }

    .grid-modal-general-specs {
        margin-bottom: 0;
    }

    .grid-modal-mobile-specs .grid-modal-spec-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .grid-modal-mobile-specs .grid-modal-spec-item .grid-modal-spec-icon {
        margin-bottom: 0;
    }


    .grid-modal-actions {
        margin-top: 2rem;
    }

    .grid-modal-actions .grid-modal-btn {
        justify-content: center;
        box-sizing: border-box;
    }

    .grid-modal-section {
        padding: 20px 20px;
    }

    .page-template-solutions header .mobile-menu-icon svg {
        background-color: rgb(255 255 255 / 50%);
    }
}

@media screen and (max-width: 767px) {
    .grid-modal-actions {
        flex-direction: column;
    }
}

/* Product Media Section */

.product-video-full {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    overflow: hidden;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.product-video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 991px) {
    .product-video-full {
        height: 70vh;
        height: 70dvh;
    }
}

@media (max-width: 767px) {
    .product-video-full {
        height: 60vh;
        height: 60dvh;
        min-height: 400px;
    }
}

/* Solution Journey Form */
.journey-form-product {
    padding: 80px 20px 0;
}

.journey-top {
    margin: 0 auto;
    width: 100%;
    max-width: 1024px;
    text-align: center;
    /* padding-bottom: 4rem; */
}

.journey-title-top {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 0;
}

.journey-subheading-top {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    margin-top: 1rem;
}

.journey-form-product .journey-content-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    display: none;

}

/* Why Electres Section */

.why-electres-section {
    padding: 6rem 1.5rem;
    font-family: inherit;
    background-color: #ffffff;
    display: none;
}


.solution-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}

.solution-subheading {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 4rem 0;
}

.why-electres-items-section {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.why-electres-left {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
}

.why-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 24px;
    cursor: pointer;
    background: transparent;
    border-bottom: 1px solid #eaeaea;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}


.why-tab img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.why-tab span {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 500;
    color: #000;
}

.why-tab:hover:not(.active) {
    background: #fafafa;
}

.why-tab.active {
    background: #f8f9fa;
    border-left: 3px solid #e31837;
    border-bottom-color: transparent;
}

/* ── Right Side: Content Panels ── */
.why-electres-right {
    flex: 1;
    min-width: 0;
}

.why-content {
    display: none;
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    animation: fadeWhyContent 0.4s ease;
    border: 1px solid rgba(207, 202, 194, 0.00);
    background: rgba(244, 244, 244, 0.80);
}

.why-content.active {
    display: block;
}

.why-mobile-content {
    animation: fadeWhyContent 0.4s ease;
}

@keyframes fadeWhyContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-text {
    margin-bottom: 2.5rem;
}

.content-heading {
    color: #000;
    font-size: clamp(1rem, 1.95vw, 2rem);
    font-style: normal;
    font-weight: 500;
    line-height: 140%;

    margin: 0;
}

.content-subheading {
    color: #000;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.6;
}

.content-text p:first-of-type,
.content-text strong {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    display: block;
    line-height: 1.4;
}

.content-text p {
    font-size: 1.05rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.content-image {
    width: 100%;
    margin-top: 2rem;
    background-color: #fafbfc;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* mobile tabs */
.why-electres-mobile {
    display: none;
}

@media (max-width:767px) {

    .why-electres-items-section {
        display: none;
    }

    .why-electres-mobile {
        display: block;
    }

    .why-mobile-item {
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid #eaeaea;
        overflow: hidden;
        background: #fff;
    }

    .why-mobile-title {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0;
        cursor: pointer;
        font-weight: 600;
        position: relative;
    }

    .why-mobile-title img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .why-mobile-title span {
        flex: 1;
    }

    /* Arrow */
    .why-mobile-title:after {
        content: '';
        width: 14px;
        height: 8px;
        flex: 0 0 14px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        transition: transform .35s ease;

        background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.75L6.75 6.75L12.75 0.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .why-mobile-item.active .why-mobile-title:after {
        transform: rotate(180deg);
    }

    /* Smooth open */
    .why-mobile-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 18px;
        transition: max-height .45s ease, padding .35s ease;
        background: #f8f9fa;
    }

    .why-mobile-item.active .why-mobile-content {
        max-height: 900px;
        padding: 20px 0 0 0;
        background-color: transparent;
    }

    .content-text {
        margin-bottom: 1.25rem;
    }

    .why-mobile-content .content-image {
        margin-top: 0;
        padding: 0;
        aspect-ratio: 4/3;
    }

    .journey-top {
        /* padding-bottom: 3rem; */
        text-align: left;
    }
}

/* ── Responsive Refinements ── */
@media (max-width: 991px) {
    .why-electres-items-section {
        flex-direction: column;
        gap: 2rem;
    }

    .why-electres-left {
        flex: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .why-tab {
        border-bottom: none;
        border: 1px solid #eaeaea;
        padding: 14px 20px;
    }

    .why-tab.active {
        border: 1px solid #eaeaea;
        border-left: 3px solid #e31837;
    }

    .why-content {
        padding: 1.25rem;
    }
}

@media (max-width: 767px) {
    .why-electres-left {
        grid-template-columns: 1fr;
    }

    .why-content {
        padding: 2.5rem 1.5rem;
    }

    .why-electres-section {
        padding: 2.5rem 1.5rem;
    }

    .content-text p:first-of-type,
    .content-text strong {
        font-size: 1.15rem;
    }
}

.page-template-solutions .datasheet-right img.image-datasheet-product {
    visibility: hidden;
    width: 100%;
    height: 20px;
}