body{
  margin:0;
  font-family:Segoe UI,Roboto,sans-serif;
  background:#f6f8fb;
  color:#1f2937;
}
a{text-decoration:none;color:inherit}

.container{
  max-width:1100px;
  margin:auto;
  padding:10px 20px;
}

/* =========================
   GALLERY (FULL FIXED)
========================= */
.review-gallery-side{
  display:grid;
  grid-template-columns:3fr 1fr;
  gap:12px;
  margin:20px 0 30px;
  align-items:stretch;
}

/* MAIN IMAGE */
.main-image-side{
  position:relative;
  height:500px; 
}

.main-image-side img{
  width:100%;
  height:100%;            
  object-fit:cover;       
  border-radius:18px;
  display:block;
}

/* THUMB WRAP */

.thumb-column-wrapV{
  max-height:460px;
}

.thumb-column-wrap{
  max-height:500px;
}

/* THUMBS */
.thumb-column{
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
  overflow-y:auto;
  padding-right:4px;
}

/* scrollbar */
.thumb-column::-webkit-scrollbar{
  width:6px;
}
.thumb-column::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:10px;
}

/* thumb images */
.thumb-column img{
  width:100%;
  height:70px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  opacity:.7;
  transition:.2s;
  flex-shrink:0; 
}

.thumb-column img:hover{
  opacity:1;
}

.thumb-column img.active-thumb{
  opacity:1;
  outline:2px solid #2563eb;
}

/* =========================
   SPECS
========================= */
.spec-box{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin:40px 0;
}
.spec-item{
  background:#ffffff;
  padding:14px 16px;
  border-radius:14px;
  font-size:14px;
}

/* =========================
   CONTENT
========================= */
.review-content{
  max-width:900px;
}
.rev-section-title{
  font-size:26px;
  margin:50px 0 16px;
}
.rev-paragraph{
  font-size:17px;
  line-height:1.7;
  color:#4b5563;
}

.overview-flex{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:24px;
  align-items:flex-start;
}
.overview-img{
  width:100%;
  border-radius:16px;
}

.para-images{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0;
}
.para-images img{
  width:220px;
  border-radius:12px;
  cursor:pointer;
}

/* =========================
   IMAGE MODAL
========================= */
.img-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  z-index:9999;
  justify-content:center;
  align-items:center;
}
.img-modal img{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}
.img-modal span{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  cursor:pointer;
}

.img-modal-content{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
  z-index:2;
}

/* =========================
   LOADER
========================= */
.img-loader{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.1);
  backdrop-filter:blur(2px);
  z-index:5;
}

.spinner{
  width:42px;
  height:42px;
  border:4px solid rgba(0,0,0,.4);
  border-top-color:transparent;
  border-radius:50%;
  animation:spin .7s linear infinite;
}

@keyframes spin{
  from{transform:rotate(0)}
  to{transform:rotate(360deg)}
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){

  /* 🔥 LIMIT GALLERY WIDTH */
  .review-gallery-side{
    max-width:92%;
    margin:16px auto 24px; /* center it */
    grid-template-columns:1fr;
    gap:10px;
  }

  /* MAIN IMAGE */
  .main-image-side{
    aspect-ratio:3/2;
    border-radius:16px;
    overflow:hidden; /* important */
  }

  .main-image-side img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  /* THUMB STRIP */
  .thumb-column{
    padding-left:4px;
  }

}
@media(max-width:900px){

  /* 🔥 SHRINK WHOLE GALLERY */
  .review-gallery-side{
    max-width:85%;      /* 🔥 smaller overall */
    margin:14px auto 20px;
  }

  /* 🔥 LIMIT IMAGE HEIGHT HARD */
  .main-image-side{
    max-height:200px;   /* 🔥 key fix */
  }

  .main-image-side img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

}

/* =========================
   YOU MIGHT ALSO LIKE
========================= */

.related-reviews{
    margin-top:70px;
}

.related-title{
    font-size:28px;
    font-weight:800;
    margin-bottom:26px;
}

/* reuse same grid style but tighter */
.related-reviews .review-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

/* card styling (same as listing page) */
.review-card{
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    transition:.25s;
}

.review-card:hover{
    transform:translateY(-4px);
    border-color:#2563eb;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

/* image */
.review-card img{
    width:100%;
    display:block;
}

/* body */
.review-body{
    padding:16px 18px 20px;
}

.review-body h3{
    font-size:18px;
    margin:0 0 8px;
    line-height:1.3;
}

.review-overview{
    font-size:14px;
    color:#6b7280;
    line-height:1.5;
}
/* fix related review card images */
.review-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

.review-card img{
    width:100%;
    height:180px;        /* force consistent size */
    object-fit:cover;    /* crop nicely */
    display:block;
}
.brand-link{
    color:#2563eb;
    font-weight:800;
}

.brand-link:hover{
    text-decoration:underline;
}

.quick-verdict{
    background:#ffffff;
    border-radius:14px;
    padding:22px 24px;
    margin:30px 0;
}

.quick-verdict h3{
    margin:0 0 10px;
    font-size:20px;
}

.quick-verdict p{
    color:#4b5563;
    line-height:1.6;
}
.review-author{
  margin:8px 0 25px;
  color:#6b7280;
  font-size:14px;
}

.review-author b{
  color:#111827;
}

.review-author span{
  margin-left:8px;
  opacity:.8;
}
.review-breadcrumb{
  margin-top:20px;
  margin-bottom:10px;
  font-size:14px;
  color:#6b7280;
}

.review-breadcrumb a{
  color:#374151;
}

.review-breadcrumb a:hover{
  color:#111827;
}

.review-breadcrumb span{
  margin:0 6px;
  opacity:.6;
}
h1{
  margin-top:6px;
}

/* =========================
   TOP BANNER AREA
========================= */

.top-banner-wrap{
    background:#a4a6a8;

    margin-bottom:20px;
}

.banner-container{
    text-align:center;
}

.top-banner-img{
    max-width:720px;
    width:100%;
    height:auto;
    display:inline-block;
}
.review-author{
  margin-top:8px;
  font-size:14px;
  color:#6b7280;
}

.review-author b{
  color:#111827;
}
.review-intro{
  font-size:16px;
  line-height:1.7;
  color:#4b5563;
  margin-top:6px;
  margin-bottom:26px;
  max-width:850px;
  border-left:3px solid #2563eb;
  padding-left:14px;
}
/* =========================
   TOP BRANDS
========================= */
.top-brands{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}
.brand-pill{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    background:#ffffff;
    border-radius:999px;
    font-weight:700;
    border:1px solid #e5e7eb;
}
.brand-pill:hover{
    background:#f9fafb;
    transform:translateY(-3px);
}
.brand-count{
    background:#2563eb;
    color:#fff;
    font-size:12px;
    font-weight:800;
    padding:4px 10px;
    border-radius:999px;
}

