.item img {
  aspect-ratio: 3/3;
}
.short_description p {
  margin-bottom: 5px;
}

.short_description ul {
  list-style: none;
}

.serch-result {
  position: absolute;
  border: 1px solid #e0e0e0;
}

.details-page-top-right-content div > p > img {
  height: 400px;
}

.s-r-inner {
  display: grid;
  gap: 15px;
  background: #fff;
  grid-template-columns: repeat(2, 1fr);
}

.input-group-btn.btn_close {
  right: 0;
  font-size: 20px;
  background: #000;
  width: 40px;
  height: 44px;
  text-align: center;
  line-height: 44px;
  color: #fff;
  top: 20px;
  border: 1px solid;
  cursor: pointer;
}

.input-group-btn.btn_close:hover {
  background: #ff771f;
}

.site-header .serch-result .bottom-area {
  display: block;
  text-align: center;
  padding-top: 7px;
  border-top: 1px solid #e0e0e0;
  background-color: #fff;
}
.site-header .serch-result .bottom-area a {
  margin-bottom: 0;
  color: #555;
  font-size: 14px;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  transition: 0.3s linear;
}
.site-header .serch-result .bottom-area a:hover {
  color: #ff771f;
}

.add_to_cart {
  background-color: #ff771f;
  border: 1px solid #ff771f;
  border-radius: 5px;
}

.qtySelector.product_quantity {
  display: flex;
  align-items: center;
  float: left;
}

.qtySelector.product_quantity span {
  width: 32px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  color: #fff;
  transition: all 0.5s ease-in-out;
}

.qtySelector.product_quantity span:hover {
  background-color: black;
  color: #fff;
  border-radius: 5px;
}

.qtySelector.product_quantity input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: none;
}

@media (max-width: 767px) {
  .qtySelector.product_quantity {
    float: unset !important;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
  }
}

.whatsapp-float {
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 20px;
  right: 15px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}
.whatsapp-float:hover {
  color: #ff6a00;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
.developed_by {
  font-size: 14px;
}
.style-thumb {
  height: 355px;
  overflow: hidden;
}

.style-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.size-selector {
  border: 1px solid #ccc;
  padding: 0px 12px;
  border-radius: 5px;
  text-align: center;
  user-select: none;
  font-size: 14px;
}

.size-selector.active {
  border-color: #ff771f;
  background: #ff771f;
  color: #fff;
}

ul.size-selectors-container.list-inline {
  margin-bottom: 0;
}

/* Cart Hover */
.cart-wrapper {
  position: relative !important;
  display: inline-block;
}

#header_cart_load.cart-dropdown {
  position: absolute !important;
  top: 110% !important; /* সামান্য নিচ থেকে শুরু হবে */
  right: 0 !important;
  width: 350px !important;
  background: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
  z-index: 99999 !important;

  /* স্মুথ এনিমেশনের জন্য পরিবর্তন */
  display: block !important; /* display none রাখা যাবে না */
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px); /* ১০-১৫ পিক্সেল নিচ থেকে উপরে আসবে */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* সময় বাড়িয়ে ০.৪ করা হয়েছে */
  pointer-events: none; /* ইনভিজিবল অবস্থায় যেন মাউস ক্লিক না লাগে */
}

/* হোভার করলে স্মুথভাবে দেখা যাবে */
.cart-wrapper:hover #header_cart_load {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0); /* আগের জায়গায় ফিরে আসবে */
  pointer-events: auto; /* হোভার অবস্থায় ক্লিক করা যাবে */
}

#header_cart_load .entry-title a {
  display: block;
  width: unset;
  height: unset;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.3, 0, 0.2, 1);
}

#header_cart_load .entry-title a:hover {
  box-shadow: unset;
  color: #ff6b35; /* হোভার কালার পরিবর্তন হবে */
}

.cart-wrapper::after {
  content: "";
  position: absolute;
  bottom: -20px; /* আইকন এবং ড্রপডাউনের মাঝের গ্যাপটি পূরণ করবে */
  left: 0;
  width: 100%;
  height: 20px;
}
/* End Cart hover */

.item-tags a {
  color: var(--primary-color);
  text-decoration: none;
  border: 1px solid;
  padding: 1px 10px;
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 20px;
  transition: 0.3s all ease-in-out;
}

.item-tags a:hover {
  background: var(--primary-color);
  color: #fff;
  border: 1px solid;
}

.seo_content_area section {
  background-color: unset !important;
}

