/* ==========================================================
   pressotherapy.co.uk - Review Page Styles
   Extends shared.css with product review page components.
   ========================================================== */

/* ========== READING PROGRESS BAR ========== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    background: transparent;
}
.reading-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--teal), var(--coral));
    transition: width 0.15s ease;
}

/* ========== STICKY BUY BAR ========== */
.sticky-buy {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--grey-200);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 0 2rem;
}
.sticky-buy.visible { transform: translateY(0); }
.sticky-buy-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 1rem;
}
.sticky-buy-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.sticky-buy-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--grey-50);
    flex-shrink: 0;
}
.sticky-buy-text { min-width: 0; }
.sticky-buy-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}
.sticky-buy-price {
    font-size: 0.8rem;
    color: var(--grey-500);
}
.sticky-buy-price strong { color: var(--teal); font-weight: 700; }
.sticky-buy-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    background: var(--coral);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}
.sticky-buy-cta:hover { background: var(--coral-dark); }
.sticky-buy-cta svg { width: 14px; height: 14px; }

/* ========== PRODUCT HERO ========== */
.review-hero {
    background: var(--navy);
    padding: 2rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}
.review-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11,122,117,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.review-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
}
.hero-breadcrumb a {
    color: var(--grey-400);
    text-decoration: none;
    transition: var(--transition);
}
.hero-breadcrumb a:hover { color: white; }
.hero-breadcrumb span { color: var(--grey-500); }
.hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    flex-shrink: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.hero-image-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}
.hero-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.hero-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: var(--grey-400);
    gap: 0.5rem;
}
.hero-fallback svg { width: 80px; height: 80px; opacity: 0.3; }
.hero-fallback-brand { font-size: 1.25rem; font-weight: 700; }
.hero-fallback-type { font-size: 0.875rem; }
.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}
.product-thumb {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border: 2px solid var(--grey-200);
    border-radius: 6px;
    cursor: pointer;
    padding: 4px;
    background: white;
    transition: var(--transition);
}
.product-thumb:hover { border-color: var(--teal); }
.product-thumb.active { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.hero-info { color: white; }
.hero-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.hero-badge-best { background: var(--teal); color: white; }
.hero-badge-value { background: var(--gold-bg); color: #B45309; }
.hero-badge-budget { background: var(--green-bg); color: #059669; }
.hero-badge-choice { background: rgba(255,255,255,0.15); color: white; }
.hero-badge-heat { background: var(--coral-light); color: var(--coral-dark); }
.hero-badge-portable { background: #EFF6FF; color: #2563EB; }
.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.hero-brand {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.hero-stars { color: var(--gold); font-size: 1rem; }
.hero-rating-text { font-size: 0.875rem; color: var(--grey-400); }
.hero-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.375rem;
}
.hero-price-note {
    font-size: 0.8125rem;
    color: var(--grey-400);
    margin-bottom: 1.5rem;
}
.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-ctas .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}
.hero-ctas .btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.hero-ctas .btn-outline {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-ctas .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}
.hero-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--grey-400);
}
.hero-trust-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}
.hero-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--grey-400);
    margin-bottom: 0.75rem;
}
.hero-reading-time svg { width: 14px; height: 14px; }

/* ========== GLANCE STRIP ========== */
.glance-strip {
    background: white;
    border-bottom: 1px solid var(--grey-200);
    padding: 1.25rem 2rem;
}
.glance-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.glance-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}
.glance-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.glance-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey-400);
}

/* ========== REVIEW ARTICLE LAYOUT ========== */
.review-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}
.review-no-toc {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Table of Contents */
.toc {
    position: sticky;
    top: 80px;
}
.toc-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey-400);
    margin-bottom: 0.75rem;
}
.toc-list {
    list-style: none;
}
.toc-list li { margin-bottom: 0.25rem; }
.toc-link {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--grey-500);
    text-decoration: none;
    border-left: 2px solid var(--grey-200);
    transition: var(--transition);
    line-height: 1.4;
}
.toc-link:hover { color: var(--navy); border-color: var(--grey-400); }
.toc-link.active { color: var(--teal); border-color: var(--teal); font-weight: 600; }
.toc-link.sub { padding-left: 1.25rem; font-size: 0.75rem; }

/* Article Body */
.review-article h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.review-article h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}
.review-article p {
    font-size: 1rem;
    color: var(--grey-600);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.review-article strong { color: var(--navy); font-weight: 600; }
.review-article a {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.review-article a:hover { color: var(--teal-dark); }
.review-article ul,
.review-article ol {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--grey-600);
    line-height: 1.75;
}
.review-article li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.review-article blockquote {
    border-left: 3px solid var(--teal);
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--teal-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--grey-600);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Review Table */
.review-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.875rem;
}
.review-table thead th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 700;
    border-bottom: 2px solid var(--grey-200);
    color: var(--navy);
    background: var(--grey-50);
}
.review-table tbody td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--grey-100);
    color: var(--grey-600);
}
.review-table tbody td:first-child {
    font-weight: 600;
    color: var(--navy);
}
.review-table tbody tr:hover { background: var(--grey-50); }

