.reviews-shell {
    max-width: 1220px;
    margin: 28px auto 0;
    padding: 0 20px;
}

.reviews-hero {
    background: radial-gradient(circle at top, #db2777, #be185d);
    color: white;
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.18);
    overflow: hidden;
    position: relative;
}

.reviews-hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    background: rgba(255,255,255,0.08);
    filter: blur(120px);
    top: -220px;
    right: -120px;
}

.reviews-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.reviews-kicker {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
    color: white;
    margin: 0 0 8px;
}

.reviews-hero h1 {
    color: white !important;
    margin: 0 0 10px;
    font-size: 2.6rem;
}

.reviews-subtitle {
    margin: 0;
    font-size: 1.04rem;
    opacity: 0.95;
    max-width: 720px;
    line-height: 1.7;
    color: white;
}

.reviews-score-card {
    min-width: 250px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 20px 22px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.reviews-score-card span,
.reviews-score-card small {
    display: block;
    color: white;
    opacity: 0.92;
}

.reviews-score-card strong {
    display: block;
    color: white;
    font-size: 2rem;
    margin: 6px 0;
}

.score-stars,
.review-stars {
    color: #d1d5db;
}

.score-stars .active,
.review-stars .active {
    color: #fbbf24;
}

/* Main layout */
.reviews-panel {
    background: white;
    border-radius: 26px;
    padding: 28px;
    margin-top: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.07);
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(320px, 390px) 1fr;
    gap: 28px;
    align-items: start;
}

.reviews-left-column {
    position: sticky;
    top: 24px;
}

.reviews-right-column {
    min-width: 0;
}

/* Form card */
.review-form-card {
    background: linear-gradient(145deg, #fdf2f8, #ffffff);
    border: 1px solid #fbcfe8;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(190, 24, 93, 0.08);
}

.review-form-card h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.65rem;
}

.review-form-card p {
    margin: 0 0 18px;
    color: #6b7280;
    line-height: 1.65;
}

.review-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.review-alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.review-alert.error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.hidden-field {
    display: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 800;
    color: #111827;
    margin-bottom: 7px;
    font-size: 0.92rem;
}

.form-group label span {
    color: #6b7280;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #fbcfe8;
    background: white;
    border-radius: 15px;
    padding: 12px 13px;
    outline: none;
    font-size: 0.94rem;
    color: #111827;
}

.form-group textarea {
    resize: vertical;
    min-height: 128px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #be185d;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.08);
}

/* Premium rating */
.premium-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 9px;
    background: white;
    border: 1px solid #fbcfe8;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(190, 24, 93, 0.08);
}

.premium-rating input {
    display: none;
}

.premium-rating label {
    cursor: pointer;
    font-size: 1.45rem;
    color: #d1d5db;
    margin: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.premium-rating label:hover,
.premium-rating label:hover ~ label,
.premium-rating input:checked ~ label {
    color: #fbbf24;
}

.premium-rating label:hover {
    transform: translateY(-2px) scale(1.08);
}

.review-submit-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-radius: 999px;
    min-height: 48px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0 24px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(190, 24, 93, 0.18);
}

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

/* Reviews top */
.reviews-list-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.section-heading {
    margin-bottom: 0;
}

.section-heading h2 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.85rem;
}

.section-heading p {
    margin: 0;
    color: #6b7280;
}

.reviews-filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reviews-filter-form select,
.reviews-filter-form button {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #fbcfe8;
    background: #fdf2f8;
    color: #111827;
    padding: 0 16px;
    font-weight: 800;
    outline: none;
}

.reviews-filter-form button {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(190, 24, 93, 0.16);
}

/* Review cards */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #fffafb);
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: #fbcfe8;
    box-shadow: 0 22px 48px rgba(0,0,0,0.085);
}

