.wrapper {
    padding: 64px 0;
}

/* ══════════════════════════════
           TABS
        ══════════════════════════════ */
.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background: #fff;
    border: 1.5px solid #dde2ea;
    border-radius: 12px;
    padding: 13px 20px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.tab-btn:hover:not(.active) {
    border-color: var(--color-5);
}

.tab-btn .t-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.tab-btn .t-sub {
    display: block;
    font-size: 13px;
    color: #6b7280;
}

.tab-btn.active {
    background: var(--color-5);
    border-color: var(--color-5);
}

.tab-btn.active .t-name {
    color: #fff;
}

.tab-btn.active .t-sub {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

/* ══════════════════════════════
           PANELS
        ══════════════════════════════ */
.tab-panel {
    display: none;
    scroll-margin-top: 95px;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ── IMAGE ── */
.panel-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 410px;
    background: #f7f7f7;
}

.panel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 14px;
}

.badge-top {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 24px;
}

.badge-bottom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 18px;
    text-align: center;
    min-width: 100px;
}

.badge-bottom .bb-title {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--color-primary);
}

.badge-bottom .bb-sub {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* ── CONTENT ── */
/* .panel-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
} */

.info-name {
    color: var(--color-primary);
    font-size: clamp(23px, 4vw, 30px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
}

.info-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 16px;
}

.info-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* specs */
.section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.specs {
    margin-bottom: 24px;
}

.specs table {
    width: 100%;
}

.specs table tr {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
}

.specs table tr td:first-child {
    font-size: 14px;
}

.specs table tr td:last-child {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row .sk {
    font-size: 14px;
    color: #6b7280;
}

.spec-row .sv {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e4a;
    text-align: right;
}

/* tags */
.tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tags ul li {
    list-style: none;
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
}

/* buttons */
.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: filter 0.2s;
    text-decoration: none;
}

.btn-orange {
    background: var(--color-5);
    color: #fff !important;
}

.btn-orange:hover {
    background-color: #897337;
}

.btn-navy {
    background: var(--color-primary);
    color: #fff !important;
}

.btn-navy:hover {
    background-color: #152d4a;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.section {
    padding: 48px 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0px 0 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid #eaecf0;

}

.card-name {
    font-size: 18px;
    font-weight: 900;
    color: var(--color-5);
    margin-bottom: 4px;
}

.card-size {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.card-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.card-use {
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .tab-panel.active {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 576px) {
    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .panel-img-wrap {
        height: 288px;
    }

    .wrapper {
        padding: 30px 0;
    }

    .tab-panel.active {
        gap: 24px;
    }

    .tabs {
        margin-bottom: 30px;
        gap: 8px;
    }

    .tab-btn {
        padding: 13px 5px;
    }

    .btn-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .btn {
        justify-content: center;
    }
}