@media (max-width: 767px) {
  /* .scroll-to-top-btn.visible {
        bottom: 0;
    } */
  .whatsapp-float {
    position: fixed;
    width: 38px;
    height: 38px;
    bottom: 45px;
    font-size: 24px;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .product-wrapper {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    position: static;
  }
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  /*
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  } */

  .logo {
    font-size: 25px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu a {
    padding: 0px 0;
    justify-content: space-between;
  }
  .nav-menu a::after {
    display: none;
  }

  /* Mobile Submenu */
  .nav-menu .has-submenu > a i {
    transform: rotate(0deg);
    transition: transform 0.3s;
  }
  .nav-menu .has-submenu.active > a i {
    transform: rotate(180deg);
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 100%;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light);
    border-radius: 0;
  }
  .nav-menu .has-submenu.active > .submenu {
    max-height: 500px;
  }
  .submenu .submenu {
    margin-left: 0;
    left: 0;
  }
  .submenu a {
    padding: 4px 15px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .top-bar-wrapper {
    justify-content: center;
  }

  .user-name {
    display: none;
  }

  .product-title {
    font-size: 24px;
  }
  .current-price {
    font-size: 32px;
  }
  .action-buttons {
    flex-direction: column;
  }
  .btn-wishlist {
    flex: 1;
  }
  .trust-badges {
    grid-template-columns: 1fr;
  }
  /*
  .footer-grid {
    grid-template-columns: 1fr;
  }*/

  .footer-column {
    overflow: hidden;
  }
  .timer-value {
    font-size: 22px;
  }
  .tabs-nav {
    flex-direction: column;
  }
  .top-bar-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .top-bar a {
    margin: 5px 10px;
  }
  .header-icons {
    gap: 15px;
  }
  .header-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .order-page {
    grid-template-columns: 1fr;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .order-form-section {
    padding: 25px;
  }

  .payment-option {
    padding: 15px;
  }

  .top-link span {
    display: none;
  }

  .top-link i {
    font-size: 16px;
  }
}

/* Utility */
.d-lg-none {
  display: none;
}

@media (max-width: 991px) {
  .d-lg-none {
    display: inline-flex !important;
  }
}

/* ============= Reviews Container ============ */

.reviews-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
}

.empty-icon {
  font-size: 80px;
  color: #a0aec0;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 24px;
  color: #2d3748;
  margin-bottom: 10px;
}

.empty-state p {
  color: #718096;
  margin-bottom: 25px;
  font-size: 16px;
}

/* .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
} */

/* .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
} */

/* Rating Summary */
.rating-summary {
  background: #eef3f6;
  padding: 10px;
  border-radius: 12px;
  height: fit-content;
}

.overall-rating {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e2e8f0;
}

.rating-number {
  font-size: 72px;
  font-weight: 700;
  color: #2d3748;
  line-height: 1;
}

.stars-display {
  color: #fbbf24;
  font-size: 24px;
  margin: 10px 0;
}

.total-reviews {
  color: #718096;
  font-size: 14px;
  margin-top: 5px;
}

/* Rating Breakdown */
.rating-breakdown {
  margin-bottom: 25px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rating-row span:first-child {
  width: 70px;
  font-size: 14px;
  color: #4a5568;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.rating-count {
  width: 30px;
  text-align: right;
  font-size: 14px;
  color: #718096;
}

.btn-review {
  width: 100%;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 126, 95, 0.6);
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  /* display: inline-block; */
  margin-bottom: 8px;
  font-weight: 600;
  color: #4a5568;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 6px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 8px;
  font-size: 20px;
  color: #fbbf24;
  cursor: pointer;
}

.star-rating i {
  transition: all 0.2s;
}

.star-rating i:hover,
.star-rating i.active {
  transform: scale(1.2);
  color: #f59e0b;
}

/* Rating Options */
.rating-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 20px;
  background: #f7fafc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.option-label:hover {
  background: #edf2f7;
  border-color: #667eea;
}

.option-label input[type="radio"] {
  cursor: pointer;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: #667eea;
  background: #f7fafc;
}

.upload-area i {
  font-size: 20px;
  color: #a0aec0;
  margin-bottom: 10px;
}

.upload-area p {
  color: #718096;
  font-size: 11px;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  border: none;
  padding: 5px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* Review Card */
.review-card {
  background: #f3f6f8;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  animation: slideIn 0.3s ease;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
}

.verified-badge {
  color: #48bb78;
  font-size: 12px;
  margin-left: 8px;
}

.helpfull_content {
  display: grid;
  grid-template-columns: 120px 200px;
  gap: 15px;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  padding-top: 15px;
}

.helpful-btn {
  background: none;
  border: none;
  color: #718096;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.helpful-btn:hover {
  color: #48bb78;
}

.rating_wrapper {
  display: flex;
  align-items: end;
  gap: 20px;
}

.rating_wrapper .form-group {
  margin: 0;
}

.rating_wrapper .rating-text {
  font-size: 14px;
  font-weight: 500;
}

.rating_wrapper {
  margin-bottom: 10px;
}

.comment-author-ava img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 50px;
}

.d-block.gallery_image_view {
  display: flex;
}

.single-g-item {
  width: 70px;
}

.gallery_image_view {
  display: flex;
  align-items: center;
}

span.remove-gallery-img i {
  font-size: 12px;
  cursor: pointer;
}

span.remove-gallery-img i:hover {
  color: var(--primary-color);
}

.review-images img {
  width: 80px;
  height: 60px;
  border-radius: 5px;
  margin-left: 3px;
  object-fit: cover;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 3/3;
}

.stock-badge {
  margin-top: 20px;
  border: 2px dashed #31a3a3;
  padding: 7px;
  text-align: center;
  font-weight: 700;
  color: #31a3a3;
  border-radius: 7px;
}

/* Responsive */
@media (max-width: 968px) {
  .reviews-wrapper {
    grid-template-columns: 1fr;
  }

  .rating-summary {
    order: -1;
  }
}

@media (max-width: 640px) {
  .reviews-container {
    padding: 25px;
  }

  .section-title {
    font-size: 22px;
  }

  .tabs {
    justify-content: center;
  }
}
