/* Price-table access gate. */

.page-price-access #whatsapp-widget,
.page-price-access .back-to-top,
.page-price-access #back-to-top {
    display: none !important;
}

.page-price-access .mobile-search-toggle,
.page-price-access .search-container,
.page-price-access .breadcrumbs,
.page-price-access .breadcrumb-bar {
    display: none !important;
}

/* Password Auth Page */
.page-price-access #main-content {
    display: flex;
    flex: 1 0 auto;
}

.pt-auth {
    align-items: center;
    background-color: var(--color-bg-body);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex: 1;
    overflow: auto;
    position: relative;
    width: 100%;
}

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

.pt-auth__inner {
    background: oklch(1 0 0);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
    margin: 0 auto;
    max-width: 62rem;
    overflow: hidden;
}

.pt-auth__intro,
.pt-auth__panel {
    padding: clamp(2rem, 5vw, 3.5rem);
}

.pt-auth__intro {
    background: var(--color-primary);
    color: oklch(1 0 0);
    display: flex;
    flex-direction: column;
}

.pt-auth__panel {
    min-width: 0;
    position: relative;
}

.pt-auth__title {
    color: oklch(1 0 0);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0;
    max-width: 9ch;
    text-wrap: balance;
}

.pt-auth__description {
    color: oklch(0.869 0.02 252.894);
    font-size: 1rem;
    line-height: 1.65;
    margin: 1.25rem 0 0;
    max-width: 28rem;
}

.pt-auth__form-owner {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

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

.pt-auth__actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pt-auth__submit {
    min-height: 3rem;
    padding-inline: 0.9rem;
    white-space: normal;
    width: 100%;
}

.pt-auth__submit:only-child {
    grid-column: 1 / -1;
}

.pt-auth__recover-link:focus-visible,
.pt-auth__request-access-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

.pt-auth__field label {
    display: block;
    color: var(--color-text-main);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pt-auth__field-head {
    align-items: baseline;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.pt-auth__field-head label {
    margin-bottom: 0;
}

.pt-auth__remember {
    align-items: flex-start;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    font-size: 0.88rem;
    gap: 0.65rem;
    line-height: 1.35;
    margin: 0 0 1.25rem;
}

.pt-auth__remember input {
    accent-color: var(--color-accent);
    flex: 0 0 auto;
    height: 1.05rem;
    margin: 0.08rem 0 0;
    width: 1.05rem;
}

.pt-auth__remember small {
    color: var(--color-text-muted);
    display: block;
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.pt-auth__input {
    border: 1px solid var(--field-border);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    min-height: 3.25rem;
    padding: 0.75rem 0.875rem;
    width: 100%;
}

.pt-auth__input:focus-visible {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px oklch(0.588 0.139 241.966 / 0.1);
    outline: none;
}

.pt-auth__tagline {
    color: oklch(0.828 0.095 241.966);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem;
}

.pt-auth__alert {
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}
.pt-auth__alert--error {
    background: color-mix(in oklch, oklch(0.577 0.215 27.325) 8%, transparent);
    color: oklch(0.577 0.215 27.325);
    border: 1px solid color-mix(in oklch, oklch(0.577 0.215 27.325) 20%, transparent);
}
.pt-auth__alert--success {
    background: color-mix(in oklch, oklch(0.627 0.17 149.214) 8%, transparent);
    color: oklch(0.627 0.17 149.214);
    border: 1px solid color-mix(in oklch, oklch(0.627 0.17 149.214) 20%, transparent);
}
.pt-auth__alert--info {
    background: color-mix(in oklch, var(--color-accent) 8%, transparent);
    color: var(--color-accent-hover);
    border: 1px solid color-mix(in oklch, var(--color-accent) 20%, transparent);
}
.pt-auth__alert--warning {
    background: color-mix(in oklch, oklch(0.666 0.157 58.318) 8%, transparent);
    color: oklch(0.473 0.125 46.201);
    border: 1px solid color-mix(in oklch, oklch(0.666 0.157 58.318) 20%, transparent);
}

.pt-auth__version {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 1.25rem;
}

.pt-auth__trust {
    border-top: 1px solid oklch(0.869 0.02 252.894 / 0.24);
    color: oklch(0.711 0.035 256.788);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 1.25rem;
}

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

.pt-auth__recover {
    display: none;
}

.pt-auth__recover[data-open] {
    display: block;
    margin: 0 0 1.25rem;
}

.pt-auth__recover-link {
    color: var(--color-accent-hover);
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pt-auth__recover-form {
    text-align: left;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo);
}

.pt-auth__recover-form.is-entering {
    opacity: 0;
    transform: translateY(4px);
}

.pt-auth__request-access {
    border-top: 1px solid var(--color-border);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    text-align: left;
}

.pt-auth__request-access p {
    margin: 0 0 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.pt-auth__request-access-link {
    color: var(--color-accent-hover);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .pt-auth__recover-link:hover,
    .pt-auth__request-access-link:hover {
        color: var(--color-accent-hover);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-auth__recover-form,
    .pt-auth__recover-form.is-entering {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 767px) {
    .pt-auth.section-padding {
        padding: 0.75rem 0 1.5rem;
    }

    .pt-auth__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .pt-auth__intro {
        padding: 1.1rem 1.25rem 1rem;
    }

    .pt-auth__panel {
        padding: 1.1rem 1.25rem 1.25rem;
    }

    .pt-auth__title {
        font-size: 1.7rem;
        max-width: none;
    }

    .pt-auth__description {
        margin-top: 0.5rem;
        font-size: 0.92rem;
    }

    .pt-auth__trust {
        display: none;
    }

    .pt-auth__version {
        margin-bottom: 0.9rem;
    }

    .pt-auth__field-head {
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
    }
}

@media (max-width: 768px) {
    body.page-price-access {
        display: flex;
        flex-direction: column;
    }

    body.page-price-access > script {
        display: none;
    }

    body.page-price-access header {
        order: 1;
    }

    body.page-price-access .breadcrumbs,
    body.page-price-access .breadcrumb-bar {
        order: 2;
        display: none !important;
    }

    body.page-price-access #cookie-consent {
        order: 3;
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        transform: none;
        border-radius: 0;
        z-index: 5;
    }

    body.page-price-access #cookie-consent:not(.is-visible) {
        display: none;
    }

    body.page-price-access #main-content {
        order: 4;
        flex: 1 0 auto;
    }

    body.page-price-access .site-footer {
        order: 5;
    }

    body.page-price-access #whatsapp-widget,
    body.page-price-access #back-to-top {
        order: 6;
    }
}
