/* ============================================================
   Product Specs — 3-Tab Panel (futuristic dark)
   ============================================================ */

.nf-sp-tabs {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

/* ── Tab navigation bar ── */
.nf-sp-tabs__nav {
    display: flex;
    border-bottom: 2px solid #f1f5f9;
    background: #f8fafc;
    overflow-x: auto;
    scrollbar-width: none;
}

.nf-sp-tabs__nav::-webkit-scrollbar {
    display: none;
}

.nf-sp-tabs__tab {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 20px;
    font-family: "Orbitron", sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    white-space: nowrap;
    margin-bottom: -2px;
}

.nf-sp-tabs__tab .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: color 0.3s ease;
}

.nf-sp-tabs__tab:hover {
    color: #0f172a;
    background: rgba(212, 175, 55, 0.04);
}

.nf-sp-tabs__tab.is-active {
    color: #0f172a;
    border-bottom-color: #d4af37;
    background: #ffffff;
}

.nf-sp-tabs__tab.is-active .dashicons {
    color: #d4af37;
}

/* ── Panel container ── */
.nf-sp-tabs__panel {
    display: none;
    padding: 40px 36px;
    animation: nf-tab-fade 0.35s ease;
}

.nf-sp-tabs__panel.is-active {
    display: block;
}

@keyframes nf-tab-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel title (Details tab) */
.nf-sp-tabs__panel-title {
    font-family: "Orbitron", sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f172a;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.nf-sp-tabs__panel-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: #d4af37;
}

/* Panel body prose */
.nf-sp-tabs__panel-body {
    font-size: 15px;
    line-height: 1.78;
    color: #475569;
}

.nf-sp-tabs__panel-body p {
    margin: 0 0 16px;
}
.nf-sp-tabs__panel-body p:last-child {
    margin-bottom: 0;
}
.nf-sp-tabs__panel-body ul,
.nf-sp-tabs__panel-body ol {
    padding-left: 20px;
    color: #475569;
    margin: 0 0 16px;
}

.nf-sp-tabs__empty {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* ── Spec Table ── */
.nf-spec-table {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.nf-spec-table__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

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

.nf-spec-table__row:hover {
    background: #fafbfc;
}

.nf-spec-table__key {
    padding: 14px 18px;
    font-family: "Orbitron", sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f172a;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

/* Alternating key bg */
.nf-spec-table__row:nth-child(even) .nf-spec-table__key {
    background: #f1f5f9;
}

/* Gold left accent on key */
.nf-spec-table__key::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #d4af37;
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.nf-spec-table__val {
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    display: flex;
    align-items: center;
}

.nf-spec-table__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nf-spec-table__list li {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.nf-spec-table__list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: 700;
}

/* ── Contact grid ── */
.nf-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nf-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

a.nf-contact-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: #fff;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.nf-contact-item--whatsapp a.nf-contact-item:hover .nf-contact-item__icon,
a.nf-contact-item--whatsapp:hover .nf-contact-item__icon {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.nf-contact-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.nf-contact-item__icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.nf-contact-item__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nf-contact-item__label {
    font-family: "Orbitron", sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #94a3b8;
}

.nf-contact-item__value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 767px) {
    .nf-sp-tabs__panel {
        padding: 24px 20px;
    }

    .nf-spec-table__row {
        grid-template-columns: 130px 1fr;
    }

    .nf-spec-table__key {
        font-size: 9px;
        padding: 12px 12px;
    }

    .nf-spec-table__val {
        padding: 12px 12px;
        font-size: 13px;
    }

    .nf-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Large mobile */
@media (max-width: 640px) {
    .nf-sp-tabs {
        border-radius: 14px;
    }

    .nf-sp-tabs__tab {
        min-width: 0;
        flex: 1;
        padding: 13px 8px;
        font-size: 8.5px;
        letter-spacing: 0.06em;
        gap: 5px;
    }

    .nf-sp-tabs__tab .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .nf-sp-tabs__panel {
        padding: 20px 14px;
    }

    .nf-spec-table__row {
        grid-template-columns: 140px 1fr;
    }

    .nf-spec-table__key {
        font-size: 8.5px;
        padding: 10px 10px;
        letter-spacing: 0.06em;
    }

    .nf-spec-table__val {
        padding: 10px 10px;
        font-size: 12px;
    }

    .nf-contact-item {
        padding: 14px;
        gap: 12px;
    }

    .nf-contact-item__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .nf-contact-item__value {
        font-size: 13px;
    }
}

/* Small mobile — hide icons, stack spec rows */
@media (max-width: 420px) {
    .nf-sp-tabs__tab {
        padding: 11px 6px;
        font-size: 7.5px;
        letter-spacing: 0.04em;
        gap: 0;
    }

    .nf-sp-tabs__tab .dashicons {
        display: none;
    }

    .nf-sp-tabs__panel {
        padding: 16px 12px;
    }

    .nf-spec-table__row {
        grid-template-columns: 1fr;
    }

    .nf-spec-table__key {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        font-size: 8px;
        padding: 8px 10px;
    }

    .nf-spec-table__val {
        font-size: 12px;
        padding: 8px 10px;
    }

    .nf-sp-tabs__panel-title {
        font-size: 14px;
    }

    .nf-contact-item__label {
        font-size: 8px;
    }

    .nf-contact-item__value {
        font-size: 12px;
    }
}
