.comments-section{
    position:relative;
    background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}
.comments-heading{
    max-width:760px;
    margin:0 auto 28px;
    text-align:center;
}
.comments-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 14px;
    border-radius:999px;
    background:#eef5ff;
    color:#2563eb;
    font-size:.88rem;
    font-weight:800;
    margin-bottom:12px;
}
.comments-layout{
    display:grid;
    grid-template-columns:minmax(260px,.85fr) minmax(0,1.65fr);
    gap:24px;
    align-items:start;
    margin-bottom:26px;
}
.comments-summary,
.comment-form-card{
    background:#fff;
    border:1px solid #e6edf5;
    border-radius:24px;
    box-shadow:0 12px 40px rgba(15,23,42,.07);
}
.comments-summary{
    padding:28px;
    position:sticky;
    top:20px;
}
.comments-summary-score{
    font-size:4rem;
    line-height:1;
    font-weight:900;
    color:#0f172a;
    text-align:center;
}
.comments-stars,.comment-rating{
    color:#f59e0b;
    letter-spacing:2px;
    font-size:1.15rem;
}
.comments-stars{
    margin:13px 0 7px;
    text-align:center;
}
.comments-summary-label{
    color:#334155;
    text-align:center;
    font-weight:800;
}
.comments-summary-note{
    color:#64748b;
    line-height:1.9;
    font-size:.9rem;
    text-align:center;
    margin-top:10px;
}
.comments-benefits{
    display:grid;
    gap:10px;
    margin-top:22px;
}
.comments-benefits span{
    display:flex;
    align-items:center;
    gap:9px;
    color:#475569;
    font-size:.88rem;
}
.comments-benefits i{color:#2563eb}
.comments-list{
    display:grid;
    gap:15px;
}
.comment-item{
    background:#fff;
    border:1px solid #e7edf4;
    border-radius:20px;
    padding:20px;
    box-shadow:0 8px 25px rgba(15,23,42,.05);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.comment-item:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(15,23,42,.09);
    border-color:#d6e3f3;
}
.comment-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}
.comment-author{
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
}
.comment-avatar{
    width:46px;
    height:46px;
    flex:0 0 46px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:#fff;
    font-weight:900;
}
.comment-author strong{
    display:block;
    color:#0f172a;
    margin-bottom:3px;
}
.comment-location{
    display:block;
    color:#64748b;
    font-size:.82rem;
}
.comment-date{
    color:#94a3b8;
    font-size:.78rem;
    white-space:nowrap;
}
.comment-brand{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:13px;
    padding:6px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-size:.78rem;
    font-weight:700;
}
.comment-rating{
    direction:ltr;
    text-align:right;
    margin:12px 0 7px;
}
.comment-text{
    color:#334155;
    line-height:2;
    font-size:.95rem;
    margin:0;
    white-space:pre-wrap;
    word-break:break-word;
}
.comment-footer{
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #edf2f7;
    color:#16a34a;
    font-size:.78rem;
    font-weight:800;
}
.admin-reply{
    margin-top:15px;
    padding:14px 16px;
    border-radius:15px;
    background:#f8fbff;
    border-right:4px solid #2563eb;
}
.admin-reply-header{
    display:flex;
    align-items:center;
    gap:8px;
    color:#1d4ed8;
    margin-bottom:6px;
}
.admin-reply p{
    margin:0;
    color:#475569;
    line-height:1.9;
}
.comments-empty,
.comment-error{
    min-height:260px;
    border:1px dashed #dbe5f0;
    border-radius:20px;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:32px 22px;
    color:#64748b;
}
.comments-empty-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#eff6ff;
    color:#2563eb;
    font-size:1.8rem;
    margin-bottom:12px;
}
.comments-empty h3,.comment-error p{margin:0 0 8px;color:#1e293b}
.comments-empty p{margin:0;line-height:1.9}
.comment-form-card{
    padding:28px;
}
.comment-form-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
}
.comment-form-head h3{margin:0 0 7px;color:#0f172a}
.comment-form-head p{
    margin:0;
    color:#64748b;
    line-height:1.8;
    font-size:.9rem;
}
.comment-form-badge{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 13px;
    border-radius:999px;
    background:#fff7ed;
    color:#c2410c;
    font-size:.82rem;
    font-weight:800;
    white-space:nowrap;
}
.comment-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.comment-form select,
.comment-form input,
.comment-form textarea{
    width:100%;
    border:1px solid #d9e2ec;
    border-radius:14px;
    background:#fff;
    color:#0f172a;
    padding:12px 14px;
    font:inherit;
    transition:border-color .2s ease,box-shadow .2s ease;
}
.comment-form textarea{min-height:145px;resize:vertical}
.comment-form select:focus,
.comment-form input:focus,
.comment-form textarea:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.09);
}
.form-field label{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#334155;
    font-weight:800;
    font-size:.86rem;
}
.optional-label{
    color:#94a3b8;
    font-size:.74rem;
    font-weight:600;
}
.rating-input{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    min-height:46px;
    direction:ltr;
}
.rating-star{
    appearance:none;
    border:0;
    background:transparent;
    color:#cbd5e1;
    font-size:2rem;
    line-height:1;
    cursor:pointer;
    padding:2px 4px;
    transition:transform .15s ease,color .15s ease;
}
.rating-star:hover,.rating-star.active{
    color:#f59e0b;
    transform:scale(1.08);
}
.form-help{
    display:block;
    margin-top:5px;
    color:#94a3b8;
    font-size:.78rem;
}
.comment-counter{
    display:flex;
    justify-content:flex-end;
    margin-top:6px;
    color:#94a3b8;
    font-size:.78rem;
}
.comment-consent{
    margin-top:15px;
    padding:12px 14px;
    border-radius:14px;
    background:#f8fafc;
}
.consent-check{
    display:flex;
    align-items:flex-start;
    gap:9px;
    color:#475569;
    font-size:.8rem;
    line-height:1.8;
    cursor:pointer;
}
.consent-check input{
    width:18px;
    height:18px;
    margin-top:2px;
    accent-color:#2563eb;
}
.comment-form-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:18px;
}
.comment-submit{
    min-width:150px;
}
.comment-submit:disabled{opacity:.65;cursor:not-allowed}
.form-status{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:8px 13px;
    border-radius:12px;
    font-size:.82rem;
    line-height:1.7;
}
.form-status.success{background:#ecfdf5;color:#047857}
.form-status.error{background:#fef2f2;color:#b91c1c}
.comment-honeypot{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}
.loading-spinner{
    min-height:200px;
    display:grid;
    place-items:center;
    text-align:center;
    color:#64748b;
}
.loading-spinner i{display:block;font-size:1.8rem;color:#2563eb;margin-bottom:8px}
.comments-list-wrap{min-width:0}
@media(max-width:900px){
    .comments-layout{grid-template-columns:1fr}
    .comments-summary{position:static}
}
.comments-section{font-family:inherit;color:#172b40;padding:36px 0}.comments-section .container{width:min(1120px,calc(100% - 28px));margin-inline:auto}.comments-section *{box-sizing:border-box}.comments-section .form-field{min-width:0}.comments-section label{display:block}.comments-section input,.comments-section select,.comments-section textarea{width:100%;font:inherit}.comments-section input[type=checkbox]{width:auto}.comments-section button{font:inherit;cursor:pointer}.comments-section .comment-submit{background:#126b83;color:white;padding:12px 20px;border:0;border-radius:10px}.comments-section .admin-reply{background:#edf8f8;padding:16px;border-inline-start:3px solid #16808b}.comments-section .comment-text{white-space:pre-line}

/* Shared form states and ordinary pagination work with and without JavaScript. */
.comments-section [hidden]{display:none!important}
.comments-section .comment-date,
.comments-section .optional-label,
.comments-section .form-help,
.comments-section .comment-counter{color:#536579}
.comments-section .comment-footer{color:#167347}
.comments-section .comments-stars,
.comments-section .comment-rating{color:#925100}
.comments-section .field-label{
    display:block;
    margin-bottom:8px;
    color:#334155;
    font-weight:800;
    font-size:.86rem;
}
.comments-section .consent-check{display:flex}
.comments-section .field-error{
    display:block;
    margin-top:7px;
    color:#a51b20;
    font-size:.85rem;
    line-height:1.8;
}
.comments-section [aria-invalid=true]{
    border:2px solid #b4232d;
    box-shadow:0 0 0 2px #fff0f0;
}
.comments-section .rating-input[aria-invalid=true]{border-radius:10px;padding:4px}
.comments-section .rating-star{color:#64748b;min-width:36px;min-height:44px}
.comments-section .rating-star:hover,
.comments-section .rating-star.active{color:#925100}
.comments-section :is(a,button,input,select,textarea):focus-visible,
.comments-section .comment-item:focus{
    outline:3px solid #086b83;
    outline-offset:4px;
}
.comments-section .comments-pagination{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:20px;
}
.comments-section .comments-pagination :is(a,button){
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    border:1px solid #126b83;
    border-radius:10px;
    background:#126b83;
    color:#fff;
    font:inherit;
    text-decoration:none;
    text-align:center;
}
.comments-section .comments-pagination :is(a,button):hover{background:#0d5368;border-color:#0d5368}
.comments-section .comments-pagination :is([aria-disabled=true],button:disabled){
    cursor:wait;
    background:#536579;
    border-color:#536579;
}
.comments-section .comments-load-status{
    min-height:1.8em;
    margin-top:12px;
    color:#475569;
    font-size:.88rem;
    text-align:center;
}
.comments-section .comment-privacy{
    margin:15px 0 0;
    color:#475569;
    font-size:.85rem;
    line-height:1.9;
}
.comments-section .comment-privacy a{color:#075a71;text-decoration:underline;text-underline-offset:3px}
.comments-section .comment-form-actions{flex-wrap:wrap}
.comments-section .form-status{max-width:100%;overflow-wrap:anywhere}
.comments-section :is(input,select,textarea,button,.comment-item){scroll-margin-block-start:120px}
@media(max-width:640px){
    .comments-section .comment-form-grid{grid-template-columns:1fr}
    .comments-section .comment-form-head{align-items:flex-start;flex-direction:column}
    .comments-section :is(.comment-form-card,.comments-summary){padding:20px}
    .comments-section .comment-header{gap:10px;flex-wrap:wrap}
    .comments-section .comment-date{white-space:normal}
    .comments-section .comments-pagination :is(a,button){width:100%}
}
@media(prefers-reduced-motion:reduce){
    .comments-section :is(.comment-item,.rating-star){transition:none;transform:none}
}