/* Pros and Cons */
.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}
.review-pros,
.review-cons {
    padding: 1.5rem;
    border-radius: var(--radius);
}
.review-pros { background: var(--green-bg); }
.review-cons { background: var(--coral-light); }
.review-pros h3,
.review-cons h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0 0 1rem 0;
}
.review-pros h3 { color: #059669; }
.review-cons h3 { color: var(--coral-dark); }
.review-pros h3 svg,
.review-cons h3 svg { width: 20px; height: 20px; }
.review-pros ol,
.review-cons ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--grey-600);
}
.review-pros li,
.review-cons li {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* CTA Buttons (inline) */
.review-cta-wrap {
    text-align: center;
    margin: 1.5rem 0;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
}
.review-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.5rem;
    background: var(--coral);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.review-cta-btn:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,97,84,0.3);
}
.review-cta-btn svg { width: 14px; height: 14px; }
.review-cta-sub {
    font-size: 0.75rem;
    color: var(--grey-400);
    margin-top: 0.375rem;
}

/* Verdict */
.review-verdict {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2e47 100%);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2.5rem 0;
    color: white;
}
.review-verdict h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
}
.review-verdict p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.review-verdict strong {
    color: white;
    font-weight: 700;
}
.review-verdict .review-cta-wrap {
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    margin: 1.25rem 0 0;
}

/* FAQ Accordion */
.review-faq {
    margin: 2rem 0;
}
.review-faq h2 {
    margin-bottom: 1rem;
}
.faq-item {
    border-bottom: 1px solid var(--grey-200);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.125rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
    transition: var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--grey-400);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    padding-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: var(--grey-500);
    line-height: 1.7;
}

/* ========== SCORE SECTION ========== */
.score-section {
    background: var(--grey-50);
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    padding: 3rem 2rem;
}
.score-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.score-ring-wrap {
    text-align: center;
}
.score-ring-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey-400);
    margin-bottom: 1rem;
}
.score-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
}
.score-ring svg {
    transform: rotate(-90deg);
    width: 160px;
    height: 160px;
}
.score-ring-bg {
    fill: none;
    stroke: var(--grey-200);
    stroke-width: 10;
}
.score-ring-fill {
    fill: none;
    stroke: var(--teal);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}
.score-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}
.score-ring-text small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--grey-400);
}
.score-ring-verdict {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
}

/* Score Bars */
.score-bars-wrap h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}
.score-bar-item {
    margin-bottom: 1rem;
}
.score-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--grey-600);
    margin-bottom: 0.375rem;
}
.score-bar-label span:last-child {
    font-weight: 700;
    color: var(--navy);
}
.score-bar-track {
    height: 8px;
    background: var(--grey-200);
    border-radius: 4px;
    overflow: hidden;
}
.score-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.2s ease;
}
.score-bar-fill.performance { background: var(--teal); }
.score-bar-fill.value { background: var(--gold); }
.score-bar-fill.build-quality { background: var(--coral); }
.score-bar-fill.comfort { background: var(--green); }

/* Best For */
.best-for-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}
.best-for-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.best-for-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--teal-50);
    color: var(--teal);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.best-for-tag svg { width: 14px; height: 14px; }
.best-for-text {
    font-size: 0.875rem;
    color: var(--grey-500);
    line-height: 1.6;
}

/* ========== SIMILAR PRODUCTS ========== */
.similar-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.similar-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.5rem;
}
.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.similar-card {
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
}
.similar-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.similar-card-img {
    height: 140px;
    background: var(--grey-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.similar-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.similar-card-fb {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--grey-400);
}
.similar-card-body { padding: 1rem; }
.similar-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.375rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.similar-card-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--teal);
}

/* ========== QUIZ CTA SECTION ========== */
.quiz-cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2e47 100%);
    padding: 3rem 2rem;
    text-align: center;
}
.quiz-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.quiz-cta-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}
.quiz-cta-section p {
    color: var(--grey-400);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-image-wrap { max-width: 480px; margin: 0 auto; }
    .review-layout { grid-template-columns: 1fr; gap: 0; }
    .toc { position: static; display: none; }
    .score-inner { grid-template-columns: 1fr 1fr; }
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .review-hero { padding: 1.5rem 1.5rem 2rem; }
    .hero-title { font-size: 1.5rem; }
    .review-layout { padding: 2rem 1.5rem; }
    .review-pros-cons { grid-template-columns: 1fr; }
    .score-inner { grid-template-columns: 1fr; }
    .score-ring-wrap { margin-bottom: 1.5rem; }
    .glance-inner { grid-template-columns: repeat(3, 1fr); }
    .similar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .review-hero { padding: 1rem 1rem 1.5rem; }
    .hero-title { font-size: 1.25rem; }
    .hero-price { font-size: 1.25rem; }
    .glance-inner { grid-template-columns: repeat(2, 1fr); }
    .similar-grid { grid-template-columns: 1fr; }
    .sticky-buy-title { max-width: 180px; }
    .review-table { font-size: 0.8rem; }
    .review-table th,
    .review-table td { padding: 0.5rem 0.625rem; }
}
