/* ========================================
   Product Testimonies — editorial pt-* system
   ======================================== */

.pt-page section:not(.pt-hero) {
    padding: 0;
}

.pt-page h1,
.pt-page h2,
.pt-page h3 {
    color: inherit;
}

/* Hero — light editorial */
.pt-page .pt-hero {
    margin-top: 92px;
    padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 102, 0, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(15, 118, 110, 0.07) 0%, transparent 50%),
        #fffbf7;
    border-bottom: 1px solid #f1e8df;
}

.pt-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.pt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pt-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--text-dark) !important;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.pt-hero-desc {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-light);
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.pt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.pt-link:hover {
    gap: 0.75rem;
}

/* Scorecard */
.pt-scorecard {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #efe6dc;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(88, 56, 30, 0.08);
}

.pt-scorecard-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f5efe8;
}

.pt-score-value {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.04em;
}

.pt-scorecard-top p {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.pt-scorecard-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pt-scorecard-stats li {
    text-align: center;
}

.pt-scorecard-stats strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.pt-scorecard-stats span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-stars {
    display: inline-flex;
    gap: 0.15rem;
}

.pt-stars i {
    color: #f59e0b;
    font-size: 0.8rem;
}

/* Body layout */
.pt-body {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(4rem, 7vw, 5.5rem);
    background: #fafaf9;
}

.pt-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

/* Sidebar */
.pt-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pt-sidebar-block {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #ebe6e0;
    border-radius: 1rem;
}

.pt-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.85rem;
}

.pt-sidebar-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 0.65rem;
}

.pt-search {
    position: relative;
}

.pt-search i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    font-size: 0.85rem;
    pointer-events: none;
}

.pt-search input {
    width: 100%;
    padding: 0.7rem 0.9rem 0.7rem 2.4rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    background: #fafaf9;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
    background: #fff;
}

.pt-filters {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pt-filter {
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pt-filter:hover {
    background: #fafaf9;
    color: var(--text-dark);
}

.pt-filter.is-active {
    background: rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.2);
    color: var(--primary-color);
    font-weight: 600;
}

.pt-count {
    font-size: 0.8125rem;
    color: var(--text-light);
    padding: 0 0.25rem;
    margin: 0;
}

.pt-count strong {
    color: #0f766e;
}

/* Feed */
.pt-feed {
    min-width: 0;
}

.pt-spotlight-wrap {
    margin-bottom: 1.5rem;
}

.pt-spotlight-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.pt-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Review cards */
.pt-review {
    position: relative;
    background: #fff;
    border: 1px solid #ebe6e0;
    border-radius: 1.1rem;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pt-review:hover {
    box-shadow: 0 16px 40px rgba(88, 56, 30, 0.08);
    transform: translateY(-2px);
}

.pt-review.is-hidden {
    display: none;
}

.pt-review-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), #fbbf24);
}

.pt-review--featured .pt-review-accent {
    background: linear-gradient(180deg, #0f766e, #34d399);
}

.pt-review--spotlight {
    border-color: #fcd9b8;
    background: linear-gradient(135deg, #fffaf5 0%, #fff 55%);
    box-shadow: 0 18px 44px rgba(255, 102, 0, 0.1);
}

.pt-review--spotlight .pt-review-accent {
    width: 5px;
}

.pt-review-inner {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
}

.pt-review-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pt-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(251, 191, 36, 0.2));
    border: 1px solid rgba(255, 102, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pt-review--featured .pt-avatar {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(52, 211, 153, 0.18));
    border-color: rgba(15, 118, 110, 0.2);
    color: #0f766e;
}

.pt-review-meta {
    flex: 1;
    min-width: 140px;
}

.pt-review-name {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.pt-review-place {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.pt-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b45309;
}

.pt-review-badge i {
    font-size: 0.55rem;
}

.pt-review-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-dark);
    font-style: italic;
}

.pt-review--spotlight .pt-review-quote {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.pt-review-foot {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f5f5f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pt-review-product {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f766e;
}

.pt-review-product i {
    font-size: 0.7rem;
}

.pt-review-badge--external {
    background: rgba(120, 113, 108, 0.12);
    color: #78716c;
}

.pt-review--external {
    border-style: dashed;
    border-color: #d6d3d1;
}

.pt-review--external .pt-review-accent {
    background: linear-gradient(180deg, #a8a29e, #d6d3d1);
}

.pt-review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
}

.pt-review-source:hover {
    text-decoration: underline;
}

.pt-review-source i {
    font-size: 0.7rem;
}

/* Disclaimer */
.pt-disclaimer {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
}

.pt-disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
    font-size: 1.1rem;
}

.pt-disclaimer h2 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.45rem;
}

.pt-disclaimer p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #78350f;
    margin: 0;
}

/* Empty / no results */
.pt-empty,
.pt-no-results {
    text-align: center;
    padding: clamp(3rem, 6vw, 4rem) 2rem;
    background: #fff;
    border: 1px dashed #e7e5e4;
    border-radius: 1.1rem;
}

.pt-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #fafaf9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #d6d3d1;
}

.pt-empty h2,
.pt-no-results h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pt-empty p,
.pt-no-results p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.pt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.35rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.22);
    transition: transform 0.25s ease;
}

.pt-btn:hover {
    transform: translateY(-2px);
}

.pt-no-results {
    display: none;
    margin-top: 1rem;
}

.pt-no-results.is-visible {
    display: block;
}

.pt-no-results i {
    font-size: 2rem;
    color: #e7e5e4;
    margin-bottom: 0.75rem;
}

.pt-spotlight-wrap.is-hidden {
    display: none;
}

/* Reveal */
.pt-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pt-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .pt-hero-grid {
        grid-template-columns: 1fr;
    }

    .pt-layout {
        grid-template-columns: 1fr;
    }

    .pt-sidebar {
        position: static;
    }

    .pt-filters {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pt-filter {
        width: auto;
    }
}

@media (max-width: 640px) {
    .pt-scorecard-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pt-review-head {
        align-items: flex-start;
    }

    .pt-disclaimer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
