/* =====================================================
   SPECIFICATIONS TABS COMPONENT
   ===================================================== */

   .iyeg-specs-tabs-section {
    background-color: #000;
    padding: var(--iyeg-space-xl) var(--iyeg-container-padding);
    position: relative;
    z-index: 1;
}

/* ===== TAB HEADERS ===== */
.iyeg-specs-tabs__headers {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto var(--iyeg-space-lg) auto;
    padding-bottom: 0;
    flex-wrap: wrap;
    position: relative;
}

/* Green line under tabs - matches accordion style */
.iyeg-specs-tabs__headers::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent 100%
    );
}

.iyeg-specs-tabs__header {
    background: none;
    border: none;
    color: var(--iyeg-text-gray);
    font-family: "Inter", sans-serif;
    font-size: var(--iyeg-font-size-base);
    font-weight: 400;
    padding: 0.625rem 0.25rem 0.75rem 0.25rem;
    cursor: pointer;
    position: relative;
    transition: color var(--iyeg-transition-base);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Active tab underline - matches accordion line thickness */
.iyeg-specs-tabs__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--iyeg-active-green);
    transition: width var(--iyeg-transition-base);
}

.iyeg-specs-tabs__header:hover {
    color: #ffffff;
}

.iyeg-specs-tabs__header.active {
    color: #ffffff;
}

.iyeg-specs-tabs__header.active::after {
    width: 100%;
}

/* ===== TAB PANELS ===== */
.iyeg-specs-tabs__panel-wrapper {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    animation: iyegFadeInTab 0.4s ease;
}

.iyeg-specs-tabs__panel-wrapper.active {
    display: block;
}

/* Panel inner container with background and border-radius */
.iyeg-specs-tabs__panel-inner {
    background-color: #0f0f0f;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}

/* ===== SPEC ROWS - NO HORIZONTAL LINES ===== */
.iyeg-specs-tabs__row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Remove all border lines - only first row has a top border for separation */
.iyeg-specs-tabs__row:first-child {
    border-top: none;
}

.iyeg-specs-tabs__row:not(:last-child) {
    border-bottom: none;
}

/* Optional: Add a subtle divider between rows using spacing instead */
.iyeg-specs-tabs__row + .iyeg-specs-tabs__row {
    padding-top: 0.75rem;
}

.iyeg-specs-tabs__row-label {
    font-family: "Open Sans", sans-serif;
    color: var(--iyeg-text-gray);
    font-weight: 400;
    font-size: var(--iyeg-font-size-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.iyeg-specs-tabs__row-label::before {
    content: "•";
    color: var(--iyeg-active-green);
    font-size: 1.375rem;
}

.iyeg-specs-tabs__row-value {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--iyeg-font-size-sm);
    text-align: right;
    color: #ffffff;
    max-width: 55%;
    line-height: 1.4;
}

/* ===== DOWNLOAD BUTTON ===== */
.iyeg-specs-tabs__download {
    text-align: center;
    margin-top: var(--iyeg-space-lg);
}

/* ===== ANIMATION ===== */
@keyframes iyegFadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .iyeg-specs-tabs__headers {
        gap: 1.25rem;
        padding-bottom: 0;
    }

    .iyeg-specs-tabs__header {
        font-size: var(--iyeg-font-size-sm);
        padding: 0.5rem 0.125rem 0.625rem 0.125rem;
        letter-spacing: 0.3px;
    }

    .iyeg-specs-tabs__panel-inner {
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }

    .iyeg-specs-tabs__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.625rem 0;
    }

    .iyeg-specs-tabs__row-value {
        max-width: 100%;
        text-align: left;
        padding-left: 1.625rem;
    }

    .iyeg-specs-tabs__row-label {
        font-size: var(--iyeg-font-size-xs);
    }

    .iyeg-specs-tabs__row-label::before {
        font-size: 1.125rem;
    }

    .iyeg-specs-tabs-section {
        padding: var(--iyeg-space-lg) 5%;
    }
}

@media (max-width: 480px) {
    .iyeg-specs-tabs__headers {
        gap: 0.875rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .iyeg-specs-tabs__headers::-webkit-scrollbar {
        display: none;
    }

    .iyeg-specs-tabs__header {
        font-size: var(--iyeg-font-size-xs);
        white-space: nowrap;
        padding: 0.375rem 0.0625rem 0.5rem 0.0625rem;
        flex-shrink: 0;
    }

    .iyeg-specs-tabs__panel-inner {
        padding: 1rem 0.75rem;
        border-radius: 8px;
    }

    .iyeg-specs-tabs__row {
        padding: 0.5rem 0;
    }

    .iyeg-specs-tabs__row + .iyeg-specs-tabs__row {
        padding-top: 0.5rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .iyeg-specs-tabs__panel-wrapper {
        animation: none;
    }
}