.product-cont {
  margin: 0 auto;
  max-width: 80rem;
  padding: 2.2rem 0rem;
  display: flex;
  gap: 0.4rem;
}
.product-slider {
  width: 45%;
  height: 315px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  flex-grow: 1;
}

.slide-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider img {
  height: 315px;
  object-fit: contain;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

.current-indicators {
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 50%;
  gap: 0.3rem;
  transform: translateX(-50%);
}

.indicator {
  border-radius: 50%;
  background-color: rgb(157, 157, 157);
  height: 0.5rem;
  width: 0.5rem;
  transition: all 0.3s;
  cursor: pointer;
}

.active {
  background-color: rgb(0, 67, 183);
}

.product-details {
  width: 55%;
  padding: 0.5rem 0rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-details h3 {
  font-size: 1.7rem;
  font-weight: 700;
}

.product-det-box {
  margin-top: 1rem;
}

.product-pricing {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 0.8rem;
}

.dprice {
  font-weight: 600;
  font-size: 1.3rem;
  opacity: 0.8;
}

.oprice {
  font-weight: 500;
  font-size: 1.1rem;
  opacity: 0.6;
  text-decoration: line-through;
}

.prod-desc {
  font-size: 2rem;
  font-size: 1.3rem;
  opacity: 0.8;
}

.desc-cont {
  margin-top: 0.5rem;
  opacity: 0.8;
  line-height: 23px;
}

.prod-rating {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prod-rating img {
  height: 1.2rem;
}

.product-rating-head {
  font-size: 2rem;
  font-size: 1.3rem;
  opacity: 0.8;
}

.rating-bx {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.rating {
  font-weight: 700;
  opacity: 0.7;
}

.ratings-quantity {
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.6;
  margin-left: 2px;
}

.about-prod {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 10px;
}

.about-prod ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.8rem;
  list-style-type: none;
}

.about-prod ul li {
  font-weight: 400;
  color: #555;
  position: relative;
  line-height: 1.5;
  padding-left: 1.8rem;
  transition: all 0.2s ease-in-out;
}

.about-prod ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #0071e3; /* Blue accent */
  font-size: 1rem;
}

.about-prod ul li:hover {
  color: #000;
  transform: translateX(3px);
}

.pf-head {
  font-size: 1.2rem;
  opacity: 0.8;
}

.pf-head-sub {
  font-size: 1rem;
  opacity: 0.8;
}

.add-to-cart {
  outline: none;
  border: none;
  background-color: #1343bd;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  width: fit-content;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s;
  margin-top: 15px;
}

.add-to-cart:hover {
  background-color: #1449cf;
}
.delivery {
  border-top: 1px solid #ebe9e9;
  border-bottom: 1px solid #ebe9e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0rem;
  margin-top: 15px;
}

.delivery p {
  text-decoration: underline;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.9;
}

.prod-del {
  font-size: 1.2rem !important;
}

.prod-specs {
  margin-top: 0.8rem;
}

.prod-specs h4.pf-head-sub {
  margin-bottom: 0.75rem;
}

.prod-specs table {
  width: 100%;
  border-collapse: collapse;
}

.prod-specs table td {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: #444;
  vertical-align: top;
  border: 1px solid #cecece;
}

.prod-specs table tr:nth-child(even) {
  background: #f9f9f9;
}

.prod-specs table tr td:first-child {
  font-weight: 600;
  color: #222;
  width: 180px;
}

.prod-specs table td a {
  color: #0071e3;
  text-decoration: none;
}

.prod-specs table td a:hover {
  text-decoration: underline;
}

/* * RATINGS */
.reviews-cont {
  border-top: 1px solid #ebe9e9;
  margin: 0 auto;
  max-width: 80rem;
  padding: 1.4rem 0rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviews-cont h1 {
  font-family: Teko;
  font-size: 2.4rem;
  margin-bottom: -18px;
}
.reviews-cont h4 {
  opacity: 0.9;
}
.reviews-cont p {
  opacity: 0.8;
  font-weight: 500;
  font-size: 0.8rem;
  margin-top: -11px;
}

.writer {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  display: flex;
  margin-top: 1.4rem;
  border-radius: 10px;
}

.wr-review-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  /* background-color: #ebe9e9; */
  padding: 2rem;

  width: 50%;
}

.wr-review-form h3 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d1d1d1;
  font-size: 1.3rem;
}
.wr-review-form label {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

.r-label {
  margin-top: 15px;
}

.wr-review-form input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  margin-top: 5px;
  border: 2px solid #ebe9e9;
}
.wr-review-form textarea {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  margin-top: 5px;
  border: 2px solid #ebe9e9;
}
.wr-review-form input:focus {
  outline: 1px solid #555;
}

.submit-review {
  border: none;
  outline: none;
  color: white;
  font-size: 0.8rem;
  padding: 0.5rem;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 1rem;
  cursor: pointer;
  background-color: #1449cf;
  transition: all 0.3s;
}

.submit-review:hover {
  background-color: #006ad4;
}

.rev-add-img {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-add-img img {
  object-fit: contain;
  height: 27rem;
}

.section-reviews {
  margin-top: 2rem;
  margin-bottom: 6.2rem;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.review-rating {
  color: #ffb400; /* gold stars */
  font-size: 0.9rem;
}

.star {
  margin-right: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin: 0.5rem 0 0.8rem;
}

.review-date {
  font-size: 0.8rem;
  color: #888;
}

.del-review {
  border: none;
  outline: none;
  border-radius: 50%;
  width: fit-content;
  padding: 0.3rem;
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.del-review:hover {
  scale: 1.05;
}

.color-toner {
  margin: 1rem 0rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.color-toner h5 {
  font-size: 1rem;
  margin-right: 8px;
  font-weight: 600;
}

.color-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc;
  display: inline-block;
}

.color-name {
  font-size: 1rem;
  text-transform: capitalize;
}

@media (max-width: 1460px) {
  .rev-add-img img {
    height: 27rem;
  }
}
@media (max-width: 1370px) {
  .product-cont {
    max-width: 76rem;
  }
  .reviews-cont {
    max-width: 76rem;
  }
}
@media (max-width: 1300px) {
  .product-cont {
    max-width: 70rem;
  }
  .reviews-cont {
    max-width: 70rem;
  }
  .rev-add-img img {
    height: 27rem;
  }
}

@media (max-width: 1200px) {
  .product-cont {
    max-width: 65rem;
  }
  .reviews-cont {
    max-width: 65rem;
  }
}

@media (max-width: 1200px) {
  .product-cont {
    max-width: 60rem;
  }
  .reviews-cont {
    max-width: 60rem;
  }
  .rev-add-img img {
    height: 27rem;
  }
}

@media (max-width: 1030px) {
  .product-cont {
    max-width: 55rem;
  }
  .reviews-cont {
    max-width: 55rem;
  }
  .rev-add-img img {
    height: 27rem;
  }
}

@media (max-width: 930px) {
  .product-cont {
    max-width: 50rem;
  }
  .reviews-cont {
    max-width: 50rem;
  }
  .rev-add-img img {
    height: 22rem;
  }
  .product-slider {
    width: 60%;
    height: 330px;
  }
}

@media (max-width: 850px) {
  .product-cont {
    max-width: 45rem;
  }
  .reviews-cont {
    max-width: 45rem;
  }
  .rev-add-img img {
    height: 22rem;
  }
  .r-label {
    margin-top: 5px;
  }
  .footer {
    margin-top: 0rem;
  }
}

@media (max-width: 750px) {
  .product-cont {
    max-width: 40rem;
  }
  .reviews-cont {
    max-width: 40rem;
  }
  .rev-add-img img {
    height: 20rem;
  }
  .r-label {
    margin-top: 5px;
  }
  .footer {
    margin-top: 0rem;
  }
}

@media (max-width: 680px) {
  .product-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0rem 2rem 0rem 2rem;
    gap: 1.5rem;
  }
  .product-slider {
    width: 100%;
  }
  .product-details {
    width: 100%;
    padding: 0;
  }
  .reviews-cont {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 0rem 2rem;
  }
  .rev-add-img img {
    height: 18rem;
  }
  .r-label {
    margin-top: 5px;
  }
  .footer {
    margin-top: 0rem;
  }
}

@media (max-width: 650px) {
  .writer {
    flex-direction: column;
    align-items: center;
  }
  .wr-review-form {
    width: 100%;
    order: 2;
  }
  .rev-add-img {
    order: 1;
  }
  .wr-review-form {
    padding-top: 0.5rem;
  }
}
@media (max-width: 550px) {
  .prod-specs table tr td:first-child {
    width: 130px !important;
  }
}
@media (max-width: 380px) {
  .product-slider img {
    height: 295px;
  }
}