.review-card.rating-5 {
    background: linear-gradient(145deg, #ffffff, #fff7fa);
    border-color: #fbcfe8;
    box-shadow: 0 18px 42px rgba(190, 24, 93, 0.10);
}

.review-card.rating-5 .review-score {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
}

.review-card.rating-5 h3 {
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.review-card.rating-5 p {
    color: #374151;
    font-size: 0.96rem;
    font-weight: 500;
}

.review-card.rating-4 {
    background: linear-gradient(145deg, #ffffff, #f7fffb);
    border-color: #bbf7d0;
}

.review-card.rating-4 .review-score {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.review-card.rating-4 h3 {
    color: #065f46;
    font-weight: 850;
}

.review-card.rating-4 p {
    color: #3f5f52;
}

.review-card.rating-3 {
    background: linear-gradient(145deg, #ffffff, #fafafa);
    border-color: #e5e7eb;
}

.review-card.rating-3 .review-score {
    background: #f9fafb;
    color: #4b5563;
    border-color: #e5e7eb;
}

.review-card.rating-3 h3 {
    color: #374151;
    font-weight: 800;
}

.review-card.rating-3 p {
    color: #6b7280;
    font-style: italic;
}

.review-card.rating-2 {
    background: linear-gradient(145deg, #ffffff, #fffaf0);
    border-color: #fde68a;
}

.review-card.rating-2 .review-score {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.review-card.rating-2 h3 {
    color: #92400e;
    font-weight: 850;
}

.review-card.rating-2 p {
    color: #73532b;
}

.review-card.rating-1 {
    background: linear-gradient(145deg, #ffffff, #fff5f6);
    border-color: #fecdd3;
}

.review-card.rating-1 .review-score {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.review-card.rating-1 h3 {
    color: #9f1239;
    font-weight: 900;
}

.review-card.rating-1 p {
    color: #7f1d1d;
    font-weight: 500;
}

.review-card.rating-1 .review-stars .active,
.review-card.rating-2 .review-stars .active {
    color: #fb7185;
}

.review-card.rating-3 .review-stars .active {
    color: #9ca3af;
}

.review-card.rating-4 .review-stars .active {
    color: #34d399;
}

.review-card.rating-5 .review-stars .active {
    color: #fbbf24;
}

.review-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-stars {
    display: flex;
    gap: 4px;
    font-size: 0.95rem;
}

.review-score {
    background: #fce7f3;
    color: #be185d;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.8rem;
    font-weight: 900;
}

.review-card h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.35;
}

.review-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.78;
    font-size: 0.95rem;
}

.review-card-bottom {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.review-card-bottom strong {
    color: #111827;
}

.review-card-bottom span {
    color: #6b7280;
    font-size: 0.88rem;
}

.empty-reviews {
    text-align: center;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 22px;
    padding: 30px;
}

.empty-reviews i {
    color: #be185d;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.empty-reviews h3 {
    margin: 0 0 8px;
    color: #111827;
}

.empty-reviews p {
    margin: 0;
    color: #6b7280;
}

/* Pagination */
.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.reviews-pagination a {
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #be185d;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reviews-pagination a.active,
.reviews-pagination a:hover {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
}

.pagination-dots {
    min-width: 34px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 900;
}

.pagination-control {
    padding: 0 18px !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .reviews-left-column {
        position: static;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 850px) {
    .form-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-filter-form {
        width: 100%;
    }

    .reviews-filter-form select,
    .reviews-filter-form button {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .reviews-shell {
        padding: 0 14px;
        margin-top: 20px;
    }

    .reviews-hero {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .reviews-hero h1 {
        font-size: 2rem;
    }

    .reviews-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .reviews-score-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .review-form-card,
    .review-card,
    .empty-reviews {
        padding: 18px;
        border-radius: 18px;
    }

    .reviews-hero h1 {
        font-size: 1.8rem;
    }

    .reviews-filter-form {
        flex-direction: column;
    }

    .reviews-filter-form select,
    .reviews-filter-form button {
        width: 100%;
    }

    .reviews-pagination {
        gap: 6px;
    }

    .reviews-pagination a {
        min-width: 38px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .pagination-control {
        width: auto;
        min-width: 92px !important;
    }
}

.review-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .review-mobile-toggle {
        width: 100%;
        min-height: 54px;
        border: none;
        border-radius: 18px;
        background: linear-gradient(135deg, #be185d, #db2777);
        color: white;
        font-weight: 900;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        cursor: pointer;
        box-shadow: 0 12px 26px rgba(190, 24, 93, 0.18);
    }

    .review-mobile-toggle span,
    .review-mobile-toggle i {
        color: white;
    }

    .review-mobile-toggle i {
        transition: transform 0.25s ease;
    }

    .review-mobile-toggle.open i {
        transform: rotate(180deg);
    }

    .review-form-inner {
        display: none;
        margin-top: 18px;
    }

    .review-form-inner.open {
        display: block;
    }

    .review-form-inner h2 {
        display: none;
    }
}

@media (min-width: 769px) {
    .review-form-inner {
        display: block;
    }
}


.review-name-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.review-name-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #fbcfe8;
    border-radius: 15px;
    background: #fff;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(190, 24, 93, 0.05);
}

.review-name-option input {
    display: none;
}

.review-name-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
}

.review-name-option i {
    color: #be185d;
    font-size: 1rem;
}

.review-name-option:has(input:checked) {
    border-color: #be185d;
    background: #fff6f8;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.07);
}

.review-name-option:has(input:checked) span {
    color: #111827;
}

@media (max-width: 360px) {
    .review-name-choice {
        grid-template-columns: 1fr;
    }
}

.review-name-select,
.review-name-custom {
    width: 100%;
    height: 52px;
    border: 1px solid #fbcfe8;
    border-radius: 15px;
    padding: 0 14px;
    background: #fff;
    color: #111827;
    font-size: 0.94rem;
    font-weight: 800;
    outline: none;
    box-shadow: 0 8px 20px rgba(190, 24, 93, 0.05);
}

.review-name-select:focus,
.review-name-custom:focus {
    border-color: #be185d;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.08);
}

.review-name-select:hover {
    transform: none;
}