/* Reviews — public page (/reviews) and homepage strip
 * Design language ported from a Tailwind mockup into plain CSS (the plugin's
 * classic hub avoids the Tailwind CDN — it recompiles on every pageview,
 * which the reference implementation itself is not meant for production).
 */

.lt-rv-wrap{--rv-brand:#059669;--rv-brand-dark:#047857;--rv-brand-light:#ecfdf5;--rv-star:#f59e0b;--rv-star-bg:#fffbeb;}

.lt-rv-stars{display:inline-flex;gap:2px;color:var(--rv-star);font-size:16px;line-height:1;}
.lt-rv-stars i.fa-regular{color:#d1d5db;}

/* ── Eyebrow + page title ─────────────────────────────────────────────── */
.lt-rv-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--rv-brand);background:var(--rv-brand-light);border:1px solid #a7f3d0;border-radius:999px;padding:4px 12px;margin-bottom:8px;}

/* ── Review bar (hero) ────────────────────────────────────────────────── */
.lt-rv-bar{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:22px;margin-bottom:20px;box-shadow:0 1px 2px rgba(15,23,42,.04);}
.lt-rv-bar__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}

.lt-rv-bar__left{display:flex;align-items:center;gap:16px;}
.lt-rv-bar__badge{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--rv-star-bg);border:1px solid #fde68a;border-radius:14px;padding:10px 18px;min-width:100px;}
.lt-rv-bar__badge-num{font-size:34px;font-weight:800;color:#b45309;line-height:1;}
.lt-rv-bar__badge-sub{font-size:11px;color:#92400e;font-weight:600;margin-top:2px;}

.lt-rv-bar__meta{display:flex;flex-direction:column;gap:3px;}
.lt-rv-bar__meta-stars{font-size:17px;}
.lt-rv-bar__meta-row{display:flex;align-items:center;gap:8px;font-size:13px;flex-wrap:wrap;}
.lt-rv-bar__meta-count{font-weight:700;color:#1e293b;}
.lt-rv-bar__meta-dot{width:5px;height:5px;border-radius:50%;background:#cbd5e1;}
.lt-rv-bar__meta-satisfied{color:var(--rv-brand);font-weight:600;display:inline-flex;align-items:center;gap:4px;}
.lt-rv-bar__meta-sub{font-size:12px;color:#94a3b8;}

.lt-rv-bar__dist{flex:1;min-width:220px;max-width:320px;display:flex;flex-direction:column;gap:6px;border-left:1px solid #f1f5f9;padding-left:20px;}
.lt-rv-bar__dist-row{display:flex;align-items:center;gap:8px;font-size:12px;}
.lt-rv-bar__dist-label{width:44px;font-weight:600;color:#475569;flex-shrink:0;}
.lt-rv-bar__dist-track{flex:1;background:#f1f5f9;height:8px;border-radius:999px;overflow:hidden;}
.lt-rv-bar__dist-fill{background:var(--rv-star);height:100%;border-radius:999px;}
.lt-rv-bar__dist-pct{width:34px;text-align:right;color:#64748b;font-weight:600;flex-shrink:0;}

.lt-rv-bar__cta{background:var(--rv-brand);color:#fff;border:0;border-radius:12px;padding:13px 26px;font-weight:700;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;gap:10px;text-decoration:none;transition:background .15s,transform .15s;white-space:nowrap;}
.lt-rv-bar__cta:hover{background:var(--rv-brand-dark);color:#fff;transform:translateY(-1px);}

/* ── Status banner (own review state) ─────────────────────────────────── */
.lt-rv-status{border-radius:12px;padding:13px 16px;font-size:13.5px;margin-bottom:18px;display:flex;gap:10px;align-items:flex-start;}
.lt-rv-status i{margin-top:2px;}
.lt-rv-status--info{background:#eff6ff;color:#1e40af;}
.lt-rv-status--warn{background:#fef3c7;color:#92400e;}
.lt-rv-status--ok{background:var(--rv-brand-light);color:#065f46;}
.lt-rv-status .lt-rv-status__old{margin-top:8px;padding-top:8px;border-top:1px dashed rgba(0,0,0,.08);font-size:12.5px;opacity:.85;}

/* ── Filter row + review list ──────────────────────────────────────────── */
.lt-rv-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap;}
.lt-rv-list-head h3{margin:0;font-size:17px;font-weight:700;color:#1e293b;}
.lt-rv-filter{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;}
.lt-rv-filter select{background:#fff;border:1px solid #e2e8f0;color:#334155;border-radius:8px;padding:6px 10px;font-size:12.5px;}

.lt-rv-list{display:flex;flex-direction:column;gap:12px;}
.lt-rv-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;transition:border-color .15s;}
.lt-rv-card:hover{border-color:#cbd5e1;}
.lt-rv-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.lt-rv-card__who{display:flex;align-items:center;gap:12px;min-width:0;}
.lt-rv-card__avatar img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.lt-rv-card__name-block{min-width:0;}
.lt-rv-card__name{font-weight:700;color:#0f172a;font-size:14px;display:block;}
.lt-rv-card__submeta{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#94a3b8;margin-top:2px;flex-wrap:wrap;}
.lt-rv-card__verified{color:var(--rv-brand);font-weight:600;display:inline-flex;align-items:center;gap:4px;}
.lt-rv-card__stars{font-size:12px;flex-shrink:0;}
.lt-rv-card__comment{margin:10px 0 0;color:#475569;font-size:13.5px;line-height:1.6;white-space:pre-wrap;}
.lt-rv-card__foot{margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.lt-rv-helpful{display:inline-flex;align-items:center;gap:7px;background:none;border:0;padding:4px 2px;font-size:12.5px;color:#94a3b8;cursor:pointer;font-weight:600;transition:color .15s;}
.lt-rv-helpful:hover:not(:disabled){color:var(--rv-brand);}
.lt-rv-helpful.is-liked{color:var(--rv-brand);cursor:default;}
.lt-rv-helpful:disabled{cursor:default;}

.lt-rv-whatsapp-btn{display:inline-flex;align-items:center;gap:6px;background:#25D366;color:#fff;font-size:12px;font-weight:700;padding:6px 12px;border-radius:8px;text-decoration:none;transition:background .15s,transform .15s;}
.lt-rv-whatsapp-btn:hover{background:#1ebe5a;color:#fff;transform:translateY(-1px);}
.lt-rv-whatsapp-btn i{font-size:13px;}

.lt-rv-empty{text-align:center;color:#94a3b8;padding:32px 16px;}
.lt-rv-pagination{display:flex;justify-content:center;gap:6px;margin-top:20px;}
.lt-rv-pagination a,.lt-rv-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border:1px solid #e2e8f0;border-radius:8px;text-decoration:none;color:#334155;}
.lt-rv-pagination .current{background:var(--rv-brand);border-color:var(--rv-brand);color:#fff;}

/* ── Modal ─────────────────────────────────────────────────────────────── */
.lt-rv-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,42,.45);backdrop-filter:blur(2px);}
.lt-rv-modal.is-open{display:flex;}
.lt-rv-modal__panel{background:#fff;border-radius:18px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px rgba(0,0,0,.25);transform:scale(.96);opacity:0;transition:transform .18s ease,opacity .18s ease;}
.lt-rv-modal.is-open .lt-rv-modal__panel{transform:scale(1);opacity:1;}
.lt-rv-modal__head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f1f5f9;background:#fafafa;border-radius:18px 18px 0 0;}
.lt-rv-modal__title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px;color:#1e293b;margin:0;}
.lt-rv-modal__close{background:none;border:0;color:#94a3b8;font-size:18px;cursor:pointer;padding:6px;border-radius:8px;line-height:1;}
.lt-rv-modal__close:hover{background:#f1f5f9;color:#334155;}
.lt-rv-modal__body{padding:20px;}

.lt-rv-star-picker{display:flex;align-items:center;justify-content:center;gap:8px;font-size:30px;color:#d1d5db;margin-bottom:6px;}
.lt-rv-star-picker button{background:none;border:0;padding:0;cursor:pointer;color:inherit;line-height:1;}
.lt-rv-star-picker button.is-on{color:var(--rv-star);}
.lt-rv-star-picker button:disabled{cursor:not-allowed;opacity:.4;}
.lt-rv-star-picker-label{text-align:center;font-size:12px;font-weight:600;color:#b45309;min-height:16px;margin:0 0 16px;}

.lt-rv-modal__body textarea{width:100%;min-height:110px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:12px 14px;font-size:13.5px;font-family:inherit;resize:vertical;}
.lt-rv-modal__body textarea:focus{outline:none;background:#fff;border-color:var(--rv-brand);box-shadow:0 0 0 3px rgba(5,150,105,.12);}

.lt-rv-wa-checkbox{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;}
.lt-rv-wa-checkbox input{margin-top:2px;width:16px;height:16px;accent-color:var(--rv-brand);flex-shrink:0;cursor:pointer;}
.lt-rv-wa-checkbox__label{display:block;font-size:13px;font-weight:700;color:#1e293b;}
.lt-rv-wa-checkbox__desc{display:block;font-size:12px;color:#64748b;margin-top:2px;line-height:1.5;}

.lt-rv-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #f1f5f9;}
.lt-rv-modal__cancel{background:none;border:0;color:#64748b;font-weight:600;font-size:13.5px;padding:10px 16px;border-radius:10px;cursor:pointer;}
.lt-rv-modal__cancel:hover{background:#f1f5f9;}
.lt-rv-modal__submit{background:var(--rv-brand);color:#fff;border:0;border-radius:10px;padding:10px 20px;font-weight:700;font-size:13.5px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;}
.lt-rv-modal__submit:hover{background:var(--rv-brand-dark);}
.lt-rv-modal__submit:disabled{opacity:.6;cursor:not-allowed;}

.lt-rv-modal__notice{border-radius:10px;padding:11px 14px;font-size:13px;margin-bottom:14px;display:none;}
.lt-rv-modal__notice.is-info{background:#eff6ff;color:#1e40af;display:block;}
.lt-rv-modal__notice.is-warn{background:#fef3c7;color:#92400e;display:block;}
.lt-rv-modal__notice.is-error{background:#fee2e2;color:#991b1b;display:block;}
.lt-rv-modal__notice a{color:inherit;font-weight:700;text-decoration:underline;}

/* ── Toast ─────────────────────────────────────────────────────────────── */
.lt-rv-toast{position:fixed;left:50%;bottom:24px;z-index:10000;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease;display:flex;align-items:center;gap:10px;background:#0f172a;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:13.5px;font-weight:600;max-width:calc(100vw - 32px);}
.lt-rv-toast.is-show{transform:translate(-50%,0);opacity:1;}
.lt-rv-toast i{color:var(--rv-star);}
.lt-rv-toast.is-error i{color:#f87171;}

/* ── Rating badge (prepended at the top of the hub page) ──────────────── */
.lt-hub-rating-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:8px 16px;margin-bottom:14px;text-decoration:none;color:#1e293b;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:box-shadow .15s,transform .15s,border-color .15s;}
.lt-hub-rating-badge:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-1px);border-color:#cbd5e1;color:#1e293b;}
.lt-hub-rating-badge__stars{display:inline-flex;gap:1px;color:#f59e0b;font-size:13px;}
.lt-hub-rating-badge__stars .fa-regular{color:#d1d5db;}
.lt-hub-rating-badge__score{font-weight:800;color:#b45309;}
.lt-hub-rating-badge__count{color:#64748b;font-weight:500;}
.lt-hub-rating-badge__arrow{color:#94a3b8;font-size:11px;margin-left:2px;}

.lt-dark .lt-hub-rating-badge{background:#111c38;border-color:#1e2d52;color:#e2e8f0;}
.lt-dark .lt-hub-rating-badge:hover{border-color:#334155;color:#e2e8f0;}
.lt-dark .lt-hub-rating-badge__count{color:#94a3b8;}

@media (max-width: 640px){
	.lt-hub-rating-badge{font-size:12px;padding:7px 12px;}
}

/* ── Homepage strip ───────────────────────────────────────────────────── */
.lt-rv-strip{margin-top:28px;padding:24px 0 4px;border-top:1px solid #e5e7eb;}
.lt-rv-strip__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;}
.lt-rv-strip__title{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:#1e293b;}
.lt-rv-strip__score{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px;}
.lt-rv-strip__actions{display:flex;gap:10px;flex-wrap:wrap;}
.lt-rv-strip__btn{display:inline-flex;align-items:center;gap:6px;border-radius:9px;padding:9px 16px;font-size:13px;font-weight:700;text-decoration:none;}
.lt-rv-strip__btn--primary{background:#059669;color:#fff;}
.lt-rv-strip__btn--primary:hover{background:#047857;color:#fff;}
.lt-rv-strip__btn--ghost{background:#ecfdf5;color:#047857;}
.lt-rv-strip__btn--ghost:hover{background:#d1fae5;color:#047857;}
.lt-rv-strip__viewport{position:relative;}
.lt-rv-strip__track{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scroll-behavior:smooth;}
.lt-rv-strip__card{flex:0 0 260px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;scroll-snap-align:start;}
.lt-rv-strip__verified-pill{display:inline-flex;align-items:center;gap:4px;background:#ecfdf5;color:#047857;font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:999px;margin:6px 0 0;}
.lt-rv-strip__verified-pill i{font-size:10px;}
.lt-rv-strip__card .lt-rv-card__comment{font-size:13px;-webkit-line-clamp:4;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;margin-top:8px;}
.lt-rv-strip__empty{color:#94a3b8;font-size:14px;}

.lt-rv-strip__nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:1px solid #e5e7eb;background:#fff;color:#334155;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;box-shadow:0 2px 8px rgba(15,23,42,.1);transition:background .15s,color .15s;font-size:13px;}
.lt-rv-strip__nav:hover{background:#ecfdf5;color:#047857;}
.lt-rv-strip__nav--prev{left:-4px;}
.lt-rv-strip__nav--next{right:-4px;}

.lt-rv-strip__dots{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:14px;}
.lt-rv-strip__dot{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:#d1d5db;cursor:pointer;transition:background .15s,width .15s;}
.lt-rv-strip__dot.is-active{background:#059669;width:20px;}

/* ── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 900px){
	.lt-rv-bar__dist{border-left:0;padding-left:0;border-top:1px solid #f1f5f9;padding-top:16px;max-width:none;width:100%;order:3;}
	.lt-rv-bar__cta{order:2;width:100%;justify-content:center;}
	.lt-rv-bar__left{order:1;width:100%;justify-content:center;text-align:center;}
	.lt-rv-bar__inner{flex-direction:column;align-items:stretch;}
}

@media (max-width: 640px){
	.lt-rv-bar{padding:18px;border-radius:16px;}
	.lt-rv-bar__left{flex-direction:column;gap:10px;}
	.lt-rv-bar__meta{align-items:center;}
	.lt-rv-bar__meta-row{justify-content:center;}

	.lt-rv-card__top{flex-wrap:wrap;}
	.lt-rv-card__stars{margin-left:auto;}

	.lt-rv-list-head{flex-direction:column;align-items:flex-start;}

	.lt-rv-modal{padding:0;align-items:flex-end;}
	.lt-rv-modal__panel{max-width:none;width:100%;border-radius:18px 18px 0 0;max-height:92vh;}
	.lt-rv-modal.is-open .lt-rv-modal__panel{transform:translateY(0);}
	.lt-rv-modal:not(.is-open) .lt-rv-modal__panel{transform:translateY(20px);}

	.lt-rv-toast{left:16px;right:16px;transform:translateY(20px);width:auto;max-width:none;}
	.lt-rv-toast.is-show{transform:translateY(0);}

	.lt-rv-strip__head{flex-direction:column;align-items:flex-start;}
	.lt-rv-strip__actions{width:100%;}
	.lt-rv-strip__btn{flex:1;justify-content:center;}
	.lt-rv-strip__nav{display:none;}
}
.lt-rv-stars i {
	color: #f59e0b;
}