/* HERO SECTION */
.review-hero {
  background: #004aad;
  color: #fff;
  padding: 40px 0;
}
.review-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-title {
  font-size: 32px;
  margin: 0;
}
.review-subtitle {
  font-size: 16px;
  opacity: 0.9;
}
.review-rating-box {
  text-align: center;
}
.rating-number {
  font-size: 40px;
  font-weight: bold;
}
.btn-hero {
  margin-top: 10px;
  display: inline-block;
}

/* LAYOUT */
.review-layout {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

/* MAIN CONTENT */
.review-main {
  flex: 3;
}
.review-product-img {
  width: 100%;
  max-width: 450px;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* SIDEBAR */
.review-sidebar {
  flex: 1;
}
.sidebar-box {
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
}
.sidebar-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}
.sidebar-rating {
  font-size: 18px;
  color: #ff9800;
  margin-bottom: 10px;
}
.sidebar-benefits {
  list-style: none;
  padding: 0;
}

/* BOTTOM CTA */
.bottom-cta {
  background: #f5f5f5;
  padding: 40px 0;
  text-align: center;
  margin-top: 40px;
}
.bottom-btn {
  padding: 14px 30px;
  font-size: 18px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .review-hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .review-layout {
    flex-direction: column;
  }

  .sidebar-box {
    margin-top: 20px;
  }

  .review-title {
    font-size: 26px;
  }
}


/* --- Improved Sidebar Design --- */
.review-sidebar {
  width: 320px;
}

.sidebar-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e3e6eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 90px;
}

.sidebar-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 18px;
}

/* Titles */
.review-sidebar h3 {
  font-size: 18px;
  margin: 18px 0 10px;
  color: #1a1a1a;
  border-left: 4px solid #007bff;
  padding-left: 10px;
}

/* Ratings */
.sidebar-rating {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #f7a600;
}

/* Benefits & Included lists */
.sidebar-benefits,
.sidebar-included {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px;
}

.sidebar-benefits li,
.sidebar-included li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 15px;
  color: #444;
}

.sidebar-benefits li::before,
.sidebar-included li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 8px;
  color: #0aaf4b;
  font-weight: bold;
}

/* Sidebar button */
.btn-sidebar {
  display: block;
  text-align: center;
  /* width: 100%; */
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-weight: 600;
}

.btn-sidebar:hover {
  opacity: 0.9;
}


/* ===============================
   MOBILE OPTIMIZATION (NEW)
   =============================== */
@media (max-width: 768px) {

  /* HERO */
  .review-hero {
    padding: 30px 15px;
    text-align: center;
  }

  .review-hero-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .review-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .review-subtitle {
    font-size: 14px;
  }

  .rating-number {
    font-size: 32px;
  }

  .btn-hero {
    padding: 12px 25px;
    font-size: 16px;
  }

  /* MAIN LAYOUT STACKS */
  .review-layout {
    flex-direction: column;
    gap: 10px;
    margin-top: 0px;
  }

  .review-main {
    width: 100%;
  }

  .review-product-img {
    max-width: 100%;
    border-radius: 10px;
  }

  /* SIDEBAR */
  .review-sidebar {
    width: 100% !important;
  }

  .sidebar-box {
    position: relative;
    top: unset;
    padding: 20px;
    margin-top: 15px;
    border-radius: 12px;
  }

  .sidebar-img {
    border-radius: 8px;
  }

  .sidebar-benefits li,
  .sidebar-included li {
    font-size: 14px;
    padding-left: 24px;
  }

  .btn-sidebar {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;width: auto;
  }

  /* BOTTOM CTA */
  .bottom-cta {
    padding: 30px 15px;
  }

  .bottom-btn {
    padding: 12px 25px;
    font-size: 16px;width: auto;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .review-title {
    font-size: 22px;
  }
  .review-subtitle {
    font-size: 13px;
  }
  .rating-number {
    font-size: 28px;
  }
  .sidebar-box {
    padding: 18px;
  }
}

