/* FORCE: ลดขนาด font ชื่อสินค้าให้เล็กลงสุด override ทุก style */
.product-title,
.card-title,
.product-name,
.product-card__title,
#products-grid .product-card .product-title,
.flash-sale-product-name,
.product-card-v2 .pcv2-title,
.flash-product-card .fsc-title,
.best-selling-clean-grid .product-card .product-title,
.best-selling-clean-grid .product-card .card-title,
.best-selling-clean-grid .product-card .product-name,
.best-selling-clean-grid .card-title,
.best-selling-clean-grid .product-title,
[class*="product-name"],
[class*="product-title"],
body[id="index"] .card-title,
body.index .card-title,
body.home .card-title,
.index-page .card-title,
.home-page .card-title {
    font-size: 8px !important;
}
/* Product Title Color Fix
   เวอร์ชัน 1.0 - ปรับสีชื่อสินค้าให้เป็นสีฟ้าเข้มสม่ำเสมอทั้งเว็บไซต์
*/

/* กำหนดสีฟ้าเข้มให้กับทุก selector ที่เกี่ยวข้องกับชื่อสินค้า */
.product-title,
.product-card__title,
#products-grid .product-card .product-title,
.flash-sale-product-name,
.product-card-v2 .pcv2-title,
.flash-product-card .fsc-title,
.best-selling-clean-grid .product-card .product-title,
.best-selling-clean-grid .product-card .card-title,
.best-selling-clean-grid .product-card .product-name,
.best-selling-clean-grid .card-title,
.best-selling-clean-grid .product-title,
[class*="product-name"],
[class*="product-title"],
body[id="index"] .card-title,
body.index .card-title,
body.home .card-title,
.index-page .card-title,
.home-page .card-title {
    color: #0066cc !important; /* สีฟ้าเข้ม */
}

/* สำหรับโหมดมืด (dark mode) */
body.dark-theme .product-title,
body.dark-theme .product-card__title,
body.dark-theme #products-grid .product-card .product-title,
body.dark-theme .flash-sale-product-name,
body.dark-theme .product-card-v2 .pcv2-title,
body.dark-theme .flash-product-card .fsc-title,
body.dark-theme .best-selling-clean-grid .product-card .product-title,
body.dark-theme .best-selling-clean-grid .product-card .card-title,
body.dark-theme .best-selling-clean-grid .product-card .product-name,
body.dark-theme .best-selling-clean-grid .card-title,
body.dark-theme .best-selling-clean-grid .product-title,
body.dark-theme [class*="product-name"],
body.dark-theme [class*="product-title"] {
    color: var(--product-title-color, #0066cc) !important;
}

/* สำหรับ hover effects */
.product-title:hover,
.product-card__title:hover,
.product-card .product-title:hover,
.flash-sale-product-name:hover,
.product-card-v2 .pcv2-title:hover,
.flash-product-card .fsc-title:hover {
    color: #0050a3 !important; /* สีเข้มขึ้นเมื่อ hover */
}

/* สำหรับ hover effects ในโหมดมืด */
body.dark-theme .product-title:hover,
body.dark-theme .product-card__title:hover,
body.dark-theme .product-card .product-title:hover,
body.dark-theme .flash-sale-product-name:hover,
body.dark-theme .product-card-v2 .pcv2-title:hover,
body.dark-theme .flash-product-card .fsc-title:hover {
    color: #3388dd !important; /* สีอ่อนลงเมื่อ hover ในโหมดมืด */
}