/* Individual Product Page Template */

.page-template-template-product #page {
    background-color: #0F172A;
}

.page-template-template-product .site-main {
    padding: 0;
    margin: 0;
    max-width: none;
}

.page-template-template-product .site-footer {
    border-top: 1px solid #1E293B;
}

.page-template-template-product .menu a {
    color: #FFFFFF;
}

.page-template-template-product .site-header--scrolled .site-header__navigation .menu a {
    color: #000;
}

.page-template-template-product .menu a:hover {
    color: var(--pp-accent, #06B6D4);
}

.product-page {
    font-family: 'Jost', sans-serif;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */

.pp-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.pp-btn:visited {
    color: #FFFFFF;
}

.pp-btn--accent {
    background-color: var(--pp-accent, #06B6D4);
    color: #FFFFFF;
}

.pp-btn--accent:hover {
    filter: brightness(0.9);
    color: #FFFFFF;
}

.pp-btn--ghost {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.pp-btn--ghost:hover {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.pp-btn--line {
    background-color: var(--line-color, #06B6D4);
    color: #FFFFFF;
}

.pp-btn--line:hover {
    filter: brightness(0.88);
    color: #FFFFFF;
}

/* ------------------------------------------------
   Top Bar
   ------------------------------------------------ */

.pp-top-bar {
    background-color: #1E293B;
    padding: 5rem 2rem 1rem;
    text-align: right;
}

.pp-top-bar__series-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pp-accent, #06B6D4);
    text-decoration: none;
}

.pp-top-bar__series-tag:hover {
    text-decoration: underline;
    color: var(--pp-accent, #06B6D4);
}

/* ------------------------------------------------
   Hero
   ------------------------------------------------ */

.pp-hero {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2.5rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pp-hero__text {
    flex: 1;
}

.pp-hero__product-name {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.pp-hero__underline {
    width: 80px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.pp-hero__headline {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.pp-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.pp-hero__image {
    flex: 0 0 38%;
    max-width: 420px;
}

.pp-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: #FFFFFF;
    padding: 1rem;
    box-sizing: border-box;
    object-fit: contain;
    /* border-top: 9px solid var(--pp-accent, #06B6D4); */
}

.pp-hero__image-placeholder {
    background-color: #1E293B;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 180px;
    justify-content: center;
}

.pp-hero__image-placeholder span {
    font-weight: 700;
    color: #94A3B8;
    font-size: 1.1rem;
}

.pp-hero__image-caption {
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    color: #64748B !important;
}

/* ------------------------------------------------
   Key Specifications
   ------------------------------------------------ */

.pp-specs {
    padding: 2rem 3rem;
}

.pp-specs__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pp-specs__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.25rem;
    flex-wrap: wrap;
}

.pp-specs__title {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0;
}

.pp-specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.pp-specs-table th {
    padding: 0.75rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    color: #FFFFFF;
}

.pp-specs-table td {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    color: #E2E8F0;
}

.pp-specs-table td:first-child {
    font-weight: 700;
}

.pp-specs-table tbody tr {
    background-color: #1E293B;
}

.pp-specs-table tbody tr.pp-specs-table__row--dark {
    background-color: #0F172A;
}

/* ------------------------------------------------
   Features
   ------------------------------------------------ */

.pp-features {
    padding: 2rem 2rem 3rem;
}

.pp-features__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pp-features__title {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 2rem;
}

.pp-features__grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.pp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
}

.pp-feature__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.pp-feature__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

/* ------------------------------------------------
   Applications
   ------------------------------------------------ */

.pp-apps {
    padding: 2rem 2rem 3rem;
}

.pp-apps__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pp-apps__title {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.pp-apps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pp-apps__back {
    margin-top: 2rem;
    text-align: center;
}

.pp-app-tile {
    background-color: #1E293B;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 60px;
    position: relative;
}

.pp-app-tile__accent {
    width: 5px;
    align-self: stretch;
    flex-shrink: 0;
}

.pp-app-tile__label {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    padding: 1rem 1.25rem;
    line-height: 1.3;
}

/* ------------------------------------------------
   Footer CTA
   ------------------------------------------------ */

.pp-datasheet {
    padding: 2.5rem 2rem;
    background: #1E293B;
}

.pp-datasheet__inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.pp-datasheet__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.25rem;
}

.pp-datasheet__subtitle {
    font-size: 0.875rem;
    color: #94A3B8;
    margin: 0;
}

.pp-cta {
    background-color: #020617;
    padding: 3.5rem 2rem;
    text-align: center;
    margin-top: 1rem;
}

.pp-cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.pp-cta__title {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 1.75rem;
    line-height: 1.3;
}

.pp-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pp-overview {
    padding: 3rem;
    background-color: #111C32;
}

.pp-overview__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pp-overview__title {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.pp-overview__body {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #CBD5E1;
    line-height: 1.7;
}

.pp-overview__body p {
    margin: 0 0 1rem;
}

.pp-back-to-line {
    text-align: center;
    padding: 2rem 2rem 0;
}

.pl-applications {
    padding: 3rem 2rem;
}

.pl-applications__title {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 2.5rem;
}

.products-applications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.application-tile {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 220px;
    border-radius: 10px;
    padding: 2rem 1.25rem;
    display: flex;
    align-items: flex-end;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.application-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    border-radius: 10px;
}

.application-tile:hover {
    transform: scale(1.02);
}

.application-tile__label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.pl-cta {
    background-color: #020617;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.pl-cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.pl-cta__title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 2rem;
    line-height: 1.3;
}

.pl-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pl-cta__buttons .pp-btn--line {
    flex: 1 1 0;
    text-align: center;
}

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */

@media (max-width: 768px) {
    .pp-top-bar {
        padding-top: 4rem;
    }

    .pp-hero {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .pp-hero__image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .pp-specs,
    .pp-features,
    .pp-apps {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .pp-apps__grid {
        grid-template-columns: 1fr;
    }

    .pp-features__grid {
        gap: 2rem;
    }

    .pp-cta {
        padding: 3rem 1.5rem;
    }
}

/* ── See Also ── */
.pp-see-also {
    padding: 1.5rem 2rem 0;
    max-width: 860px;
    margin: 0 auto;
}

.pp-see-also__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--pp-accent, #06B6D4);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 6px 6px 0;
}

.pp-see-also__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94A3B8;
    white-space: nowrap;
}

.pp-see-also__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pp-accent, #06B6D4);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--pp-accent, #06B6D4);
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.pp-see-also__link:hover {
    background-color: var(--pp-accent, #06B6D4);
    color: #FFFFFF;
}
