/* ============================================
   PRICE TABLE PAGE
   ============================================ */

/* Float buttons stack — FAB at bottom, WhatsApp above, back-to-top on top */
.page-price-table #whatsapp-widget {
    bottom: 5.75rem;  /* above the 48px FAB + gap */
    right: 2rem;      /* align with FAB column */
}

.page-price-table #whatsapp-widget a {
    padding: 12px;
    border-radius: 50%;
}

.page-price-table #whatsapp-widget a span {
    display: none;
}

.page-price-table .back-to-top {
    bottom: 9.5rem;  /* above WhatsApp circle + gap */
    right: 2rem;     /* align with FAB column */
}

/* Hide breadcrumbs and header search on price table page */
/* Typography Scale */
:root {
    --pt-fs-3xl: 2.5rem;
    --pt-fs-xl: 1.5rem;
    --pt-fs-lg: 1.1rem;
    --pt-fs-base: 0.875rem;
    --pt-fs-sm: 0.8rem;
    --pt-fs-xs: 0.75rem;
    --pt-fs-2xs: 0.7rem;
    --pt-fs-3xs: 0.625rem;
}

.page-price-table {
    touch-action: manipulation;
}

.page-price-table .breadcrumbs {
    display: none;
}

.page-price-table .mobile-search-toggle,
.page-price-table .search-container {
    display: none !important;
}

/* Cover */
.pt-cover {
    background: var(--color-primary);
    background-image:
        radial-gradient(ellipse at 30% 40%, rgba(2, 132, 199, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
    color: #fff;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle noise texture overlay */
.pt-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

/* Faint geometric grid lines */
.pt-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.pt-cover__inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Optical center — push content slightly above true center */
    padding-bottom: 8vh;
}

.pt-cover__top {
    margin-bottom: 3.5rem;
    animation: ptCoverFadeIn 0.5s ease both;
}

.pt-cover__logo {
    width: 170px;
    height: auto;
}

.pt-cover__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
    animation: ptCoverFadeIn 0.5s ease 0.15s both;
}

.pt-cover__rule {
    width: 140px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.6;
}

.pt-cover__title {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.pt-cover__tagline {
    font-size: var(--pt-fs-sm);
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    margin: 0;
}

.pt-cover__bottom {
    animation: ptCoverFadeIn 0.5s ease 0.3s both;
}

.pt-cover__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.pt-cover__company {
    font-size: var(--pt-fs-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.pt-cover__meta-sep {
    color: rgba(255,255,255,0.3);
    font-size: var(--pt-fs-sm);
}

.pt-cover__edition {
    font-size: var(--pt-fs-sm);
    color: rgba(255,255,255,0.65);
    font-family: var(--font-mono);
}

.pt-cover__disclaimer {
    font-size: var(--pt-fs-xs);
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
    max-width: 500px;
    margin-top: 0.5rem;
}

.pt-cover__watermark {
    margin-top: 0.75rem;
    font-size: var(--pt-fs-sm);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 0.03em;
}

@keyframes ptCoverFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-cover__top,
    .pt-cover__center,
    .pt-cover__bottom {
        animation: none;
    }
}

.pt-print-watermark,
.pt-print-chapter,
.pt-print-table-head,
.pt-print-composed,
.pt-print-composed-measure,
.pt-composed-page,
.pt-running-header,
.pt-running-footer {
    display: none;
}

.pt-print-block {
    display: block;
}

.pt-cover__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Scroll hint at bottom of cover */
.pt-cover__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.35);
    animation: ptCoverBounce 2s ease-in-out 1.2s infinite;
    z-index: 1;
}

@keyframes ptCoverBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 0.6; }
}

.pt-cover__scroll--hidden {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .pt-cover__scroll { animation: none; }
}

/* Sticky Navigation */
.pt-nav {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    z-index: 100;
    transition: box-shadow 0.3s, transform 0.3s;
}

.pt-nav--sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
    animation: ptNavSlideIn 0.3s ease both;
}

@keyframes ptNavSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pt-nav--sticky { animation: none; }
}

