/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
.custom-short-description {
    font-size: 14px;
    color: #555;
    line-height: 1.4em;
    margin-bottom: 6px;
    min-height: 3em;
    overflow: hidden;
}
/* ทำให้กล่องสินค้าเป็น relative เพื่อวาง badge ซ้อน */
.woocommerce ul.products li.product {
    position: relative;
}


/* ป้าย Best Seller */
.best-seller-badge {
    position: absolute;
    top: 10%;
    left: 0;
    width: 65%;
    background-color: #e60023; /* พื้นสีแดง */
    color: white; /* ฟอนต์สีขาว */
    font-size: 14px;
    font-weight: bold;
    padding: 6px 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}
