/* ==================== REVIEWS PAGE STYLES ==================== */

/* Section: Hero */
.reviews-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.reviews-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reviews-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews-hero__content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.reviews-hero__content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.reviews-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.reviews-hero__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reviews-hero__image-wrapper {
    position: relative;
    height: 400px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.reviews-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .reviews-hero__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reviews-hero__content h1 {
        font-size: 2rem;
    }

    .reviews-hero__image-wrapper {
        height: 300px;
    }
}

/* Section: Statistics */
.reviews-stats {
    padding: 60px 0;
    background: #f9f9f9;
}

.reviews-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    text-align: center;
}

.reviews-stats__layout {
    display: grid;
    grid-template-columns: 250px 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reviews-stats__overall {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.reviews-stats__score {
    font-size: 4rem;
    font-weight: 700;
    color: #d63031;
    line-height: 1;
    margin-bottom: 12px;
}

.reviews-stats__stars {
    font-size: 1.8rem;
    color: #ffc107;
    margin-bottom: 8px;
    display: block;
}

.reviews-stats__count {
    font-size: 0.95rem;
    color: #666;
}

.reviews-stats__breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reviews-stats__rating-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviews-stats__rating-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.reviews-stats__bar {
    height: 8px;
    background: linear-gradient(90deg, #d63031, #ff7675);
    border-radius: 4px;
}

.reviews-stats__percentage {
    color: #d63031;
    font-weight: 700;
}

.reviews-stats__benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reviews-stats__benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.reviews-stats__benefit i {
    color: #27ae60;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.reviews-stats__benefit h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.reviews-stats__benefit p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .reviews-stats__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reviews-stats__score {
        font-size: 3rem;
    }
}

/* Section: Featured Reviews Carousel */
.reviews-carousel {
    padding: 60px 0;
}

.reviews-carousel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(410px, 1fr));
    gap: 24px;
}

.reviews-carousel__card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-carousel__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.reviews-carousel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.reviews-carousel__profile {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.reviews-carousel__avatar {
    width: 50px;
    height: 50px;
    background: #d63031;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.reviews-carousel__author {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.reviews-carousel__date {
    font-size: 0.8rem;
    color: #999;
}

.reviews-carousel__stars {
    color: #ffc107;
    font-size: 0.9rem;
    white-space: nowrap;
}

.reviews-carousel__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.reviews-carousel__content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

.reviews-carousel__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.reviews-carousel__helpful {
    color: #666;
}

.reviews-carousel__link {
    color: #d63031;
    text-decoration: none;
    font-weight: 600;
}

.reviews-carousel__link:hover {
    text-decoration: underline;
}

/* Section: Review Categories */
.reviews-categories {
    padding: 60px 0;
    background: #f9f9f9;
}

.reviews-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.reviews-categories__card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    transition: transform 0.3s ease;
}

.reviews-categories__card:hover {
    transform: translateY(-6px);
}

.reviews-categories__card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.reviews-categories__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.reviews-categories__stars {
    font-size: 1.2rem;
    color: #ffc107;
}

.reviews-categories__score {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d63031;
}

.reviews-categories__count {
    font-size: 0.9rem;
    color: #666;
}

.reviews-categories__card .button {
    align-self: center;
    width: 100%;
    max-width: 200px;
}

/* Section: How to Review */
.reviews-guide {
    padding: 60px 0;
}

.reviews-guide__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reviews-guide__image-wrap {
    height: 400px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.reviews-guide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-guide__steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews-guide__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-guide__step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.reviews-guide__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #d63031;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.reviews-guide__step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.reviews-guide__step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.reviews-guide__cta {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .reviews-guide__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reviews-guide__image-wrap {
        height: 300px;
    }
}

/* Section: Top Rated Products */
.reviews-top-products {
    padding: 60px 0;
    background: #f9f9f9;
}

.reviews-top-products__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.reviews-top-products__item {
    position: relative;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.reviews-top-products__trophy {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 2.5rem;
    z-index: 10;
}

.reviews-top-products__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.reviews-top-products__body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-top-products__body .badge {
    align-self: flex-start;
}

.reviews-top-products__body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.reviews-top-products__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #666;
}

.reviews-top-products__stars {
    color: #ffc107;
}

.reviews-top-products__description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.reviews-top-products__item .button {
    align-self: flex-start;
    margin-top: 12px;
}

/* Section: Guidelines */
.reviews-guidelines {
    padding: 60px 0;
}

.reviews-guidelines__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.reviews-guidelines__card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
}

.reviews-guidelines__card:nth-child(n+4) {
    background: #fff3f3;
}

.reviews-guidelines__icon {
    width: 50px;
    height: 50px;
    background: #d63031;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.reviews-guidelines__card:nth-child(n+4) .reviews-guidelines__icon {
    background: #e0e0e0;
    color: #999;
}

.reviews-guidelines__card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.reviews-guidelines__card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Section: CTA */
.reviews-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin-bottom: 0;
}

.reviews-cta__inner {
    text-align: center;
    color: white;
}

.reviews-cta__inner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.reviews-cta__inner p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.reviews-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.reviews-cta__footnote {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .reviews-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .reviews-cta__actions .button,
    .reviews-cta__actions .btn--secondary {
        width: 100%;
        max-width: 200px;
    }

    .reviews-section-title {
        font-size: 1.5rem;
    }

    .reviews-carousel__grid {
        grid-template-columns: 1fr;
    }

    .reviews-guidelines__grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.metal-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d63031, #ff7675);
    border-radius: 2px;
}

.divider-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d63031;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #333;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge--success {
    background: #27ae60;
    color: white;
}

.badge--highlight {
    background: #d63031;
    color: white;
}



/* Accessibility */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