/* Confidentiality Notice */
.pt-confidential {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: color-mix(in srgb, var(--color-danger, #dc2626) 6%, white);
    border-top: 1px solid color-mix(in srgb, var(--color-danger, #dc2626) 20%, transparent);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0;
    text-align: center;
    transition: opacity 0.3s, transform 0.3s;
}

.pt-confidential--hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .pt-confidential {
        display: none;
    }
}

.pt-confidential__text {
    font-size: var(--pt-fs-xs);
    font-weight: 600;
    color: var(--color-danger, #dc2626);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pt-confidential__icon {
    flex-shrink: 0;
    color: var(--color-danger, #dc2626);
}

/* Print access watermark — hidden on screen */
.pt-print-access-watermark {
    display: none;
}

/* Trust Banner */
.pt-trust-banner {
    background: color-mix(in srgb, var(--color-accent, #0284c7) 6%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--color-accent, #0284c7) 15%, transparent);
    padding: 0.5rem 0;
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pt-trust-banner--visible {
    opacity: 1;
    transform: translateY(0);
}

.pt-trust-banner__text {
    font-size: var(--pt-fs-sm);
    font-weight: 600;
    color: var(--color-accent, #0284c7);
    letter-spacing: 0;
    margin: 0;
}

/* Top row: search full-width + utilities beneath */
.pt-nav__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0 0.45rem;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 50%, transparent);
}

.pt-nav__search {
    position: relative;
    flex: 1;
}

.pt-nav__search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pt-nav__search:focus-within .pt-nav__search-icon {
    opacity: 1;
}

.pt-nav__search-input {
    font-family: var(--font-main);
    font-size: var(--pt-fs-base);
    padding: 0.55rem 3.5rem 0.55rem 2.5rem;
    border: 1.5px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: var(--color-bg-body, #f8fafc);
    color: var(--color-text-main);
}

.pt-nav__search-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.pt-nav__search-input:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 12%, transparent);
    background: var(--color-bg-white);
}

/* Keyboard shortcut hint */
.pt-nav__search-kbd {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono, 'Geist Mono', monospace);
    font-size: var(--pt-fs-3xs);
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-bg-white, #fff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0.7;
}

.pt-nav__search-count {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono, 'Geist Mono', monospace);
    font-size: var(--pt-fs-2xs);
    font-weight: 600;
    color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 10%, transparent);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pt-nav__search-count--visible {
    opacity: 1;
}

/* Hide kbd when count is visible */
.pt-nav__search-count--visible ~ .pt-nav__search-kbd {
    display: none;
}

.pt-nav__search-count--zero {
    color: var(--color-danger, #dc2626);
    background: color-mix(in srgb, var(--color-danger, #dc2626) 10%, transparent);
}

/* Utility links (terms, index, print) */
.pt-nav__utilities {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.pt-nav__utilities a {
    font-size: var(--pt-fs-xs);
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.pt-nav__utilities a:hover {
    background: var(--color-bg-body, #f8fafc);
    color: var(--color-primary);
}

.pt-nav__print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.pt-nav__print-btn:hover {
    background: var(--color-bg-body, #f8fafc);
    color: var(--color-primary);
}

.pt-nav__print-btn--results {
    color: var(--color-accent, #0284c7);
}

.pt-nav__print-btn--results:hover {
    color: var(--color-primary);
}

.pt-nav__print-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}

.pt-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: pt-spin 0.6s linear infinite;
}

@keyframes pt-spin {
    to { transform: rotate(360deg); }
}

.pt-category--lazy .pt-collapse__body,
.pt-category--loading .pt-collapse__body {
    min-height: 10rem;
}

.pt-category__loading-state {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.98));
    color: #334155;
    font-size: var(--pt-fs-sm);
    letter-spacing: 0.02em;
}

.pt-category__loading-indicator {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0284c7, #0f172a);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.18);
    animation: pt-pulse 1.4s ease-in-out infinite;
}

.pt-category__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    color: #991b1b;
    font: inherit;
    font-size: var(--pt-fs-sm);
    cursor: pointer;
}

.pt-category__retry:hover {
    background: #fff5f5;
}

@keyframes pt-pulse {
    0%, 100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.16);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 0.45rem rgba(2, 132, 199, 0);
    }
}

/* Sidebar Layout */
.pt-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pt-content {
    min-width: 0;
}

/* Sidebar Navigation */
.pt-sidebar {
    position: sticky;
    top: 52px;
    height: calc(100vh - 52px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-bg-white);
    border-right: 1px solid var(--color-border, #e2e8f0);
    padding: 0.9rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-accent) 28%, transparent) transparent;
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-bg-muted, #f8fafc) 12%, transparent);
    border-radius: 0;
}

.pt-sidebar__header {
    display: none;
}

.pt-sidebar__title {
    font-weight: 700;
    font-size: var(--pt-fs-2xs);
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-transform: uppercase;
}

.pt-sidebar__nav {
    padding: 0;
}

.pt-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.pt-sidebar__item {
    margin: 0;
}

.pt-sidebar__divider {
    height: 1px;
    background: color-mix(in srgb, var(--color-border, #e2e8f0) 72%, transparent);
    margin: 0.55rem 0.25rem;
}

.pt-sidebar__link-row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.pt-sidebar__link {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 36px;
    flex: 1;
    padding: 0.45rem 0.85rem;
    font-size: var(--pt-fs-3xs);
    line-height: 1.35;
    font-weight: 500;
    color: var(--color-text-main);
    text-decoration: none;
    border-radius: 9px;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    border-left: 2px solid transparent;
    border: 1px solid transparent;
}

.pt-sidebar__link:hover {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-accent) 7%, transparent);
    border-color: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.pt-sidebar__link:focus-visible {
    outline: none;
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
    background: color-mix(in srgb, var(--color-accent) 6%, transparent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--color-bg-white) 88%, transparent);
}

.pt-sidebar__link--root {
    font-weight: 600;
    letter-spacing: 0.02em;
    flex: 1;
}

.pt-sidebar__link--active {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 7%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 28%, transparent);
    font-weight: 600;
}

.pt-sidebar__link--path {
    color: var(--color-text-main);
    background: color-mix(in srgb, var(--color-bg-muted, #f8fafc) 30%, transparent);
    border-color: color-mix(in srgb, var(--color-border, #e2e8f0) 72%, transparent);
}

.pt-sidebar__link--active[href],
.pt-sidebar__link--active[href]:hover {
    color: var(--color-primary);
}

.pt-sidebar__link--active::before {
    content: '';
    width: 3px;
    height: 1.05rem;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-accent) 95%, transparent);
    position: absolute;
    left: 0.52rem;
    top: 50%;
    transform: translateY(-50%);
}

.pt-sidebar__link--focused {
    outline: none;
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-accent) 15%, transparent);
    background: color-mix(in srgb, var(--color-accent) 6%, transparent);
}

.pt-sidebar__link--sub {
    font-size: var(--pt-fs-3xs);
    font-weight: 500;
    text-transform: none;
    padding-left: 2.65rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
    border-left: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 72%, transparent);
    border-radius: 0 8px 8px 0;
    margin-left: 0.5rem;
}

.pt-sidebar__expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 70%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-bg-white) 85%, transparent);
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.15s, border-color 0.2s, background 0.2s;
    margin-top: 2px;
}

