/* =========================================================
   Products page
   ========================================================= */
html {
    scroll-padding-top: calc(var(--header-h) + 84px);
}

.anchor-nav-slot {
    height: 0;
}

.anchor-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 800;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(24, 28, 35, 0.04);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.anchor-nav.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.anchor-nav__inner {
    display: flex;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
    display: none;
}

.anchor-nav a {
    flex: none;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.anchor-nav a:hover {
    color: #c2410c;
    border-color: rgba(255, 106, 0, 0.28);
    background: rgba(255, 106, 0, 0.06);
}

.product-section {
    padding: 84px 0;
}

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 64px;
    align-items: center;
}

.product-row--reverse .product-copy {
    order: 2;
}

.product-row--reverse .product-visual {
    order: 1;
}

.product-copy .section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.product-copy .spec-list {
    margin-top: 22px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.product-copy > .btn {
    margin-top: 26px;
}

.product-visual .mock {
    padding: 26px;
}

/* RFFE spectrum mock */
.rffe-readout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.rffe-readout span {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--dim);
}

.rffe-readout strong {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cyan);
}

.rffe-readout em {
    display: block;
    font-family: var(--mono);
    font-size: 0.58rem;
    font-style: normal;
    letter-spacing: 0.14em;
    color: var(--dim);
    text-align: right;
}

.spectrum {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 120px;
    margin-top: 16px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
}

.spectrum i {
    flex: 1;
    min-width: 3px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, rgba(255, 138, 43, 0.95), rgba(255, 106, 0, 0.14));
}

.spectrum i:nth-child(4n) {
    background: linear-gradient(180deg, rgba(255, 196, 107, 0.92), rgba(255, 106, 0, 0.14));
}

.spectrum i:nth-child(7n) {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.92), rgba(245, 158, 11, 0.12));
}

/* Chip search mock */
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    margin-bottom: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.78rem;
}

.search-field i {
    color: var(--orange);
    font-size: 0.78rem;
}

.search-field em {
    margin-left: auto;
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-style: normal;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    color: var(--dim);
}

.thermal-grid--large i {
    aspect-ratio: 1.35;
}

@media (max-width: 992px) {
    .product-section {
        padding: 64px 0;
    }

    .product-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-row--reverse .product-copy,
    .product-row--reverse .product-visual {
        order: 0;
    }
}

@media (max-width: 640px) {
    .product-visual .mock {
        padding: 16px;
    }

    .product-section {
        padding: 52px 0;
    }
}
