/* =============================================
   Product Detail Page - Clean Modern Styles
   ============================================= */

/* Grid Layout */
.gridBasket {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.basketLeft {
  width: 100%;
}

.basketRight {
  width: 100%;
}

/* Product Title */
.detailTextHead {
  margin-bottom: 20px;
}

.detailTextHead h3 {
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1f2026;
  line-height: 1.4;
  margin: 0;
}

/* Image Gallery */
.image-gallery {
  width: 100%;
  height: 500px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.thub_flex {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.thumbnail-container {
  width: 80px;
  overflow: hidden;
  position: relative;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease;
}

.thumbnail {
  width: 80px;
  height: 90px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.thumbnail:hover {
  border-color: #d1d5db;
}

.thumbnail.selected {
  border-color: #a12c29;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-img-slider {
  flex: 1;
  height: 100%;
  background-color: #fafafa;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: opacity 0.3s ease;
}

.basketPrev,
.basketNext {
  cursor: pointer;
  border-radius: 50%;
  background-color: #a22c29;
  width: 32px;
  height: 32px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  right: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.basketPrev:hover,
.basketNext:hover {
  background-color: #8b2523;
}

.basketPrev {
  top: -16px;
}

.basketNext {
  bottom: -4px;
}

.basketNext i,
.basketPrev i {
  color: white;
  font-size: 12px;
}

/* Right Side - Product Info */
.product-containerDetail {
  background-color: #fff;
  width: 100%;
}

/* Price Box */
.priceFlexDetail {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 0;
}

.price-sectionDetail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.price_sectionDetailLeft {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.current-priceDetail {
  font-family: Inter, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1f2026;
  line-height: 1;
}

.old-priceDetail {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
}

.discountDetail {
  background-color: #fef2f2;
  color: #a12c29;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* 1-click buy + wishlist */
.wishlistDetailProduct {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.birKlikdeAl {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background-color: #a22c29;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.birKlikdeAl:hover {
  background-color: #8b2523;
}

.sendWishlistItem {
  border: none;
  background-color: #f3f4f6;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background-color 0.2s ease;
}

.sendWishlistItem:hover {
  background-color: #e5e7eb;
}

.sendWishlistItem .wishlist i {
  font-size: 18px;
  color: #a12c29 !important;
}

.buttonAddWish {
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
}

/* Counter + Add to Cart */
.countBasketFlex {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.count-containerDetail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  height: 48px;
}

.count-containerDetail button {
  width: 44px;
  height: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.count-containerDetail button:hover {
  background-color: #f3f4f6;
}

.countDiget {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1f2026;
  min-width: 32px;
  text-align: center;
}

.add-to-cartDetail {
  flex: 1;
  height: 48px;
  background-color: #1f2026;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.add-to-cartDetail:hover {
  background-color: #374151;
}

/* Phone / Call Button */
.nomrecall {
  margin-top: 16px;
}

.nomrecall .btn-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #059669;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nomrecall .btn-success:hover {
  background-color: #047857;
}

/* Xüsusiyyətlər */
.xususiyyetlerMehsul {
  margin-top: 40px;
}

.xususiyyetlerMehsul h3 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2026;
  margin-bottom: 12px;
}

.xususiyyetlerMehsul p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Size Options */
.sizesDetail {
  margin: 16px 0;
}

.sizesDetail p,
.color_product p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 10px;
}

.size-optionsDetail {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  user-select: none;
}

.size-optionsDetail input[type="radio"] {
  display: none;
}

.size-optionsDetail label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: #374151;
  transition: all 0.15s ease;
}

.size-optionsDetail label:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
}

.size-optionsDetail input[type="radio"]:checked + label {
  background-color: #a12c29;
  border-color: #a12c29;
  color: #fff;
  font-weight: 600;
}

/* Color Options */
.colorsDetail {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color_product {
  display: flex;
  flex-direction: column;
}

.color-checkboxDetail {
  position: relative;
  cursor: pointer;
}

.color-checkboxDetail input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.color-boxDetail {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.color-checkboxDetail input:checked + .color-boxDetail {
  border-color: #1f2026;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f2026;
}

.yellowDetail {
  background-color: #c8da05;
}

.grayDetail {
  background-color: #d9d9d9;
}

/* Rating */
.ratingProductBasket {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ratingProductBasket p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.ratingProductBasketIcons {
  display: flex;
  gap: 2px;
}

.ratingProductBasketIcons i {
  color: #fbbf24;
  font-size: 14px;
}

/* Reviews */
.reviewsComment {
  margin-top: 48px;
}

.flexReviws {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.flexReviws h2 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2026;
}

.flexReviws button {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #a12c29;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.flexReviws button:hover {
  color: #8b2523;
}

.review-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.review-card.visible {
  max-height: 500px;
  opacity: 1;
}

.review-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.betweenReview {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.betweenReview h3 {
  margin: 0;
  font-size: 14px;
  color: #1f2026;
  font-weight: 600;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-header span,
.review-details span {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.review-details {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
}

.review-comment p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.review-comment strong {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2026;
}

/* Delivery & Payment */
.çatrilma_ödeme_div {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.deliveryDetail h3,
.payment-methodsDetail h3 {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2026;
  margin-bottom: 8px;
}

.deliveryDetail p {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #6b7280;
}

.payment_images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.payment_img {
  height: 32px;
  overflow: hidden;
}

.payment_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* Store Info */
.store-containerDetail {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.store-headerDetail {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.store-logoDetail {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 12px;
  background-color: #f3f4f6;
}

.store-logoDetail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.store-nameDetail {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1f2026;
}

.store-ratingDetail {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.store-ratingDetail span {
  font-size: 12px;
  color: #9ca3af;
}

.store-linkDet {
  display: block;
  text-align: center;
  padding: 12px 0;
  background: #f3f4f6;
  color: #1f2026;
  border-radius: 10px;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.store-linkDet:hover {
  background: #e5e7eb;
}

/* Product Card in sidebar */
.product-cardDetail a {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.product-cardDetail a:hover {
  border-color: #d1d5db;
}

.product-imageDetail {
  width: 100px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.product-imageDetail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-infoDetail {
  flex: 1;
}

.discountDetailDiv {
  position: absolute;
  top: 6px;
  left: 6px;
}

.product-titleDetail {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1f2026;
  margin: 0 0 8px;
  line-height: 1.4;
}

.product-priceDetail {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2026;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-old-priceDetail {
  text-decoration: line-through;
  font-size: 14px;
  color: #9ca3af;
  font-weight: 400;
}

/* Related Products & Recently Viewed */
.Baxdıqlarım {
  margin: 48px 0;
  overflow: hidden;
}

.oxsarMehsullar {
  margin-bottom: 48px;
  overflow: hidden;
}

.slick-slide {
  margin: 0;
}

.slick-list {
  margin-left: -10px;
  margin-right: -10px;
}

/* Responsive */
@media (max-width: 768px) {
  .gridBasket {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .image-gallery {
    height: 350px;
  }

  .current-priceDetail {
    font-size: 24px;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .countBasketFlex {
    flex-wrap: wrap;
  }

  .count-containerDetail {
    width: 100%;
  }

  .add-to-cartDetail {
    width: 100%;
  }
}