.pt-sidebar__expand:hover,
.pt-sidebar__expand:focus-visible {
    color: var(--color-primary);
    border-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
    background: color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.pt-sidebar__expand--open {
    transform: rotate(180deg);
}

.pt-sidebar__sublist {
    list-style: none;
    padding: 0.2rem 0 0.15rem 0.85rem;
    margin: 0 0 0 0.2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.pt-sidebar__sublist--open {
    max-height: 1000px;
    opacity: 1;
}

/* Mobile toggle (hidden on desktop) */
.pt-sidebar__toggle {
    display: none;
}

/* Backdrop (hidden by default) */
.pt-sidebar__backdrop {
    display: none;
}

/* Sidebar close button (visible only on mobile) */
.pt-sidebar__close {
    display: none;
}

/* Mobile bottom bar + search overlay (hidden on desktop) */
.pt-bottom-bar {
    display: none;
}

.pt-mobile-search {
    display: none;
}

.pt-sidebar::-webkit-scrollbar {
    width: 4px;
}

.pt-sidebar::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--color-accent) 20%, var(--color-border, #e2e8f0));
    border-radius: 4px;
}

/* Mobile sidebar (off-canvas drawer) */
@media (max-width: 768px) {
    .pt-layout {
        display: block;
        padding: 0;
    }

    .pt-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(84vw, 320px);
        max-width: 320px;
        height: 100vh;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-bg-white) 85%, transparent);
        border: none;
        border-radius: 0;
        padding: 0.65rem 0.7rem 0.7rem;
        background: var(--color-bg-white);
    }

    .pt-sidebar--open {
        transform: translateX(0);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    }

    .pt-sidebar__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 44px;
        margin-bottom: 0.25rem;
        padding: 0 0.15rem;
    }

    .pt-sidebar__title {
        font-size: var(--pt-fs-2xs);
        letter-spacing: 0.04em;
        color: var(--color-text-main);
        text-transform: uppercase;
        white-space: nowrap;
    }

    /* Close button inside drawer */
    .pt-sidebar__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 36px;
        border: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 65%, transparent);
        background: var(--color-bg-white);
        color: var(--color-text-muted);
        cursor: pointer;
        border-radius: 9px;
        transition: background 0.15s, color 0.15s, border-color 0.15s;
        flex-shrink: 0;
    }

    .pt-sidebar__close:focus-visible {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent);
    }

    .pt-sidebar__close:hover {
        background: color-mix(in srgb, var(--color-accent) 8%, transparent);
        color: var(--color-primary);
        border-color: color-mix(in srgb, var(--color-accent) 24%, transparent);
    }

    /* Hamburger toggle — prominent in search row */
    .pt-sidebar__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1.5px solid var(--color-border, #e2e8f0);
        background: var(--color-bg-white);
        color: var(--color-accent);
        cursor: pointer;
        border-radius: 9px;
        transition: background 0.15s, border-color 0.15s;
        flex-shrink: 0;
    }

    .pt-sidebar__toggle:hover,
    .pt-sidebar__toggle:active {
        background: color-mix(in srgb, var(--color-accent) 8%, transparent);
        border-color: var(--color-accent);
    }

    /* Hide Terms/Index links on mobile (they're in the sidebar) */
    .pt-nav__util-link {
        display: none;
    }

    /* Hide utilities row on mobile — bottom bar replaces it */
    .pt-nav__utilities {
        display: none;
    }

    /* Mobile bottom bar */
    .pt-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: var(--color-bg-white);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 70%, transparent);
        padding: 0.35rem 0.45rem;
        padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
        gap: 0.25rem;
        align-items: stretch;
        color: var(--color-text-main);
    }

    .pt-bottom-bar__btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        border: none;
        background: none;
        color: color-mix(in srgb, var(--color-text-main) 75%, transparent);
        cursor: pointer;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        font-size: 0.65rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        flex-shrink: 0;
        transition: color 0.15s, background 0.15s;
        min-width: 56px;
        min-height: 44px;
        position: relative;
    }

    .pt-bottom-bar__btn:active {
        color: var(--color-text-main);
        background: color-mix(in srgb, var(--color-accent) 8%, transparent);
    }

    .pt-bottom-bar__section {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        flex: 1;
        min-width: 0;
        border: none;
        background: color-mix(in srgb, var(--color-bg-white) 78%, transparent);
        color: var(--color-text-main);
        cursor: pointer;
        padding: 0.3rem 0.75rem;
        border-radius: 6px;
        transition: background 0.15s;
        min-height: 44px;
        position: relative;
    }

    .pt-bottom-bar__section:active {
        background: color-mix(in srgb, var(--color-accent) 14%, transparent);
    }

    .pt-bottom-bar__section-text {
        font-size: var(--pt-fs-2xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pt-bottom-bar__section svg {
        flex-shrink: 0;
        opacity: 0.5;
    }

    /* Bottom bar active states */
    .pt-bottom-bar__btn--active {
        color: #fff;
    }

    .pt-bottom-bar__btn--active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--color-accent);
    }

    .pt-bottom-bar__section--has-section::after {
        content: '';
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: var(--color-accent);
    }

    /* Mobile search overlay */
    .pt-mobile-search {
        display: block;
        visibility: hidden;
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 300;
        background: var(--color-bg-white);
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
        transform: translateY(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0.25s;
    }

    .pt-mobile-search--open {
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0s;
    }

    .pt-mobile-search__bar {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    }

    .pt-mobile-search__icon {
        flex-shrink: 0;
        color: var(--color-accent);
        opacity: 0.7;
    }

    .pt-mobile-search__input {
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        font-family: var(--font-main);
        font-size: 1rem;
        color: var(--color-text-main);
        background: transparent;
        padding: 0.5rem 0;
    }

    .pt-mobile-search__input:focus-visible {
        box-shadow: inset 0 -2px 0 0 var(--color-accent);
    }

    .pt-mobile-search__input::placeholder {
        color: var(--color-text-muted);
        opacity: 0.6;
    }

    .pt-mobile-search__count {
        font-family: var(--font-mono, 'Geist Mono', monospace);
        font-size: var(--pt-fs-xs);
        font-weight: 600;
        color: var(--color-accent);
        background: color-mix(in srgb, var(--color-accent) 10%, transparent);
        padding: 0.15rem 0.5rem;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.2s;
        flex-shrink: 0;
    }

    .pt-mobile-search__count--visible {
        opacity: 1;
    }

    .pt-mobile-search__count--zero {
        color: var(--color-danger, #dc2626);
        background: color-mix(in srgb, var(--color-danger, #dc2626) 10%, transparent);
    }

    .pt-mobile-search__close {
        flex-shrink: 0;
        border: none;
        background: none;
        color: var(--color-accent);
        font-family: var(--font-main);
        font-size: var(--pt-fs-sm);
        font-weight: 500;
        cursor: pointer;
        padding: 0.4rem 0.25rem;
    }

    /* On mobile: hide top nav search + utilities — bottom bar replaces them */
    .pt-nav__search {
        display: none;
    }

    /* Slim nav on mobile — just the toggle button */
    .pt-nav__top {
        justify-content: flex-start;
        padding: 0.4rem 0;
    }

    /* Touch-friendly expand buttons */
    .pt-expand-btn {
        position: relative;
        width: 1.75rem;
        height: 1.75rem;
    }

    .pt-expand-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 44px;
    }

    .pt-expand-col {
        width: 2.25rem;
    }

    /* Touch-friendly table rows */
    .pt-table td,
    .pt-table th {
        padding: 0.5rem 0.4rem;
        font-size: var(--pt-fs-xs);
        height: 44px;
    }

    .pt-table td {
        line-height: 1.6;
    }

    /* Offset bottom content so bottom bar doesn't cover last rows */
    .pt-content {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    /* Hide WhatsApp widget — bottom bar takes that space */
    #whatsapp-widget {
        bottom: 70px !important;
    }

    .back-to-top {
        bottom: 140px !important;
    }

    /* Sticky price column (last) on mobile tables */
    .pt-table th:last-child,
    .pt-table td:last-child {
        position: sticky;
        right: 0;
        z-index: 1;
        background: var(--color-bg-white, #fff);
        box-shadow: -2px 0 4px rgba(15, 23, 42, 0.06);
    }

    .pt-table th:last-child {
        background: var(--color-primary);
        z-index: 3;
    }

    .pt-sidebar__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        z-index: 199;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .pt-sidebar__backdrop--visible {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Print: hide sidebar */
@media print {
    .pt-cover {
        min-height: 0;
        height: 100vh;
        padding: 3rem 2rem;
        page-break-after: always;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .pt-cover::before,
    .pt-cover::after {
        display: none;
    }

    .pt-cover__top,
    .pt-cover__center,
    .pt-cover__bottom {
        animation: none;
    }

    .pt-sidebar,
    .pt-sidebar__backdrop,
    .pt-sidebar__toggle,
    .pt-list-col,
    .pt-list-fab,
    .pt-list-panel,
    .pt-list-panel__backdrop {
        display: none !important;
    }

    .pt-stock-dot { display: none; }
    .pt-stock-label {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        font-size: 6pt;
        color: #334155;
        white-space: nowrap;
        border: 0;
        user-select: auto;
    }

    .pt-layout {
        display: block !important;
        padding: 0 !important;
    }

    /* Terms on its own page (penultimate, before back cover) */
    .pt-terms {
        page-break-before: always !important;
    }

    /* Compact footer for print — prevent overflow to next page */
    .pt-footer {
        padding: 2rem 1.5rem !important;
        page-break-before: always !important;
        page-break-after: avoid !important;
        break-inside: avoid !important;
    }

    .pt-footer__inner {
        gap: 1rem !important;
    }

    .pt-footer__edition {
        margin: 0 !important;
        padding: 0 !important;
    }

    .pt-footer__cta {
        margin-top: 0.25rem !important;
    }

    /* Condensed tables in print — tighter for wide tables */
    .pt-table--condensed th {
        padding: 0.15rem 0.2rem;
        font-size: 5.5pt;
    }

    .pt-table--condensed td {
        padding: 0.1rem 0.2rem;
        font-size: 6pt;
    }

    /* === Search-result-only print mode === */
    body.pt-print-results .pt-cover,
    body.pt-print-results .pt-terms,
    body.pt-print-results .pt-toc,
    body.pt-print-results .pt-footer,
    body.pt-print-results .pt-trust-banner,
    body.pt-print-results .pt-confidential {
        display: none !important;
    }

    /* Hide sections with no visible rows */
    body.pt-print-results .pt-category:not(.pt-has-results),
    body.pt-print-results .pt-subcategory:not(.pt-has-results),
    body.pt-print-results .pt-subsubcategory:not(.pt-has-results),
    body.pt-print-results .pt-product-group:not(.pt-has-results) {
        display: none !important;
    }

    /* Hide filtered-out rows */
    body.pt-print-results .pt-table tbody tr[style*="display: none"] {
        display: none !important;
    }

    /* Compact sections — remove large padding and content-visibility */
    body.pt-print-results .pt-section {
        padding: 0.5rem 0 !important;
        content-visibility: visible !important;
        contain-intrinsic-size: 0 !important;
    }

    body.pt-print-results .pt-section.pt-category {
        padding-top: 0 !important;
        border-bottom: none !important;
    }

    body.pt-print-results .pt-subcategory,
    body.pt-print-results .pt-subsubcategory {
        margin-top: 0.25rem !important;
        padding-top: 0 !important;
    }

    /* Kill all page breaks inside search-results print */
    body.pt-print-results .pt-section,
    body.pt-print-results .pt-category,
    body.pt-print-results .pt-subcategory,
    body.pt-print-results .pt-subsubcategory {
        page-break-before: auto !important;
        break-before: auto !important;
    }

    /* Force collapse bodies open and remove transitions in search-results print */
    body.pt-print-results .pt-collapse__body {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* Search-results header — injected by JS as #pt-print-results-header */
    #pt-print-results-header {
        display: block !important;
        font-size: 10pt;
        font-weight: 600;
        color: #0f172a;
        padding: 0.5rem 0 0.75rem;
        border-bottom: 2px solid #0f172a;
        margin-bottom: 0.5rem;
    }
}

/* Section Styles */
.pt-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.pt-section.pt-category {
    padding-top: 5rem;
    border-bottom: 2px solid var(--color-border, #e2e8f0);
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Offset for sticky nav when scrolling to anchors */
.pt-section,
.pt-subcategory,
.pt-subsubcategory,
.pt-product-group {
    scroll-margin-top: 60px;
}

.pt-section__title {
    font-family: var(--font-main);
    font-size: var(--pt-fs-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Terms */
.pt-terms__content {
    max-width: 800px;
    line-height: 1.7;
    color: var(--color-text-main);
}

.pt-terms__content h3 {
    font-size: var(--pt-fs-base);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 60%, transparent);
    padding-left: 0.75rem;
    border-left: 3px solid var(--color-primary);
}

.pt-terms__content h3:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.pt-terms__content p {
    margin-bottom: 0.75rem;
    font-size: var(--pt-fs-base);
}

/* Table of Contents */
.pt-toc__list {
    list-style-type: decimal;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    columns: 2;
    column-gap: 4rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--color-border, #e2e8f0);
}

.pt-toc__list > li {
    margin-bottom: 1rem;
    break-inside: avoid;
}

.pt-toc__list a {
    text-decoration: none;
    color: var(--color-text-main);
    font-size: var(--pt-fs-base);
    font-weight: 600;
    transition: color 0.15s;
}

.pt-toc__list a:hover {
    color: var(--color-accent);
}

.pt-toc__sublist {
    list-style: none;
    padding-left: 1.25rem;
    margin: 0.35rem 0 0;
    border-left: 2px solid var(--color-border);
}

.pt-toc__sublist li {
    margin-bottom: 0.25rem;
}

.pt-toc__sublist a {
    font-size: var(--pt-fs-sm);
    font-weight: 400;
    color: var(--color-text-muted);
}

.pt-toc__sublist a:hover {
    color: var(--color-accent);
}

/* Print-only TOC elements (hidden on screen) */
.pt-toc__dots,
.pt-toc__page {
    display: none;
}

/* Category Sections */
.pt-category__title {
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.pt-category__notes {
    font-size: var(--pt-fs-sm);
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.pt-category__notes a {
    color: var(--color-accent);
    text-decoration: underline;
    font-style: normal;
}

.pt-subcategory {
    margin-top: 3.5rem;
}

.pt-subcategory__title {
    font-size: var(--pt-fs-lg);
    font-weight: 600;
    color: var(--color-primary-light, #1e293b);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Third-level subcategory (grandchild) */
.pt-subsubcategory {
    margin-top: 2.5rem;
}

.pt-subsubcategory__title {
    font-size: var(--pt-fs-base);
    font-weight: 600;
    color: var(--color-text, #334155);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px dashed var(--color-border, #e2e8f0);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Product group (4th level) */
.pt-product-group {
    margin-top: 2rem;
}

.pt-product-group__title {
    font-size: var(--pt-fs-sm);
    font-weight: 600;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 0.75rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px dotted var(--color-border, #e2e8f0);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Phase Labels */
.pt-phase-label {
    font-size: var(--pt-fs-sm);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 2rem 0 1rem;
    padding: 0.35rem 0.75rem;
    border-left: 3px solid var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 5%, transparent);
}

.pt-phase-group {
    margin-bottom: 2.5rem;
}

/* Data Tables */
.pt-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.5rem;
}

.pt-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: var(--pt-fs-xs);
    table-layout: auto;
}

.pt-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 0.6rem;
    font-size: var(--pt-fs-2xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pt-table td {
    text-align: center;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-text-main);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.pt-table th.pt-col-role-key,
.pt-table th.pt-col-role-text,
.pt-table td.pt-col-role-key,
.pt-table td.pt-col-role-text {
    text-align: left;
}

.pt-table th.pt-col-role-metric,
.pt-table th.pt-col-role-connection,
.pt-table th.pt-col-role-dimension,
.pt-table th.pt-col-role-stock,
.pt-table td.pt-col-role-metric,
.pt-table td.pt-col-role-connection,
.pt-table td.pt-col-role-dimension,
.pt-table td.pt-col-role-stock {
    text-align: center;
}

.pt-table td.pt-col-role-text {
    white-space: normal;
    word-break: break-word;
}

/* Condensed variant for tables with many columns (8+) */
.pt-table--condensed th {
    padding: 0.35rem 0.3rem;
    font-size: var(--pt-fs-3xs);
    letter-spacing: 0.02em;
}

.pt-table--condensed td {
    padding: 0.25rem 0.3rem;
    font-size: var(--pt-fs-2xs);
    letter-spacing: 0.02em;
}

.pt-table tbody tr:nth-child(even) {
    background: #f1f5f9;
}

.pt-table tbody tr:hover {
    background: #eef6ff;
}

/* Price column: right-align */
.pt-table td:last-child,
.pt-table th:last-child,
.pt-table td.pt-col-role-price,
.pt-table th.pt-col-role-price {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Sob Consulta price styling */
.pt-table td.pt-sob-consulta {
    font-weight: 600;
    font-style: italic;
    color: var(--color-text-muted, #64748b);
    font-size: var(--pt-fs-2xs);
}

.pt-sob-consulta__link {
    color: var(--color-accent, #0284c7);
    text-decoration: none;
    font-style: italic;
    transition: color 0.15s ease;
}

.pt-sob-consulta__link:hover {
    color: var(--color-accent-hover, #0369a1);
    text-decoration: underline;
}

/* IVA section note (uniform groups) */
/* Model group spacer — visual separator between furo/series groups within a table */
.pt-table__spacer {
    height: 8px;
    pointer-events: none;
}

.pt-table__spacer td {
    border: none !important;
    padding: 0 !important;
    background: #f8fafc !important;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px) !important;
    background-size: 4px 4px !important;
    opacity: 0.5;
}

/* Context row in thead — hidden on screen, visible only in print for continuation pages */
.pt-table__context-row {
    display: none;
}

.pt-table__context-row th {
    background: #f1f5f9 !important;
    color: var(--color-primary);
    font-size: var(--pt-fs-2xs);
    font-weight: 600;
    text-align: left !important;
    padding: 0.2rem 0.5rem !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border, #e2e8f0) !important;
}

.pt-iva-note {
    font-size: var(--pt-fs-xs);
    font-style: italic;
    color: var(--color-accent-hover, #0369a1);
    margin: 0.4rem 0 0;
    padding: 0.3rem 0.6rem;
    border-left: 3px solid var(--color-accent, #0284c7);
    background: color-mix(in srgb, var(--color-accent, #0284c7) 6%, transparent);
}

/* 4" motor frame highlight */
.pt-motor-4inch {
    font-weight: 600;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

/* IVA rate badge — only shown in mixed-rate groups */
.pt-iva-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1em 0.4em;
    font-size: var(--pt-fs-3xs);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--color-accent-hover, #0369a1);
    background: color-mix(in srgb, var(--color-accent, #0284c7) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-accent, #0284c7) 35%, transparent);
    border-radius: 3px;
    vertical-align: middle;
    white-space: nowrap;
    font-family: var(--font-mono);
}

/* ─── Stock Indicator ─── */
.pt-stock-col {
    width: 1.5rem;
    padding: 0 0.15rem !important;
    text-align: center;
}

.pt-stock-dot {
    display: block;
    margin: 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.pt-stock--in_stock    { background-color: #22c55e; }
.pt-stock--low_stock   { background-color: #eab308; }
.pt-stock--out_of_stock { background-color: #ef4444; }

.pt-stock-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    user-select: none;
}

/* ─── My List: Row Button ─── */
.pt-list-col {
    width: 2rem;
    padding: 0 0.1rem !important;
    text-align: center;
}

.pt-list-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: transparent;
    color: var(--color-text-light, #94a3b8);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.pt-list-btn:hover {
    color: var(--color-accent, #0284c7);
    background: color-mix(in srgb, var(--color-accent, #0284c7) 8%, transparent);
}

.pt-list-btn--active {
    color: var(--color-accent, #0284c7);
}

.pt-list-btn--active:hover {
    color: #dc2626;
}

/* ─── My List: FAB ─── */
.pt-list-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary, #0f172a);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}

.pt-list-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.pt-list-fab__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--color-accent, #0284c7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Geist Mono', monospace;
    line-height: 20px;
    text-align: center;
}

/* ─── My List: Slide-Out Panel ─── */
.pt-list-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100dvh;
    z-index: 260;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.pt-list-panel--open {
    transform: translateX(0);
}

.pt-list-panel__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--color-primary, #0f172a);
    color: #fff;
    flex-shrink: 0;
}

.pt-list-panel__title {
    font-size: var(--pt-fs-base, 0.875rem);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.pt-list-panel__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--color-accent, #0284c7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Geist Mono', monospace;
}

.pt-list-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
}

.pt-list-panel__close:hover {
    background: rgba(255,255,255,0.2);
}

.pt-list-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.pt-list-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    color: var(--color-text-light, #94a3b8);
    font-size: var(--pt-fs-sm, 0.8rem);
    padding: 3rem 1rem;
}

.pt-list-panel__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.pt-list-panel__clear {
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-light, #94a3b8);
    font-size: var(--pt-fs-sm, 0.8rem);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.pt-list-panel__clear:hover {
    color: #dc2626;
    border-color: #dc2626;
}

.pt-list-panel__export {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    background: var(--color-accent, #0284c7);
    color: #fff;
    font-size: var(--pt-fs-sm, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.pt-list-panel__export:hover {
    background: #0369a1;
}

.pt-list-panel__backdrop {
    position: fixed;
    inset: 0;
    z-index: 255;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.pt-list-panel__backdrop--visible {
    opacity: 1;
    pointer-events: auto;
}

/* List panel items */
.pt-list-group {
    margin-bottom: 1.25rem;
}

.pt-list-group__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pt-list-group__title {
    font-size: var(--pt-fs-2xs, 0.7rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary, #0f172a);
}

.pt-list-group__count {
    font-size: 0.6rem;
    font-weight: 600;
    font-family: 'Geist Mono', monospace;
    color: var(--color-text-light, #94a3b8);
    background: #f1f5f9;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

.pt-list-item {
    padding: 0.5rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    background: #fff;
    transition: border-color 0.15s;
}

.pt-list-item:hover {
    border-color: #cbd5e1;
}

.pt-list-item__top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

.pt-list-item__model {
    flex: 1;
    font-size: var(--pt-fs-sm, 0.8rem);
    font-weight: 600;
    font-family: 'Geist Mono', monospace;
    color: var(--color-primary, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-list-item__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.pt-list-item__remove:hover {
    color: #dc2626;
    background: rgba(220,38,38,0.06);
}

.pt-list-item__bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pt-list-item__code {
    font-size: var(--pt-fs-xs, 0.75rem);
    font-family: 'Geist Mono', monospace;
    color: var(--color-text-light, #94a3b8);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-list-item__qty {
    display: flex;
    align-items: center;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.pt-list-item__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: background 0.1s;
    user-select: none;
}

.pt-list-item__qty-btn:hover {
    background: #e2e8f0;
}

.pt-list-item__qty-btn:active {
    background: #cbd5e1;
}

.pt-list-item__qty-input {
    width: 2.25rem;
    height: 1.5rem;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: var(--pt-fs-xs, 0.75rem);
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
    color: var(--color-primary, #0f172a);
    background: #fff;
    padding: 0;
    -moz-appearance: textfield;
}

.pt-list-item__qty-input::-webkit-inner-spin-button,
.pt-list-item__qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pt-list-item__price {
    font-size: var(--pt-fs-xs, 0.75rem);
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
    color: var(--color-primary, #0f172a);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile bottom bar list button */
.pt-bottom-bar__btn--list {
    position: relative;
}

.pt-bottom-bar__list-count {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--color-accent, #0284c7);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: 'Geist Mono', monospace;
    line-height: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .pt-list-fab,
    .pt-bottom-bar__btn--list {
        display: none !important;
    }

    .pt-list-panel {
        width: 100vw;
    }
}

/* ─── Inline Expand ─── */
.pt-expand-col {
    width: 2.75rem;
    padding: 0 0.25rem !important;
    text-align: center;
}

.pt-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-light, #94a3b8);
    cursor: pointer;
    transition: color 0.15s, background 0.15s, transform 0.2s;
}

.pt-expand-btn:hover {
    color: var(--color-accent, #0284c7);
    background: color-mix(in srgb, var(--color-accent, #0284c7) 8%, transparent);
}

.pt-expand-btn svg {
    transition: transform 0.2s ease;
}

.pt-expand-btn--open svg {
    transform: rotate(90deg);
}

.pt-expand-btn--open {
    color: var(--color-accent, #0284c7);
}

.pt-expand-panel {
    animation: ptExpandSlide 0.25s ease-out;
}

.pt-expand-panel > td {
    padding: 0 !important;
    border-top: none !important;
    background: var(--color-surface-alt, #f8fafc);
}

.pt-print-spec-row {
    display: none;
}

@keyframes ptExpandSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pt-expand-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--color-accent, #0284c7);
    background: #fff;
    margin: 0;
}

.pt-expand-card--loading {
    min-height: 120px;
    justify-content: center;
    align-items: center;
}

.pt-expand-skeleton {
    width: 2rem;
    height: 2rem;
    border: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
    border-top-color: var(--color-accent, #0284c7);
    border-radius: 50%;
    animation: ptSpin 0.6s linear infinite;
}

@keyframes ptSpin {
    to { transform: rotate(360deg); }
}

.pt-expand-card__photo {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-expand-card__photo img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    border-radius: 6px;
}

.pt-expand-card__chart {
    flex: 1 1 300px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-expand-chart-canvas {
    max-height: 180px;
    width: 100%;
}

.pt-expand-card__no-data {
    color: var(--color-text-light, #94a3b8);
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}

.pt-expand-card__info {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pt-expand-card__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary, #0f172a);
    margin: 0;
    line-height: 1.3;
}

.pt-expand-card__specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.5rem;
    font-size: 0.75rem;
    margin: 0;
}

.pt-expand-card__specs dt {
    color: var(--color-text-light, #94a3b8);
    font-weight: 500;
    font-family: var(--font-mono, 'Geist Mono', monospace);
}

.pt-expand-card__specs dd {
    margin: 0;
    color: var(--color-text, #334155);
    font-family: var(--font-mono, 'Geist Mono', monospace);
}

.pt-expand-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
}

.pt-expand-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-accent, #0284c7);
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 5px;
    transition: background 0.15s;
}

.pt-expand-card__link:hover {
    background: color-mix(in srgb, var(--color-accent, #0284c7) 8%, transparent);
}

.pt-expand-card__link--datasheet {
    color: var(--color-primary, #0f172a);
}

/* Expand — mobile stack */
@media (max-width: 768px) {
    .pt-expand-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .pt-expand-card__photo {
        flex: none;
        align-self: center;
    }
    .pt-expand-card__photo img {
        max-width: 160px;
        max-height: 160px;
    }
    .pt-expand-chart-canvas {
        max-height: 220px;
    }
    .pt-expand-card__info {
        flex: none;
        width: 100%;
        min-width: 0;
    }
    .pt-expand-card__specs {
        overflow-x: auto;
        max-width: 100%;
    }
    .pt-expand-card__actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .pt-expand-card__link {
        display: flex;
        justify-content: center;
        padding: 0.75rem 1rem;
        min-height: 44px;
        border-radius: 8px;
        background: color-mix(in srgb, var(--color-accent, #0284c7) 8%, transparent);
        font-size: 0.85rem;
    }
    .pt-expand-card__link--datasheet {
        background: color-mix(in srgb, var(--color-primary, #0f172a) 8%, transparent);
    }
}

/* Expand + List — hide in print */
@media print {
    .pt-expand-panel,
    .pt-expand-btn,
    .pt-expand-col,
    .pt-list-col {
        display: none !important;
    }
}

/* Footer */
.pt-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.85);
    padding: 4rem 2rem;
}

.pt-footer__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.pt-footer__top {
    /* Logo zone */
}

.pt-footer__logo {
    width: 70px;
    height: auto;
}

.pt-footer__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pt-footer__rule {
    width: 50px;
    height: 2px;
    background: var(--color-accent);
}

.pt-footer__company-name {
    font-size: var(--pt-fs-base);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pt-footer__contact {
    font-size: var(--pt-fs-base);
    color: rgba(255,255,255,0.75);
}

.pt-footer__contact p {
    margin-bottom: 0.2rem;
}

.pt-footer__bottom {
    /* Legal zone */
}

.pt-footer__vat {
    font-weight: 600;
    font-size: var(--pt-fs-base);
    margin-bottom: 0.3rem;
}

.pt-footer__disclaimer {
    font-size: var(--pt-fs-xs);
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.pt-footer__confidential {
    font-size: var(--pt-fs-2xs);
    font-weight: 600;
    color: rgba(220, 38, 38, 0.8);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.pt-footer__watermark {
    font-size: var(--pt-fs-sm);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
}

.pt-footer__access-token {
    font-size: var(--pt-fs-3xs);
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.3rem;
}

.pt-cover__confidential {
    font-size: var(--pt-fs-2xs);
    font-weight: 600;
    color: rgba(220, 38, 38, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 3px;
}

.pt-footer__edition {
    font-size: var(--pt-fs-2xs);
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.4);
}

.pt-footer__cta {
    font-size: var(--pt-fs-base);
    color: rgba(255,255,255,0.75);
    margin-top: 1rem;
}

.pt-footer__cta a {
    color: var(--color-accent, #0284c7);
    text-decoration: none;
    font-weight: 600;
}

.pt-footer__cta a:hover {
    text-decoration: underline;
}

/* Last Updated Indicator */
.pt-nav__updated {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--pt-fs-2xs);
    font-family: var(--font-mono, 'Geist Mono', monospace);
    color: var(--color-text-muted);
    padding: 0.25rem 0.5rem;
    border-right: 1px solid var(--color-border, #e2e8f0);
    margin-right: 0.15rem;
    white-space: nowrap;
}

.pt-nav__updated svg {
    opacity: 0.5;
    flex-shrink: 0;
}

/* Search Clear Button */
.pt-nav__search-clear {
    position: absolute;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, color 0.15s, background 0.15s;
    z-index: 2;
}

.pt-nav__search-clear--visible {
    opacity: 0.6;
    pointer-events: auto;
}

.pt-nav__search-clear--visible ~ .pt-nav__search-kbd {
    display: none;
}

.pt-nav__search-clear:hover {
    opacity: 1;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

/* Shift search count badge when clear button is visible */
.pt-nav__search-clear--visible ~ .pt-nav__search-count {
    right: 3.8rem;
}

/* Search Highlight */
.pt-highlight {
    background: #fef08a;
    color: inherit;
    padding: 0.05em 0.1em;
    border-radius: 2px;
}

/* Collapsible Sections */
.pt-collapse__toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
}

.pt-collapse__icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.4;
}

.pt-collapse__toggle:hover .pt-collapse__icon {
    opacity: 0.7;
}

.pt-collapse__toggle--open .pt-collapse__icon {
    transform: rotate(180deg);
    opacity: 0.6;
}

.pt-collapse__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.pt-collapse__body--open {
    max-height: none;
    overflow: visible;
    opacity: 1;
}

/* No results message */
.pt-no-results {
    padding: 3rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}


/* Price Table SEO Landing Page */
.pt-landing-hero {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.pt-landing-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary, #0f172a);
    margin-bottom: 0.75rem;
}

.pt-landing-hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted, #64748b);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.pt-landing-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pt-landing-hero__stat {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary, #0f172a);
}

.pt-landing-hero__stat-sep {
    color: var(--color-border, #e2e8f0);
}

/* Legacy pt-landing-card styles removed — categories now rendered as bg text in pt-auth */

.pt-landing-cta {
    text-align: center;
}

.pt-landing-cta__inner {
    max-width: 560px;
    margin: 0 auto;
    background: color-mix(in srgb, var(--color-primary, #0f172a) 3%, transparent);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.pt-landing-cta__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary, #0f172a);
    margin-bottom: 0.75rem;
}

.pt-landing-cta__text {
    font-size: 0.9rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pt-landing-cta__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.pt-landing-cta__trust {
    font-size: 0.78rem;
    color: var(--color-text-muted, #64748b);
    letter-spacing: 0.02em;
    margin: 0;
}

/* Password Auth Page */
.pt-auth {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background ASCII flow layer (canvas) */
.pt-auth__bg-typo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 35% 50% at 50% 50%, transparent 10%, black 70%);
    -webkit-mask-image: radial-gradient(ellipse 35% 50% at 50% 50%, transparent 10%, black 70%);
    z-index: 0;
    overflow: hidden;
}

.pt-auth__bg-typo canvas#ascii-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pt-auth > .container {
    position: relative;
    z-index: 1;
}

.pt-auth__inner {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.pt-auth__logo {
    width: 64px;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.12));
}

.pt-auth__title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.pt-auth__description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pt-auth__form {
    text-align: left;
}

.pt-auth__field {
    margin-bottom: 1rem;
}

.pt-auth__field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--color-text-main);
}

.pt-auth__input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.pt-auth__input:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}

.pt-auth__tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent, #0284c7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.pt-auth__alert {
    padding: 0.65rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.pt-auth__alert--error {
    background: color-mix(in srgb, #dc2626 8%, transparent);
    color: #dc2626;
    border: 1px solid color-mix(in srgb, #dc2626 20%, transparent);
}
.pt-auth__alert--success {
    background: color-mix(in srgb, #16a34a 8%, transparent);
    color: #16a34a;
    border: 1px solid color-mix(in srgb, #16a34a 20%, transparent);
}
.pt-auth__alert--info {
    background: color-mix(in srgb, var(--color-accent, #0284c7) 8%, transparent);
    color: var(--color-accent, #0284c7);
    border: 1px solid color-mix(in srgb, var(--color-accent, #0284c7) 20%, transparent);
}
.pt-auth__alert--warning {
    background: color-mix(in srgb, #d97706 8%, transparent);
    color: #92400e;
    border: 1px solid color-mix(in srgb, #d97706 20%, transparent);
}

.pt-auth__trust {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted, #64748b);
    letter-spacing: 0.02em;
}

.pt-auth__no-access {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted, #64748b);
}

.pt-auth__input--code {
    text-align: center;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.pt-auth__recover {
    margin-top: 1rem;
    text-align: center;
}

.pt-auth__recover-link {
    font-size: 0.85rem;
    color: var(--color-accent, #0284c7);
}

.pt-auth__recover-form {
    margin-top: 0.75rem;
    text-align: left;
}

.pt-auth__recover-form .btn-secondary {
    background: var(--color-bg-alt, #f1f5f9);
    border-color: var(--color-border, #e2e8f0);
    color: var(--color-text-main, #334155);
}

.pt-auth__recover-form .btn-secondary:hover {
    background: var(--color-border, #e2e8f0);
    color: var(--color-primary, #0f172a);
}

.pt-auth__no-access a {
    color: var(--color-accent, #0284c7);
    text-decoration: none;
    font-weight: 500;
}

.pt-auth__no-access a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .pt-auth__bg-typo {
        display: none;
    }
}

/* Reduce motion: JS renders single static frame, no additional CSS animation needed */

/* ---- Responsive: 768px (tablets) ---- */
@media (max-width: 768px) {
    .pt-cover {
        min-height: 100dvh;
        padding: 3rem 1.5rem;
    }

    .pt-cover__title {
        font-size: 2.2rem;
    }

    .pt-cover__logo {
        width: 140px;
    }

    .pt-cover__inner {
        padding-bottom: 6vh;
    }

    .pt-toc__list {
        columns: 1;
    }

    .pt-nav__top {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .pt-nav__search {
        flex: 1;
        min-width: 0;
        order: 0;
    }

    .pt-nav__search-input {
        font-size: 0.9rem;
        padding: 0.6rem 3.5rem 0.6rem 2.5rem;
    }

    .pt-nav__search-kbd {
        display: none;
    }

    .pt-nav__utilities {
        order: 1;
        width: 100%;
        justify-content: center;
        border-top: 1px solid color-mix(in srgb, var(--color-border, #e2e8f0) 40%, transparent);
        padding-top: 0.3rem;
    }

    .pt-section {
        padding: 2rem 0;
    }

    /* Switch to border-spacing: 0 so sticky columns work */
    .pt-table {
        font-size: var(--pt-fs-sm);
        border-collapse: separate;
        border-spacing: 0;
    }

    .pt-table th,
    .pt-table td {
        padding: 0.3rem 0.4rem;
    }

    /* Default nowrap on all cells — prevents number splitting */
    .pt-table td {
        white-space: nowrap;
    }

    /* Allow wrapping only on text-heavy columns */
    .pt-table td.pt-col-model,
    .pt-table td.pt-col-designation,
    .pt-table td.pt-col-reference {
        white-space: normal;
        word-break: break-word;
        min-width: 5rem;
    }

    /* Hide spec columns on mobile — keep code, model, price, reference, designation */
    .pt-col-kW,
    .pt-col-HP,
    .pt-col-W,
    .pt-col-V,
    .pt-col-A,
    .pt-col-elevation_m,
    .pt-col-flow_lh,
    .pt-col-flow_m3h,
    .pt-col-outlet,
    .pt-col-inlet_outlet,
    .pt-col-cond_uf,
    .pt-col-axial_load_N,
    .pt-col-axial_load_kN,
    .pt-col-efficiency_pct,
    .pt-col-pressure_bar,
    .pt-col-volume_L,
    .pt-col-diameter_mm,
    .pt-col-height_mm,
    .pt-col-height_c,
    .pt-col-length_mm,
    .pt-col-width_mm,
    .pt-col-weight_kg,
    .pt-col-dimensions,
    .pt-col-voltage,
    .pt-col-thermal_regulation,
    .pt-col-motor_kW,
    .pt-col-motor_frame,
    .pt-col-pump_diameter,
    .pt-col-dimension_diameter,
    .pt-col-impulsor,
    .pt-col-solidos,
    .pt-col-efficiency_class,
    .pt-col-filtration_L,
    .pt-col-sand_kg {
        display: none;
    }

    /* Hide list column on mobile — too small to tap, desktop/quote workflow */
    .pt-list-col {
        display: none;
    }

    /* Compact action columns */
    .pt-stock-col {
        width: 1rem;
        padding: 0 0.05rem !important;
    }

    .pt-expand-col {
        width: 1.5rem;
        padding: 0 0.05rem !important;
    }

    .pt-expand-btn {
        width: 1.5rem;
        height: 1.5rem;
    }

    .pt-expand-btn svg {
        width: 12px;
        height: 12px;
    }

    /* Sticky code column */
    .pt-table th.pt-col-code,
    .pt-table td.pt-col-code {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .pt-table th.pt-col-code {
        background: var(--color-primary);
        z-index: 3;
    }

    .pt-table td.pt-col-code {
        background: #fff;
    }

    .pt-table tbody tr:nth-child(even) td.pt-col-code {
        background: #f1f5f9;
    }

    .pt-table tbody tr:hover td.pt-col-code {
        background: #eef6ff;
    }

    /* Tap-to-reveal hidden specs on mobile */
    .pt-specs-reveal--active > td {
        background: color-mix(in srgb, var(--color-accent, #0284c7) 6%, #fff) !important;
    }

    .pt-specs-reveal__cell {
        padding: 0.5rem 0.75rem !important;
        background: #f8fafc;
        border-bottom: 2px solid #e2e8f0;
    }

    .pt-specs-reveal__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem 0.75rem;
    }

    .pt-specs-reveal__item {
        display: flex;
        flex-direction: column;
        gap: 0.05rem;
    }

    .pt-specs-reveal__label {
        font-size: var(--pt-fs-3xs);
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        line-height: 1.2;
    }

    .pt-specs-reveal__value {
        font-size: var(--pt-fs-sm);
        font-weight: 600;
        color: var(--color-primary, #0f172a);
        line-height: 1.3;
    }

    /* Sticky column shadow edge */
    .pt-table th.pt-col-code::after,
    .pt-table td.pt-col-code::after {
        content: '';
        position: absolute;
        top: 0;
        right: -6px;
        bottom: 0;
        width: 6px;
        pointer-events: none;
        background: linear-gradient(to right, rgba(0,0,0,0.06), transparent);
    }

    /* Scroll indicator on right edge of table wrapper */
    .pt-table-wrapper {
        position: relative;
    }

    .pt-table-wrapper::after {
        content: '';
        position: sticky;
        right: 0;
        top: 0;
        bottom: 0;
        width: 24px;
        pointer-events: none;
        background: linear-gradient(to left, rgba(255,255,255,0.85), transparent);
        display: block;
        float: right;
        height: 100%;
        margin-top: -100%;
        z-index: 4;
    }
}

/* ---- Responsive: 576px (large phones) ---- */
@media (max-width: 576px) {
    .pt-cover {
        min-height: 100dvh;
        padding: 2.5rem 1.25rem;
    }

    .pt-cover__title {
        font-size: 1.7rem;
    }

    .pt-cover__logo {
        width: 120px;
    }

    .pt-cover__inner {
        padding-bottom: 4vh;
    }

    .pt-cover__meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .pt-cover__meta-sep {
        display: none;
    }

    .pt-section {
        padding: 1.5rem 0;
    }

    .pt-section__title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .pt-subcategory__title {
        font-size: var(--pt-fs-base);
    }

    .pt-subsubcategory__title {
        font-size: var(--pt-fs-sm);
    }

    .pt-toc__list a {
        padding: 0.4rem 0;
        display: inline-block;
    }

    .pt-subcategory {
        margin-top: 2.5rem;
    }

    .pt-subsubcategory {
        margin-top: 1.75rem;
    }
}

/* ---- Responsive: 480px (small phones) ---- */
@media (max-width: 480px) {
    .pt-cover {
        min-height: 100dvh;
        padding: 2rem 1rem;
    }

    .pt-cover__title {
        font-size: 1.4rem;
        letter-spacing: 0.1em;
    }

    .pt-cover__logo {
        width: 100px;
    }

    .pt-cover__rule {
        width: 80px;
    }

    .pt-nav__search-input {
        min-height: 44px;
        font-size: var(--pt-fs-sm);
    }

    .pt-section__title {
        font-size: var(--pt-fs-lg);
        margin-bottom: 1.25rem;
    }

    .pt-table {
        font-size: var(--pt-fs-xs);
    }

    .pt-table th {
        font-size: var(--pt-fs-2xs);
    }

    .pt-table th,
    .pt-table td {
        padding: 0.3rem 0.35rem;
    }

    .pt-table td {
        line-height: 1.5;
    }
}
