:root{--review-primary:#0021cb;--review-accent:#28ff9c;--review-bg:#F5F5F7}

.ce-reviews-carousel{font-family:'Roboto','Roboto Condensed',sans-serif;background:var(--review-bg);padding:20px;border-radius:8px;max-width:72rem;margin:0 auto;position:relative;min-height:320px}
.ce-reviews-inner{position:relative;display:grid;grid-template-columns:1fr 3fr;gap:1rem;align-items:center}
.ce-rating{display:flex;flex-direction:column;align-items:center;margin-left:auto;margin-right:auto;width:max-content}
.ce-rating-title{font-size:1.5rem;line-height:2rem;font-weight:700;text-wrap:nowrap}
.ce-rating-value{font-size:3.75rem;line-height:1;font-weight:700;color:#020817}
.ce-stars{color:var(--review-primary);font-size:2.125rem;margin:6px 0}
.ce-rating-label{color:#4b5563;font-size:0.875rem;line-height:1.25rem;text-align:center;font-weight:400}

.ce-reviews-area{position:relative;overflow:hidden}
.ce-reviews-list{display:flex;gap:1rem;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.ce-reviews-list::-webkit-scrollbar{display:none}
.ce-review{min-width:260px;max-width:320px;border:1px solid #eee;border-radius:10px;padding:12px;box-shadow:0 1px 2px rgba(0,0,0,0.04);scroll-snap-align:center;display:flex;flex-direction:column}
.ce-review-title{font-weight:600;margin-bottom:6px}
.ce-review-content{font-size:1rem;font-weight:400;color:#374151;line-height:1.4;min-height:64px;max-height:90px;overflow:hidden;transition:max-height 0.2s ease}
.ce-review.expanded .ce-review-content{max-height:90px;overflow:auto}
.ce-review .ce-toggle-btn{background:none;border:none;font-weight:600;margin-top:8px;cursor:pointer;padding:0;outline:none;text-align:start}
.ce-review .ce-toggle-btn:focus{outline:none}

.ce-nav{position:absolute;top:35%;right:0;display:flex;justify-content:space-between;padding:0 8px;pointer-events:none}
.ce-nav button{font-size:1.5rem;font-weight:600;pointer-events:auto;border:none;background:var(--review-primary);color:white;width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(2,6,23,0.12);cursor:pointer}
.ce-nav button[disabled]{background:#cbd5e1;cursor:default;opacity:0.7}
.ce-nav button:focus{outline:none}
.ce-nav button span{transform:translateY(-2px)}

.ce-reviews-more{display:flex;justify-content:center;align-items:center;margin-top:1.5rem}
.ce-reviews-more-link{font-size:0.875rem;font-weight:600;color:#020817;background:var(--review-accent);text-decoration:none;padding:0.5rem 1.5rem;border-radius:999px;text-align:center}
.ce-reviews-more-link:hover{color:#020817}
/* Small screens: stack rating above */
@media (max-width:768px){
  .ce-reviews-inner{grid-template-columns:1fr;grid-auto-rows:auto}
  .ce-nav{top:42%}
}

@media screen and (min-width: 1024px) {
  .ce-rating{padding-right:2rem;border-right:1px solid #e5e7eb}
  .ce-review-content{max-height:150px}
  .ce-review.expanded .ce-review-content{max-height:200px}
  .ce-nav{right:-30px}
}