/* =========================================
   WooCommerce - qorong'u fon uchun tuzatishlar
   ========================================= */

/* 1. Mahsulot sahifasi: narx, tavsif, meta, tablar */
.single-product .price,
.single-product .price .amount,
.single-product .woocommerce-product-details__short-description,
.single-product .product_meta,
.single-product .product_meta a,
.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs ul.tabs li a {
  color: #ffffff !important;
}

/* 2. Sarlavhalar: mahsulot nomi, Reviews, You may also like */
.single-product .product_title,
.single-product h1.entry-title,
.single-product .woocommerce-Reviews-title,
.single-product #reviews h2,
.single-product .comment-reply-title,
.single-product .woocommerce-tabs h2,
.single-product .related.products > h2,
.single-product .upsells.products > h2,
.single-product section.related > h2,
.single-product section.up-sells > h2,
.single-product .related h2,
.single-product .upsells h2,
.single-product .cross-sells h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  opacity: 1 !important;
}

/* 3. Review formasi: yozuvlar va matn maydoni */
.single-product #review_form label,
.single-product .comment-form label,
.single-product .comment-notes,
.single-product .woocommerce-noreviews,
.single-product .woocommerce-verification-required,
.single-product #review_form textarea,
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"] {
  color: #ffffff !important;
}

/* 4. Yulduzchalar */
.single-product p.stars a,
.single-product p.stars a::before,
.single-product .star-rating,
.single-product .star-rating span::before {
  color: #f5b301 !important;
}

/* 5. Mahsulot kartochkalari (shop sahifasi): oq fonni olib tashlash */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product .product-image,
.woocommerce ul.products li.product .product-thumbnail {
  background: transparent !important;
  border-color: transparent !important;
}

/* 6. Shop kartochkalari ichidagi nom va narx */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  color: #ffffff !important;
}

/* 7. Mahsulot sahifasi galereyasi: oq ramka va fonni olib tashlash */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .flex-control-thumbs li,
.single-product .flex-control-thumbs li img {
  background: transparent !important;
  border-color: transparent !important;
}

/* 8. "You may also like" sarlavhasi: oq rang (kengaytirilgan) */
.single-product .related,
.single-product .related > h2,
.single-product .related > h3,
.single-product .related h2,
.single-product .related h3,
.single-product .related h2 *,
.single-product .related h3 *,
.single-product .up-sells h2,
.single-product .up-sells h2 *,
.single-product .upsells h2,
.single-product .upsells h2 *,
.single-product section.products > h2,
.single-product section.products > h2 *,
.single-product main h2,
.single-product main h2 *,
.single-product main h3,
.single-product main h3 *,
.single-product .elementor-heading-title,
.single-product .elementor-heading-title * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
}

/* 9. "You may also like" kartochkalari (aniq class nomlari) */
.related-products .related-product-item {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 18px !important;
}

.related-products .related-product-content,
.related-products .related-product-content > div {
  background: transparent !important;
  background-color: transparent !important;
}

/* 10. Kartochka ichidagi nom, narx va matnlar: oq */
.related-products .related-product-content,
.related-products .related-product-content h3,
.related-products .related-product-content h3 a,
.related-products .related-product-content .price,
.related-products .related-product-content .price .amount,
.related-products .related-product-content p,
.related-products .related-product-content span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 11. "Read more" tugmasi: oq tugma, qora yozuv */
.related-products .related-product-content .mt-4 a,
.related-products .related-product-content .mt-4 button,
.related-products .related-product-content .mt-4 .button {
  background-color: #ffffff !important;
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
}

/* 12. "You may also like": bir qatorda 4 ta kichikroq kartochka */
.related-products > .grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

@media (min-width: 640px) {
  .related-products > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .related-products > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* 13. Kartochka ichini ixchamlashtirish */
.related-products .related-product-content {
  padding: 0 14px 16px !important;
}

.related-products .related-product-content h3 {
  font-size: 16px !important;
  line-height: 1.3 !important;
}

.single-product-page.pt-50 {
  padding-top: calc(var(--spacing) * 25) !important;
}